RunCodeListInterfaceService 宏

RunCodeListInterfaceService 宏用于运行可导入或导出代码列表元素的接口服务。
对于执行宏,必须使用以下格式指定命令字段的值:RunCodeListInterfaceService(接口服务名, 方向, [发生错误时拒绝所有], [超时])
注意:
  • 可选参数在 [ ] 中指定。
  • “发生错误时拒绝所有”可以是“真”或“假”。如果未指定,则值将视为“false”。
1. 示例
需求 示例
执行代码列表接口服务 Import My Items,且方向为 Import,以处理至导入源数据完成。 RunCodeListInterfaceService ("ImportMyItems", "Import","","")
执行代码列表接口服务 Import My Items,方向为 Import,如果发生任何数据错误,则退出。 RunCodeListInterfaceService ("ImportMyItems", "Import","True","")
执行代码列表接口服务 Export My Items,方向为 Export,超时不确定。 RunCodeListInterfaceService ("ExportMyItems", "Export","")