Share via


SalesTable.setLocation Method

Sets the delivery address information and related information.

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 setLocation(LogisticsLocationRecId _location, [boolean _skipDeliveryRoleCheck])

  Microsoft Dynamics AX 2012 R2 (SYS)
          public void setLocation(LogisticsLocationRecId _location)

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          public void setLocation(LogisticsLocationRecId _location)

  Microsoft Dynamics AX 2012 (FPK)
          public void setLocation(LogisticsLocationRecId _location)

  Microsoft Dynamics AX 2012 (SYS)
          public void setLocation(LogisticsLocationRecId _location)

Run On

Called

Parameters

  • _skipDeliveryRoleCheck
    Type: boolean
    A flag indicating whether this is a new online Retail sale; optional;

Remarks

If the SalesType enumeration value is ReturnItem, the address is set to the default value of a receiving address.

See Also

Reference

SalesTable Table