ERP Integrator V2 - Online Help
ERP Integrator V2
Questions / Feedback?

Warning Event

Fires whenever a validation warning is encountered.

Syntax

[VB.NET]
Public Event OnWarning As OnWarningHandler
[C#]
public event OnWarningHandler OnWarning;

public delegate void OnWarningHandler(object sender, IdocwriterWarningEventArgs e);

class IdocwriterWarningEventArgs : EventArgs {
  int WarnCode {get;}
  string Message {get;}
  int SegmentNumber {get;}
}

Remarks

The Warning event will fire if a validation error is encountered when writing a new segment to the output document. The WarnCode parameter contains the type of warning encountered. Message is a textual description of the problem. SegmentNumber is the index of the segment where the problem was found.

 
 
Copyright (c) 2017 /n software inc. - All rights reserved.
Build 2.0.6240.0