Returns information about the currently selected
transaction.
<nTranType> --> The transaction type to
query.
<nOp> --> The type of information to
return.
Returns the requested information. A value of -1
is returned if an error condition arises.
This function returns information about the
currently selected transaction. The relevant transaction table must
be open before calling this function. The information request and
return data is documented in the following table.
|
nOp
|
Description
|
|
1
|
Invoice total in base currency.
|
|
2
|
Invoice total in the currency of the
transaction.
|
|
3
|
The tax or GST total of the transaction.
|
|
4
|
The freight charge.
This may include tax or GST if the freight charge is
inclusive of tax or GST.
|
|
5
|
The total of all freight and miscellaneous
charges.
This may include tax or GST if the freight charge is
inclusive of tax or GST.
|
|
6
|
The first miscellaneous charge total.
This may include tax or GST if the freight charge is
inclusive of tax or GST.
|
|
7
|
The second miscellaneous charge total.
This may include tax or GST if the freight charge is
inclusive of tax or GST.
|
|
8
|
The third miscellaneous charge total.
This may include tax or GST if the freight charge is
inclusive of tax or GST.
|
|
9
|
The tax or GST component of all freight and
miscellaneous charges.
|
|
10
|
The total of freight and miscellaneous charges,
less tax or GST.
|
|
11
|
The total of freight plus tax or GST.
|
|
12
|
The freight charge less tax or GST.
|
|
13
|
Miscellaneous charge #1 less tax or GST.
|
|
14
|
Miscellaneous charge #2 less tax or GST.
|
|
15
|
Miscellaneous charge #3 less tax or GST.
|
|
16
|
The unpaid portion of the transaction.
|
|
17
|
The balance remaining on the transaction.
|
|
18
|
The transaction cost.
|
|
19
|
The transaction cost plus tax or GST.
|
|
20
|
The transaction subtotal, less freight and all
exclusive tax or GST.
|
|
21
|
The transaction subtotal less freight and all
taxes or GST.
|
|
22
|
The transaction sub-total including all taxes or
GST.
|
|
23
|
The transaction total less exclusive tax or
GST.
|
|
24
|
The transaction total less all taxes or GST.
|
|
25
|
The amount of tax or GST that has been added to
the invoice net total.
|
|
26
|
The amount of non-exempt tax or GST that applies
to the transaction.
|
|
27
|
The amount of 'change' issued on the transaction
for rounding purposes.
|
|
28
|
The total weight of the transaction.
The table CONTENTS.DBF and STOCK.DBF must also be open
in order to query this value.
|
|
29
|
The total volume of the transaction.
The table CONTENTS.DBF and STOCK.DBF must also be open
in order to query this value.
|