Difference Between Generate X12 and Generate X12 Encounter

What is the difference between generate x12 and generate x12 encounter? Which one should be used to create the batch file to send to x12 partner for processing?

hi @sophisticated_acquis , here’s the global info