📚 SAP Business One SDK Help

SalesPersons Object Members
See Also  Overview 

Public Methods

Public Method AddAdds a sales person employee.
Public Method GetAsXMLReturns the object from XML data, which is stored as string in a buffer.
Public Method GetByKeyRetrieves and sets the values of the object's properties by the object's absolute key from the Company database.
Public Method RemoveDeletes the current record.
Public Method SaveToFileSave the object to a file as XML data.
Public Method SaveXMLSaves the object data to XML formatted data.
Public Method UpdateUpdates the object data in the company database.

Public Properties

Public Property ActiveDetermines whether the sales employee is active or not.

Field name: Active.

Public Property BrowserReturns the DataBrowser object.
Public Property CommissionForSalesEmployeeSets or returns the commission percentage for the sales employee.

Field name: Commission.

Public Property CommissionGroupSets or returns commission group code, which is relevant to the sales employee. This is a foreign key to the CommissionGroups object. Sets or returns the commission percentage for the sales employee.

Field name: GroupCode.

This is a foreign key to the CommissionGroups object.

Public Property eMailSets or returns the Email of the sales employee.

Length: 100 characters.

Field name: Email.

Public Property EmployeeIDReturns the employee ID code.

Field name: EmpID.

This is a foreign key to the EmployeesInfo object.

Public Property FaxSets or returns the fax number of the sales employee.

Length: 50 characters.

Field name: Fax.

Public Property LockedReturns whether or not the sales person definition is locked for update.

Field name: Locked.

Public Property MobileSets or returns the mobile number of the sales employee.

Length: 50 characters.

Field name: Mobil.

Public Property RemarksSets or returns the remarks related to the sales employee.

Length: 50 characters.

Field name: Memo.

Public Property SalesEmployeeCodeReturns the primary key of the sales employee as assigned by the system.

Field name: SlpCode.

Public Property SalesEmployeeNameSets or returns the name of the sales employee.

Mandatory property.

Field name: SlpName.

Length: 155 characters.

Public Property TelephoneSets or returns the telephone number of the sales employee.

Length: 50 characters.

Field name: Telephone.

Public Property UserFieldsReturns the UserFields object.

See Also