Using BC 365 SaaS v23.1. We have an AL extension that provides a custom Record type. This Record contains a linked reference to the Item Category Code. So on the Card page I can select the Item Category Code. And I added a Factbox that displays those associated Item Attributes. The issue is that these are read-only, since they are related to the selected Item Category Code, but not associated with the custom Record itself.
Looking at the Item Attribute Value Mapping table, I can see this should be extensible. Since there is a Table ID column to link the attribute row with the specific table. Usually this is Table ID 27 for the Item table. I would like to use this same standard functionality, but also link against the custom table we have.
Any suggestions how to implement this? To make my question more concrete, let's say we want to utilize Item Categories to also define our Customer records. So when an Item Category is selected in the Customer card, those assigned Item Attributes appear in an added Factbox. We want the user to choose those Item Attributes that apply to the Customer and be able to save them. So that the Item Attribute Mapping table has rows added for them.
UPDATE: I am now looking at the 9110 /Item Attributes Factbox/ and figure to implement something similar but for the custom Record. Seems like a good starting point. :)