Difference between revisions of "S62 - Stock Data ID (Stock Control Report Generator variable)"

From Catalyst
Jump to: navigation, search
(Updated from revision control)
 
(Updated from revision control)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
== Syntax ==
 
== Syntax ==
  '''S62'''
+
  '''S62'''{S/P, code}
  
 
== Description ==
 
== Description ==
 
Returns the reference ID of extra information that may have been attached to this file.
 
Returns the reference ID of extra information that may have been attached to this file.
  
This variable should be used in conjunction with the audit functions (see [[AUDIT_DATE - Audit date (Reports & Parameters Report Generator function)|$AUDIT_DATE]] etc) to return an audit date.
+
This variable should be used in conjunction with the audit functions (see [[AUDIT_DATE - Audit date (Reports & Settings Report Generator function)|$AUDIT_DATE]] etc) to return an audit date.
  
 
{{Example|text=
 
{{Example|text=
$AUDIT_DATE{S62,M} returns the last modifed date of this stock item.
+
$AUDIT_DATE{S62,M} returns the last modified date of this stock item.
 +
}}
 +
 
 +
{{Note|text=
 +
Only the created and modified details are recorded for stock.
 
}}
 
}}
  
  
 
== Parameters ==
 
== Parameters ==
None.
+
;S/P
 +
:A text parameter that can be omitted (it defaults to "S").
 +
:;S
 +
::Stock
 +
:;P
 +
::Price
 +
;code
 +
:A text parameter that can be omitted.
 +
:Price Code. If omitted, gives the standard retail price.
  
 
== Returns ==
 
== Returns ==
A text value whose typical size is 6 characters.
+
A text value whose typical size is 8 characters.
{{Note|text=
 
Only the created and modified details are recorded for stock items.
 
}}
 
 
 
  
 
== See also ==
 
== See also ==
[[AUDIT_DATE - Audit date (Reports & Parameters Report Generator function)|$AUDIT_DATE]], [[AUDIT_SITE - Audit site (Reports & Parameters Report Generator function)|$AUDIT_SITE]], [[AUDIT_TERM - Audit terminal (Reports & Parameters Report Generator function)|$AUDIT_TERM]], [[AUDIT_TIME - Audit time (Reports & Parameters Report Generator function)|$AUDIT_TIME]], [[AUDIT_PROG - Audit program (Reports & Parameters Report Generator function)|$AUDIT_PROG]], [[AUDIT_USER - Audit user (Reports & Parameters Report Generator function)|$AUDIT_USER]].
+
[[AUDIT_DATE - Audit date (Reports & Settings Report Generator function)|$AUDIT_DATE]], [[AUDIT_SITE - Audit site (Reports & Settings Report Generator function)|$AUDIT_SITE]], [[AUDIT_TERM - Audit terminal (Reports & Settings Report Generator function)|$AUDIT_TERM]], [[AUDIT_TIME - Audit time (Reports & Settings Report Generator function)|$AUDIT_TIME]], [[AUDIT_PROG - Audit program (Reports & Settings Report Generator function)|$AUDIT_PROG]], [[AUDIT_USER - Audit user (Reports & Settings Report Generator function)|$AUDIT_USER]].
 
[[Category:Stock Control Report Generator variables]]
 
[[Category:Stock Control Report Generator variables]]

Latest revision as of 05:38, 18 June 2020

Syntax

S62{S/P, code}

Description

Returns the reference ID of extra information that may have been attached to this file.

This variable should be used in conjunction with the audit functions (see $AUDIT_DATE etc) to return an audit date.

$AUDIT_DATE{S62,M} returns the last modified date of this stock item.
Only the created and modified details are recorded for stock.


Parameters

S/P
A text parameter that can be omitted (it defaults to "S").
S
Stock
P
Price
code
A text parameter that can be omitted.
Price Code. If omitted, gives the standard retail price.

Returns

A text value whose typical size is 8 characters.

See also

$AUDIT_DATE, $AUDIT_SITE, $AUDIT_TERM, $AUDIT_TIME, $AUDIT_PROG, $AUDIT_USER.