Programming an application to generate an EDI file