web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

error while posting general journal x++

(0) ShareShare
ReportReport
Posted on by 169

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 ?

Screenshot-_2800_186_2900_.pngScreenshot-_2800_187_2900_.png

  • Suggested answer
    André Arnaud de Calavon Profile Picture
    308,216 Super User 2026 Season 2 on at

    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.

  • Menna Allah Ahmed Profile Picture
    169 on at

    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 ?

    3122.Screenshot-_2800_188_2900_.png

  • Menna Allah Ahmed Profile Picture
    169 on at

    also I got this error when I try to post Journal

    Screenshot-_2800_189_2900_.png

  • André Arnaud de Calavon Profile Picture
    308,216 Super User 2026 Season 2 on at

    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.

  • Mohit Rampal Profile Picture
    12,573 Moderator on at

    Hi Menna, For 'Sum is Different' warning, please add breakpoint on checkJournalAmount method of LedgerJournalTransUpdateProject class and see where & why its failing.

    pastedimage1681784151464v1.png

    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.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 274 Super User 2026 Season 2

#2
Aayush Tiwari Profile Picture

Aayush Tiwari 213

#3
Subra Profile Picture

Subra 202 Super User 2026 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans