📚 SAP Business One SDK Help

SalesPersonCode Property
See Also 

Description

Sets or returns the code of the sales employee who has created this document.

Field name: SlpCode.

This is a foreign key to the SalesPersons object.

Property type

Read-write property

Syntax

Visual Basic
Public Property SalesPersonCode() As Long

Remarks

Can be updated in open sales quotations and open purchase orders only.

If a sales employee is defined for the selected business partner, the value for this property is retrieved from the SalesPersonCode property (BusinessPartners object), else the value is retrieved from the SalesEmployeeCode property (SalesPersons object).

This property is not relevant for oInventoryGenEntry and oInventoryGenExit document types.

See Also