Entities Module

Back

Overview

The Entities module is responsible for managing all business entities within the system.
An entity represents either a Customer or a Supplier, including their addresses and users.

This module defines how entities are created, validated, updated and deleted before they are used
by sales, pricing, ordering and access-control modules.

All operations are tenant-aware and fully audited.


Services

The Entities module consists of the following services:


Models

This module exposes and consumes the following models.


Entity Model

Represents a business entity (customer).

Fields:

Validation:

Notes:


Supplier Model

Represents a supplier entity.

Extends Entity Model with supplier-specific fields.

Additional Fields:

Validation:

Notes:


Address Model

Represents an address assigned to an entity.

Fields:

Validation:

Notes:


EntityAddressType Model

Defines the purpose of an address. Values are fixed system constants — the same for all tenants.

Fields:

Fixed values:

Id Title
0 Default
1 Shipping
2 Billing

Notes:


Files Model

Represents a file attachment linked to an entity.

Fields:

Validation:

Notes:


File Type Model

Represents a category or type of file.

Fields:

Validation:

Notes: