Creates an entry in the ECM queue
Parameters
ECM document definition for the record. Values deviating from or additional to the found document definition can be added to the record if required.
MainRecord
MainRecord (record) is entered into the ECM queue and is needed for processing (metadata and PDF creation).
ECM queue transaction no. that will be returned.
ErrorCode
Type: Integer
ErrorCode = 0 and TransactionNo <> 0, if the operation was successful.
With the function "ShowMessage" the ErrorCodes can be displayed and with the function "WriteLog" ErrorCodes can be logged.
This is used for preparing data files for archiving concept 1. Internal Documents