#724 Aggregation Shipment Jasper Documents shows reference from other ad_org_id
Testcase to check if shipments with the same reference, but for different Orgs are kept separately in case of aggegration.
-
Make sure both bpartners, products and TUs are used in both Org I and II
- Create 3 sales orders, for Org I:
- G000X, P0001, TU A
- G000X, P0002, TU B
- G000Y, P0001, TU B
- Create 3 sales orders, for Org II:
- G000X, P0001, TU B
- G000Y, P0002, TU A
- G000Y, P0001, TU A
-
Set the SAME reference in ALL sales orders!
-
Create inouts for each sales order (separately)
- For each inout for Org I, run the 2 jaspers for aggregation shipment:
- => the 2 inouts for the 2 sales orders for G000X, for Org I only are aggregated and displayed together
- => inout for G000Y, for Org I is displayed by itself
- For each inout for Org II, run the 2 jaspers for aggregation shipment:
- => the 2 inouts for the 2 sales orders for G000Y, for Org II only are aggregated and displayed together
- => the qties are summed up where possible (e.g. qty of TU A)
- => inout for G000X, for Org II is displayed by itself
View source file on GitHub.com