Validate 271 response before calling X12Writer

Comments

1 comment

  • Avatar
    Admin

    Hello,

    You should use the IsValid() overload like this:

    MessageErrorContext errorContext;
    if (!purchaseOrder.IsValid(out errorContext, true))

    The second parameter, "true", tells the validator to skip over the trailers check.

    0
    Comment actions Permalink

Please sign in to leave a comment.