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

Community site session details

Session Id :
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?
I have the same question (0)
  • Junaid Idrees Profile Picture
    on at
    RE: Error in editing and saving data on sales order details form

    Hi Saad,

    Couple of questions:

    1. Are you facing this error on all Sales orders or some specific ones?

    2.Is there any customization done on sales order screen?

    3.Is an Order invoiced?

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

    Hi Junaid,

    1) I am facing this on all orders

    2) There are customizations done. But I do not think it has anything with the above Error. Like, I am facing this error on a newly created Open order. And if I try to edit something, I am faced with the error

    3) Orders are not invoiced

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

    From error it seems like there are some unknown fields on order screen which are not complied properly. You might night need to rebuild model package or run the full CIL/Compilation.

    Do you have any fresh environment without this customization where you can create a new order and verify the same.

  • Martin Dráb Profile Picture
    236,330 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?

  • Saad Salman Profile Picture
    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

  • Alejandro Uribe Q Profile Picture
    35 on at
    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.

  • Ax user Profile Picture
    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.

  • Suggested answer
    Mav Profile Picture
    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

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

    Did you ever find a fix for this issue?

  • ordaxtryin Profile Picture
    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]

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 2,004

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 865 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 582 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans