📚 SAP Business One SDK Help

InvoiceNumber Property
See Also 

Description

Sets or returns the number of the invoice for payment. From release 2004, use the InvoiceNumberEx property, which is a string, instead of this property.

Field name: DocNum.

Length: 27 characters.

Property type

Read-write property

Syntax

Visual Basic
Public Property InvoiceNumber() As Long

Remarks

The InvoiceNumber property (together with CardCode, CardName, ExternalCode, PaymentCreated, and StatementNumber) enable to create a receipt that matches to the invoice.

If the value of PaymentCreated property is set to Yes and the payment creation succeeds, the property type is changed to Read Only.

See Also