LENTITY: Legal entity
A simple legal entity lookup record with name, code, and description for reference purposes.
Default definition. This article describes the default
LENTITY definition shipped with DemandFlow. Administrators can add, remove, rename, or re-type fields, change which ones are required, and alter the layout from the Definitions screen in Settings. Your tenant's current schema may differ from what is shown here. To read the current definition at any time, GET the DEFINITION object whose id matches LENTITY.Entity properties
| Property | Value |
|---|---|
| Entity code | LENTITY |
| Display name | Legal entity |
| Plural | Legal entities |
| Level | 250 |
Use cases
LENTITY is a lightweight lookup entity for referencing legal entities in contexts where the full ENT entity's structure and complexity is not needed. With just name, code, and description fields, it serves as a reference/picklist entity. LENTITY exists separately from ENT to provide a clean, simple lookup without the overhead of ENT's business unit hierarchy, financials, and AI features.
Fields
Legal Entity
| Field | Type | Required | Notes |
|---|---|---|---|
name | text | Yes | Name |
code | text | Code | |
description | text (multi-line) | Description |
Relationships
- No declared relationships in the default definition.
Creating a Legal entity via the API
POST /v1/objects
Authorization: Bearer <your-pat>
Content-Type: application/json
{
"entity": "LENTITY",
"level": 250,
"comboKey": "SUB:<your-sub-id>|ENT:",
"name": "Example",
"code": "EX",
"description": "Example text."
}
Listing Legal entities records
# All legal entities in your tenant
GET /v1/entities/LENTITY/SUB