CMA_LoadEntry

Provides the Import Wizard with basic 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_LoadEntry(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 basic information about the 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, account categories, and rollups for the company.

Entry   The address of the CMA_JOURNALENTRY structure the filter DLL fills in with information about the specified entry in the accounting system data file.

Detail   The address of the CMA_JOURNALDETAIL structure the filter DLL fills in with detailed information about the entry currently displayed.

Return Values

True if additional entries remain to be loaded; False if there are no more entries to process.

Remarks

The Import Wizard calls the CMA_LoadEntry function repeatedly until all entries are loaded or the function returns False. 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 details for the specified entry.

See Also

CMA_ACCTPART, CMA_ACCTPARTCODE, CMA_CTRLINFO, CMA_JOURNALDETAIL, CMA_JOURNALENTRY, CMA_LoadCompany, CMA_LoadAcctPartCode, CMA_LoadDetail