--- title: Organization codes and paths description: An organization code is a unique identifier for a business organization, while an organization path establishes the organization hierarchy. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/customer-service-management/csm-bo-code-bo-path.html release: australia topic_type: concept last_updated: "2026-09-09" reading_time_minutes: 1 breadcrumb: [Import business organizations with guided setup, Create a business organization, Configure Service Model Foundation, Data models, Set up your environment, Configure, Customer Service Management] --- # Organization codes and paths An organization code is a unique identifier for a business organization, while an organization path establishes the organization hierarchy. ## Organization codes An organization code must be unique that identifies a business organization in a ServiceNow instance. Attempting to insert a new record with previously existing organization code in the Organization Core \[sn\_customer\_service\_organization\] table, the value for the code results in the following error: `java.sql.BatchUpdateException: Duplicate entry for key service_organization_path` ## Organization paths An organization path establishes the hierarchy among different business organizations. This path is stored in the **Business Organization Path** on the Business Organization form. An organization path is a combination of the organization codes for each business organization in the hierarchy. For example, let's use the following business organizations to demonstrate business organization paths. \[Omitted image "bo-codes-paths.png"\] Alt text: Business organization hierarchy example with three levels of parent and child companies
| Business Organization | Organization code | Organization path |
|---|---|---|
| Manhattan Main | ~~~~1 | ~~~~1 Manhattan main is the parent company. The business organization path for Manhattan main is the same as the organization code, which indicates that it’s the first element in the hierarchy. |
| Manhattan Upper | ~~~~2 | ~~~~1/~~~~2 Manhattan upper is a child company of Manhattan main. The structure of the business organization path is interpreted as Manhattan main/Manhattan upper. |
| Manhattan Upper East | ~~~~3 | ~~~~1/~~~~2/~~~~3 Manhattan upper east is a child company of Manhattan upper and the structure of the business organization path is interpreted as Manhattan main/Manhattan upper/Manhattan upper east. |
| Manhattan Upper West | ~~~~4 | ~~~~1/~~~~2/~~~~4 Manhattan Upper West is a child company of Manhattan Upper. The structure of this business organization path is interpreted as Manhattan main/Manhattan upper/Manhattan upper west. |