eBiss 3

Hilfe & Dokumentation

User Tools

Site Tools


en:transformation:mappings:funktionen:changefunctions:changefilename

Table of Contents

ChangeFileName

ChangeFileName changes the file name of the attachment from the document or if given the attachment of the Guid. The change is logged in the status history.

Syntax:

ChangeFileName(FileName, ['Attachment GUID'])

Example:

ChangeFileName(concat("Fn_", ActualDateTime("yyMMddHHss"), ".edi"))
GetDocument(GetDocument()/@OriginDocumentId)/@InterchangeId   => $TmpOid
GetInterchange($TmpOid)/@AttachmentId =>  $AttachmentOid
ChangeFileName(concat("Fn_", ActualDateTime("yyMMddHHss"), ".edi"), $AttachmentOid)
en/transformation/mappings/funktionen/changefunctions/changefilename.txt · Last modified: 2025/07/24 09:33 by 127.0.0.1