I generated general journal with two lines when I tried to post it I got this error but qty and cost price have values I can't find what is missing ?
Hi Menna, For 'Sum is Different' warning, please add breakpoint on checkJournalAmount method of LedgerJournalTransUpdateProject class and see where & why its failing.
For Record Already exists error, please add breakpoint on insert method of ProjCostTrans table and 'add' method of info class and debug. This error might be causing due to number sequence.
Hi Menna,
Are you creating the lines with coding? If so, can you review if the amounts are rounded for the given currency? If e.g. the credit field has the value 1,666.66 and the project cost price 1,666.6666, the same error comes despite the form will only show two decimals.
also I got this error when I try to post Journal
I already put two screenshots with two lines in project tab
there are two screenshots with two lines in list
what should I change in them to solve the issue ?
Hi Menna,
This validation is checking if the project quantity * cost is matching with the debit or credit column on the journal line. The total cost is now negative. If the journal line has a positive value in the debet column or a negative value in the credit column, this error will be raised.
To solve the issue, you need to check if the journal line debet and credit column is matching the project quantity times the cost price.
André Arnaud de Cal...
292,031
Super User 2025 Season 1
Martin Dráb
230,868
Most Valuable Professional
nmaenpaa
101,156