# System Documentation / System Description Document

## Warehouse Management System (WMS) / Order Management System (OMS)

### Document status
- Document type: System Documentation / System Description
- Prepared for: ISO audit support
- Entity / warehouse location: Texas, USA
- System owner: HOS Technologies (as evidenced by repository ownership and project context)
- System scope: Warehouse, inventory, order, fulfillment, receipt, returns, stock adjustment, and reporting functions
- Review basis: Repository audit of the OMS/WMS implementation in this project
- Date: 8 October 2026
- Control statement: Where the codebase does not explicitly demonstrate a control, the status is marked as “To Be Confirmed”

---

## 1. System purpose and scope

The system in scope is a warehouse and order management platform implemented as a Yii 2 advanced application, with backend, console, bridge, and cron components. The repository contains modules and workflows covering:

- sales order processing
- purchase order/receipt intake
- inventory management and location-based stock visibility
- put-away, pull list, pick list, and fulfillment execution
- shipping and carrier integration
- invoice and payment processing
- stock adjustments, cycle counts, and bin transfer
- returns / RMA functions
- management reporting and dashboarding
- integration with marketplace and ERP systems including Shipstation, Odoo, Vendor Central and related bridge scripts

This document describes the system as implemented in the repository and is intended to support an ISO audit. It does not assume procedures not evidenced in code or configuration.

### Scope boundaries
The repository indicates the following operational scope:

- Warehouse transaction processing for stock receipt, storage, movement, selection, pack, and shipment
- Inventory accountability and stock location tracking
- Order lifecycle management from sales order to fulfillment/invoicing
- Returns and adjustment workflows
- Scheduled automation through cron jobs
- Data exchange with external systems via API and file-based integrations

### Out-of-scope / not evidenced in code
- Physical warehouse layout drawings
- Formal SOPs for each warehouse role
- Formal RTO/RPO targets
- Signed change approval register
- Production hosting architecture diagram
- Formal vendor risk assessments
- KPI thresholds and escalation workflows

Status: To Be Confirmed.

---

## 2. Overall system architecture and workflow

### 2.1 Architecture overview
The implementation is a web-based application with multiple application layers:

| Layer | Evidence in repo | Function |
|---|---|---|
| Web application frontend | frontend/ | User-facing application and login flows |
| Web application backend | backend/ | Core operational system, business logic, module controllers, access controls |
| Shared business logic | common/ | Shared models, user auth, common functions and access rules |
| Console / scheduled processes | console/ and crons/ | Data processing, import jobs, file handling, scheduled automation |
| External integration layer | bridge/ and backend/web/api_functions.php | Shipstation and other integration interfaces |
| Database | MySQL-backed Yii DB models and migrations | Transaction storage for sales orders, receipts, inventory, fulfillment, activities |
| Operating scripts | backup-script.sh, cron files | Backups, task scheduling, and operational automation |

### 2.2 Primary workflow
The operational logic supports the following flow:

1. System users authenticate through backend login logic using Yii identity classes.
2. Sales orders are created or imported from platform/ERP integrations.
3. Purchase orders are created and receipts are recorded when goods enter the warehouse.
4. Received goods are matched to inventory locations and stock quantities.
5. Available inventory is reviewed against order demand and pull/pick lists.
6. Pick lists reserve stock and fulfillment records are created.
7. Fulfillment status is updated, shipment data is transmitted, and carrier/tracking information is recorded.
8. Invoices and payments are processed based on fulfillment status.
9. Returns, cycle count discrepancies, and manual adjustments are processed and reflected in stock balances.
10. Reports and dashboards summarize current operational metrics.

### 2.3 Runtime environment evidence
Evidence from the repository indicates:

- Yii 2 Advanced Project Template deployment model
- MySQL database with migration-based schema changes
- Web and console layers separated by application type
- Crontab entries for automated processing
- Linux server configuration references in new-server.txt
- Daily backup scripts and zip archive generation

---

## 3. Major modules and their functions

