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:startTradacomsBatch
 
wm.b2b.edi.tradacoms.compose:startTradacomsBatch
WmEDI. Creates a batch (BAT) segment for a transmission. This service will also add an EOB (End of Batch) segment to close any previous batch if the wm.b2b.edi.tradacoms.compose:startTradacomsBatch service has been called previously on the input TradacomsTransmission object.
Input Parameters
BAT
Document
BAT01
String The recipient's transmission reference.
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
TradacomsTransmission
Object Used to write transmission information to disk or held in memory. If the document exceeds the Large Document threshold, or if the outputFileName is specified, it will be written to disk. Otherwise, the completed document will be held in memory.