RunSCVInterfaceService macro

The RunSCVInterfaceService macro enables you to run an interface service for importing or exporting Supply Chain Valult (SCV) data. This macro is executed at system level.
This table describes the parameters used in the macro.
Parameter Name Description
Interface Service Name The name of the interface service.
Direction The direction of the data flow. Possible values:
  • Import
  • Export
Time out The duration (in seconds), the application must wait for the blocking processes (if currently processing) to complete.
Note: If not specified, the wait period is indefinite.
Reject all on error Only applicable when Direction is set to Import.
For executing the macro, the value of the Command field must be specified in this format: RunSCVInterfaceService(Interface Service Name, Direction, [Time out])
Note: The optional Parameters are specified in [ ].
Table 1. Example
Requirement Parameters
Execute SCV interface service Import My SCV Data, with direction = Import, processing until completion of the import source data. {{RunSCVInterfaceService("Import My SCV Data","Import","","") }}
Execute SCV interface service Import My SCV Data, with direction = Import, exiting if any data errors occur. {{RunSCVInterfaceService("Import My SCV Data","Import","","True") }}
Execute SCV interface service Export My SCV Data, with direction = Export, with indefinite time out. {{RunSCVInterfaceService("Export My SCV Data","Export","","") }}
Execute SCV interface service Export My SCV Data, with direction = Export, with a time out of 600 seconds if unable to execute the interface service {{RunSCVInterfaceService("Export My SCV Data","Export","600","") }}