AX 2012 R2 CU7
This example gives me the primary address of a selected worker:
HcmWorker worker;
str addr;
addr = worker.primaryAddress();
However, the result is a string that contains all the address details concatenated together. Is there a way to retrieve the primary address components for the given worker as seen in the DirPartyPostalAddressView?
I am looking for Street, City, ZipCode, State and ISOCode.
How can I link HcmWorker to DirPartyPostalAddressView? Or is there a better way?
*This post is locked for comments
I have the same question (0)