RetailGiftCardTable::createCard Method
Creates a gift card with the specified gift card number.
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 RetailGiftCardTable createCard(
RetailGiftCardId _entryId,
CurrencyCode _currencyCode,
[MCRGiftCardType mcrGiftcardType])
Microsoft Dynamics AX 2012 R2 (SYS)
client server public static RetailGiftCardTable createCard(RetailGiftCardId _entryId, CurrencyCode _currencyCode)
Microsoft Dynamics AX 2012 Feature Pack (SYS)
client server public static RetailGiftCardTable createCard(RetailGiftCardId _entryId, CurrencyCode _currencyCode)
Run On
Called
Parameters
- _entryId
Type: RetailGiftCardId Extended Data Type
The ID number of the gift card to be created.
- _currencyCode
Type: CurrencyCode Extended Data Type
The current currency code
- mcrGiftcardType
Type: MCRGiftCardType Enumeration
Return Value
Type: RetailGiftCardTable Table
A RetailGiftCardTable record.