How to remove the segments in Edi File if all the segment elements are empty?

How to remove the segments in Edi File if all the segment elements are empty?

Scenario:
I am trying to create a Member Eligibility Edi File (834). I need to know how to remove the segments if all the segment elements are empty.
Solution:
You should provide only NULL as input for the segments you don't want included. You should set minOccurs  = "0" on the segment element and then try to generate a file.

    Book a Presales Call

     

    Are you new to COZYROC and evaluating our solutions? 
    Book a Presales Call with us now.