Problem with C_Order filtering in M_ShipmentSchedule
Testcase to check if C_Order filtering in M_ShipmentSchedule is working correctly for different Orgs.
-
Make sure that Autocomplete is enabled for C_OrderLine_ID, in M_ShipmentSchedule (=> SysAdmin, Org *)
- Log in as Admin, Org II or II, and create 2 sales orders:
- Org I: G000X, P00001, 10 TU A
- Org II: G000Y, P0002, 5 TU B
-
In db, set the document no.s for both orders to the same number; also make sure this doc no. is not anywhere else
-
Log in with a role that has only access to Org I, open M_ShipmentSchedule
- In field Auftrag, start writing the doc no. you set for both orders:
- => autocomplete suggests an order with that doc no., but only one!
- Select the suggested order, and check the M_ShipmentSchedule:
- => it’s the M_ShipmentSchedule for the first order for G000X, in Org I
-
Log in with a role that has only access to Org II, open M_ShipmentSchedule
- In field Auftrag, start writing the doc no. you set for both orders:
- => autocomplete suggests an order with that doc no., but only one!
- Select the suggested order, and check the M_ShipmentSchedule:
- => it’s the M_ShipmentSchedule for the first order for G000Y, in Org II
- Log in again as Admin, and repeat the same in M_ShipmentSchedule:
- => 2 orders with the doc no. are suggested, for both Orgs
View source file on GitHub.com