biuan SAP® BUSINESS ONE SDK
DTW Departments
API Departments Service / Department

Description

Represents a department that can be assigned to a user or employee.

Source table: OUDP

Mandatory properties: Name

See Also

SAP® B1 DI-API C# definition

public class DepartmentClass : IDepartment, Department { public virtual int Code { get; } public virtual string Description { get; set; } public virtual string Name { get; set; } public extern DepartmentClass(); public virtual extern void FromXMLFile( string bstrFileName); public virtual extern void FromXMLString( string bstrXML); public virtual extern string GetXMLSchema(); public virtual extern void ToXMLFile( string bstrFileName); public virtual extern string ToXMLString(); }

Related information


Departments Service Data Interfaces DepartmentsServiceDataInterfaces Enumeration
DepartmentsService data interfaces.
   Parent: Departments Service DepartmentsService Service· Table: OUDP

Departments Params DepartmentsParams Collection
A collection of DepartmentParams objects.
   Parent: Departments Service DepartmentsService Service· Table: OUDP

DTW Human Resources / Employee Master Data
API Departments Service / Department
Department Property

Description

Sets or returns the employee department.

Field name: dept

This is a foreign key to the Departments table (OUDP), which is exposed via the DepartmentsService object.

Property type

Read-write property

Syntax

Visual Basic
Public Property Department() As Long

See Also

Related information


Departments Service DepartmentsService Service· Table: OUDP
The DepartmentsService service enables you to add, look up and remove departments in the departments master data table. Users and employees can be assigned to departments. To see the list of departments, do one of the following: Select...


Department Params DepartmentParams Object
Holds the key and name of a department.  This object is used to pass keys to and retrieve keys from DepartmentsService methods.
   Parent: Departments Params DepartmentsParams Collection


SAP® Business One is the trademark(s) or registered trademark(s) of SAP AG in Germany and in several other countries. Contact
This website is not affiliated with, maintained, authorized, endorsed or sponsored by SAP AG or any of its affiliates