The system contains module-based warehouse and order functions. The following modules are directly evidenced in the repository:

| Module | Repository evidence | Function |
|---|---|---|
| Sales Order | backend/modules/salesorder | Sales order creation, lifecycle, item tracking, order status management |
| Purchase Order | backend/modules/purchaseorder | Procurement and purchase planning |
| Receipt | backend/modules/receipt | Receiving and receipt registration |
| Inventory | backend/modules/inventory | Stock visibility, stock balance review, inventory valuation |
| Item Location / Bin / Location | backend/modules/itemslocation, backend/modules/bin, backend/modules/location | Storage location, bin transfer, pickability, put-away tracking |
| Pending Pull / Pull List | backend/modules/pendingpull | Allocation of stock to pending sales demand |
| Pick List | backend/modules/picklist | Selection list generation and finalization |
| Fulfillment | backend/modules/fulfillment | Shipment preparation, fulfillment record creation, status updates |
| Invoice | backend/modules/invoice | Billing and invoice creation tied to orders/fulfillment |
| Payment | backend/modules/payment | Payment processing and status tracking |
| Adjustment | backend/modules/adjustment | Manual stock corrections and inventory movement adjustments |
| Cycle Count | backend/modules/cyclecount / cyclecountqueue | Inventory verification and discrepancy processing |
| RMA | backend/modules/rma | Return authorization and return processing |
| Activity Log | backend/modules/activitylog | User and transactional activity history |
| User roles | backend/modules/userroles | Access controls and module permissions |
| API connectors | console/migrations/m230802_141115_create_new_table_api_connector.php | External connector setup |

### Business process mapping to module names
The module structure shows a warehouse process model closely aligned with WMS functions:

- Receiving: Purchase Order, Receipt, Receipt Item Location
- Inventory: Inventory, Location, Bin Transfer, Item Location
- Order fulfillment: Pending Pull, Pick List, Fulfillment
- Shipping: Fulfillment, carrier fields, tracking data
- Adjustments: Adjustment, Cycle Count, Inventory Movement
- Returns: RMA
- Reporting: Dashboard, reports modules, daily inventory services

---

## 4. User roles, responsibilities, and access control

### 4.1 Authentication model
The system uses Yii identity classes and per-user login handling. Relevant evidence includes:

- common/models/User.php
- common/models/Admin.php
- backend/controllers/SiteController.php
- backend/config/main.php

The code demonstrates:

- login through AdminLoginForm
- password hashing via Yii security functions
- password reset token support
- authenticated session-based access
- remember-me cookie behavior in the login flow

### 4.2 Role-based access controls
The code verifies user access consistently through a shared helper:

- common/models/getCommonFunctions.php
- access checks use `isAccessible($modulename, $action)`
- the helper queries `user_role_access` based on `user_role_id` and `is_super_admin`

This indicates role-based access to modules and actions, with super admin bypass logic.

### 4.3 Role responsibilities observed from menu and module access
The UI navigation indicates major business roles such as:

| Role/Function | Observed access areas |
|---|---|
| System admin / super user | Users, role access, config, reporting, authorization |
| Warehouse / inventory user | Receipts, inventory, bin transfer, cycle count, adjustments |
| Sales order / fulfillment user | Sales orders, pending pull, pick list, fulfillment |
| Finance / invoicing user | Invoicing, payment |
| RMA / returns user | RMA |

### 4.4 Important control observation
The repository shows access decisions are enforced by module name and action, with explicit `module_access_view`, `module_access_edit`, and `module_access_no` checks. This provides a control mechanism for segregation of duties and module-based authorization.

Status: To Be Confirmed for formal role matrix, approval workflow, and user access review sign-off.

---

## 5. End-to-end warehouse process flow

### 5.1 End-to-end order and inventory flow

