In my report , when I select a record from CustInvoiceTable, then I need to get the address of the entity of that record from the Organization Administration-organisation-legal entities.
Where theprimary address is yes.
The address datasource is dirPartyPostAddressView.
CompanyInfo is the table which stores the name and DataArea of the legal entity and DirPartyTable.name stores the name of the entity.
Could you give me a code or relation
Between :
1)CustInvoiceTable and CompanyInfo tables
2)CompanyInfo and DirPartyTable
3) dirPartyPostAddressView and DirPartyTable