Schema Reference
The application schema is used to configure the objects returned from a connector.
Note
-
The Account Schema tab is used to define the attributes for each object type in the application being configured. The schema attributes can be defined as Entitlement or Multi-Valued. Refer to Managing Source Account Schemas for more information.
-
The schema attributes that are not present by default must be defined as strings if not specified.
The ERPNext connector uses the following default correlation and object configurations.
Default Account Schema
Each source supports a variety of details, or attributes, about each user who has an account, such as their name, email address, manager name, and location.
The set of account attributes each source stores and how they're organized is known as the account's schema. To best represent your data, you can configure sources to use an account schema matching the one you use in the external connector. Refer to Managing Source Account Schemas for more information.
Default Account ID
SailPoint requires that certain attributes remain in your configuration. These attributes are referred to as account IDs.
Caution
Changing the attribute marked as the account ID after aggregating accounts can result in duplicate accounts being created. To avoid this, either reset the accounts on this source before editing the account ID attribute or edit the account ID attribute before aggregating accounts.
To resolve issues caused by changing account IDs, reconfigure them to their default values.
The following table lists the default account IDs for this connector:
| Account ID | Schema Object Type |
|---|---|
| Account |
Default Account Attributes
The ERPNext connector supports the following default account schema attributes and customer configurable attributes. The attributes must be defined as strings if not specified.
| Attribute Name | Description |
|---|---|
| Full Name | Full name of the user for display purposes |
| First Name | First name of the user |
| Last Name | Last name of the user |
| Time Zone | Time zone preference for the user |
| Employee Number | A unique identifier for each employee |
| Reports To | Employee doctype is used to define the manager or supervisor of an employee |
| Date of Joining | Date of joining of the employee |
| Department | Organizational placement details |
| Branch | Represents a distinct physical location |
| Designation | An employee’s official job title |
| Email address of the user | |
| Role | Unique identifier given to role (Entitlement Reference > group) |
| User Type | Defines the access level of a user account (Entitlement Reference > User_Type) |
| Enabled | Indicates whether the user account is active or disabled (Boolean) |
| Username | Username for user authentication |
Default Entitlement Attributes
Entitlement attributes define the entitlements, such as groups or roles, that can be assigned to the managed system's user accounts. Refer to Managing Entitlements for more information.
Caution
Changing the attribute marked as the Entitlement ID after aggregating accounts or entitlements can result in duplicate entitlements being created, or access profiles and roles breaking. To avoid this, edit the entitlement schema before performing any aggregations.
Default Group Attributes
The ERPNext connector also supports groups. The following attributes must be configured on the managed system and in the SailPoint source schema to manage groups.
Default Role Attributes
| Attribute Name | Description |
|---|---|
| Desk Access | Controls whether users with this role can access the ERPNext desk (backend UI). If 0, limited to API or portal access only. |
| Restricted | Restricts role assignment to a specific domain or app (for example, Education, Healthcare). |
| Custom | Indicates if the role was custom-created (1) or is a standard ERPNext role (0). |
| Owner | The user who owns or created this role. |
| Name | Unique identifier name for the role. |
Default User_Type Attributes
| Attribute Name | Description |
|---|---|
| Standard | Indicates if it’s a built-in ERPNext user type (1) or a custom type (0). |
| Permission Target Field | Field in the document where user-based permission rules are enforced. |
| Linked User Field | Field used to link this type to a specific user ID. |
| Owner | The user who created this record. |
| Name | The identifier for this user type (for example, “System User”). |