Skip to main content

Notifications

Dynamics 365 Community / Forums / Finance forum / Error in editing and s...
Finance forum
Suggested answer

Error in editing and saving data on sales order details form

editSubscribe (0) ShareShare
ReportReport
Posted on by 10

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?
  • 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 10 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 223,308 Super User on at
    RE: Error in editing and saving data on sales order details form

    Which line of code is throwing the error?

  • Suggested answer
    Junaid Idrees Profile Picture
    Junaid Idrees 12,740 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.

Helpful resources

Quick Links

Take the Community feedback survey!

Answer this brief 15-question survey about your Community experience…

Demystifying Copilot: Service Edition with Sundar Raghavan

Sundar answers more questions about Copilot for Service...

Dynamics 365 Business Central vs Finance and SCM

Take a look at the key differences between Business Central and…

Leaderboard

#1
Andre Arnaud de Calavon Profile Picture

Andre Arnaud de Cal... 283,375 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 223,308 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,140

Featured topics

Product updates

Dynamics 365 release plans