Share via


RetailTransactionServiceAX5::LoyaltyUsedPointsUpdate Method [AX 2012]

Method is used for creating the record in RetailLoyaltyMSRCardTrans table for Issued points.

Syntax

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
    Transaction date for the RetailLoyaltyMSRCardTrans.dateOfIssue field.
  • _pDateSequence
    Type: int
    Format of the date.
  • _pTime
    Type: str
    Time value for the RetailLoyaltyMSRCardTrans.timeOfIssue field.

Return Value

Type: container
Container with the true and string message if the record is created in RetailLoyaltyMSRCardTrans table successfully; else false with appropriate string message.

See Also

Reference

RetailTransactionServiceAX5 Class