用SalesTable SalesId 尋找CountryCode:

        str CountryCode =  LogisticsAddressCountryRegionTranslation::find(LogisticsPostalAddress::findRecId
            (salesTable.DeliveryPostalAddress).CountryRegionId,'EN-US').ShortName;

用SalesTable SalesId 尋找Shipping Carrier

        str shipCarr = TMSSalesTable::find(SalesTable.SalesId).CarrierCode;

arrow
arrow

    lionlionchopper 發表在 痞客邦 留言(0) 人氣()