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

Announcements

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 163

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

I have the same question (0)
  • Suggested answer
    André Arnaud de Calavon Profile Picture
    302,713 Super User 2026 Season 1 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
    163 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
    163 on at

    also I got this error when I try to post Journal

    Screenshot-_2800_189_2900_.png

  • André Arnaud de Calavon Profile Picture
    302,713 Super User 2026 Season 1 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,565 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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 662 Super User 2026 Season 1

#2
Abhilash Warrier Profile Picture

Abhilash Warrier 280 Super User 2026 Season 1

#3
Martin Dráb Profile Picture

Martin Dráb 201 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans