📚 SAP Business One SDK Help

EmployeeRolesSetupService Object Members
See Also  Overview 

Public Methods

Public Method AddEmployeeRoleSetupAdds an employee role.
Public Method DeleteEmployeeRoleSetupDeletes an existing employee role.

The role is specified by its key (TypeID), which is contained in the EmployeeRoleSetupParams object passed to the method.

Public Method GetDataInterfaceCreates an empty data structure for use with the EmployeeRolesSetupService.
Public Method GetDataInterfaceFromXMLFileCreates an object from an XML file.
Public Method GetDataInterfaceFromXMLStringCreates an object from XML.
Public Method GetEmployeeRoleSetupRetrieves a specific employee role.

The role is specified by its key (TypeID), which is contained in the EmployeeRoleSetupParams object passed to the method.

Public Method GetEmployeeRoleSetupListRetrieves the keys and names of all the employee roles.
Public Method UpdateEmployeeRoleSetupUpdates an existing employee role.

The data for the role, including the key of the role to be updated, is contained in the EmployeeRoleSetup passed to the method. To update a role, you must first retrieve it using the GetEmployeeRoleSetup method.

See Also