RetailPricingEngine::getOrderChannelId Method [AX 2012]

Gets the channel record Id (if any) associated with the sales order

NoteNote

The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.


  Microsoft Dynamics AX 2012 R3
          client server public static RecId getOrderChannelId(SalesId _salesId)

  Microsoft Dynamics AX 2012 R2 (SYS)
          client server private static RecId getOrderChannelId(SalesId _salesId)

Run On

Called

Parameters

_salesId
Type: SalesId Extended Data Type
The Id of the sales order

Return Value

Type: RecId Extended Data Type
Record Id of the channel if any is associated with the order. Otherwise, 0.
Show: