PSAContractLineItemsServer::computeQuantityForUOD Method [AX 2012]

Computes the quantity by using LineValue in PSAContractItems and LineAmount for a billing rule of type UOD.

NoteNote

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 InventQty computeQuantityForUOD(PSAContractLineNum _contractLineNum, AmountCur _lineAmount)

  Microsoft Dynamics AX 2012 R2 (SYS)
          client server public static InventQty computeQuantityForUOD(PSAContractLineNum _contractLineNum, AmountCur _lineAmount)

Run On

Server

Parameters

_contractLineNum
Type: PSAContractLineNum Extended Data Type
The Contract Line item for which the the Quantity needs to be computed.
_lineAmount
Type: AmountCur Extended Data Type
The Line Amount in ProjProposalRevenueDetail or ProjProposalRevenueTransSale.

Return Value

Type: InventQty Extended Data Type
Quantity if the billing rule is Unit of Delivery. Otherwise, it will return a 0.
Show: