Learning
Documentation
Community
Open Exchange
Global Masters
Home / Class Reference / ENSLIB namespace / EnsLib.EDI.ServiceInterface
Private  Storage   

EnsLib.EDI.ServiceInterface


abstract class EnsLib.EDI.ServiceInterface

Inventory


Parameters Properties Methods Queries Indices ForeignKeys Triggers
1 5


Summary


Methods
OnDocumentEnd OnDocumentStart OnPostDocument OnPreDocument
resolveDocType

Subclasses
EnsLib.EDI.EDIFACT.Operation.ReplyStandard EnsLib.EDI.EDIFACT.Service.Standard EnsLib.EDI.X12.Operation.ReplyStandard
EnsLib.EDI.X12.Service.Standard EnsLib.EDI.XML.Service.Standard

Parameters


• parameter DOCCLASS;

Methods


• method OnDocumentEnd(pDocument As EnsLib.EDI.Document, pSource As %String, pStatus As %Status) as %Status
Called by the Parser at the end of a document
• method OnDocumentStart(pDocument As EnsLib.EDI.Document, pSource As %String, pStatus As %Status) as %Status
Called by the Parser at the start of a document
• method OnPostDocument(pStream As %IO.I.CharacterStream, ByRef pLineExtra As %String = "")
This method is called after processing a Document, giving an opportunity to 'filter' extraneous header/trailer/filler which may be present in the stream. pLineExtra contains any extra chars read that may be part of the beginning of the next Document.
• method OnPreDocument(pStream As %IO.I.CharacterStream, ByRef pLineExtra As %String = "")
This method is called before attempting to process a Document, giving an opportunity to 'filter' extraneous header/trailer/filler which may be present in the stream. pLineExtra contains any extra chars read that may be part of the beginning of the Document to follow.
• method resolveDocType(pDoc As EnsLib.EDI.Document) as %String
Return the DocType that the given service would assign to this document