We're updating the issue view to help you get more done. 

Physical Inventory - getDateMaterialPolicy for Line should include locator

Description

Test Case:

1. Create a new locator for HQ warehouse, HQ Locator 1.
2. Create a new product, Test01, with Fertilizer Lot attribute set.
3. Perform PO and MR for Test01. Qty=1, Lot=101, Movement Date=2018-01-17 and Locator=Default HQ Locator.
4. Perform another PO and MR for Test01. Qty=1, Lot=101 (same lot), Movement Date=2018-01-18 and Locator=HQ1 Locator.
5. Check Located at for product test01 and there should be 2 unit with lot 101, located at Default HQ Locator and HQ1 locator with different date material policy.
6. Create Physical inventory transaction for HQ warehouse. Create Inventory Count list with Product Key=test01 and qty=not 0. 2 line should be created for test01.
7. Edit line 1 qty count to 2 and line 2 qty count to 3. Complete the physical inventory transaction.
8. Check locate at for product test01 and the adjustment by the physical inventory transaction is not working as expected.

Environment

None

Status

Assignee

Heng Sin Low

Reporter

Heng Sin Low

Labels

None

Tested By

None

Components

Fix versions

Priority

Major