Create a new instance of the type Department. In case of a new record use the method NewAsync instead of this constructor.
Context information of the call. In most of the cases you can build the context using the request object.
ProtectedclassProtectedcontextProtectedfieldsProtectedfieldsProtectedisProtectedlistsStaticClassStaticClassGet the code of the department
Set the code of the department
Get the identifier of the department manager
Set the identifier of the department manager
Get the name of the department
Set the name of the department
Get the identifier of the department
Get the identifier of the parent department
Set the identifier of the parent department
Add a row to the record list.
Name of the record list.
A dictionary containing all the fields of the row.
A promise to retrieve the content of the new object added to the record list.
ProtectedGetRetrieve all rows from a record list field.
Name of the record list.
A promise to retrieve the content record list.
Get the instance of the parent department
ProtectedGetProtectedLogSave all pending changes of a field of type record list.
Context information of the call. In most of the cases you can build the context using the request object.
Name of the record list.
Update a row in a record list.
Name of the record list.
A list of identifiers for the rows in the record list.
A dictionary containing all the fields of the row.
StaticFindFind a department by an identifier
Context information of the call. In most of the cases you can build the context using the request object.
Identifier of the instance.
Promise to get the object instance of a department.
StaticNewCreate a new instance of a department and initialize all fields.
Context information of the call. In most of the cases you can build the context using the request object.
Promise to get the object instance of a department
StaticParseLoad the object's content from JSON data.
Context information of the call. In most of the cases you can build the context using the request object.
An array of key-value pairs (JSON data).
Object instance initialized.
StaticWhereSearch for objects using filter criteria. To create the filter, use a condition that follows the OData filter syntax and includes the available fields fields in the environment.
Context information of the call. In most of the cases you can build the context using the request object.
A filter expression following the OData filter syntax.
It stores the content in a local cache for later reuse. The cache lifespan is approximately 600 seconds.
Promise to get the a list of objects retrieved from the backend based on the search criteria. Note: the retrieval is limited to a maximum of 1,000 records.
A Department is a functional area or business unit within an organization.