CardFileBill() generate/enh73.jpg


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.

generate/notepad1.gifFor 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:

Business Function List



CAPITAL VISUAL BUILDER