FileWriteMode Property

Controls how the output file is opened.


 getFileWriteMode(): EdifactwriterFileWriteModes;

 setFileWriteMode(fileWriteMode: EdifactwriterFileWriteModes): void;

enum EdifactwriterFileWriteModes { fwmCreate, fwmOverwrite, fwmAppend }

Default Value



This property controls how the component will open the output file specified in OutputFile. Possible values are:

fwmCreate (0)Always create a new file. If the file already exists, an error will be raised.
fwmOverwrite (1)If the output file already exists, it will be overwritten.
fwmAppend (2)If the output file already exists, data will be appended to it.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks EDI 2020 JS Edition - Version 20.0 [Build 8162]