Share via


RetailTransactionService::loyaltyUsedPointsUpdate Method [AX 2012]

Creates a record in the RetailLoyaltyMSRCardTrans table for used points.

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
          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

  • _pTransDate
    Type: str
  • _pDateSequence
    Type: int
  • _pTime
    Type: str

Return Value

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

See Also

Reference

RetailTransactionService Class