Description: Executes an SAP-interface entry for a record and then marks or saves that record.
Calling convention: CIP_CallSAPInterface("ObjectName": String, DataID: Integer, "SAPEntryName": String, [SAPEntryValue: Variant])
Parameters:
ObjectName: target object name.
DataID: target record ID; Variant NULL becomes -1.
SAPEntryName: entry of type SAPInterface.
SAPEntryValue: optional temporary value assigned before execution; explicit NULL is allowed.
Returns: No defined return value. Invalid objects, entries or entry types raise exceptions.
Availability: Default; executes the configured SAP interface and changes record state. A non-visible record is loaded into a temporary DBForm and saved; a visible record is marked as needing save.
Example:
CIP_CallSAPInterface("Orders", OrderID, "SendToSAP", True);