| Step | Process | Evidence in repository | Typical objective |
|---|---|---|---|
| 1 | Sales order intake | salesorder module + import cron jobs | Capture customer orders |
| 2 | Pending fulfillment review | pendingpull module | Verify stock availability |
| 3 | Pick list generation | picklist and pick_list_items tables | Direct warehouse selection |
| 4 | Pick and reserve stock | receipt_location_items and pullQty logic | Reduce stock for order allocation |
| 5 | Fulfillment creation | fulfillment module | Record ship-ready order |
| 6 | Carrier/ship method data | fulfillment model and API settings | Enable shipment execution |
| 7 | Tracking and status updates | fulfillment update flow | Provide shipment traceability |
| 8 | Invoice and payment | invoice/payment modules | Financial completion |
| 9 | Return / adjustment | rma and adjustment modules | Correct exceptions and returns |
| 10 | Reporting | dashboard, inventory reports, daily reports | Operational oversight |

### 5.2 Operational narrative
The system processes sales orders, checks available stock from `receipt_location_items`, reserves inventory to `pullQty`, creates pick lists and fulfillment records, and updates status values. The evidence indicates that stock is tracked by location, item, quantity, and sometimes lot/expiration details.

---

## 6. Order receiving and processing

### 6.1 Purchase order and receipt intake
The repository includes a purchase order module and a receipt module. The receipt controller demonstrates creation of a receipt, assignment of vendor and purchase order details, and setting a receipt status. The core workflow includes:

- create receipt record
- assign vendor and PO number
- record receipt date
- set status to pending approval or finalized depending on lifecycle stage
- store receipt items and item-specific location allocation

### 6.2 Receipt processing logic
The receipt controller inserts transaction records and then updates item-location records to reflect receive-and-store data. The code references:

- receipt_items
- receipt_item_location
- receipt_location_items
- location_id
- Ordered_Qty / Received_Qty / AvailableQty / Unit_Type / Lot_Number / Expiration_Date

This demonstrates a location-based inventory receipt mechanism, where received stock is attached to a defined location and quantity balance is maintained.

### 6.3 Control observations
Evidence indicates transaction control features such as:

- status fields for receipt lifecycle
- activity logging upon create/delete/restore actions
- check of module access before actions
- item and receipt validation in controller logic

Status: Receipt approval and warehouse receiving signature controls are not fully explicit in code; To Be Confirmed.

---

## 7. Receiving, put-away, inventory and stock movement

### 7.1 Inventory structure
Inventory is represented through records like:

- inventory
- receipt_location_items
- location
- bin_transfer
- itemslocation

The `Inventory` model stores item master reference, item number, and stock on hand. Inventory quantity is calculated using `receipt_location_items.AvailableQty` and related queries.

### 7.2 Stock movement mechanism
The code shows multiple inventory movement patterns:

- receipt of goods into warehouse locations
- bin transfer between locations
- stock reservation for release to order (`pullQty`)
- finalization of pick lists reducing `AvailableQty`
- fulfillment reducing picked stock and moving stock through staging logic
- adjustment records adjusting location/qty balances

The repository demonstrates that inventory balances are maintained dynamically using database updates rather than only a static inventory table.

### 7.3 Put-away and location handling
Put-away is represented by location assignment in receipt_location_items and itemslocation modules. The code confirms:

- location records are actively used
- item-location records can be inserted or updated
- warehouse location type and pickability are considered in pull logic
- lock flags exist to prevent stock being used while a transaction is in progress

Example evidence: `receipt_location_items` fields include `is_lock`, `AvailableQty`, `pullQty`, `location_id`, `Lot_Number`, and `Expiration_Date`.

### 7.4 Inventory validation controls
Evidence indicates controls such as:

- preventing negative or locked movement in some scenarios
- checking stock availability before pick allocation
- storing item conditions and lot/expiration details if available
- maintaining item status and synchronization with order statuses

Status: Formal warehouse put-away SOP and physical location labeling controls are not directly evidenced; To Be Confirmed.

---

## 8. Picking, packing and shipping process

### 8.1 Pull list and pick list generation
The system generates a pull list and then a pick list for sales orders. The code in `PendingpullController.php` and `PicklistController.php` shows that:

