Difference between revisions of "S34 - Quantity Discount Break (Stock Control Report Generator variable)"

From Catalyst
Jump to: navigation, search
(Updated from revision control)
(Updated from revision control)
 
Line 4: Line 4:
  
 
== Description ==
 
== Description ==
Returns the Quantity defined in the Quantity Discount table for the current Stock Code corresponding to the number set by the Parameter.
+
Returns the quantity defined in the Quantity Discount table of the current stock line corresponding to the number set by the Parameter.
  
 
== Parameters ==
 
== Parameters ==
 
;1-5
 
;1-5
 
:A text parameter that can be omitted (it defaults to "1").
 
:A text parameter that can be omitted (it defaults to "1").
:Returns the First,Second etc Quantity Break.
+
:Returns the First, Second etc Quantity Break.
  
 
== Returns ==
 
== Returns ==

Latest revision as of 07:01, 17 December 2015

Syntax

S34{1-5}

Description

Returns the quantity defined in the Quantity Discount table of the current stock line corresponding to the number set by the Parameter.

Parameters

1-5
A text parameter that can be omitted (it defaults to "1").
Returns the First, Second etc Quantity Break.

Returns

A numeric value whose typical size is 8 digits plus 3 decimal places.