Class Reference
IRIS for UNIX 2019.2
InterSystems: The power behind what matters   
Documentation  Search
  [ENSLIB] >  [EnsLib] >  [EDI] >  [EDIFACT] >  [Operation] >  [Standard]
Private  Storage   

abstract class EnsLib.EDI.EDIFACT.Operation.Standard extends Ens.BusinessOperation


Parameters Properties Methods Queries Indices ForeignKeys Triggers
2 4 3


This is a Business Operation class.

%AlertStartTime %ConfigName %ConfigQueueName %LastActionTime
%LastHandledTime %LastReportedError %QuitTask %RequestHeader
%SessionId %SuperSession %WarnedLatest %isShadow
Adapter AlertGroups AlertOnError AlertRetryGracePeriod
ArchiveIO BusinessPartner DeferResponse FailureTimeout
IOLogEntry InactivityTimeout NoFailWhileDisconnected QueueCountAlert
QueueWaitAlert ReplyCodeActions Retry RetryCount
RetryInterval SearchTableClass SendSuperSession Separators
SuspendMessage ThrottleDelay Validation

%AddToSaveSet %ClassIsLatestVersion %ClassName %ConstructClone
%DispatchClassMethod %DispatchGetModified %DispatchGetProperty %DispatchMethod
%DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty %Extends
%GetParameter %IsA %IsModified %New
%NormalizeObject %ObjectModified %OnClose %OnNew
%OriginalNamespace %PackageName %RemoveFromSaveSet %SerializeObject
%SetModified %SuperSessionSet %ValidateObject AdapterName
AssignOneSetting CloseIOLogEntry DeferResponse EnumerateSettingsClose
EnumerateSettingsExecute EnumerateSettingsFetch GenerateSuperSession GetDeferredResponseToken
GetMessageList GetProductionSettingValue GetProductionSettings GetPropertyConnections
GetSettings GetShadowInstance IncludeSuperSession NewIOLogEntry
OnError OnFailureTimeout OnGenerateSuperSession OnGetConnections
OnGetReplyAction OnInit OnKeepalive OnMessage
OnMonitor OnProductionStart OnProductionStop OnTearDown
OnValidate QueueName SaveIOLogEntry SendAlert
SendDeferredResponse SendRequestAsync SendRequestSync validateAndIndex

EnsLib.EDI.EDIFACT.Operation.BatchStandard EnsLib.EDI.EDIFACT.Operation.ReplyStandard


• parameter IndexReplies = 0;
If SearchTableClass is set, use it to index any replies (including ACKs unless IndexACKs=false)
• parameter SETTINGS = "Separators,SearchTableClass::selector?context={Ens.ContextSearch/SearchTableClasses?host=EnsLib.EDI.EDIFACT.Operation.Standard},Validation";
List of properties can be set as settings in the configuration file format is a comma separated list of property names


• property FailureTimeout as %Numeric(MINVAL=-1) [ InitialExpression = -1 ];
How long to keep retrying before giving up and returning an error code
• property SearchTableClass as %String(MAXLEN=100);
Store a set of searchable properties in SearchTable records associated with each document processed.

These records will be of the named SearchTable class, if any.

• property Separators as %String(MAXLEN=11) [ InitialExpression = $$$EDIFACTDefSeparators_$$$EDIFACTDefSegTerminator_"\r\n" ];
String of separator characters to use in encoding outbound documents. Order is ComponentSeparator,DataElementSeparator,EscapeSeparator,RepeatSeparator.

Empty string means use the default values of the outbound document.

Additional characters will be used to override the Segment Terminator; may be up to 3 chars for output with newlines.

'\x' may be used in positions 3 and/or 4 to pad the Separators so that a segment terminator may be specified without specifying an EscapeSeparator and/or RepeatSeparator.

After position 4, '\r' means Ascii 13 (Carriage Return), and '\n' means Ascii 10 (Linefeed / Newline).

• property Validation as %String;
Comma-separated string specifying types of Validation to perform; see the class EnsLib.EDI.EDIFACT.Validator for details.

Any non-zero string will invoke basic validation.


• method OnInit() as %Status
This user callback method is called via initConfig() from %OnNew() or in the case of SOAP Services from OnPreSOAP()
• method OnValidate(pDoc As EnsLib.EDI.Document, pValSpec As %String, Output pStatus As %Status) as %Boolean
Override this method to implement your own custom method for validating of an incoming Document
• method validateAndIndex(pDoc As EnsLib.EDI.Document) as %Status

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