KB Articles

 

Topic/Category: COPY_BATCH_XML Export

Issue: COPY_BATCH_XML Export not following FILE Rename Rules

Analysis:

The default keywords for COPY_BATCH_XML Export are incorrectly referencing the Ephesoft 3 method.

 

Solution:

Keywords like  $EphesoftBatchID, $EphesoftDOCID are not in use anymore. In 4.0 a feature to have dynamic file name in copy batch xml plugin and cmis export plugin was introduced and due to that a new set of keywords were introduced.

Please find below a list of Keyword that can be used to create file name in the plugin:

 

  1. BATCH_IDENTIFIER
  2. BATCH_CLASS
  3. BATCH_FIELD_VALUE
  4. DOCUMENT_TYPE
  5. DATE
  6. TIME

Document level fields can also be used as DLF:$DocumentLevelField (For Example DLF:$Invoice Number& DLF:$Invoice Date)

The dynamic variables can be utilised by putting a $ before them. In case multiple dynamic values are required, they can be appended with to generate the effective dynamic nameFor instance a field value as $BATCH_CLASS&$DATE would generate a name something like BC1_2015-05-11.

 

An example of sample file name could be like this: $BATCH_CLASS&$BATCH_IDENTIFIER&$DATE(yyyy-MM-dd)&$TIME

Above expression will generate file name something like this: BC23_BICF_2015-05-22_12_00_21.

 

Was this article helpful to you?

Walter Lee