Difference between revisions of "S90 - Account Name of Last Sale/Purchase (Stock Control Report Generator variable)"
From Catalyst
(Updated from revision control) |
(Updated from revision control) |
||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
== Syntax == | == Syntax == | ||
− | '''S90'''{S/P, A/C} | + | '''S90'''{S/P, A/C/D, depot} |
== Description == | == Description == | ||
Line 10: | Line 10: | ||
:A text parameter that can be omitted (it defaults to "S"). | :A text parameter that can be omitted (it defaults to "S"). | ||
:;S | :;S | ||
− | :: | + | ::From last sale. |
:;P | :;P | ||
− | :: | + | ::From last purchase. |
− | ;A/C | + | ;A/C/D |
:A text parameter that can be omitted (it defaults to "A"). | :A text parameter that can be omitted (it defaults to "A"). | ||
:;A | :;A | ||
Line 19: | Line 19: | ||
:;C | :;C | ||
::Current depot (last sale/purchase from the current report depot) | ::Current depot (last sale/purchase from the current report depot) | ||
+ | :;D | ||
+ | ::Supplied depot (last sale/purchase from the supplied depot) | ||
+ | ;depot | ||
+ | :A text parameter that can be omitted. | ||
+ | :Last sale/purchase for a specific depot. | ||
+ | :;depot | ||
+ | ::Filter by 'depot'. | ||
== Returns == | == Returns == |
Latest revision as of 05:56, 21 April 2020
Syntax
S90{S/P, A/C/D, depot}
Description
The name of the account from when the current stock was last sold or purchased.
Parameters
- S/P
- A text parameter that can be omitted (it defaults to "S").
- S
- From last sale.
- P
- From last purchase.
- A/C/D
- A text parameter that can be omitted (it defaults to "A").
- A
- All depots (last sale/purchase from any depot)
- C
- Current depot (last sale/purchase from the current report depot)
- D
- Supplied depot (last sale/purchase from the supplied depot)
- depot
- A text parameter that can be omitted.
- Last sale/purchase for a specific depot.
- depot
- Filter by 'depot'.
Returns
A text value whose typical size is 30 characters.