RunSCVInterfaceService (Export) at system level

The RunSCVInterfaceService macro is used to export Supply Chain Vault (SCV) data.
For executing the macro, the value in the Command field must be specified in this format:
RunSCVInterfaceService(Interface Service Name, Direction, [Time out], [Data Source])
Note: The optional parameters are specified in [ ].

This table lists the parameters that are used to determine the Interface service to execute:

Parameter Name Description
Interface Service Name The name of the Interface Service.
Direction Indicates the direction of the data flow. Possible values:
  • Import
  • Export
Note: This value must be set to Export.
Time out The time, in seconds, to wait for the blocking processes (if any) to complete.
Note: If this value is not specified, the waiting period is indefinite.
Data Source An alternate Data Source to be executed against the Interface Service.
Note: The Data Source must be of the same type as defined in the Interface Service.

This table lists examples of RunSCVInterfaceService (Export) macro:

Requirement Syntax
Execute SCV interface service “Export My SCV Data”, with direction = Export, and indefinite time out. RunSCVInterfaceService("Export My SCV Data","Export","","")
Execute SCV interface service “Export My SCV Data”, with direction = Export, and a time out of 600 seconds if unable to execute the interface service. RunSCVInterfaceService("Export My SCV Data","Export","600","")
Execute SCV interface service “Export My SCV Data”, with direction = Export, and a time out of 600 seconds if unable to execute the interface service. The data must be exported to the Database2 Data Source. RunSCVInterfaceService("Export My SCV Data","Export","600", "Database2")