Represents a department object interface with methods to manage departments.

interface DepartmentObject {
    FindByCostCode: ((costCode: string) => Department[]);
    FindById: ((id: number) => Department);
    GetMisConfiguration: ((departmentId: number, pluginSystemName: string) => MisConfigType);
}

Properties

FindByCostCode: ((costCode: string) => Department[])

Finds departments by their cost code.

Type declaration

    • (costCode): Department[]
    • Parameters

      • costCode: string

        The cost code of the departments.

      Returns Department[]

      An array of objects representing the departments with the given cost code.

FindById: ((id: number) => Department)

Finds a department by its identifier.

Type declaration

    • (id): Department
    • Parameters

      • id: number

        The identifier of the department.

      Returns Department

      An object representing the department.

GetMisConfiguration: ((departmentId: number, pluginSystemName: string) => MisConfigType)

Gets the MIS configuration for a specific department and plugin system.

Type declaration

    • (departmentId, pluginSystemName): MisConfigType
    • Parameters

      • departmentId: number

        The identifier of the department.

      • pluginSystemName: string

        The name of the plugin system.

      Returns MisConfigType

      An object representing the MIS configuration.