Is there a way to access the db connection(for temp tables) that Sage uses in vbscript?

SOLVED

On the customization of the SO form, can we access the db connection that Sage is on for updating the temp tables, which otherwise are not accessible from another connection.

Parents
  • 0

    First question I have is what reason would you have to modify what is in the temp tables?   Customizer is a great tool, but trying to modify the core business logic of the task to include the data in the temp tables is not considered a best practice and could lead to invalid or corrupt data.   Could what you are trying to accomplish be done after the sales order is created/updated?

    If not you might want to consult with your reseller to find the best solution to the problem to see if could be accomplished in another manner.  If after reviewing the issue and you still need to do a customization you have better options than using Customizer which isn't always reliable as a heavy duty development tool.

    These are:

    1. Purchase the Sage 500 SDK and source code for the Sales Order Module.  Using VB 6, make the necessary modifications to a custom version of the sales order entry program that accomplishes what you need it to do.  With VB 6 you will have a full development platform to include debugging capabilities you do not have in Customizer as well as full access to the Sage 500 Framework..
    2. Create a Sage 500 .NET task that uses a modified version of Sage 500's Sales Order API.   Though you have access to the Sage 500 Framework, you do not have access to controls that were available in VB 6, so you would have to work around those limitations.
    3. Engage with a Sage 500 Partner that does development work to assist with the design of the modification you need and develop it.

        Again Customizer is a great tool, but its original intent was never to do the type of customization you are proposing here. Such a customization would not be supported by Sage in any case. There are other alternatives that are better for this and with a good solid design upfront can minimize the risk for invalid data and data corruption.

Reply
  • 0

    First question I have is what reason would you have to modify what is in the temp tables?   Customizer is a great tool, but trying to modify the core business logic of the task to include the data in the temp tables is not considered a best practice and could lead to invalid or corrupt data.   Could what you are trying to accomplish be done after the sales order is created/updated?

    If not you might want to consult with your reseller to find the best solution to the problem to see if could be accomplished in another manner.  If after reviewing the issue and you still need to do a customization you have better options than using Customizer which isn't always reliable as a heavy duty development tool.

    These are:

    1. Purchase the Sage 500 SDK and source code for the Sales Order Module.  Using VB 6, make the necessary modifications to a custom version of the sales order entry program that accomplishes what you need it to do.  With VB 6 you will have a full development platform to include debugging capabilities you do not have in Customizer as well as full access to the Sage 500 Framework..
    2. Create a Sage 500 .NET task that uses a modified version of Sage 500's Sales Order API.   Though you have access to the Sage 500 Framework, you do not have access to controls that were available in VB 6, so you would have to work around those limitations.
    3. Engage with a Sage 500 Partner that does development work to assist with the design of the modification you need and develop it.

        Again Customizer is a great tool, but its original intent was never to do the type of customization you are proposing here. Such a customization would not be supported by Sage in any case. There are other alternatives that are better for this and with a good solid design upfront can minimize the risk for invalid data and data corruption.

Children