We have two situations related to linking records that we'd like to manage ...
... In the case that an order is fully processed, then it for some reason becomes apparent that the wrong customer name was used in the order, we at times need to modify the order with the correct customer information. That part is easy. The problem is that when we change the customer name on a sales order, it unlinks all associated records to this order (fulfillments, invoices, payments, etc.). We can go into each record and change the customer on those - a pain but manageable. The problem is that we can't find a way to re-establish the relationships, the links, between the transactions. Every transaction which changes loses the link to the others. How can we keep the links from breaking?
... There are other times where we simply want to link transactions together which should have been - but weren't - created from each other. So the links don't already exist. How can we link them?
If we can't keep the links from breaking in the first place, we'd like to at least reestablish them.
Any help?