RetailTransactionService::loyaltyUsedPointsUpdate Method [AX 2012]

Creates a record in the RetailLoyaltyMSRCardTrans table for used points.

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 container loyaltyUsedPointsUpdate(
            RetailTransactionId _pTransactionId, 
            LineNum _pLineNum, 
            RetailStoreId _pStoreId, 
            RetailTerminalId _pTerminalId, 
            RetailCardNumber _pLoyaltyCardNo, 
            str _pTransDate, 
           [int _pDateSequence, 
            RetailLoyaltyPoints _pUsedPoints, 
            RetailReceiptId _pReceiptId, 
            RetailStaffId _pStaffId, 
            str _pTime])

  Microsoft Dynamics AX 2012 R2 (SYS)
          client server public static container loyaltyUsedPointsUpdate(
            RetailTransactionId _pTransactionId, 
            LineNum _pLineNum, 
            RetailStoreId _pStoreId, 
            RetailTerminalId _pTerminalId, 
            RetailCardNumber _pLoyaltyCardNo, 
            str _pTransDate, 
           [int _pDateSequence, 
            RetailLoyaltyPoints _pUsedPoints, 
            RetailReceiptId _pReceiptId, 
            RetailStaffId _pStaffId, 
            str _pTime])

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          client server public static container LoyaltyUsedPointsUpdate(
            RetailTransactionId pTransactionId, 
            LineNum pLineNum, 
            RetailStoreId pStoreId, 
            RetailTerminalId pTerminalId, 
            RetailCardNumber pLoyaltyCardNo, 
            str pTransDate, 
           [int pDateSequence, 
            RetailLoyaltyPoints pUsedPoints, 
            RetailReceiptId pReceiptId, 
            RetailStaffId pStaffId, 
            str pTime])

Run On

Called

Parameters

_pTransactionId
Type: RetailTransactionId Extended Data Type
_pLineNum
Type: LineNum Extended Data Type
_pStoreId
Type: RetailStoreId Extended Data Type
_pTerminalId
Type: RetailTerminalId Extended Data Type
_pLoyaltyCardNo
Type: RetailCardNumber Extended Data Type
_pTransDate
Type: str
_pDateSequence
Type: int
_pUsedPoints
Type: RetailLoyaltyPoints Extended Data Type
_pReceiptId
Type: RetailReceiptId Extended Data Type
_pStaffId
Type: RetailStaffId Extended Data Type
_pTime
Type: str

Return Value

Type: container
true if the record is created in the RetailLoyaltyMSRCardTrans table successfully; otherwise, false.
Show: