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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Function ProjPost::postItemReverseTransaction has been incorrectly called.

(0) ShareShare
ReportReport
Posted on by 147

Hi,

In the Project module, while trying to post the packing slip in the "Item Requirements", we are getting this error. Can anyone help please?

 

"Function ProjPost::postItemReverseTransaction has been incorrectly called."

 

Thanks and regards,

Ahmed.

projpost.PNG

*This post is locked for comments

I have the same question (0)
  • Ludwig Reinhard Profile Picture
    Microsoft Employee on at

    Hi Ahmed,

    Which AX Version do you run and have you implemented any System modifications here?

    Can you try deactivating the "Execute Business Operation in CIL" parameter in the user options and if this does not work run a complete compile and CIL generation?

    Best regards,

    Ludwig

  • Ahmed Siddiqui Profile Picture
    147 on at

    Hi Ludwig,

    We are using AX 2012 R3. We have recently migrated data from AX 2009 to 2012 R3. This error is being thrown for some items,  while for others we are able to post the packing slip normally.

    -Ahmed.

  • Ludwig Reinhard Profile Picture
    Microsoft Employee on at

    Hello Ahmed,

    Can you identify some commonalities for those items for which you cannot post the packing slip such as e.g. same item group, item model group, etc.?

    Might be tricky to pin this down as no similar issue has been reported on LCS. If you cannot figure out the underlying reason I guess that you might need the help of a developer.

    Would be great if you could Keep us updated here.

    Many thanks and best regards,

    Ludwig

  • Ahmed Siddiqui Profile Picture
    147 on at

    Hi Ludwig,

    I have tried to find commonalities for those items among trying other things, but to no use.

    I'll surely update if I find any solution.

    Would be grateful if anyone can suggest something for this.

    Thanks and regards,

    Ahmed.

  • Community Member Profile Picture
    on at

    Hi Ahmad, you're getting this error because of this validation code.

    "

      if ( !ledgerDistributionMap )

               {

                   if (!projPost.parmFundingSourceList())

                   {

                       throw error(strFmt("@SYS22828", funcName()));

                   }

                   fundingAllocationEnumerator = ProjFundingEngine::ledgerDistributions( projPost.parmFundingSourceList(), amountCur,projPost.currencyIdCost()).getEnumerator();

               }

    "

    It will throw this error when code does not find ledgerDistributionMap.

    For more information please go throw this white paper.

    technet.microsoft.com/.../hh292603.aspx

    msdn.microsoft.com/.../projpost.postitemreversetransaction.aspx

  • Verified answer
    Ahmed Siddiqui Profile Picture
    147 on at

    Hi,

    SOLUTION:

    The problem was that in the Project Contact, the customer wasn't selected in the Funding Sources.

    The customer was added there and it worked.

    Thanks and regards,

    Ahmed.

  • Project Sales order Profile Picture
    65 on at

    Hello Every one

    I face same issue in dynamics 365 finance and operation

    Could u find solution for that ?

    about contract funding source it's already assign by customer !

  • Project Sales order Profile Picture
    65 on at

    IR-PA-ISS.png

    I was delete Project sales order and create item requirement again also face same issue 

    this item have stock in warehouse it's coming from production order 

    also project contract is fully invoice (invoice proposal is complete) 

    any ideas about how to complete packing slip for item requirement ?

    Best Regards  

  • ThomasWilke Profile Picture
    766 on at

    Hi all,

    any update regarding the error message. We are getting the same error in D365 at the moment. Funding source is set up correctly.

  • ThomasWilke Profile Picture
    766 on at

    Always check issue search :)

    In our case it is an issue that has been solved by Microsoft:

    KB 4507049 - Error creating a packing slip from an item requirement: "ProjPost::postItemReverseTransaction has been incorrectly called"

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans