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

Remarks

If the ship carrier address has delivery terms assigned, the delivery terms are transferred to the sales header.

See Also

Reference

SalesTable Table