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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

Error Message in MFG

(0) ShareShare
ReportReport
Posted on by 730

Got this error message:

A save operation on table 'MOP_ITEM_MASTER_' failed accessing SQL table.  Looking for possible reasons why?

 

Thanks.

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at

    Hi, could be data corruption in the table, corrupt sprocs, or a user rights issue.

    Get everyone out of GP and backup your company and Dynamics databases.

    First port of call is to run a Grant.sql against the company database (and the Dynamics database for good measure).

    (The Grant.sql script isfound in the Utils subfolder of the GP appliction folder)

    If this does not resolve, you could try dropping and re-creating the Auto Proce (Tools >> Maintenance >> SQL..make sure you tick the last two options - Drop Auto Procedure and Create Auto Procerure - ONLY).

    After that it could be data corruption. A select * against the table might reveal something.

  • Richard Whaley Profile Picture
    25,195 on at

    The system could not read the data.  It usually is caused by corrupt data.  The MOP Item Master is a duplicate item master table and records there should generally match records in IV00101 (they should have the same items but some different fields).

    Has the system been running long or is this a new installation of manufacturing?

    You either have missing records or records that are only partially completed.

  • Jono54 Profile Picture
    730 on at

    This is a test environment used for an upgrade to gp10.  Makes sense that there would possibly be corrupt data.

     

    Thanks.

  • Richard Whaley Profile Picture
    25,195 on at

    That adds another twist.  When you backup a db and restore it to a different company with manufacturing installed, you get a variety of errors.  There is a script that MUST be run after the restore but before the restored database is accessed to fix a number of problems.

    Email me at richardwhaley@hotmail.com and I will send it to you.  It was provided to me by MS and works great.

  • user68941 Profile Picture
    50 on at

     Richard,

    Is this script you mention only applicable if you are changing the name of the company that you are restoring to? We regularly restore GP databases to our test servers, but we only change the server name, not the database/company name.

    Thanks,

    Peter

  • Sebastien Picard Profile Picture
    45 on at

    Good afternoon Richard,

    We get the same error and we have been running GP/MFG for over a year.

    What I understand from your answer is that I should check that the item number in my MO should be created in both tables IV00101 / PK010033, I am correct ?

    Also, anything in particular I should check in that table ?

     Tx

    Sebastien

  • Richard Whaley Profile Picture
    25,195 on at

    No, it applies always if you are restoring one company to another db.  Each db in GP is numbered uniquely and that number usually ONLY resides in SY01500.  However, some of the manufacturing tables carry the company number.  So if you restore company 1 to company 5 then some of the tables in company 5 refer to company 1 and errors occur.  This script sets all company numbers to the correct number for the firm.  HOWEVER, if you run the application and open company 5 (for example) before running this script, the script will find both company 1 and 5 records and Multiple Records Returned when One Was Expected (or some such message) occurs.  You will need to edit these tables and remove the offending record. 

    Send me your email addresses and I will send the script.  It was sent to me by Microsoft and works great.

  • Devin Profile Picture
    1,797 on at

    Richard, is this the script you're referring to?

    mbs.microsoft.com/.../KBDisplay.aspx

  • Suggested answer
    Richard Whaley Profile Picture
    25,195 on at

    The table in question is the PK010033.  This table contains the picking tickets for manufacturing.

    Is this a new install?  Have MOs been released?  The auto procs load and unload this file but will not rebuild it.  Try running reconciles and checklinks against the manufacturing tables.  If necessary, you may need to un-release all MOs (completing any that you cannot) and rebuild this file using SQL utilities to rebuild indexes, et cetera.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans