📚 SAP Business One SDK Help

DepartmentsService Object Members
See Also  Overview 

Public Methods

Public Method AddDepartmentAdds a department.
Public Method DeleteDepartmentDeletes an existing department.

The department is specified by its key (Code), which is contained in the DepartmentParams object passed to the method.

Public Method GetDataInterfaceCreates an empty data structure for use with the DepartmentsService.
Public Method GetDataInterfaceFromXMLFileCreates an object from an XML file.
Public Method GetDataInterfaceFromXMLStringCreates an object from XML.
Public Method GetDepartmentRetrieves a department.

The department is specified by its key (Code), which is contained in the DepartmentParams object passed to the method.

Public Method GetDepartmentListRetrieves the keys and names of all the departments.
Public Method UpdateDepartmentUpdates an existing department.

The data for the department, including the key of the department to be updated, is contained in the Department object passed to the method. To update a department, you must first retrieve it using the GetDepartment method.

See Also