This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
bw:call_bizweaver_web_service_from_sql_server [2019/12/13 11:27] runger [Configuration for Versago Multi-Select Report Processing] |
bw:call_bizweaver_web_service_from_sql_server [2020/12/18 13:25] (current) akoehler [To Begin] |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ======Initial | + | ======SQL Configuration |
| <WRAP center round alert 60%> | <WRAP center round alert 60%> | ||
| The following actions should only be performed by persons familiar with SQL Server Management Studio and understand how to manipulate objects in a database. | The following actions should only be performed by persons familiar with SQL Server Management Studio and understand how to manipulate objects in a database. | ||
| Line 5: | Line 5: | ||
| =====To Begin===== | =====To Begin===== | ||
| + | <WRAP center round alert 60%> | ||
| + | The Bizweaver Web Service needs to be installed either from a Versago or Bizweaver installation to have the below file path available. If "Skip this Step" is selected during installation, | ||
| + | </ | ||
| * Download DLL executable from [[https:// | * Download DLL executable from [[https:// | ||
| - | =====Initialization===== | + | =====Master Configuration===== |
| <WRAP center round info 60%> | <WRAP center round info 60%> | ||
| Execute the SQL statements that follow against the **Master** database. | Execute the SQL statements that follow against the **Master** database. | ||
| Line 52: | Line 55: | ||
| <WRAP center round info 60%> | <WRAP center round info 60%> | ||
| - | The remaining steps, which create & update various SQL Stored Procedures, can be done from any instance of SQL Server Management Studio that has access to the target | + | The remaining steps, which create & update various SQL Stored Procedures, can be done from any instance of SQL Server Management Studio that has access to the target database. |
| </ | </ | ||
| Line 64: | Line 67: | ||
| ======Configuration for SAP Business One======= | ======Configuration for SAP Business One======= | ||
| + | The processing of records added or updated in the SAP application can be initiated using a SQL stored procedure. | ||
| <WRAP center round help 80%> | <WRAP center round help 80%> | ||
| Line 69: | Line 73: | ||
| </ | </ | ||
| - | ======Configuration for Versago Multi-Select Report Processing====== | + | ======Configuration for Automatic |
| + | The processing of records selected in a Versago multi-select report can be initiated using a SQL database trigger. | ||
| - | Create a trigger on the table where records are saved by your Versago multi-select report. | + | <WRAP center round help 80%> |
| - | + | A sample of the trigger code used to automatically initiate processing | |
| - | Values in <YourValue> are specific | + | </WRAP> |
| - | + | ||
| - | <code SQL Trigger.txt> | + | |
| - | create TRIGGER | + | |
| - | ON [dbo].[< | + | |
| - | AFTER INSERT | + | |
| - | AS | + | |
| - | declare @vgo_Batchid nvarchar(8), | + | |
| - | --- | + | |
| - | SELECT @vgo_BatchID = vgo_BatchID FROM inserted | + | |
| - | BEGIN | + | |
| - | -- | + | |
| - | SET @Arguments = ' | + | |
| - | -- | + | |
| - | EXECUTE [dbo].[spCallBizweaverWS] | + | |
| - | @wsMethod=' | + | |
| - | -- add your URL. Be sure to use http or https as appropriate. | + | |
| - | , | + | |
| - | , | + | |
| - | -- Add your Auth Token from Bizweaver | + | |
| - | , | + | |
| - | -- Add your workflow ID from Bizweaver | + | |
| - | , | + | |
| - | , | + | |
| - | , | + | |
| - | -- Add your port number | + | |
| - | , | + | |
| - | END | + | |
| - | </ | + | |
| - | + | ||
| - | The following video illustrates this process. | + | |
| - | + | ||
| - | {{ : | + | |