CMA_LoadPaymentDetail

Provides the Import Wizard with detailed information about a payment on the specified invoice.

Syntax

BOOL CMA_LoadPaymentDetail(CMA_CTRLINFO& CtrlInfo,
    CMA_PAYMENTDETAIL& PaymentDetail);

CtrlInfo   The address of the CMA_CTRLINFO structure that contains information about the company for which detailed payment information is to be provided. This structure was filled in by a previous call to the CMA_LoadCompany function.

PaymentDetail   The address of the CMA_PAYMENTDETAIL structure the filter DLL fills in with detailed payment information.

Return Values

True if additional payment information remains to be retrieved from the data file; False if there is no more payment information to process.

Remarks

The Import Wizard calls the CMA_LoadPaymentDetail function repeatedly until it returns False, which indicates that it has provided information for all of the payment information for the invoices.

See Also

CMA_CTRLINFO, CMA_LoadCompany, CMA_PAYMENTDETAIL