The CurrentRearrange variable is generally available in all scripts called from named rearranges. It contains a reference to the rearrange from which the script is being called. It is of the type InputRearrange.
Line
The Line variable is generally available in all scripts called from named rearranges. It contains the line number on which the CurrentRearrange is placed, for the pattern on which the rearrange is placed. It is used to refer to other named rearranges on the same pattern.
The Linevariable starts with line number set to 0 (zero).
function CalcPrice() : Number
{
return Price[Line].number * Quantity[Line].number;
}
GlobalLine
The GlobalLine variable is generally available in all scripts called from named rearranges. It contains the global line number on which the CurrentRearrange is placed. This line number includes all patterns.
The GlobalLine variable starts with line number set to 1 (one).
masterJob
Available from scripts run on Sheet Modifiers and rearranges. masterJob is of type Job. It is from this that the job is copied when each sheet starts processing. This means that you can use masterJob to copy data to the next sheet.
By entering and using this site, you consent to the use of only necessary cookies to enhance your site experience and improve our services. For more details, please read our Privacy Policy.