- sales order items are evaluated against available inventory
- stock is selected from pickable locations
- `pullQty` is reduced as quantity is allocated
- pick list records are created and then finalized

### 8.2 Pick list finalization workflow
When a pick list is finalized:

- sales order status is updated to fulfilled
- each sales order item status is updated
- fulfillment orders are created using `getCommonFunctions::createFullfillmentOrder(...)`
- staging location adjustments occur
- `Time_Complete` and `Completed_by` are stored
- lot number update routines are triggered

This indicates the system performs a controlled transition from warehouse selection to shipment preparation.

### 8.3 Packaging and shipping
The fulfillment module stores shipment and carrier-related data including:

- `Fulfillment_Number`
- `Ship_Carrier`
- `Ship_Method`
- `Tracking_Number`
- `Incoming_Scac` and `Outgoing_SCAC`
- shipping dates and related fulfillment status

The `bridge/ShipstationConnector.php` demonstrates integration with Shipstation. This indicates an external shipping connector that transmits shipment and tracking-related data.

### 8.4 Shipping control notes
The repo shows:

- scheduled cron jobs for shipping-related tasks and order status retrieval
- direct updates to fulfillment status and tracking numbers
- platform integration for shipping confirmations and order status sync

Status: Formal pack-out verification, carton labeling, and shipping QA checks are not explicitly documented in code; To Be Confirmed.

---

## 9. Returns and stock adjustment process

### 9.1 Returns / RMA
The repo contains an RMA module (`backend/modules/rma`). This indicates a customer return process and return item management. The exact return workflow is not fully specified in the codebase read for this audit; therefore the following is based on the presence of the module and return-related logic:

- RMA records are managed as a separate module
- return processes are expected to update item/stock status and allow material disposition

Status: Return policy, disposition rules, and credit / restocking procedures are To Be Confirmed.

### 9.2 Stock adjustment
Stock adjustments are managed by the `AdjustmentController.php`. The controller supports:

- creating an adjustment request
- adding items into an adjustment batch
- updating quantity, location, and lot data
- deleting items from an adjustment
- finalizing adjustment and applying inventory movement

Finalization logic inserts or updates `receipt_location_items`, with logic that can:

- create new stock location rows
- move stock to new locations
- adjust `AvailableQty` and `pullQty`
- set lock state based on adjustment direction

This process is a clear inventory correction mechanism and is consistent with warehouse stock adjustment controls.

### 9.3 Cycle count
The system includes a cycle count module and cycle count queue. This suggests periodic physical inventory verification and subsequent adjustments or reconciliations. The repository includes SQL and controller logic for user assignment and adjustment creation. However, the exact cycle count workflow and approval threshold are not fully explicit. Status: To Be Confirmed.

---

## 10. Integration / API processes with e-commerce platforms and other systems

### 10.1 Shipstation integration
The integration layer includes `bridge/ShipstationConnector.php` and calls to `SS_API_KEY`, `SS_API_SECRET`, and `SS_AUTHORIZATION`. The `bridge` folder and cron jobs show order and shipment integration with Shipstation.

Evidence includes:

- `bridge/ShipstationConnector.php`
- `bridge/bootstrap.php`
- `new-server.txt` cron entries referencing order creation and shipment workflows
- `backend/web/api_functions.php` for API settings retrieval from the database

### 10.2 Odoo integration
The repository contains Odoo-specific code, including:

- `backend/web/odoo_functions.php`
- `backend/web/insert_sales_order_from_odoo_csv.php`
- cron entry: `insert_sales_order_from_odoo_csv.php`
- migration creating `sales_order_odoo_csv`
- API connector migration for `ODOO`

The logic indicates data exchange with an external Odoo ERP, including order import and fulfillment status updates.

### 10.3 Vendor Central / e-commerce integration
The repository includes vendor central and marketplace-related scripts and cron tasks, along with `api_connectors` records for `VENDOR_CENTRAL` and `SHOPIFY_1`, `SHOPIFY_2`.

