Dropship Rules Bug Report
Stock Deduction Occurs in Inventory After DROPSHIP-SPECIAL Sales Order Creation
| Field | Value |
|---|---|
| Defect ID | BUG-DROPSHIP-112 |
| Severity | High |
| Priority | High |
| Environment | QA |
| Build | x.x.x-rc |
| Module | Guided Sales + Inventory |
| Status | Open |
Summary
After successfully creating a Sales Order using DROPSHIP-SPECIAL product, stock is incorrectly deducted from inventory, even though it should not be reflected due to HARD CODE rule.
Preconditions
- Product “DROPSHIP-PROD-001” with business model DROPSHIP-SPECIAL exists.
- Current stock in mobile warehouse.
Steps to Reproduce
- Login as Guided Sales user.
- Create Sales Order using product “DROPSHIP-PROD-001” with quantity 10.
- Submit the order successfully.
- Check Inventory / Stock Ledger for the product.
Expected Result
- Sales Order created successfully.
- No stock deduction or movement recorded in standard inventory, as per HARD CODE rule for DROPSHIP-SPECIAL.
Actual Result
- Sales Order is created.
- Stock quantity is deducted in inventory ledger, for example -10 from mobile warehouse location.
Business Impact
- Violates the core DROPSHIP-SPECIAL business model where inventory should not be affected.
- Causes incorrect stock visibility and potential double deduction issues.
- Breaks consistency between Guided Sales and Inventory modules.
Evidence
- Screenshot of successful Sales Order creation.
- Screenshot of stock deduction in inventory ledger.
- API response for order creation.
- Before & after stock ledger query results.
- Correlation ID and application logs.
Suggested Regression
- Test Sales Order creation for DROPSHIP-SPECIAL products.
- Verify displayed stock remains 999.999.
- Confirm no inventory movement for DROPSHIP-SPECIAL.
- Test with multiple orders and different quantities.
- Validate after End of Day synchronization.