Codeunit 18123054 EOS IXFE Routines

Codeunit 18123054 EOS IXFE Routines

Methods

GetFilePath

procedure GetFilePath(Filename: Text) Result: Text

Parameters / Return Value

  • Filename Text[]

  • Returns Text[]


GetFileName

procedure GetFileName(Filename: Text) Result: Text

Parameters / Return Value

  • Filename Text[]

  • Returns Text[]


GetFileExtension

procedure GetFileExtension(Filename: Text) Result: Text

Parameters / Return Value

  • Filename Text[]

  • Returns Text[]


GetFileNameWithoutExtension

procedure GetFileNameWithoutExtension(Filename: Text) Result: Text

Parameters / Return Value

  • Filename Text[]

  • Returns Text[]


NormalizeFilePath

procedure NormalizeFilePath(Path: Text): Text

Parameters / Return Value

  • Path Text[]

  • Returns Text[]


ExportTempBlobToFile

procedure ExportTempBlobToFile(var TempBlob: Codeunit "Temp Blob"; FileName: Text): Text

Parameters / Return Value

  • TempBlob Codeunit "Temp Blob"

  • FileName Text[]

  • Returns Text[]


ServerTempFileName

procedure ServerTempFileName(FileExtension: Text) FileName: Text

Parameters / Return Value

  • FileExtension Text[]

  • Returns Text[]


SaveServerFileWithDialog

procedure SaveServerFileWithDialog(is: InStream; FileName: Text; Format: Option "",B2B,PA; useTemplate: Boolean): Text

Parameters / Return Value

  • is InStream

  • FileName Text[]

  • Format Option

    "" (0) , B2B (1) , PA (2)

  • useTemplate Boolean

  • Returns Text[]


OpenOutbFileBLOB

procedure OpenOutbFileBLOB(is: InStream; Format: Option "",B2B,PA; TemplateType: Integer; FileName: Text)

Parameters / Return Value

  • is InStream

  • Format Option

    "" (0) , B2B (1) , PA (2)

  • TemplateType Integer

  • FileName Text[]


mergeXMLandTemplate

procedure mergeXMLandTemplate(xml: InStream; template: InStream; FileName: Text; FolderName: Text)

Parameters / Return Value

  • xml InStream

  • template InStream

  • FileName Text[]

  • FolderName Text[]


CreateRandomName

procedure CreateRandomName(FilenameLength: Integer) Result: Text

Parameters / Return Value

  • FilenameLength Integer

  • Returns Text[]


ConvertID2TextGUID

procedure ConvertID2TextGUID(ID: Text[50]) Result: Text[50]

Parameters / Return Value

  • ID Text[50]

  • Returns Text[50]


Events

OnBeforeAskXMLTemplateIXFEPages

local procedure OnBeforeAskXMLTemplateIXFEPages(var TextChoice: text; var Ask: Boolean; var DefaultSelection: Integer; var Selection: Integer)

Raised when opening an outbound XML document from a posted purchase document

Parameters / Return Value

  • TextChoice text[]

    Text that will be used in STRMENU function to ask user the format to use

  • Ask Boolean

    If true ask the user which template to use

  • DefaultSelection Integer

    Specifies default value in STRMENU function

  • Selection Integer

    Specifies return value in STRMENU function if you want to avoid user interface



EOS Labs -