Skip to main content
Version: 2.4

Stock Blueprint

This blueprint shows a practical stock operating model in tSM for a central warehouse and field technician stock.

Simplification Scope

This is a simplified architecture example. It focuses on stock entities and movement flow, not full ERP posting/accounting internals.

1. Example Operating Scenario

Organization:

  • central warehouse stock,
  • technician personal stock,
  • material issue and return process during field work,
  • storno operation for correction.

2. Example Data Setup

2.1 Stock and Type

{
"stockType": {
"code": "TECHNICIAN",
"name": "Technician Stock"
},
"stock": {
"key": "TECH.1042",
"name": "Technician 1042 Car Stock",
"stockType": "TECHNICIAN",
"status": "ACTIVE",
"ownerUserId": "f95a997d-639c-4c6a-b493-34b311d6904f",
"def": false
}
}

2.2 Stock Item

{
"stock": "TECH.1042",
"key": "ITEM-ONT-0001",
"amount": 5,
"stockItemType": "CPE",
"serialNumber": "SN-ONT-882716",
"batchNo": "BATCH-2026-01",
"status": "ACTIVE"
}

2.3 Movement and Storno

{
"movement": {
"key": "MOV-2026-00412",
"status": "NEW",
"stockItemFrom": "ITEM-WH-ONT-0021",
"stockItemTo": "ITEM-ONT-0001",
"amount": 2,
"movementType": "TRANSFER"
},
"storno": {
"key": "MOV-2026-00413",
"status": "NEW",
"stockItemFrom": "ITEM-ONT-0001",
"stockItemTo": "ITEM-WH-ONT-0021",
"amount": 2,
"movementType": "TRANSFER",
"stornoMovementId": "de39034e-7dd9-42ad-b4c2-a7904a6a2b0f",
"stornoMovement": true
}
}

3. Process Notes

  1. Create or select stock and ownership context.
  2. Maintain item balances in StockItem.
  3. Execute movement records for transfer/issue/return.
  4. Use movement status for synchronization tracking.
  5. Use storno fields for explicit reversal traceability.