Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

Error Message in MFG

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

  • Suggested answer
    Richard Whaley Profile Picture
    Richard Whaley 25,195 on at
    Re: Error Message in MFG

    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.

  • Devin Profile Picture
    Devin 1,797 on at
    Re: Re: Re: Re: Re: Error Message in MFG

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

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

  • Richard Whaley Profile Picture
    Richard Whaley 25,195 on at
    Re: Re: Re: Re: Re: Error Message in MFG

    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.

  • Sebastien Picard Profile Picture
    Sebastien Picard 45 on at
    Re: Re: Error Message in MFG

    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

  • user68941 Profile Picture
    user68941 50 on at
    Re: Re: Re: Re: Error Message in MFG

     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

  • Richard Whaley Profile Picture
    Richard Whaley 25,195 on at
    Re: Re: Re: Error Message in MFG

    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.

  • Jono54 Profile Picture
    Jono54 730 on at
    Re: Re: Error Message in MFG

    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
    Richard Whaley 25,195 on at
    Re: Error Message in MFG

    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.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    Re: Error Message in MFG

    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.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans