Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Suggested answer

Error in editing and saving data on sales order details form

(1) ShareShare
ReportReport
Posted on by 12

Hi all,

I am facing an odd error when I try to edit data on the sales order form:

A container for table (SalesTable) was packed with more fields than are currently defined on the table and cannot be safely unpacked. The container will need to be recreated with the new table metadata in order to be unpacked correctly.
I have not found anything useful as to the cause of the error in my debugging of code. I have tried full synchronization of the database as well but the error is not going away.
What might be the cause of this type of error and what possible solution might be?
  • vanels Profile Picture
    vanels 447 on at
    Error in editing and saving data on sales order details form
    Hi,

    I know it's been a long time but I'm leaving what has worked for me on several times.
    This involves removing the SalesTable2LineUpdatePrompt class from the usage data.
     
    Bye!
  • Suggested answer
    RE: Error in editing and saving data on sales order details form

    Hi,

    I posted this question way back with my old id and credentials, which are now lost.

    This error for me went away on its own.

    But there are two things you can try to resolve it:

    1) Reset usage data

    2) Clear and flush AOD cache (reference: community.dynamics.com/.../how-to-clear-the-aod-cache-in-dynamics-365)

    Thanks

  • Samy123 Profile Picture
    Samy123 455 on at
    RE: Error in editing and saving data on sales order details form

    I am facing same error but on different table (JmgStampJournalTrans), Already tried Resetting usage data still getting same error. im In D365

    If someone found solution please share. 

  • ordaxtryin Profile Picture
    ordaxtryin 35 on at
    RE: Error in editing and saving data on sales order details form

    This fixed the issue for us, FYI.

    [quote user="Mav"]

    Try this & let us know if it resolves your issue.

    1. Go to settings > user options.

    2. Reset usage data

    3. Retry your process to check if you still get that error message  , if it works then please remember to mark it as verified answer & help others.

    Thanks

    Mav

    [/quote]
  • ordaxtryin Profile Picture
    ordaxtryin 35 on at
    RE: Error in editing and saving data on sales order details form

    Did you ever find a fix for this issue?

  • Suggested answer
    Mav Profile Picture
    Mav on at
    RE: Error in editing and saving data on sales order details form

    Try this & let us know if it resolves your issue.

    1. Go to settings > user options.

    2. Reset usage data

    3. Retry your process to check if you still get that error message  , if it works then please remember to mark it as verified answer & help others.

    Thanks

    Mav

  • Ax user Profile Picture
    Ax user 60 on at
    RE: Error in editing and saving data on sales order details form

    I am facing same issue When updating Finanancial dimension for the Sales order.

  • RE: Error in editing and saving data on sales order details form

    Hello Saad,

    Could you solve this problem? I'm currently facing the same issue in several test environments for different clients.

  • Saad Salman Profile Picture
    Saad Salman 12 on at
    RE: Error in editing and saving data on sales order details form

    Hey Martin,

    I am getting the above on this code line of SalesTable method

    ErrorScreenShot.PNG

  • Martin Dráb Profile Picture
    Martin Dráb 230,575 Most Valuable Professional on at
    RE: Error in editing and saving data on sales order details form

    Which line of code is throwing the error?

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,532 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,575 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans