/ Dynamics

[X++] Get Address by role

Just a short note for myself to remember how to get the address to a Party Relation via Code by it's role:

DirParty::findPostalAddressByRole(CustTable::find('MyCustAccount').Party, LogisticsLocationRoleType::Delivery);
[X++] Get Address by role
Share this

Subscribe to robsCode