LogisticsPostalAddress address = LogisticsLocationEntity::findPostalAddress(
this,
LogisticsLocationRoleType::Invoice,
DateTimeUtil::utcNow(),
false);
InventLocation inventLocation;
LogisticsEntityPostalAddressView postalAddressView;
inventLocation = inventLocation::find(inventlocation.InventLocationId);
if (inventLocation)
{
select firstonly postalAddressView
where postalAddressView.Entity == inventLocation.RecId
&& postalAddressView.EntityType == LogisticsLocationEntityType::Warehouse
&& postalAddressView.isPrimary == NoYes::Yes;
}
Sohaib Cheema
814
User Group Leader
André Arnaud de Cal...
798
Super User 2025 Season 2
CA Neeraj Kumar
622