Sage 100

 View Only
Expand all | Collapse all

Sage 100 4.4 - Err 81, Pgm BM_ProductionRegister_upd.pvc, Line 1489 - Can anyone look this up?

  • 1.  Sage 100 4.4 - Err 81, Pgm BM_ProductionRegister_upd.pvc, Line 1489 - Can anyone look this up?

    Posted 06-20-2022 14:48
    Client is on Sage 100 Std, version 4.4. Getting Error #81, Program BM_ProductionRegister_upd.pvc, Line 1489 during Production Entry Update (interrupted update). I could not find anything helpful in the Sage KB. I rebuilt all files in BM and IM (except Production Entry files)  Still no love.

    Is anyone able to lookup this error and give me some insight as to what it is trying to do?

    TIA​

    ------------------------------
    Greg Stiles
    S & W Microsystems
    ------------------------------


  • 2.  RE: Sage 100 4.4 - Err 81, Pgm BM_ProductionRegister_upd.pvc, Line 1489 - Can anyone look this up?

    Posted 06-20-2022 15:00
    Any chance you added a UDF to BM_BillOptionHeader recently? If so, go back to UDF Maintenance, and update it again, for the company code the Production Register Update was tried in. Then restart the Update. Hope that helps.

    ------------------------------
    Alnoor Cassim

    Email: alnoor.cassim@90minds.com
    Ph:
    ------------------------------



  • 3.  RE: Sage 100 4.4 - Err 81, Pgm BM_ProductionRegister_upd.pvc, Line 1489 - Can anyone look this up?

    Posted 06-20-2022 15:30
    @Alnoor Cassim no UDF's have been recently added and none exist in BM_BillOptionHeader.

    ------------------------------
    Greg Stiles
    S & W Microsystems
    ------------------------------



  • 4.  RE: Sage 100 4.4 - Err 81, Pgm BM_ProductionRegister_upd.pvc, Line 1489 - Can anyone look this up?

    Posted 06-21-2022 16:28
    Can anyone else take a crack at this?

    Can anyone tell me what the code is doing at that line?

    ------------------------------
    Greg Stiles
    S & W Microsystems
    ------------------------------



  • 5.  RE: Sage 100 4.4 - Err 81, Pgm BM_ProductionRegister_upd.pvc, Line 1489 - Can anyone look this up?

    Posted 06-21-2022 16:35
    Hi

    Try looking at BM_BillOptionHeader

    Jeff F

    ------------------------------
    Jeff Fiddelman
    Exeplex, LLC
    ------------------------------



  • 6.  RE: Sage 100 4.4 - Err 81, Pgm BM_ProductionRegister_upd.pvc, Line 1489 - Can anyone look this up?

    Posted 06-21-2022 18:04
    @Jeff Fiddelman BM_BillOptionHeader rebuilds fine. What am I looking for?​

    ------------------------------
    Greg Stiles
    S & W Microsystems
    ------------------------------



  • 7.  RE: Sage 100 4.4 - Err 81, Pgm BM_ProductionRegister_upd.pvc, Line 1489 - Can anyone look this up?

    Posted 06-22-2022 11:17
    Edited by Alnoor Cassim 06-22-2022 11:20
    Greg - The line number didn't match up with my BM_ProductionRegister_upd.pvc from 4.40 PU2 where an Error 81 could occur. Maybe the same was true with Jeff. We don't know which PU you're on so best if you upload the actual BM_ProductionRegister_upd.pvc file. In general an 81 occurs when the columns of data for a table from the dictionary don't match up with the physical table. Notoriously this occurred time to time in the old days where UDF Maintenance would update the table for the current company with a new UDF added but not for all the companies. This is why I mentioned doing UDF Update for BM_BillOptionHeader. The same would be tried if you had just (re)installed a mod that changes the dict but it hadn't been activated for a company. Same if a PU with dict changes is installed but a company isn't converted.

    At this point, I'd say make this your plan:
    1. See if IM_ItemWarehouse has any UDFs and if so do an Update there.
    2. Otherwise, make a copy company, and in the copy, do Option 3 mentioned in this post except substitute "A/P" for "B/M" and after running that, hit the up arrow button on your keyboard and run again for "I/M". Now try the Prod Reg Update  in the copy. If it works. repeat for live company. 
    3. Otherwise, upload the program here.



    ------------------------------
    Alnoor Cassim

    Email: alnoor.cassim@90minds.com
    Ph:
    ------------------------------



  • 8.  RE: Sage 100 4.4 - Err 81, Pgm BM_ProductionRegister_upd.pvc, Line 1489 - Can anyone look this up?

    Posted 06-22-2022 12:28
    @Alnoor Cassim thanks for the additional info. ​ BM_BillOptionHeader is empty, will a manual reinit fix it? I will also upload their program for inspection.

    ------------------------------
    Greg Stiles
    S & W Microsystems
    ------------------------------



  • 9.  RE: Sage 100 4.4 - Err 81, Pgm BM_ProductionRegister_upd.pvc, Line 1489 - Can anyone look this up?

    Posted 06-22-2022 12:32
    I don't know but did you see my Steps 1 through 3?

    ------------------------------
    Alnoor Cassim

    Email: alnoor.cassim@90minds.com
    Ph:
    ------------------------------



  • 10.  RE: Sage 100 4.4 - Err 81, Pgm BM_ProductionRegister_upd.pvc, Line 1489 - Can anyone look this up?

    Posted 06-22-2022 12:35
    @Alnoor Cassim yes, I did. I will try it tonight after they all logoff. I was thinking if the table and dictionary aren't aligned a manual reinit would fix that?

    ------------------------------
    Greg Stiles
    S & W Microsystems
    ------------------------------



  • 11.  RE: Sage 100 4.4 - Err 81, Pgm BM_ProductionRegister_upd.pvc, Line 1489 - Can anyone look this up?

    Posted 06-22-2022 12:43

    Oh I see. Yes I suppose manual reinit would fix that since it's supposed to delete the file in the o/s and create a new one from the dictionary. Yes start by trying that for BM_BillOptionHeader. But  if it doesn't work, note I mentioned IM_ItemWarehouse too, which would have to be part of the 1 - 3 since you obviously don't want to reinit that.



    ------------------------------
    Alnoor Cassim

    Email: alnoor.cassim@90minds.com
    Ph:
    ------------------------------



  • 12.  RE: Sage 100 4.4 - Err 81, Pgm BM_ProductionRegister_upd.pvc, Line 1489 - Can anyone look this up?

    Posted 06-22-2022 12:55
    @Alnoor Cassim agreed. I will try the suggestions from you and @Kevin Moyes tonight.
    Thanks.​​​

    ------------------------------
    Greg Stiles
    S & W Microsystems
    ------------------------------



  • 13.  RE: Sage 100 4.4 - Err 81, Pgm BM_ProductionRegister_upd.pvc, Line 1489 - Can anyone look this up?

    Posted 06-22-2022 12:47
    Did you try resetting BM_ProductionRestart (in a test company) to see if that would solve the error?

    ------------------------------
    Kevin Moyes
    Technical Systems Analyst
    Munjal White Consulting Co.
    ------------------------------



  • 14.  RE: Sage 100 4.4 - Err 81, Pgm BM_ProductionRegister_upd.pvc, Line 1489 - Can anyone look this up?

    Posted 06-22-2022 13:21
    Kevin - That is a most interesting thought. There's a good chance this whole block of code would get skipped by deleting the restart key but then without it, Update may restart from the beginning key of BM_ProductionHeader and one would risk a lot of duplication of data in target tables. It may help though if just a few entries. Good idea to suggest doing it in a test company.

    ------------------------------
    Alnoor Cassim

    Email: alnoor.cassim@90minds.com
    Ph:
    ------------------------------



  • 15.  RE: Sage 100 4.4 - Err 81, Pgm BM_ProductionRegister_upd.pvc, Line 1489 - Can anyone look this up?

    Posted 06-22-2022 22:40
      |   view attached
    Deleting BM_BillOptionHeader.M4T and doing a manual reinitialize did not fix the error.
    Deleting the restart record did not fix the error.
    Rebuilding the Dictionary using the steps below returned a 0 for B/M and a 1 for I/M and did not fix the error.
    oACT = NEW("Sy_Activation_bus",%sys_ss)
    ? oAct'Activate("B/M","ZCL") 
    ? oAct'Activate("I/M","ZCL") 

    The end user is on 4.40.0.2, BUT, I discovered they have enhancements from IIG. Extended Decimal Places in B/M and unknown Custom Modifications.
    I have attached BM_ProductionRegister_upd.pvc from their system.

    @Jeff Fiddelman, @Alnoor Cassim & @Kevin Moyes I appreciate your time and I am more than happy to pay you to get this resolved.

    ​​​

    ------------------------------
    Greg Stiles
    S & W Microsystems
    ------------------------------

    Attachment(s)



  • 16.  RE: Sage 100 4.4 - Err 81, Pgm BM_ProductionRegister_upd.pvc, Line 1489 - Can anyone look this up?

    Posted 06-22-2022 23:44
    Greg - Sorry I just saw this now. I'll call you in the morning.

    ------------------------------
    Alnoor Cassim

    Email: alnoor.cassim@90minds.com
    Ph:
    ------------------------------



  • 17.  RE: Sage 100 4.4 - Err 81, Pgm BM_ProductionRegister_upd.pvc, Line 1489 - Can anyone look this up?

    Posted 06-23-2022 11:42
    After Alnoor looked at the modified program, the actual file that was causing the error was BM_ProductionLabelPrint. Since they don't actually print labels we restored a copy of the file from an old backup and they are back up and running again.

    Thank you everyone. Really appreciate the extra effort.

    ------------------------------
    Greg Stiles
    S & W Microsystems
    ------------------------------



  • 18.  RE: Sage 100 4.4 - Err 81, Pgm BM_ProductionRegister_upd.pvc, Line 1489 - Can anyone look this up?

    Posted 06-24-2022 07:37
    Thanks for the followup.

    ------------------------------
    Jeff Schwenk
    Bottomline Software, Inc.
    ------------------------------