
Hi,
LogisticsLocationRoletypes are used for creating addresses for customers. I had to add a new role type to this list. I added this new role type to the enum.
In a table generally when an enum field needs to be selected, there will be a drop down to select. In LogisticsLocationRole table \type field there is no drop down. Adding to this, I am able to create a new record with any new type (not the one that I added in enum) i.e. that does not exist in enum and it does not even throw an error but allows me to create a new record.
I want to understand how the LogisticsLocationRoletypes enum and the type field in logisticslocationrole table are synchronizing to each other.
Request you to clarify my doubt as this will help me in adding the new role type in a right way.
Thanks,
Lakshmi
*This post is locked for comments
I have the same question (0)Hi Lakshmi,
The enumeration is used for system defined roles. When you create new roles the enum type field will be set to 'user defined'. The system roles are used to find e.g. an address for invoicing or a delivery address.
When your new type should be used in coding for some purpose, you can also extend the enumeration. If it is not required, just live with the 'user defined' type.