Hi Experts,
How to show record for all company in current open company?
I customize a form to show the Inventory Onhand and Inventory Transaction.
I have 3 company lets say (C1, C2, C3), then i want to see on C1 the transaction C2 and C3 also.
Actually i finish the customization but the record i get in c2 and c3 is the Intercompant Sales Order, what i want to get is the Original Sales order created in the C2 and C3. We are using the Intercompany Process in C2 and C3 only becuase the Inventory is on the C1.
Table: InventTransOrigin
In SQL Server (query) here the record sample:
1.SO Created in C2 w/ Intercompany
# | ReferenceId | ItemId | Party | RecId | InventTransId | DataAreaId |
1 | SO00001 | 0000032726 | 5637149809 | 5638783952 | INF-728983 | c2 |
2 | SO00001 | 0000032726 | 5637148331 | 5638784142 | WIZ-00322914 | c1 |
2. SO Created in C1
# | ReferenceId | ItemId | Party | RecId | InventTransId | DataAreaId |
1 | SO00002 | 0000032726 | 5637149809 | 5638783952 | WIZ-0012321 | c1 |
To explain above the row #2 is the intercompany SO. I want to get the C2 record when im in C1 Company.
I do try the CrossCompanyAutoQuery but is not working.
I hope you understand my problem.
Thanks & regards,