CMA_LoadDetail

Provides the Import Wizard with detailed information about a journal entry from the specified company's data file. For more information about entry details, see the Frequently Asked Questions section of Import Filters for the Microsoft Small Business Customer Manager.

Syntax

BOOL CMA_LoadDetail(CMA_CTRLINFO& CtrlInfo,
    CMA_ACCTPART& AcctPart,
    CMA_ACCTPARTCODE& AcctPartCode,
    CMA_JOURNALENTRY& Entry,
    CMA_JOURNALDETAIL& Detail);

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

AcctPart   The address of the CMA_ACCTPART structure that defines the chart of accounts for the company. This structure was filled in by a previous call to the CMA_LoadCompany function.

AcctPartCode   The address of the CMA_ACCTPARTCODE structure that contains the account parts for the specified detail transaction line. For more information, see the topic, CMA_ACCTPARTCODE.

Entry   The address of the CMA_JOURNALENTRY structure that contains basic information about the entry for which details are to be loaded. This structure was filled in by a previous call to the CMA_LoadEntry function.

Detail   The address of the CMA_JOURNALDETAIL structure the filter DLL fills in with detailed information about the current detail transaction line.

Return Values

True if additional details for the specified entry remain to be loaded; False if there are no more journal details to process.

Remarks

The Import Wizard follows each call to the CMA_LoadEntry function with repeated calls to the CMA_LoadDetail function. Calls to CMA_LoadDetail continue until it returns False, which indicates that it has provided information for all the detail lines in the entry.

See Also

CMA_ACCTPART, CMA_ACCTPARTCODE, CMA_CTRLINFO, CMA_JOURNALDETAIL, CMA_JOURNALENTRY, CMA_LoadCompany, CMA_LoadEntry, CMA_PARTCODE