📚 SAP Business One SDK Help

DocumentNumber Property
See Also 

Description

Returns the production order number, which is a sequential number, assigned by the system.

Field name: DocNum.

Length: 11 characters.

Property type

Read-only property

Syntax

Visual Basic
Public Property DocumentNumber() As Long

Remarks

During upgrade, the system sets the next available number for the selected series. If the work order includes few rows, then each row is added as a separate production order. The system copies the work order number (OrderNum) to the production order remarks field.

See Also