### 10.4 File-based and API-based data exchange
The system uses a combination of:

- MySQL database tables
- direct cron-to-URL calls using PHP cURL
- CSV import workflow
- external application calls and bridge scripts

### 10.5 Integration control notes
The code indicates the system stores API connection configuration in a database, then loads secrets at runtime. This is a standard pattern for environment-specific integrations, but the repository does not provide evidence of:

- secret rotation policy
- encryption at rest for API credentials
- formal API key ownership and approval records

Status: To Be Confirmed.

---

## 11. Data management and database controls

### 11.1 Database architecture
The repository is based on a MySQL relational model with migration-based schema evolution. Migrations create and modify tables such as:

- sales_order
- fulfillment
- receipt
- receipt_location_items
- inventory
- pick_list
- adjustment
- cycle_count
- sales_order_odoo_csv
- api_connections / api_connectors

### 11.2 Data governance evidence
The code frequently uses patterns including:

- `is_active` and `is_delete` flags on records
- audit-style activity logging
- date/time stamps on record creation and modification
- status codes for business states
- item master references for item identity

### 11.3 Data retention and integrity controls
The repository shows database update patterns and item master linkage rather than formal database provenance controls. There are several logic patterns that support data integrity, such as:

- validating IDs before SQL updates/inserts
- verifying inventory exists before adjustment entry
- linking inventory movements to specific item masters, receipts, and locations
- using transaction blocks in adjustment finalization

### 11.4 Important observation
The repository contains legacy database update patterns and direct SQL. This indicates operational functionality but also means data integrity controls should be validated by formal DBA review and test evidence. Status: To Be Confirmed.

---

## 12. Security and user authentication

### 12.1 User authentication controls
User authentication logic is implemented through Yii’s identity model and secure password hash generation. Evidence includes:

- `common/models/User.php`
- `common/models/Admin.php`
- `backend/controllers/SiteController.php`

The code uses:

- `generatePasswordHash` for password storage
- `generateAuthKey`
- `password_reset_token`
- session-based login

### 12.2 Access control controls
Access control is implemented through module access checks in `getCommonFunctions::isAccessible()` and controller `behaviors()` access rules. This provides layer-level authorization for viewing and editing modules.

### 12.3 Security concerns / TBC
The repository also shows a password reset flow that updates a direct legacy field using MD5 in the reset routine (`SiteController.php`). This is not necessarily a current secure practice and should be reviewed as a legacy implementation item.

Documented observation: password storage and reset implementation should be validated for conformance to accepted secure practices. Status: To Be Confirmed.

### 12.4 Additional security items to verify
- multi-factor authentication
- password complexity policy
- idle session timeout
- failed login lockout policy
- encryption of database credentials and API tokens
- firewall and network segmentation
- endpoint hardening / reverse proxy configuration

Status: To Be Confirmed.

---

## 13. Audit logs and traceability

### 13.1 Activity logging
The repository contains an `ActivityLog` model and logs user activities around many key functions. Observed examples:

- creation of receipts
- update of fulfillment
- deletion/restoration of adjustment records
- pick list finalization messages
- sales order-related activity logs

This is a strong traceability control for business transactions.

### 13.2 Logged data points
The system records user actions, item references, status changes, and timestamps in the activity logs. This supports traceability from user action to transaction record.

### 13.3 Gaps
The repository does not evidence a formal audit log retention policy, access review, or log alerting arrangement. Status: To Be Confirmed.

---

## 14. Backup and disaster recovery

### 14.1 Backup implementation
The repository contains `backup-script.sh`, which performs MySQL dumps and zips them in `/var/www/html/db_bk/`. It also backs up the cron table and removes older backup artifacts beyond 7 days.

Evidence includes:

- `backup-script.sh`
- `new-server.txt` cron lines for nightly backup jobs

### 14.2 Recovery objective evidence
The repository does not provide explicit:

