I test on
https://demo.globalqss.com/webui/
This is my steps:
1. Create Product Category T-Shirt Category, Accounting - use Costing method: Average PO, Costing level: Batch/Lot
2. Create Attribute Set: Shirt Polo (Check Lot, Check Mandatory Lot, Madatory type: When shipping). Attribute Use: Color and Size
Tab Exclude: Add C_OrderLine. Sales Transaction = Y
Add C_OrderLine. Sales Transaction = N
3. Create Product: T-Shirt Polo. Set Attribute Set: Shirt Polo. (Check Stocked, Check Purchased, Check Sold)
Tab: Price: Add Purchase 2003: Price = 100
Add Standard 2003: Price = 200
4. Create Warehouse: HQ - ST 01 and Locator HQ - ST 01. Oraganization : HQ. Check Disallow Negative Inventory.
5. Create PO, Warehouse HQ- Warehouse, Price List: Standard, DateOrder: 01-04-2021. Document No = 800020. PO Line: Choose Product T-Shirt Polo, Qty = 2.
Complete PO. It's OK
6. Create Material Receipt From PO 800020.MovementDate: 01-04-2021. In Receipt Line: Create new Attribute Set Instance (Color: blue, Size: Medium, Lotno: 01042021) M_AttributeSetInstance_ID=1000014
Complete Material Receipt. It's OK.
7. Create Inventory Move: MovementDate: 01-04-2021. From HQ - Warehouse To HQ - ST 01. DocumentNo = 10000002
Product: T-Shirt Polo, Qty = 2. With M_AttributeSetInstance_ID=1000014.
Complete Inventory. It's OK.
8. Create Sales Order With DocumentType = POS Order, Warehouse: HQ - ST 01. DocumentNo = 80013
Sales OrderLine: Product: T-Shirt Polo, Qty = 1. M_AttributeSetInstance_ID=1000014. Date = 01-04-2021.
Complete SO. It's OK. Shipment created. It's OK.
Then 8 steps: HQ Warehouse: QtyOnhand = 0, HQ - ST 01: QtyOnhand = 1.
9. Create PO. Warehouse: HQ Warehouse. DateOrdered: 10-04-2021. DocumentNo = 800021
Choose T-Shirt Polo, Qty = 1. AttributeSetInstance: select record exists. Choose M_AttributeSetInstance_ID=1000014.
Complete PO. It's OK. Then Create Material Receitp From PO. (DocumentNo= 10000538).
10. Create Inventory Move: MovementDate: 10-04-2021. From HQ - Warehouse To HQ - ST 01. DocumentNo = 10000003
Product: T-Shirt Polo, Qty = 1. With M_AttributeSetInstance_ID=1000014.
Complete Inventory Move. It's OK
Then 10 steps: HQ Warehouse: QtyOnhand = 0, HQ - ST 01: QtyOnhand = 2.
11. Create SO. DocumentNo = 50003. DateOrder: 10-04-2021. DocumentType = Standard Order. Warehouse = HQ - ST 01.
Create SO Line: choose Product T-Shirt Polo, Qty = 2. Choose M_AttributeSetInstance_ID=1000014. Complete SO. It's OK.
12. Create Shipment Customer. MovementDate: 10-04-2021. Choose Order: 50003. (DocumentNo = 500002)
Choose SO Line.
Then Complete Shipment. Error
500002: (#1) - Line No 10: The HQ - ST 01 warehouse does not allow negative inventory for Product = T-Shirt Polo_T-Shirt Polo, ASI = Blue_Medium_«01042021», Locator = HQ - ST 01 (Shortage of 1)
Vào lúc 16:12:44 UTC+7 ngày Thứ Sáu, 16 tháng 4, 2021,
car...@gmail.com đã viết: