Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Unanswered

Function LedgerPostingOneToManyCollection.add has been incorrectly called error in ax 2012

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I'm trying to reverse  transaction from Customer Transaction but I;m getting this error

Function LedgerPostingOneToManyCollection.add has been incorrectly called. ) 

please note that I'm getting this error only when I reverse this specific transaction 

any idea how to solve it? 

thank you 

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Function LedgerPostingOneToManyCollection.add has been incorrectly called error in ax 2012

    any suggestion to solve this ?

  • Anton Venter Profile Picture
    Anton Venter 19,493 Super User 2025 Season 1 on at
    RE: Function LedgerPostingOneToManyCollection.add has been incorrectly called error in ax 2012

    Because it has a 0 value is probably why you are getting the "incorrectly called" error message.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Function LedgerPostingOneToManyCollection.add has been incorrectly called error in ax 2012

    this transaction got created by mistake and it has 0 value and I want to revierscit, however not usre why I get this error

  • Anton Venter Profile Picture
    Anton Venter 19,493 Super User 2025 Season 1 on at
    RE: Function LedgerPostingOneToManyCollection.add has been incorrectly called error in ax 2012

    Hi,

    You will have to debug it to see why this is happening. Are there any customisations? It could be data related.

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…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Vahid Ghafarpour – Community Spotlight

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

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,965 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,836 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans