Provides the Import Wizard with information about the account parts the filter DLL defined in its CMA_LoadCompany function. The Import Wizard uses this information to import the account parts, account categories, and rollups for the specified company. The CMA_LoadAcctPartCode function loads information for all GL accounts, including inactive accounts.
Syntax
BOOL CMA_LoadAcctPartCode(CMA_CTRLINFO& CtrlInfo,
CMA_ACCTPART& AcctPart,
CMA_ACCTPARTCODE& AcctPartCode);
CtrlInfo The address of the CMA_CTRLINFO structure that contains information about the company for which account-parts information 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 specified company. This structure was filled in by a previous call to the CMA_LoadCompany function.
AcctPartCode The address of the CMA_ACCTPARTCODE structure the filter DLL must fill with account parts, account categories, and rollups.
Return Values
True if additional account parts need to be retrieved from the data file; False if there are no more account parts to process.
Remarks
The Import Wizard calls the CMA_LoadAcctPartCode function repeatedly until it returns False, which indicates that it has provided information for all account parts.
See Also
CMA_ACCTPART, CMA_ACCTPARTCODE, CMA_CTRLINFO, CMA_LoadCompany