Greeting of the day!!!!
Now i'm working on SalesPackingSlip report in ax 2012.
Requirement : display Customer's VAT TIN on report.
By using this below code, i have achieved the requirement. It's working fine. But i would like to know the programmer approach to write below code to achieve this requirement. How this below line of code fetch the TIN number? Can anyone kindly clear my confusion with explaining this below code.
salesPackingSlipHeaderTmp.CustomerVATTIN = TaxRegistrationNumbers_IN::find(TaxInformation_IN::findDefaultbyLocation(custTable::find(custPackingSlipJour.OrderAccount).postalAddress().Location).TIN).RegistrationNumber;
Thanks in Advance,