Hi Experts,
I am trying to create JE line items for company B & C in journal created in company A.
My x++ code creates the line item with the required dimensions/account combination, however when i validate the journal i get below warning message.
What is weird is that when i select the problematic line item & merely re-enter the same values for account combinations for which it was throwing the warning, the warning goes away .
Also when i change my code to create the same JE line items but in company A instead of B & C i get no validation warnings.
Apparently i may to have to se crosscompany , but unable to figure out how to use cross company in my code as i am just inserting the values directly into ledgerjournaltrans without using select/while select.
and also not sure if that would fix this issue because i can see JE line items created with expected account combination in expected companies ,i.e company B & company C.
Please suggest a solution so that i am able to create JE line items in company B & C for journal created in company A with no validation warnings.
Thanks
Mav