Module for EDI 9.12 | Building Services with EDI Module | Part I WmEDI Package | WmEDI TRADACOMS Folder | Summary of Elements in this Folder | wm.b2b.edi.tradacoms.compose:endTradacomsTransmission
 
wm.b2b.edi.tradacoms.compose:endTradacomsTransmission
WmEDI. Creates an END segment for a transmission.
This service will also:
*Add an EOB (End of Batch) segment to close the batch document if the wm.b2b.edi.tradacoms.compose:startTradacomsBatch service was invoked for this transmission
*Write an RSGRST (reconciliation) message if you set the includeRSGRSG parameter to true in the wm.b2b.edi.tradacoms.compose:startTradacomsTransmission service.
Input Parameters
END
Document
END01
StringThe number of messages in the transmission.
FormatInfo
Document (optional) Format information used to create an STX segment. This value should match the FormatInfo value that you specified in the wm.b2b.edi.tradacoms.compose:startTradacomsTransmission service that you used to create the transmission.
TradacomsTransmission
Object The TradacomsTransmission object that the wm.b2b.edi.tradacoms.compose:startTradacomsTransmission service returned.
Output Parameters
InputStream
Object The input stream containing the entire document that has been written to disk or held in memory.