Before you begin, connect to the SQL server on Client machine.
Orders not coming from CFS to ERP
Assuming the ERP scheduler is running we can check CFS for pending batches.
Pre-Requisites
- Make sure you have login privileges to the SQL server and SQL. (Refer to the Client connection page for this information.)
Step-by-Step Guide
- If we look in the ERP_Prod_Ext database table ImportExportJob we can find Shipping Detail Updates. This is the process for updating ERP customer orders with data from CFS.
The commands run by the scheduler are located in the ERP_Prod_Ext database table ImportExportStep. By using the idImportExportJob value 4 from above we can query the table and see the commands used to bring data back to ERP from CFS. - The first command (based on CommandOrder) is a select to get the next BatchNumber. I copied the SourceCommand value and pasted it into the query panel to see the full command.
Reviewing the command above you can see that it is querying the INTERFACES database table BATCH. It is looking for ERP and Shipping with a Processed value of ‘’. - Next we will need the password for the ComputerWay database. To get this we look in the ERP_Prod database table ImportExportConnections.
Below you will see the password for ComputerWay is myPassword
. - To Run the command, connect to the Country Ribbon SQL server.
They should have QTODBC on the desktop. This is how we can run commands on the CFS database. When you load the QTODBC you will see this next screen.Click on the Machine Data Source tab.
Next click on the interfaces Data Source Name and then click OK.
You will need to enter Password from above.
You can now see the INTERFACES database and it’s tables.
Copy and paste the SELECT command we got from the ERP_Prod_Ext database table ImportExportStep.
This command is looking for the next available batch. Click on the right arrow to run the command and see the results down below.
You can see that currently there is no next batch available.