- recovery point objective (RPO)
- recovery time objective (RTO)
- backup retention schedule beyond the 7-day cron cleanup
- offsite or cloud backup policy
- restore test reports

Status: To Be Confirmed.

---

## 15. System monitoring, maintenance and support

### 15.1 Monitoring evidence
The repo shows:

- cron jobs scheduled for order import, inventory reporting, shipping confirmation, and fulfillment status updates
- log targets in Yii config (`backend/config/main.php`)
- cron error log-related module directories

### 15.2 Maintenance activity
The repository includes migration scripts and code updates, which indicates controlled schema evolution. However, there is no formal release management documentation. Status: To Be Confirmed.

### 15.3 Support considerations
A support process for issue triage is not fully defined in the codebase. The repository includes `issues.txt`, which can indicate operational issue tracking but not a formal support model.

Status: To Be Confirmed.

---

## 16. Change management and deployment process

### 16.1 Evidence of controlled changes
The project uses:

- version-controlled source files
- migration files for DB changes
- configured environment folders (`environments/`)
- cron scripts and operational files in the repository

This supports a controlled change approach, but the repository does not document:

- formal approval matrix
- release checklist
- UAT sign-off
- production deployment approval
- rollback procedures

Status: To Be Confirmed.

---

## 17. Error / incident handling

### 17.1 Error handling code
The Yii application includes:

- `errorHandler` component in `backend/config/main.php`
- logging configuration to runtime logs
- `cronerrorlog/` module folder indicates scheduled error handling or log separation

### 17.2 Incident handling evidence
The repository contains cron and API automation; operational issues may be investigated via logs and issue notes. However, there is no formal incident response process defined in the repository.

Status: To Be Confirmed.

---

## 18. Data accuracy and validation controls

### 18.1 Validation evidence in code
The repository includes model validation and controller logic for essential items, including:

- item numbers and item master presence
- inventory quantity checks
- location availability checks
- unique identification of stock by location and lot if available
- transactional status fields and lock flags

### 18.2 Data quality controls observed
- `is_delete` and `is_active` flags
- validation on key fields in models
- status code values for pending/finalized states
- check for inventory existence before adjustment logic
- activity log entry for each significant status change

### 18.3 Data quality gaps
The repository does not fully evidence:

- formal master data review controls
- data quality metric monitoring
- tolerance thresholds for inventory discrepancy
- automated variance exception escalation rules

Status: To Be Confirmed.

---

## 19. Business continuity considerations

### 19.1 Operational continuity indicators
The system demonstrates:

- scheduled jobs protecting process continuity
- daily backup process
- multiple environment references
- database and integration support routines

### 19.2 Business continuity gaps
The following are not evidenced:

- DR site definition
- production failover process
- disaster recovery testing records
- alternate work instructions for outage conditions
- backup integrity validation

Status: To Be Confirmed.

---

## 20. Reports and management information

### 20.1 Standard reporting functions
The system includes dashboard and reporting logic for:

- sales order counts
- pending fulfillment counts
- invoice counts
- payment counts
- inventory valuation
- daily inventory report
- dropship report
- cycle count / adjustment reporting
- shipping and fulfillment metrics

### 20.2 Dashboard evidence
The `SiteController` contains multiple dashboard queries and summary counts. This demonstrates management visibility over operational performance.

### 20.3 Audit observation
Reports are generated from the operational database and are consistent with management reporting practices. However, the repository does not define a formal report review and sign-off process. Status: To Be Confirmed.

---

## 21. Risks and internal controls

| Risk area | Observed control evidence | Residual risk / audit note |
|---|---|---|
| Unauthorized system access | Yii authentication, module access controls, `user_role_access` | Formal access review and periodic recertification To Be Confirmed |
| Inventory inaccuracies | `AvailableQty`, `pullQty`, location checks, adjustment logic | Physical count process and exception triage To Be Confirmed |
| Shipment errors | tracking fields, fulfillment status, carrier mapping | Pack/ship verification and carrier performance controls To Be Confirmed |
| Data integrity issues | DB transactions, status fields, activity logs | Legacy direct SQL and migration review required |
| Data privacy / secret management | config uses DB-stored API settings | Secret rotation and encryption controls To Be Confirmed |
| Backup and recovery reliability | automated MySQL dump script | Restore drill and retention policy To Be Confirmed |
| Change control | Git + migration-based schema evolution | Formal approval workflow and release record To Be Confirmed |
| Incident response | error logging and cron tasks | incident triage and escalation process To Be Confirmed |

