Skip to content

Conversation

turbozapekanka
Copy link
Contributor

No description provided.

@TrudAX
Copy link
Owner

TrudAX commented Oct 1, 2025

Hi @turbozapekanka .
What is the purpose of this method?
You probably creating a lookup for a reference, but there is already a solution for a Dimension reference, if you don't like fixed names (check DEVDimNamesReference table and form).
The issue with this method is that it probably introduces some parameter that needs to be populated, but DEVDimNamesReference populates it automatically.
also can you include not the whole method, but a difference with the standard one (e.g. AssetDueReplacementUIBuilder.lookupDimensionAttribute)

@TrudAX
Copy link
Owner

TrudAX commented Oct 1, 2025

@turbozapekanka - from this blog - Update 10/02/2020: - how to reference dimensions. https://denistrunin.com/xpptools-devfindim/#proposed-solution---devdimensionhelper-class

@turbozapekanka
Copy link
Contributor Author

This method provides a lookup function for Dimension Attributes based on a FormReferenceControl (surrogate key used in the DimensionAttribute table)
AssetDueReplacementUIBuilder.lookupDimensionAttribute is similar but works for string control instead.
Active dimension structure is used to filter out only dimensions active for a legal entity.

@TrudAX
Copy link
Owner

TrudAX commented Oct 1, 2025

yes, but why do need this? if you need a reference - use DEVDimNamesReference

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants