Table of Contents

Calling Bizweaver from SAP Business One

Some special program code, provided by Third Wave Business Systems, is required for this functionality to work. Configuration of the special code is described here. This is a technical process and should not be attempted by anyone not familiar with T-SQL stored procedures. Contact TWBS support if you need assistance.

The call to the Bizweaver web service is initiated from the standard SAP Business One Stored Procedure SBO_SP_PostTransactionNotice. The following SQL statements illustrate what needs to be added to the procedure.

The Bizweaver call can only be made using a POST transaction.

Procedure Variables

/* Static variables for Bizweaver web service call - Start */
DECLARE
@Arguments nvarchar(100)
/* Static variables for Bizweaver web service call - End */

Calling Bizweaver Using POST

IF @object_type = 'X'
BEGIN
SET @Arguments = '{"YourTargetVariable":' + '"' + @list_of_cols_val_tab_del + '"' + '}'
EXECUTE [dbo].[spCallBizweaverWS]
@wsMethod='POST'
 
-- add your URL.  Be sure to use http or https as appropriate.
 
,@wsURL='https://YourURL'
 
,@wsContent='application/json'
 
-- Add your Auth Token from Bizweaver
 
,@wsAuthToken='xyxyxyxyxyxyxyxyx'
 
-- Add your workflow ID from Bizweaver
 
,@wsTaskId='999'
  ,@wsStartAfter=''
 
,@wsParameters= @Arguments
 
-- Add your port number
  ,@wsPort='443'
END