Sage 100

 View Only
  • 1.  Problems with UDF masks upgrading Sage 100 2022 Premium to 2025 Premium

    Posted 03-10-2026 10:25

    Has anyone else run into this?  sage 100 premium doing a test upgrade to 2025.1:  Stared with CI_Item:  

    The following conversion record failed while converting XXX:\07.40.00.00:DATA: CI_Item:000000:000 - Error #15: Operating system command failed SY_TableConversion.pvc line 1221
    Looking in SQL, saw that multiple (but not all) numeric UDFs had there SQL datatype shortened by 1:  decimal(8,2) became decimal (7,2).  
    Found this KB article:  Error: "The following conversion record failed while converting XXX:\06.20.00.00:DATA:CI_Item:000000:000 - Error #15: Operating system command failed" when converting data which basically said "call support".  Support case 8010816469 started.  they recommended going back into the source and adding an additional # to the mask of each of the affected UDFs.  this worked for CI_Item, BUT after remigrating go the same error for SO_SalesOrder(History)Header and noticed the same shortening of field length of some but not all numeric UDFs. 
    This customer has many, many UDFs everywhere...how do I determine where all the issues will be other than migrating over and over until it works?  Has anyone figured out the root cause?  The KB article refers to version 6.2, so this mess is NOT new...
    Case is being escalated, so if I get a real answer I will post back, but not holding my breath...


    ------------------------------
    Phil McIntosh
    Friendly Systems
    ------------------------------


  • 2.  RE: Problems with UDF masks upgrading Sage 100 2022 Premium to 2025 Premium

    Posted 03-10-2026 11:48

    Root cause is that Providex didn't enforce numeric data sizes in the files (only applying the mask in the UI), so conversion to SQL will fail if a number is bigger than it "should" be.  Sage made UDF numeric data types match the mask.

    The only idea I have is to query CM_UDF, look at all the numeric masks, and compare the number of digits allowed with the highest value in the column (ODBC queries).



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



  • 3.  RE: Problems with UDF masks upgrading Sage 100 2022 Premium to 2025 Premium

    Posted 03-10-2026 15:21

    Well, fortunately SalesOrderHeader was the last problem table, so the data has now been migrated and converted.  Sage support says they have never been able to fix it because they can't replicate it.  I pointed out to them that something in the "upgrade the data" code was shrinking the size of the fields in SQL - dev should find that code and make sure it can't shrink fields.



    ------------------------------
    Phil McIntosh
    Friendly Systems
    ------------------------------



  • 4.  RE: Problems with UDF masks upgrading Sage 100 2022 Premium to 2025 Premium

    Posted 03-10-2026 15:33

    Well said @Phil McIntosh



    ------------------------------
    Jeff Schwenk
    Owner
    Bottomline Software, Inc.
    Waynesboro VA
    (540) 221-4444

    Improving bottom lines for over 25 years!
    ------------------------------



  • 5.  RE: Problems with UDF masks upgrading Sage 100 2022 Premium to 2025 Premium

    Posted 03-10-2026 16:30

    They'd have to remove the link between the UDF numeric mask and the SQL numeric data type, allowing for something like (16,3) to handle everything... and I doubt they'd be willing to do that.

    If you want to try again (after taking backups of everything), delete the MAS_### database, copy back the freshly migrated MAS_### folder (assuming you have a copy) then run the company conversion again.  That should restart the SQL conversion process without having to migrate the whole system again.



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



  • 6.  RE: Problems with UDF masks upgrading Sage 100 2022 Premium to 2025 Premium

    Posted 03-10-2026 17:34

    The other bug involved in this is every time the conversion crashes it sets all the module version values back to 4.50.  Some more code that never  got updated  in a decade and a half...

    Fortunately, IT had a snapshot of the VM so they could put it back to the fresh install in just a few minutes.



    ------------------------------
    Phil McIntosh
    Friendly Systems
    ------------------------------