Class Reference
EnsLib.EDI.ServiceInterface
Server:appadmin-00044-deployment-6bf4cbc86d-9f4xc
Instance:IRIS
User:SuperUser
 
-
  [USER] >  [EnsLib] >  [EDI] >  [ServiceInterface]
Private  Storage

abstract class EnsLib.EDI.ServiceInterface

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
1 6


Summary

Methods
OnDocumentEnd OnDocumentStart OnParsingError 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 OnParsingError(pStatus As %Status, pDocument As EnsLib.EDI.Document, pSeparators As %String = "") as %Status
This method is called when a fatal error is encountered while processing a Document, giving an opportunity to send a Reply message in response to those documents that never call OnDocumentEnd
• 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


Copyright (c) 2025 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.