Sales Promotion Parameters

Sales Promotion Parameters

The parameters used in the formula field are listed in the table below:

Parameter

Description

P1

Quantity (Main Unit)

P2

Unit Price (Main Unit)

P3

Quantity (Unit on the Line)

P4

Unit Price (Line Unit)

P5

Amount

P20

Total Quantity (Line Unit)

P21

Total Quantity (Main Unit)

P22

Expenses

P24

Gross Total

P25

Total Line Discount

Numerical and Logical Functions

The numerical and logical functions used in the formula field are listed in the table below:

Name

Description

MINIMUM ( , )

Returns the smaller of the 2 parameters.

MAXIMUM ( , )

Returns the larger of the 2 parameters.

ABSOLUTE VALUE ( )

Returns the absolute value of the number.

LOGICAL AND

AND (means that all the conditions it is used with are true)

OR

OR (means that at least one of the conditions it is used with is true)

MODULO ( , )

Returns the remainder of the division.

DIVIDE ( , )

Returns the integer part of the division result.

>

If greater than

<

If less than

>=

If greater than or equal to

<=

If less than or equal to

=

If equal to

<>

If different (If not equal)