2 Inbound/Outbound, Operation Records and Users
Inbound, Outbound and Stock Adjustment
The three stock-changing operations:
| Operation | Input | Validation | Result |
|---|---|---|---|
| Inbound | Quantity, remark | Quantity > 0; remark required | Stock increases; before/after recorded |
| Outbound | Quantity, remark | Quantity > 0, not above current stock; remark required | Stock decreases; before/after recorded |
| Adjustment | New quantity, remark | Remark required | Stock set to the entered value; difference recorded |
There are two entry points: the "Inbound"/"Outbound" quick buttons in the material list, and the "Inbound"/"Outbound"/"Adjust" buttons on the material detail page.
Adjustment fits stocktake corrections; don't use it in place of normal inbound and outbound. Daily issue and purchase should still flow through inbound/outbound so the business journal stays complete.
Operation Records and Auditing
Operation records query the stock journal, filterable by warehouse and operation type, with these fields:
| Field | Description |
|---|---|
| Time | Device local time of the operation |
| Material | The material that changed |
| Warehouse | The warehouse it belongs to |
| Type | Inbound, outbound, adjustment, creation |
| Quantity change | The change amount; outbound is negative |
| Before | Stock before the operation |
| After | Stock after the operation |
| Operator | The user who performed it |
| Remark | The business note entered at operation time |
Administrators see all records; regular users see only their own. Use an administrator account for per-person audits; for personal reconciliation, a regular user checking their own records is enough.
Users and Permissions
In "User Management" administrators see username, role, creation time and last login, create users, reset passwords and delete users. An administrator cannot delete their own account.
Usernames must be unique. Follow "one person, one account" — shared accounts make operation records impossible to attribute. Delete or reset accounts when staff leave. Deleting a user keeps historical operation records, though the operator may no longer render properly.
After login, regular users can view warehouses and materials, create warehouses and materials, edit materials, process inbound/outbound and adjustments, and view their own operation records; notification management, user management, warehouse edit/delete, material delete/enable-disable and bulk import/export entries are not shown.