I am able to generate the 997 using the default 997.ecs and 997.xsd. The generated X12 997 has 6 segments but we need to send only 4 segments. I have created a new ecs and xsd (deleted the two segments) using the spec builder. When I use this custom 997 document, it throws below error.
Error Brief : Validator error - Extra data was encountered. Validator error - Extra data was encountered. Validator error - Extra data was encountered. The values are not equal.
The XML payload shows data for the two segments that I have deleted from the ecs in specbuilder. I thought B2B would generate the xml payload based on the ecs and xsd.
Is it possible to generate a customized 997 in B2B?