Difference between revisions of "S48 - Stock notes/sales text ID (Stock Control Report Generator variable)"

From Catalyst
Jump to: navigation, search
(Updated from revision control)
 
(Updated from revision control)
 
Line 6: Line 6:
 
Returns the reference number of any General Notes that may have been entered for the current stock code.
 
Returns the reference number of any General Notes that may have been entered for the current stock code.
  
This variable should be used in conjunction with the [[NOTES - General Notes (Reports & Settings Report Generator function)|$NOTES]] function to return a line of notes entered for this stock code.
+
This variable should be used in conjunction with the [[NOTES - Get general notes (Reports & Settings Report Generator function)|$NOTES]] function to return a line of notes entered for this stock code.
  
 
{{Example|text=
 
{{Example|text=
[[NOTES - General Notes (Reports & Settings Report Generator function)|$NOTES]]{[[S48 - Stock notes/sales text ID (Stock Control Report Generator variable)|S48]],1} returns the first line of notes.
+
[[NOTES - Get general notes (Reports & Settings Report Generator function)|$NOTES]]{[[S48 - Stock notes/sales text ID (Stock Control Report Generator variable)|S48]],1} returns the first line of notes.
 
}}
 
}}
  

Latest revision as of 05:56, 16 April 2020

Syntax

S48{E/S/A/G}

Description

Returns the reference number of any General Notes that may have been entered for the current stock code.

This variable should be used in conjunction with the $NOTES function to return a line of notes entered for this stock code.

$NOTES{S48,1} returns the first line of notes.


Parameters

E/S/A/G
A text parameter that can be omitted (it defaults to "E").
E
Returns the general extra notes recorded against this stock code.
S
Returns the sales text notes recorded against this stock code.
A
Returns the alert text recorded against this stock code.
G
Returns the alert text recorded against this stock code's stock group.

Returns

A numeric value whose typical size is 8 digits.