CMA_PAYMENTDETAIL

Contains detailed information about a payment on the specified invoice.

Syntax

typedef struct tagCMA_PAYMENTDETAIL {
    LONG    lPaymentCount;
    LONG    lInvoiceKey;
    LONG    lPaymentKey;
    CHAR    szPaymentNumber[51];
    DWORD    dwCurrencyCode;
    CMACY    cyAmount;
    SYSTEMTIME    stPaymentDate;
    CHAR    szPaymentType[51];
    CMACY    cyPaymentDiscount;
    SYSTEMTIME    stDateModified;
} CMA_PAYMENTDETAIL;

lPaymentCount    This represents the number of payments to be presented to the filter. SBCM uses this value to generate the progress display for the user during the import process. This needs to be populated in the first call to CMA_LoadPaymentDetail in order to properly display progress to the user.

lInvoiceKey   A unique key for the invoice. This member is required (must not be NULL).

lPaymentKey   A unique ID for the payment number on an invoice by invoice basis. This member is required (must not be NULL).

szPaymentNumber   The number of the specified payment; this is for display purposes only.

dwCurrencyCode   A value that identifies the currency code of the data being passed to the filter. This can be any of the defined values in aacommon.h (see list of values at the end of this document). This member is required when the fDualCurrency member of the CMA_CTRLINFO structure is True (must not be NULL).

cyAmount   The amount of payment not including any discount.

stPaymentDate   The date of payment.

szPaymentType   A null-terminated string that contains the type of payment (for example, credit memo, cash, or check).

cyPaymentDiscount   The discount (if any) on payment.

stDateModified   The last date on which this record was modified in the source system. This member is required (must not be NULL).

See Also

CMA_CTRLINFO, Currency Identifiers