LogisticsLocation::getNewLocationId Method

Generates a location ID using the number sequence.

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
          server public static LogisticsLocationId getNewLocationId([boolean _throwError])

  Microsoft Dynamics AX 2012 R2 (SYS)
          server public static LogisticsLocationId getNewLocationId([boolean _throwError])

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          client server public static LogisticsLocationId getNewLocationId([boolean _throwError])

  Microsoft Dynamics AX 2012 (FPK)
          client server public static LogisticsLocationId getNewLocationId([boolean _throwError])

  Microsoft Dynamics AX 2012 (SYS)
          client server public static LogisticsLocationId getNewLocationId([boolean _throwError])

Run On

Server

Parameters

  • _throwError
    Type: boolean
    The number sequence is not created or set to manual

Return Value

Type: LogisticsLocationId Extended Data Type
A location ID.

See Also

Reference

LogisticsLocation Table