eBiss 3

Hilfe & Dokumentation

User Tools

Site Tools


en:prozessdefinition:repositorien:kontainerisierer:mask

Masks

The following formats, also in combination, are possible for the generation of file names and subject names.

Maske Description
${TimeStamp}Time in format “year month day hour minute seconds milliseconds”, without spaces: yyyyMMddHHmmssfff
${TimeStampWC}Time in format: yyyyMMddHHmmss
${ShortDateStamp}Time in format: yyyyMMdd
${DocumentDate}In this mask the DocDate of the first document from the list of documents of the message is used.

Syntax: ${DocumentDate[:“Datumsformat”]}

Sample: ${DocumentDate} = Date in standard format “yyyyMMddHHmmss” or ${DocumentDate:ddMMyy-HHmm} = Date in format “ddMMyy-HHmm”
${DocumentType}The type of the first document.
${DocumentSubType}The sub type of the first document.
${DocumentNumber}The document name is generated from the document number.
${FN:<an X-Path expression>}1)The X-Path expression is executed on the document, e.g.:
${FN:ActualDateTime("yyyy-MM-dd")}, ${fn:GetDocument()/@DocSubType}
${InterchangeReference}This setting generates the document name from the InterchangeReference number.
${InterchangeEdiRecipient}The recipient from the interchange.
${InterchangeEdiSender}The sender from the interchange.
${InterchangeReference3Digits}This setting generates the document name from the last three digits of the Interchange reference number. If this is shorter than 3 digits, the missing digits are filled with 0 left-justified..
${RX:<a regular expression>}The regular expression is evaluated on the first 100 KB of the attachment, e.g. returns

{RX:NAD\+BY\+([^:]*):}

from an EDIFACT file the GLN from the BY segment.

${TradingPartnerTNr}Here the eGate participant number of the trading partner is used as document name.
${SystemPartnerTNr}Here the eGate participant number of the system partner is used as document name.
${Subject}Message subject.
${TradingPartnerName}This mask uses the name of the trading partner for the selected document.
${SystemPartnerName}In this mask, the name of the system partner is used for the set document.
${MessageEntryDate}Entry date of the message in the date format of the set language 2). Better to define the date separated by a colon, e.g. ${MessageEntryDate:yyyyMMddHHmmss}
${NodeName}This setting generates the document name from the name of the message node.
${OriginalDocumentTypeName}3)In this mask, the original source object document type is used as the name for the set document.
${OriginalFileName}4)In this mask, the original name of the imported file is used as the document name.
${FileFirstName}In this mask, the first part of the original file name of the imported file is used as the document name, e. g. “SlsRpt. EDIFACT” will return “SlsRpt”.
${TradingPartnerGLN}The GLN of the trading partner is used as document name here.
${SystemPartnerGLN}The GLN of the SystemPartner is used as document name here.
${Counter:CounterName:ValueName}This macro increases the counter reading of a counter by 1, returns it to the containerizer and inserts it into the document name.

Sample:

${DocumentType}_${DocumentNumber}_${TimeStamp}.EDI

Note:The masks can also be combined with individual identifiers, e. g.

  • Test-${TimeStamp}-Dokument ⇒ Test-051111121430-Dokument
  • Pricat Nr. ${DocumentNumber} ⇒ Pricat Nr. 52

Complete your entries by clicking on Save, so that the new containerizer is transferred to the eBiss database.

Note: The SubjectSetter and The FilenameSetter can also make use of these Masks5).

1)
This macro can be used only in Mapping, in the EntityMessageCreator and in the mapping function SendMailUseChannel
2)
under which the eBiss service runs
3) , 4)
This value needs a 'Origin document' at the document, otherwise the value is empty
5)
With the exception of ${FN:<an X-Path expression>}
en/prozessdefinition/repositorien/kontainerisierer/mask.txt · Last modified: 2024/04/25 11:11 by 127.0.0.1