Batch Validation Trace Number
closes
@@ -19,7 +19,7 @@ func TestParseBatchControl(t *testing.T) {
r.currentBatch.Header.CompanyIdentification = "origid"
r.currentBatch.Header.ODFIIdentification = 7640125
- r.currentBatch.addEntryDetail(EntryDetail{TransactionCode: 27, Amount: 10500, RDFIIdentification: 5320001})
+ r.currentBatch.addEntryDetail(EntryDetail{TransactionCode: 27, Amount: 10500, RDFIIdentification: 5320001, TraceNumber: 76401255655291})
err := r.parseBatchControl()
if err != nil {
t.Errorf("unknown error: %v", err)
@@ -70,7 +70,7 @@ func TestBCString(t *testing.T) {
r.currentBatch.Header.ServiceClassCode = 225
r.currentBatch.Header.CompanyIdentification = "origid"
r.currentBatch.Header.ODFIIdentification = 7640125
- r.currentBatch.addEntryDetail(EntryDetail{TransactionCode: 27, Amount: 10500, RDFIIdentification: 5320001})
+ r.currentBatch.addEntryDetail(EntryDetail{TransactionCode: 27, Amount: 10500, RDFIIdentification: 5320001, TraceNumber: 76401255655291})
err := r.parseBatchControl()
if err != nil {
t.Errorf("unknown error: %v", err)
