Skip to main content

Notifications

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

  • Mohit Rampal Profile Picture
    Mohit Rampal 12,554 Super User 2024 Season 1 on at
    RE: error while posting general journal x++

    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.

  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 292,031 Super User 2025 Season 1 on at
    RE: error while posting general journal x++

    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.

  • Menna Allah Ahmed Profile Picture
    Menna Allah Ahmed 163 on at
    RE: error while posting general journal x++

    also I got this error when I try to post Journal

    Screenshot-_2800_189_2900_.png

  • Menna Allah Ahmed Profile Picture
    Menna Allah Ahmed 163 on at
    RE: error while posting general journal x++

    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

  • Suggested answer
    André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 292,031 Super User 2025 Season 1 on at
    RE: error while posting general journal x++

    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.

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,031 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,868 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans