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

get registration number

$
0
0

Hi Guyz i want to get registration number and show Registration Number in Report of Customer can you tell me what is the relation between dirpartytable and custtable

this is my code 

DirPartyTable DirPartyTable;
DirPartyLocation DirPartyLocation;
taxRegistration taxRegistration;
CustTable custtable;

select * from DirPartyTable
where DirPartyTable.Name == "Brich company";

select * from DirPartyLocation
where DirPartyLocation.Party == dirPartyTable.RecId;

select registrationNumber
from taxRegistration
where taxRegistration.DirPartyLocation == dirPartyLocation.RecId;

//info(strFmt("reg %1",taxRegistration.RegistrationNumber));
info(strFmt(DirPartyTable.Name,taxRegistration.RegistrationNumber));

now i want to make relation between where DirPartyTable.Name == "Brich company";

i want registration number on behlf of name in my report of another one so can you guide me?


Viewing all articles
Browse latest Browse all 72043

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>