change customer in transaction
1- if in sales order customer x
2- when run autoinvoice master program .
3- in transaction customer x i want to change it to y, i know that i can change the customer but a sales order with x and transaction with y .
i want any method when change customer in transaction i can change in sales order .