Skip to main content

EnsLib.EDI.EDIFACT.Operation.BatchStandard

abstract class EnsLib.EDI.EDIFACT.Operation.BatchStandard extends EnsLib.EDI.EDIFACT.Operation.Standard

Property Inventory

Method Inventory

Parameters

parameter SETTINGS = Filename:Basic,AutoBatchParentSegs;
Inherited description: List of properties can be set as settings in the configuration file format is a comma separated list of property names

Properties

property AutoBatchParentSegs as %Boolean [ InitialExpression = 1 ];
When writing a message that has a batch parent, output the batch headers first, and follow up with the batch trailers when triggered by the final batch parent header message or by a file name change.

All child messages of a batch parent message will be written out unless already written previously while AutoBatchParentSegs=true.

Property methods: AutoBatchParentSegsDisplayToLogical(), AutoBatchParentSegsGet(), AutoBatchParentSegsIsValid(), AutoBatchParentSegsLogicalToDisplay(), AutoBatchParentSegsNormalize(), AutoBatchParentSegsSet()
property Filename as %String (MAXLEN = 1000, MINLEN = 1) [ InitialExpression = "%f_%Q" , Required ];
Name of file to output the document(s) to. May include timestamp specifiers. The %f specifier if present will be replaced with the name of the document's original source stream. (stripped of characters illegal in filenames).

See the method Ens.Util.File.CreateTimestamp() for documentation of timestamping options.

Property methods: FilenameDisplayToLogical(), FilenameGet(), FilenameIsValid(), FilenameLogicalToDisplay(), FilenameLogicalToOdbc(), FilenameNormalize(), FilenameSet()

Methods

method OnMessage(pRequest As EnsLib.EDI.EDIFACT.Document, Output pResponse As EnsLib.EDI.EDIFACT.Document) as %Status
This method is for File and FTP Operations: per-message batch output with no reply. TCP and HTTP Operations receive reply messages and only support entire batch output.
method outputHeaders(pKey As %String, pOldParents As %String, pParents As %String) as %Status

Inherited Members

Inherited Properties

Inherited Methods

Subclasses

FeedbackOpens in a new tab