CMA_DUEDATEDETAIL

Contains information used to track expected payment dates for the specified invoice. There must be at least one due-date line for each invoice entered by means of the filter.

Syntax

typedef struct tagCMA_DUEDATEDETAIL {
    LONG    lInvoiceKey;
    CHAR    szPaymentNumber[51];
    LONG    lPaymentKey;
    DWORD    dwCurrencyCode;
    CMACY    cyAmount;
    SYSTEMTIME    stDueDate;
    CMACY    cyDiscount;
    SYSTEMTIME    stDateModified;
} CMA_DUEDATEDETAIL;

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

szPaymentNumber   The number of the payment. This number is used for display purposes only.

lPaymentKey   A unique ID for the payment number on an invoice by invoice basis. If szPaymentNumber is the unique ID for payments, this value will be the same as the value of szPaymentNumber. This member is required (must not be NULL).

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 due as of the date in stDueDate after any discount.

stDueDate   The non-discount due date for this invoice.

cyDiscount   The payment discount (if any) for timeliness.

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