trim down the interchange, functiongroup, transaction model

Developer
Sep 10, 2012 at 6:16 PM

If I have an interchange object, that has many functiongroup objects, that has many transaction objects, there's really no way to trim up my interchange object so that he has just one functiongroup object with one transaction object.  Am I right?  

Interchange, exposes his list of functongroups, so I can clear them and add back one.

FunctionGroup doesn't expose his dictionary of Transactions, so there's no clearing them and adding back one.

Coordinator
Sep 10, 2012 at 7:25 PM

I have checked in changeset 19774 to expose Transactions as a List<Transaction> instead IEnumerable<Transaction>.

Having the dictionary caused other problems when users had transactions with duplicate control numbers.  Though this is not a valid X12, test data and sometimes production data would have this problem.

So hopefully this will fix your problem too.