> For the complete documentation index, see [llms.txt](https://helpdesk.getfly.vn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://helpdesk.getfly.vn/web-version/editor/department-setup.md).

# Department Setup

Department Setup Setting up department information on Getfly will help you:

Understand the Organizational Structure: Getfly helps you visualize the structure of your organization, including departments, positions, and employees.

Hierarchical Management: Getfly allows you to manage departments at different levels, making it easier to assign responsibilities and monitor performance.

Access Control: Getfly helps you assign data and function access rights to specific departments, ensuring data security and improving work efficiency.

## 1. Department Management Permissions

To create and manage departments in the system, you must have the permissions to access Department Management functions.

<figure><img src="/files/wYvnUKSvdvAo1LskPRCi" alt=""><figcaption></figcaption></figure>

* View Access: Allows you to view the Department Management section.
* Create: Allows you to add new departments to the system.
* Edit: Allows you to edit department information in the system.
* Delete: Allows you to delete departments from the system.

## 2. Guide to Creating, Editing, and Deleting Departments

### 2.1 Create a New Department

&#x20;To create a new department, follow these steps:

Go to Settings -> Department Management -> Create.

<figure><img src="/files/OYdOBDReFWuxyyZLoklD" alt=""><figcaption></figcaption></figure>

The Add New Department screen will display the following fields:

<figure><img src="/files/vH8MZz9aAWQr2FolGPaD" alt=""><figcaption></figcaption></figure>

* Department Name: A required field.
* Under: A required field (select the parent department, if applicable).
* Address: Fill in the department's address.
* City: Select the city of the department.
* Phone: Enter the department's phone number.
* Fax: Enter the department's fax number.
* Description: A brief description of the department.
* Attachments: Optionally, add any relevant documents.

Once you have entered all necessary information, click Create to complete the process.

### 2.2 Edit Department Information

To edit a department, follow these steps:

Go to Settings -> Department Management -> Select the department you want to edit.

<figure><img src="/files/aTik1HZwQElGp026uSBG" alt=""><figcaption></figcaption></figure>

After making the necessary changes, click Update to save the changes.

### 2.3 Delete a Department

To delete a department, follow these steps:

Go to Settings -> Department Management -> Select the department you want to delete.

<figure><img src="/files/rugVXliaQKPl4un4sI6W" alt=""><figcaption></figcaption></figure>

Note:

Before deleting a department, you need to reassign all employees from that department to another one.

Each employee can only be assigned to one department and one position at a time.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://helpdesk.getfly.vn/web-version/editor/department-setup.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
