I’ve been trying to design the fixed asset form to fit my company’s needs. One of them is to tick checkboxes of port types.
For example, a typical laptop may include dc-coaxial power port, VGA port, HDMI port, USB-A ports, USB-C port, RJ45 port, and an SD card reader while a monitor nowadays may only support VGA port and Display port. With people requiring multiple monitors for works, it becomes important to track the port compatibility and provide search options in fixed asset section.
Currently, my temporary solution is to create a new field called “port capability” with a ‘long-varchar’ entity type in /scipio/applications/accounting/entitydef/entitymodel.xml under the fixed asset section. Then people may type in the port types manually each time they create a new entry. The downside of this is obviously typos and massive extra work to manually type them.
I wish to change this section to a checkbox-style form similar to asset types (asset type is a drop-down menu, the content within the menu can be edited by entity engine, but it can’t select multiple types.)
The first thing that comes in my mind is that this may involve introducing a new entity to which the fixed asset entity has a one-to-many relation. My difficulty lies on how to show checkboxes onto forms such as /scipio/applications/accounting/widget/asset/FixedAssetForms.xml and /scipio/applications/accounting/widget/FieldLookupForms.xml
Thanks for any help