IPWorks EDI 2020 Python Edition

Questions / Feedback?

virtual_file_format Property

The structure of the outgoing file.

Syntax

def get_virtual_file_format() -> int: ...
def set_virtual_file_format(value: int) -> None: ...

virtual_file_format = property(get_virtual_file_format, set_virtual_file_format)

Default Value

0

Remarks

The following values are valid file formats for outgoing virtual files:

0 (Unstructured - default) The outgoing file is binary and has not structure. There are no records in this type of file.
1 (Text) The outgoing file is a text file that consists of lines containing no more than 2048 characters terminated by CRLF. This type contains no records.
2 (Fixed) The outgoing file is in fixed file format, which means all records are of the same length. For fixed files, the class expects the file to be in text format with each line containing the max_record_size characters terminated by a CRLF.
3 (Variable) The outgoing file is a variable file format, meaning all records are of variable length and are no longer than max_record_size. When using this format, the class will parse out each record as a line terminated by CRLF. Thus, this type of file must be a text file, and must contain lines with less than max_record_size characters.

Note: When either virtual_file_security_level has been set to a value other than slNone or compress has been set to true, all files become ffUnstructured except ffVariable files.

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