Skip to main content

Notifications

Announcements

No record found.

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

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 225,610 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

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,995 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,610 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans