Following code helps you to create or update party (Customer/Vendor/Employees) addresses using standard function select firstOnly postalAddressView join Location,LocationRole from locationRolesView where locationRolesView.Location == postalAddressView.Location && locationRolesView.LocationRole == LogisticsLocationRole.RecId && postalAddressView.Party == partyId; postalAddressView.Street = street1; if (street2) { postalAddressView.Street += " " + street2; } postalAddressView...(read more)
↧