SalesTable.setShipCarrierFromLogisticsLocation Method
Sets the ship carrier data both on the header and the line level, depending on the LogisticsLocation data.
Syntax
Note
The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.
Microsoft Dynamics AX 2012 R3
public void setShipCarrierFromLogisticsLocation(
LogisticsLocation _logisticsLocation,
LogisticsPostalAddressRecId _addressRecId,
[ShipCarrierAddress _shipCarrierAddress])
Microsoft Dynamics AX 2012 R2 (SYS)
public void setShipCarrierFromLogisticsLocation(LogisticsLocation _logisticsLocation, LogisticsPostalAddressRecId _addressRecId)
Microsoft Dynamics AX 2012 Feature Pack (SYS)
public void setShipCarrierFromLogisticsLocation(LogisticsLocation _logisticsLocation, LogisticsPostalAddressRecId _addressRecId)
Microsoft Dynamics AX 2012 (FPK)
public void setShipCarrierFromLogisticsLocation(LogisticsLocation _logisticsLocation, LogisticsPostalAddressRecId _addressRecId)
Microsoft Dynamics AX 2012 (SYS)
public void setShipCarrierFromLogisticsLocation(LogisticsLocation _logisticsLocation, LogisticsPostalAddressRecId _addressRecId)
Run On
Called
Parameters
- _logisticsLocation
Type: LogisticsLocation Table
A LogisticsLocation record of a ship carrier.
- _addressRecId
Type: LogisticsPostalAddressRecId Extended Data Type
The LogisticsPostalAddress record ID of the ship carrier.
- _shipCarrierAddress
Type: ShipCarrierAddress Table
A ShipCarrierAddress record.
Remarks
If the ship carrier address has delivery terms assigned, the delivery terms are transferred to the sales header.