Provides the Import Wizard with the Web address or addresses associated with the specified invoice.
Syntax
BOOL CMA_LoadInvoiceWebAddress(
CMA_CTRLINFO& CtrlInfo,
CMA_INVOICEHEADER& InvoiceHeader,
CMA_WEBADDRESS& WebAddress);
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.
WebAddress The address of the CMA_WEBADDRESS structure the filter DLL fills in with Web address information (for example, a Web site URL, e-mail address, or some other type of address).
Return Values
True if additional street addresses remain to be retrieved from the data file; False if there are no more street addresses to process.
Remarks
The CMA_LoadInvoiceWebAddress function will be used only if the invoice loaded in the previous call to CMA_LoadInvoiceHeader has a Web address that was entered during invoice entry, and this Web address is not contained in the customer records imported in CMA_LoadOrganizationWebAddress. If this invoice does not have a custom Web address, the CMA_LoadInvoiceWebAddress function returns False.
See Also
CMA_CTRLINFO, CMA_INVOICEHEADER, CMA_LoadCompany, CMA_LoadInvoiceHeader, CMA_LoadOrganizationWebAddress, CMA_WEBADDRESS