Difference between revisions of "Q09 - Document cost (Sales Prospecting Report Generator variable)"
From Catalyst
(Updated from revision control) |
(Updated from revision control) |
||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
== Syntax == | == Syntax == | ||
− | '''Q09'''{0- | + | '''Q09'''{0-9} |
== Description == | == Description == | ||
− | If no parameters are given then this returns the total Cost of the Document. If a parameter 1 to | + | If no parameters are given then this returns the total Cost of the Document. If a parameter 1 to 9 is specified then this corresponds to one of the system V.A.T. rates and only the items at that V.A.T. rate will be included in the calculation. |
== Parameters == | == Parameters == | ||
− | ;0- | + | ;0-9 |
:A text parameter that can be omitted (it defaults to "0"). | :A text parameter that can be omitted (it defaults to "0"). | ||
:;0 | :;0 | ||
::Returns the total Cost of the Document. | ::Returns the total Cost of the Document. | ||
− | :;1- | + | :;1-9 |
::Limit the calculation to that V.A.T code. | ::Limit the calculation to that V.A.T code. | ||
Latest revision as of 05:38, 28 October 2021
Syntax
Q09{0-9}
Description
If no parameters are given then this returns the total Cost of the Document. If a parameter 1 to 9 is specified then this corresponds to one of the system V.A.T. rates and only the items at that V.A.T. rate will be included in the calculation.
Parameters
- 0-9
- A text parameter that can be omitted (it defaults to "0").
- 0
- Returns the total Cost of the Document.
- 1-9
- Limit the calculation to that V.A.T code.
Returns
A numeric value whose typical size is 8 digits plus 2 decimal places.