CreditCard::sameCard Method [AX 2012]

Determines whether the same credit card that was specified on a sales order was used in a credit card operation.

server public static boolean sameCard(SalesTable _salesTable, CreditCardAuthTrans _creditCardAuthTrans)

Run On

Server

Parameters

_salesTable
Type: SalesTable Table
The sales order that uses a credit card for payment.
_creditCardAuthTrans
Type: CreditCardAuthTrans Table
The credit card history record.

Return Value

Type: boolean
true if the same credit card was used on the given sales order and in the given credit card operation; otherwise, false.
Show: