997/999 Ack Generators

Generate 997 and 999 Functional Acknowledgements After Validation

Send acknowledgements back to trading partners

Ack997Generator and Ack999Generator quickly generates accurate functional acknowledgements after validation

 

Main Features

  • Generates acknowledgements with one function call
  • Ability to modify acknowledgments after generation
  • Ability to set padding charactor of ISA segments

The Code

//Create an EDIValidator
EDIValidator validator = new EDIValidator();

//Set validation rules file
validator.EDIRulesFile = "C:\\EDIFile.Rules";

//Set file to validate
validator.EDIFile = "C:\\EDIFile.txt";

//Validate the file
validator.Validate();

//Create the 999 generator
Ack999Generator ack = new Ack999Generator();
 
//This char will be used to pad data to meet minimum length.  For example group control numbers
ack.PaddingChar = ‘0’;
 
//Generate the 999 document
EDIDocument doc999 = ack.Generate(validator);

 // Get the 999 acknowledgement 
string edi999Data =  doc999.GenerateEDIData();

 

Sample 999 Functional Acknowledgement

ISA*00* *00* *ZZ*311279999 *ZZ*133052274 *190924*0313*^*00501*000000001*0*P*:~
GS*FA*311279999*133052274*20190924*0313*1*X*005010X231A1~
ST*999*0001*005010X231A1~
AK1*HC*2120*005010X222A1~
AK2*837*000000533*005010X222A1~
IK3*PER*4**8~
IK4*3**7*TN~
IK3*NM1*5**8~
IK4*8**7*49~
IK3*CLM*19*2300*8~
IK4*2**7*000002120~
IK5*R*5~
AK9*R*1*1*0~
SE*12*0001~
GE*1*1~
IEA*1*000000001~d

When validating 4010 transactions the Ack997Generator component is used