Value Objects
Group: Value Accounting
Open in the interactive reference
Value objects: the value-accounting records that journal entry lines are allocated to, each standing for the master data it represents — one department, customer or employee (1:1), or a cluster of several records. Every value object carries at least one mapping to a master-data record, and the mappings are part of the value object: they are created with it, edited through its update and removed with it, and each record appears on the wire as the pair {dimensionCode, id} the associations resource speaks. Most value objects are created and renamed by the system as mirrors of their record; the endpoints here create value objects the same way the product does, resolving an existing 1:1 value object instead of duplicating it, and retire, re-open and delete them with their mappings. Validity-dated: a value object is active from its start date until its end date has passed. Sits under Value Accounting, beside the categories value objects are filed under, the value centers that play the same role for departments and teams, and the master-data associations the same records are related through.
Endpoints
- Value Objects:
GET /value-accounting/value-objects - Create Value Object:
POST /value-accounting/value-objects - Bulk Delete Value Objects:
POST /value-accounting/value-objects/bulk-delete - Reactivate Value Objects:
POST /value-accounting/value-objects/reactivate - Search Value Objects:
POST /value-accounting/value-objects/search - Get Value Object:
GET /value-accounting/value-objects/{id} - Update Value Object:
PATCH /value-accounting/value-objects/{id} - Delete Value Object:
DELETE /value-accounting/value-objects/{id}