These requirements apply across the complete Ibnu Sina Sales Module, regardless of screen or department.
| Area | Core rule |
|---|---|
| Identity and access | Hub identity proves who the person is; the local user, permissions, branches and work lists decide what they may do |
| Record identity | Use immutable internal IDs for relationships and mint business numbers only at the approved transition |
| Audit and deletion | Important changes are audited; cancellation and deletion are not interchangeable |
| Money | Recording, verification, banking and external posting are separate states |
| Stock | Movement history is append-only and is the physical truth |
| Documents and evidence | Store paths and metadata; apply the correct evidence gate before completing work |
| Integrations | Retry safely with idempotency; an outbox row is not an external acknowledgement |
| Time and data quality | Use Malaysian business time, controlled lookups and explicit legacy mappings |
app_users record. Ops access is invitation-based; the broker must not silently create an uninvited user.all/team scope must not be simulated with frontend filtering.ISCB-YYYY-NNNNN as their route key.SA, STL, JB, PG and MK; labels may change without changing the code.stock_units is a current-state cache; movements are the historical truth.X-OE-BU: ibnu-sina; OE forwards rather than translating the contract./ops user actions must validate record ownership. /oe machine actions require the correct scoped API token.legacy_mirror, then projection into operational tables. Monitor both ingestion and projection health.Asia/Kuala_Lumpur for business-day decisions and display.