📚 SAP Business One SDK Help

SalesEmployee Property
See Also 

Description

Sets or returns the default sales employee code that will be applied in documents, sales opportunities, and so on.

Field name: SalePerson.

This is a foreign key to SalesEmployeeCode.

Property type

Read-write property

Syntax

Visual Basic
Public Property SalesEmployee() As Long

Remarks

If you set this property, the system uses its value as default instead of -1 (No sales employee).

See Also