CardFileBill() ![]()
Scans a card file and generates invoices where applicable.
Syntax
CardFileBill(<cCardFileName>, [<nMode>]) --> lCreated
Arguments
<cCardFileName> -> The name of the card file to scan.
<nMode> -> The type of transaction to create. Pass 0 (zero) to generate customer invoices, or 1 to generate supplier invoices. If nMode is not passed, CAPITAL will attempt to generate customer invoices by default.
Returns
TRUE is returned if at least one invoice is generated. FALSE is returned if no invoices were generated.
Description
This function opens a card file and generates customer or supplier invoices where applicable.
For
more information on card file transaction generation consult the topic: 'Card File Invoice Generation'
in the CAPITAL For Windows Series 7 help file.
Example
If CardFileBill("MYCARDFILE")
Echo("Invoices generated.")
Endif
____________________________
Related Topics: