RetailLoyaltyCollection::registerPoints Method [AX 2012]
Creates records in the RetailLoyaltyMSRCardTrans table for issued and used points.
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 void registerPoints(
RetailLoyaltyPoints ptotalPoints,
RetailLoyaltyEntryTypeBase entryType,
RetailCardNumber pLoyaltyCardNo,
str pTransDate,
int pDateSequence,
RetailTerminalId pTerminalId,
RetailStoreId pStoreId,
RetailTransactionId pTransactionId,
LineNum pLineNum,
RetailReceiptId pReceiptId,
RetailStaffId pStaffId,
[str pTime,
RefRecId custInvoiceJourRecId])
Microsoft Dynamics AX 2012 R2 (SYS)
client server public static void registerPoints(
RetailLoyaltyPoints ptotalPoints,
RetailLoyaltyEntryTypeBase entryType,
RetailCardNumber pLoyaltyCardNo,
str pTransDate,
int pDateSequence,
RetailTerminalId pTerminalId,
RetailStoreId pStoreId,
RetailTransactionId pTransactionId,
LineNum pLineNum,
RetailReceiptId pReceiptId,
RetailStaffId pStaffId,
[str pTime,
RefRecId custInvoiceJourRecId])
Microsoft Dynamics AX 2012 Feature Pack (SYS)
client server public static void registerPoints(
RetailLoyaltyPoints ptotalPoints,
RetailLoyaltyEntryTypeBase entryType,
RetailCardNumber pLoyaltyCardNo,
str pTransDate,
int pDateSequence,
RetailTerminalId pTerminalId,
RetailStoreId pStoreId,
RetailTransactionId pTransactionId,
LineNum pLineNum,
RetailReceiptId pReceiptId,
RetailStaffId pStaffId)
Run On
CalledParameters
- ptotalPoints
- Type: RetailLoyaltyPoints Extended Data Type
A loyalty points value for the Points field in the RetailLoyaltyMSRCardTrans table.
- entryType
- Type: RetailLoyaltyEntryTypeBase Enumeration
A value for the EntryType field in the RetailLoyaltyEntryTypeBase table.
- pLoyaltyCardNo
- Type: RetailCardNumber Extended Data Type
A value for the CardNumber field in the RetailLoyaltyMSRCardTable table.
- pTransDate
- Type: str
A transaction date value for the DateOfIssue field in the RetailLoyaltyMSRCardTrans table.
- pDateSequence
- Type: int
A format for the date.
- pTerminalId
- Type: RetailTerminalId Extended Data Type
A value for the TerminalId field in the RetailLoyaltyMSRCardTrans table.
- pStoreId
- Type: RetailStoreId Extended Data Type
A value for the StoreId field in the RetailLoyaltyMSRCardTrans table.
- pTransactionId
- Type: RetailTransactionId Extended Data Type
A value for the TransactionId field in the RetailLoyaltyMSRCardTrans table.
- pLineNum
- Type: LineNum Extended Data Type
A value for the LoyaltyPointTransLineNum field in the RetailLoyaltyMSRCardTrans table.
- pReceiptId
- Type: RetailReceiptId Extended Data Type
A value for the ReceiptId field in the RetailLoyaltyMSRCardTrans table.
- pStaffId
- Type: RetailStaffId Extended Data Type
A value for the StaffId field in the RetailLoyaltyMSRCardTrans table.
- pTime
- Type: str
- custInvoiceJourRecId
- Type: RefRecId Extended Data Type
Show:
Note