I am new in AX7. I want to know how can we find relations between two tables which can be used for creating a Query.
In AOT you can find Relations node in the table definiiton. It's defined from child to parent, for example from SalesLine to SalesTable.
Thanks Nikolaos,
However, I need a relation between PurchLine and LogisticsPostalAddress. How can I set that?
I need to display Address in front-end.
That works exactly the same way!
Go to PurchLine -> Relations and you will find a relation named DeliveryPostalAddress.
How can I use it? I can only see,
PurchLine.=LogisticsPostalAddress.
What should I use after PurchLine and LogisticsPostalAddress?
Can you please help me here.
Right click PurchLine table - Open in designer. Now you can see the properties of the relation, and all the fields that are part of the relation.
I really don't have any idea on this. There are no specific relation properties which are similar in both tables.
Hi Ashish,
You can see the relation between these two tables is PurchLine.DeliveryPostAddress==LogisticsAddress.RecId.
You can customize the relation between two tables by setting the properties of the relation.
Best regards,
Will
The relation is not defined in both tables, only in the child table, like I already mentioned.
Are you now able to find the information?
I need a relation between these two tables. I am creating a Report and Output has to be Address of data that I have selected in PO.
New in AX7. Please assist me here. What can be done if I only need address of selected PO.
Are you sure it was not already explained to you?We have shared you a general process how you can find table relations in AOT. In addition to that, the exact relation between PurchLine and LogisticsPostalAddress was shared to you.
Could you please read through all messages once again, and see if you find the information in there.
Also, if your issue is resolved, could you please mark all helpful answer(s) as verified. Thanks!
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
CA Neeraj Kumar 2,100
André Arnaud de Cal... 890 Super User 2025 Season 2
Sohaib Cheema 633 User Group Leader