Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

Sales order where not update got error during sales order confirmation, invoice etc... in AX 2012 R3

(0) ShareShare
ReportReport
Posted on by 2

Hi,

I have faced issue during Sales Order Invoicing. Data is not populated in Posting Invoice form. Packing slip has been done and Sales order is now Delivered status.

I have debugged the process and found in Class - SalesFormLetterParmData > CreateParmTable - Recid got 0

5228.a2.jpg

0842.a1.jpg

got below message

8080.g2.jpg

Kindly please suggest what could be the reason ? It's happening only for particular sales order.

Please give me more shed on this.

Thanks!

  • @rp@n Profile Picture
    @rp@n 2 on at
    RE: Sales order where not update got error during sales order confirmation, invoice etc... in AX 2012 R3

    thanks Ergun,

    I debugged the process and found frtom where the in info is coming...  

    What I know , if we do confirmation, packing slip , invoice of sales order, then it will create a record in sales parmtable based on that. but in sales pram table for the particular sales order there is no record for confirmation...

    could you suggest me  why record not inserted in sales parm table? during confirmation...

  • Suggested answer
    ergun sahin Profile Picture
    ergun sahin 8,816 Moderator on at
    RE: Data is not populated in Posting Invoice form in particular sales order in AX 2012 R3

    The suggestion I mentioned above is not to fix the problem. Instead so you can go into Debug and figure out where the error is coming from.


    What you can do as a developer is to review the previous steps in the call stack as soon as you get the error in debug and determine why you're getting the error.


    The error you get can be due to many reasons. Functional Consultants will help you better in this regard (If you had shared the info directly in the title, you could get comments from them. I don't think they even read the post as it is)

  • @rp@n Profile Picture
    @rp@n 2 on at
    RE: Data is not populated in Posting Invoice form in particular sales order in AX 2012 R3

    I not able to understand,  the root cause. Kindly help me on this

  • @rp@n Profile Picture
    @rp@n 2 on at
    RE: Data is not populated in Posting Invoice form in particular sales order in AX 2012 R3

    Thanks Ergun,

    Already I have done that,  but still getting the same issue during SO confirmation etc...

  • Suggested answer
    ergun sahin Profile Picture
    ergun sahin 8,816 Moderator on at
    RE: Data is not populated in Posting Invoice form in particular sales order in AX 2012 R3

    Add a breakpoint in info.add(). If its not stopped at breakpoint uncheck;

    Tools > Options > Development > General > Execute business operations in CIL

    community.dynamics.com/.../258026

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

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

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 231,409 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans