Difference between revisions of "S99 - Stock Quantity (Stock Control Report Generator variable)"

From Catalyst
Jump to: navigation, search
(Updated from revision control)
(Updated from revision control)
 
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
== Syntax ==
 
== Syntax ==
  '''S99'''{xxxxxxx, D1-D16}
+
  '''S99'''{account, D1-D16}
  
 
== Description ==
 
== Description ==
Line 7: Line 7:
  
 
== Parameters ==
 
== Parameters ==
;xxxxxxx
+
;account
 
:A text parameter that can be omitted.
 
:A text parameter that can be omitted.
 
:If you have are using the Asset Management module for keeping track of individual stock items within a stock line then you can supply an account code along with a ledger code (S for Sales, P for Purchase) to get the number of this stock line at that account.
 
:If you have are using the Asset Management module for keeping track of individual stock items within a stock line then you can supply an account code along with a ledger code (S for Sales, P for Purchase) to get the number of this stock line at that account.

Latest revision as of 06:49, 15 February 2018

Syntax

S99{account, D1-D16}

Description

Return the stock level of the current stock line.

Parameters

account
A text parameter that can be omitted.
If you have are using the Asset Management module for keeping track of individual stock items within a stock line then you can supply an account code along with a ledger code (S for Sales, P for Purchase) to get the number of this stock line at that account.
D1-D16
A text parameter that can be omitted.
Given a Date, the report will back calculate your Quantity in Stock on that Date from Stock History movements. (Note, has no effect if Parameter 1 is used.)
D1-D16
Corresponds to the date range screen.

Returns

A numeric value whose typical size is 6 digits plus 2 decimal places.