Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 73760

AX 2012 client - Form and infopart datasource relation

$
0
0

Hello everyone,

I changed the OMInternalOrganizationListPage form to include a infopart which is linked on the OMInternalOrganization table in the form to the OMHierarchyRelationship in the part, using a foreign key.

Web part displays the information correctly, the link is working. In the part web, I have an action which calls a class. This is where I am experiencing a difficulty. The args.record() transmitted to the class is OMOMInternalOrganization from the form, not OMHierarchyRelationship from the part's query. I need the OMHierarchyRelationship record and I can't figure why it is the form main datasource which is transmitted instead of the part query main datasource.

Thanks to anyone who could explain me the form-infopart datasource logic and how I could get a hold of the part's main datasource (OMHierarchyRelationship) in my action class.

Eric Lepage


Viewing all articles
Browse latest Browse all 73760

Trending Articles