Access to data of Payroll and Job Cost tables via ODBC for Sage 100 Standard 2018

Questions:
1. Is there any option (bypass) for access to Job Cost tables via ODBC driver?
2. Is there any option (bypass) to decrypt employee encrypted data from external app?
3. Which of tools are recommended for reading data from Sage Mas 100 in replace of ODBC for v2018 and greater?

The problem description:

The Sage MAS 100 system provides with us dictionaries data: Employees, Jobs, Cost Codes, Cost Code Types, Job Cost Details, etc.
In replacement our tool does supply for Sage MAS 100 Time and Expense entries.

Technically:
- for import data from Sage MAS 100 we use MAS 90 4.0 ODBC Driver.
- for export data to Sage MAS 100 we use - Visual Integrator Jobs.

So for properly exchange data between systems we need to have access to Sage MAS 100 tables:
PR1_EmployeeMaster, JC1_JobMaster, JC2_JobCostDetail, JCC_CostCodeMaster, JC0_Parameters, etc

Until today everything was fine, but since the Sage released MAS 100 2018 version with new security restrictions everything in sync process was broken.

Common change list:

1. Sage changed Tables/Fields names (eg PR1_EmployeeMaster was replaced to PR_Employee; EmployeeNumber to EmployeeNo)
eg Table [JC_Job] or [JC1_JobMaster] is not accessable or blank data in Employee case.
Example of sources:
help-sage100.na.sage.com/.../index.htm
help-sage100.na.sage.com/.../index.htm

2. Sage encrypt employee data(eg first, last name, etc are blank now) and add new crypted field: EncryptedVals

3. Sage closed access to Job Cost module (tables) via ODBC (perhaps to some others)

Likely to these changes raise a lot of troubles for any Sage integration for any companies.
Thus, currently we have errors: eg Table [JC_Job] or [JC1_JobMaster] is not accessible or blank data in Employee case.

Thank you

  • 0

    Hi,

    1.  There is no restriction on accessing J/C tables via ODBC. If you're unable to retrieve J/C data, verify the data exists, has been converted to current levels (6.0, 2018), ODBC security is set for the user.  

    2. This would depend on the requirements. You can utilize BOI to write the unencrypted data to a new table or use VI to export the data. 

    3. See answers 1 & 2.

    John Nichols

    Sage

  • 0 in reply to jcnichols

    Thank you for quick reply

     >> There is no restriction on accessing J/C tables via ODBC...

    Oh yes, ODBC security settings were correct but J/C was deactivated in our Sage.

    After we activated module, errors about inaccessible J/C tables are gone.

    >> This would depend on the requirements. You can utilize BOI to write the unencrypted data to a new table or use VI to export the data.

    Not sure, in best practice we need to use ODBC for get data Sage tables (incl. employees)

    VI Jobs not quite suitable for receiving data from Sage in our case.

    We use VI Jobs for import data to Sage.

    1. So it turns out that from outside you can not get and decrypt data for employee (eg First/Last name), yes?
    2. Could you let me know where can we found BOI SDK on Sage installation machine (path)?

    As we got, Sage encrypt Personally identifiable information (PII).

    1. How can we disable any encryption (incl. PII) in Sage 100 UI?
    2. Where can we read/set Encrypted Key in Sage 100 UI? (How can we decrypt employee data by self?)

    Thank you

  • 0 in reply to SageWalker

    Hi, You can still use ODBC. However you'll need to export the required information out of Sage 100 using VI to a suitable DB. Use a scheduled VI job to export required PR_Employee then use ODBC. 

    1. VI Import - use unencrypted source data to import. VI will handle the encryption of the data.

        VI Export unencrypts the data. Use Temp field to unencrypt EmployeeKey to use in ODBC joins.

         Calculation = _OBJ'ConvertToEmployeeKey$(PR_Employee01.DepartmentNo$,PR_Employee01.EmployeeNo$)

    2. Install Sage 100 Development Studio. Search for samples on Sage City.

    3. Data is not encrypted in Sage 100 UI. Not sure of the question?

    4. BOI

    John Nichols

    Sage

       

  • 0 in reply to jcnichols

    >> Data is not encrypted in Sage 100 UI. Not sure of the question?

    Sorry for confusion
    We meant any case to disable Sage encryptions.
    May be some "magic" option anywhere in Sage UI?
    Or if find Sage dialog with set-up Encrypted Key and then decrypt field [EncryptedVals] on our side.
    (eg Sage Administrative Tools Window)

    >> You can still use ODBC. However you'll need to export the required information out of Sage 100 using VI to a suitable DB. Use a scheduled VI job to export required PR_Employee then use ODBC.

    Not sure about a "suitable DB" meaning.
    As we know, VI Job export data from SAGE to external CSV file.
    Please provide more details about the process you described.

    Thank you

  • 0 in reply to SageWalker

    Hi,

    There is no way to disable or remove PII encryption.

    You can use VI to export to Access, Excel, SQL or text. You can then set up an ODBC connection to that output and pull data. Hope that makes sense.

    Alternatively you could use BOI to write the unencrypted data to a UDT and then use ODBC. 

    Thx John