美文网首页
how to get vendor address

how to get vendor address

作者: axxxxxxxx | 来源:发表于2019-10-25 14:49 被阅读0次

get vendor address in ax 2012

static void Job45(Args _args)
{
    VendTable  vendtable;
    str       description,address,completeaddress;
     
    VendTable = vendtable::find('uncunc-Ven1');
           
    description = DirParty::primaryPostalAddress(vendtable.Party).displayLocationDescription();
     
    address = DirParty::primaryPostalAddress(vendtable.Party).Address;
     
    completeaddress = strFmt("%1,%2",description,address);
    info(strFmt("%1",completeaddress));
     
    //Get the Current Company Address
    info(strFmt("%1,%2",curext(),LogisticsPostalAddress::findByLocation(CompanyInfo::find().postalAddress().Location).Address));
    
}

相关文章

网友评论

      本文标题:how to get vendor address

      本文链接:https://www.haomeiwen.com/subject/qnbsvctx.html