There is some situation to find the address of particular role. We can achieve this with help of DirParty class.
static void _getAddress(Args _args)
{
LogisticsPostalAddress addr;
addr = Dirparty::findPostalAddressByRole(vendTable::find("100001").Party, LogisticsLocationRoleType::Invoice);
info (addr.Address);
}
Thanks,
K. Arunsubramaniam
No comments:
Post a Comment