Hello everyone.
How do I get DimensionConstraintNode.isOptional value through code for each dimension attribute, if the only thing I have is MainAccountId?
I found out, that from MainAccountId I can get MainAccount record, then account structure as DimensionHierarchyId and then DimensionConstraintTree record.
Using DimensionHierarchyLevel I can get iterate through structure's attributes. But can't figure out, how do I relate DimensionConstraintNode.Ordinal and MainAccountId?
The image of both DimensionConfigureAccountStructure form and DimensionConstraintNode is provided bellow. These are the objects that I investigate. Form and table shown data is related.
*This post is locked for comments