TranCreate()
Enterprise Edition Only
Creates a transaction that has been defined using TranWrite() and TranAdd().
Syntax
TranCreate([<cTranNo>]) --> lResult
Arguments
<cTranNo> --> An optional transaction number to assign to the transaction. If not supplied, the next available transaction number is used. If the transaction number already exists, the next available transaction number will be used instead.
Returns
TRUE if the transaction was successfully created, otherwise FALSE.
Description
This function is used in conjunction with the Invoice Creation Hook to create transactions based on other transactions existing in the CAPITAL system. Refer to the topic: Issue Invoices found in the main CAPITAL help for more information on this subject.
This function should be called last, after a transaction has been defined using TranWrite() and then TranAdd(). It will create an invoice transaction.
____________________________
Related Topics: