ABCompanyVendor is an entity in the base application. An insurer needs to add a new company vendor type for auto glass shops. Which configuration fulfills the requirement and follows the best practices?
Show answerHide answer
Correct answer: A Add a new entity ABAutoGlassShop_Ext.eti as a subtype of ABCompanyVendor.
Explanation
Answer Option (Which option is correct) A. Add a new entity ABAutoGlassShop_Ext.eti as a subtype of ABCompanyVendor.Explanation:
A specialized contact should be represented as a subtype of the closest applicable existing entity. The subtype inherits the common fields and adds only the fields specific to that contact kind. A scalar flag or a separately linked entity does not provide the same inheritance relationship.
Why the other options are incorrect:
B. Create ABAutoGlassShop_Ext.eti and add it as an array in ABCompanyVendor.etx:
An array relates a vendor to other records. It does not make an auto-glass contact inherit vendor behavior. The requested relationship is subtype inheritance.
C. Add a new column AutoGlassShop_Ext in the entity extension ABCompanyVendor.etx:
A column adds a value to existing vendor records. It does not create a specialized vendor entity. Subtype-specific fields need their own subtype.
D. Create ABAutoGlassShop.etx as an extension of ABCompanyVendor:
An etx file extends an existing definition. It does not define the new auto-glass subtype. The source uses a custom eti entity.
References:
Guidewire - Custom entity and subtype data model examples