biuan SAP® BUSINESS ONE SDK
DTW Departments
API 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(); }

DTW Administration / Setup / General / Users
API Department
Department Property

Description

Sets or returns the user's department code.

Field name: Department.

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

DTW Human Resources / Employee Master Data
API 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

Users Users Object· Table: OUSR
Users is a business object that represents the users table of the SAP Business One application. The users table includes the users list, login details, and authorizations. This object enables you to: Add users to the users list. Retrieve...



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