Skip to main content
Post a question

Notifications

Community site session details

Community site session details

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

Error in editing and saving data on sales order details form

Like (1) ShareShare
ReportReport
Posted on 16 Oct 2020 23:27:39 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
    447 on 12 Nov 2024 at 11:52:53
    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
    Muhammad Saad Salman Profile Picture
    29 on 30 May 2023 at 11:06:59
    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
    455 on 31 Aug 2021 at 21:44:39
    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
    35 on 18 Aug 2021 at 00:59:58
    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
    35 on 16 Aug 2021 at 20:45:04
    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
    on 19 May 2021 at 19:22:54
    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
    60 on 20 Apr 2021 at 13:29:17
    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.

  • Alejandro Uribe Q Profile Picture
    35 on 16 Apr 2021 at 17:38:34
    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
    12 on 17 Oct 2020 at 10:21:10
    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
    232,567 Most Valuable Professional on 17 Oct 2020 at 05:58:23
    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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March 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... 293,435 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,567 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Product updates

Dynamics 365 release plans
Loading complete