📚 SAP Business One SDK Help

Factor Property
See Also 

Description

Sets or returns the value of the first factor for calculating the item's quantity in the row.

Field name: Factor1.

Property type

Read-write property

Syntax

Visual Basic
Public Property Factor() As Double

Remarks

Example: A 1.20 m high fence is sold in square meters. To calculate the quantity on which the price is based, the system must multiply the sold length by the height of the fence. In this case, the length of the fence is multiplied by Factor1 and the height is multiplied by Factor2.

The values of Factor1, Factor2, Factor3, Factor4 properties are used in purchase and sales documents.

If the Quantity property is set, Factor 1, Factor 2, Factor 3, and Factor 4 properties are automatically set to 1 by default because the quantity overrides the factor fields. To set the factor fields, quantity must be empty.

See Also