PJDECOM: Decommissioned Asset
The PJDECOM entity represents an asset being decommissioned as part of a project. Tracks WEEE obligations, disposal status, and discharge certificates.
Default definition. This article describes the default
PJDECOM 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 PJDECOM.Entity properties
| Property | Value |
|---|---|
| Entity code | PJDECOM |
| Display name | Decommissioned Asset |
| Plural | Decommissioned Assets |
| Level | 72040 |
Use cases
Child entity of PJ via SUB|PJ comboKey. The asset field is an optional objectLookup to COMPINV. if the decommissioned asset is a tracked inventory item, linking it pulls the WEEE classification and weight from the COMP catalogue automatically. For non-tracked assets, the fields are entered manually. Discharge status tracks WEEE compliance. the system should alert when obligation is logged but no certificate is attached.
Fields
General
| Field | Type | Required | Notes |
|---|---|---|---|
name | text | Yes | Asset description. |
asset | reference → COMPINV | Inventory asset (if tracked). | |
itAsset | reference → ITASSET | IT asset (if tracked). | |
assetType | text | Asset type. | |
quantity | number | Quantity. | |
weightKg | number | Weight (kg). | |
dateDecommissioned | date | Date decommissioned. | |
weeeCategory | text | WEEE category. | |
weeeObligationKg | number | WEEE obligation (kg). | |
dischargeStatus | enum | Discharge status. Valid ids: logged (Logged), certificate_uploaded (Certificate uploaded), discharged (Discharged). | |
disposalMethod | enum | Disposal method. Valid ids: weee_recycler (WEEE recycler), refurbished (Refurbished / reused), returned (Returned to manufacturer), specialist (Specialist disposal). | |
disposalVendor | text | Disposal vendor. | |
certificateRef | text | Certificate reference. |
Additional panels
- Documents. Field
attachments.
Relationships
- Lookups:
assetpoints atCOMPINVrecord;itAssetpoints atITASSETrecord.
Creating a Decommissioned Asset via the API
POST /v1/objects
Authorization: Bearer <your-pat>
Content-Type: application/json
{
"entity": "PJDECOM",
"level": 72040,
"comboKey": "SUB:<your-sub-id>|ENT:",
"name": "Example",
"asset": "",
"itAsset": "",
"assetType": "Example text"
}
Listing PJDECOM records
# All decommissioned assets in your tenant
GET /v1/entities/PJDECOM/SUB