Provides the Import Wizard with the telephone number or numbers associated with the specified invoice.
Syntax
BOOL CMA_LoadInvoicePhoneNumber(
CMA_CTRLINFO& CtrlInfo,
CMA_INVOICEHEADER& InvoiceHeader,
CMA_PHONENUMBER& PhoneNumber);
CtrlInfo The address of the CMA_CTRLINFO structure whose szDataPath member specifies the data path for the company data file. This structure was filled in by a previous call to the CMA_LoadCompany function.
InvoiceHeader The address of the CMA_INVOICEHEADER structure that contains the header-level information from the invoice. This structure was filled in by a previous call to the CMA_LoadInvoiceHeader function.
PhoneNumber The address of the CMA_PHONENUMBER structure the filter DLL fills in with telephone number information.
Return Values
True if additional telephone numbers remain to be retrieved from the data file; False if there are no more telephone numbers to process.
Remarks
The CMA_LoadInvoicePhoneNumber function will be used only if the invoice loaded in the previous call to CMA_LoadInvoiceHeader has a telephone number that was entered during invoice entry, and this telephone number is not contained in the customer records imported in CMA_LoadOrganizationPhoneNumber. If this invoice does not have a custom telephone number, the CMA_LoadInvoicePhoneNumber function returns False.
See Also
CMA_CTRLINFO, CMA_INVOICEHEADER, CMA_LoadCompany, CMA_LoadInvoiceHeader, CMA_LoadOrganizationPhoneNumber, CMA_PHONENUMBER