EDI Integrator V9 - Online Help
Available for:
EDI Integrator V9
Questions / Feedback?

EDIDataInfo Event

Fired when processing an incoming message.

Syntax

[VB.NET]
Public Event OnEDIDataInfo As OnEDIDataInfoHandler
[C#]
public event OnEDIDataInfoHandler OnEDIDataInfo;

public delegate void OnEDIDataInfoHandler(object sender, As2receiverEDIDataInfoEventArgs e);

class As2receiverEDIDataInfoEventArgs : EventArgs {
  string Name {get;}
  string DataType {get;}
  bool Duplicate {get; set;}
}

Remarks

When ParseRequest or ProcessRequest has been called this event will fire and provide the filename of the incoming data via the Name parameter. DataType will be the EDI type specified in the message, such as "application/edi-x12".

Duplicate is used in conjunction with the InvalidFilenameMDNAction configuration setting when Filename Preservation with an Associated MDN Response is implemented in the receiving agent to support MDN responses for duplicate filenames. If IncomingDirectory is specified, the Duplicate parameter will return True if the filename specified in the request exists on disk. Additionally, the Duplicate parameter may be set to True before the event exits so that checking for duplicate filenames may be extended to the application logic.

 
 
Copyright (c) 2018 /n software inc. - All rights reserved.
Build 9.0.6635.0