📚 SAP Business One SDK Help

GetDepartment Method
See Also 
pIDepartmentParams

The key of the department to retrieve.

Description

Retrieves a department.

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

Syntax

Visual Basic
Public Function GetDepartment( _
   ByVal pIDepartmentParams As DepartmentParams _
) As Department

Parameters

pIDepartmentParams

The key of the department to retrieve.

Return Type

The department with the specified key.

Example

See Also