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

Warning Event

Fires whenever a validation warning is encountered.

Syntax

idocwriter.on('Warning', [callback])

Callback

The 'callback' is called when the 'Warning' event is emited.

function(e){ }

The argument 'e' has the following properties:

e.warnCode
e.message
e.segmentNumber

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