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.
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.
| Visual Basic |
|---|
Public Property SalesPersonCode() As Long |
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.