---

## 22. ISO audit evidence / documentation requirements

For ISO audit support, the following evidence should be retained and/or produced for review:

### 22.1 System evidence to retain
1. User access matrix and current role assignment list
2. Module access approval records for each role
3. User provisioning / deprovisioning procedure
4. Password policy and authentication configuration evidence
5. Change request log and approved deployment records
6. Database migration register and release notes
7. Backup logs and restore test records
8. API credential inventory and ownership records
9. Activity log sample reports for key transaction types
10. SOPs for receiving, put-away, picking, packing, shipping, returns, adjustments, and cycle count
11. Warehouse inventory count and discrepancy procedures
12. Incident log and corrective action records
13. Management review minutes and report review records

### 22.2 Control objective mapping
| ISO-aligned objective | Evidence available in repo | Status |
|---|---|---|
| Documented system scope | module structure and config files | Available |
| User authentication | Yii auth and access control | Available |
| Role-based access control | `isAccessible()` and role tables | Available |
| Traceability | activity log usage | Available |
| Inventory control | receipt and inventory logic | Available |
| Shipping/fulfillment traceability | fulfillment + tracking fields | Available |
| Backup and DR | backup script | Partial |
| Change control | git/migrations | Partial |
| Incident management | error logging | Partial |
| Management reporting | dashboards and reports | Available |

### 22.3 Documentation gaps
The following items are not fully evidenced in the repository and require confirmation from operational owners:

- formal WMS SOPs
- production architecture diagram
- role-based access matrix with named owners
- segregation-of-duties review
- backup/restore test evidence
- disaster recovery plan
- change approval record
- defect/incident handling process
- API credential management policy
- RMA disposition rules and financial settlement workflow

Status: To Be Confirmed.

---

## 23. Summary assessment

Based on the repository review, the system is a functioning Yii-based warehouse and order management platform supporting core WMS activities including order intake, receiving, inventory tracking, pull/pick, fulfillment, shipping, adjustments, cycle count, and reporting. The repository contains substantial evidence of business process automation, role-based access controls, transactional logging, and integration with external systems such as Shipstation and Odoo.

However, this repository alone does not fully establish formal ISO audit evidence for production governance, physical controls, security policy, backup validation, change approval, or incident management. These items require operational confirmation and supporting records from the business and IT owners.

This document should therefore be treated as a system description and audit-readiness baseline, not as a replacement for formal operational procedures and control testing.

---

## Appendix A — Repository evidence reviewed

- backend/config/main.php
- backend/controllers/SiteController.php
- backend/modules/salesorder/controllers/SalesorderController.php
- backend/modules/receipt/controllers/ReceiptController.php
- backend/modules/picklist/controllers/PicklistController.php
- backend/modules/fulfillment/controllers/FulfillmentController.php
- backend/modules/adjustment/controllers/AdjustmentController.php
- backend/modules/inventory/models/Inventory.php
- common/models/User.php
- common/models/getCommonFunctions.php
- bridge/ShipstationConnector.php
- backend/web/api_functions.php
- backend/web/odoo_functions.php
- backup-script.sh
- new-server.txt
- console/migrations/m230802_141115_create_new_table_api_connector.php
- console/migrations/m241007_174017_create_table_sales_order_odoo_csv.php

---

## Appendix B — Control status legend

- Available: directly evidenced in code/repository
- Partial: some evidence exists, but not enough to confirm full control operation
- To Be Confirmed: requires operational validation, policy review, or formal evidence from the process owner
