Intercompany transactions are so restricted. If they are paired you can't edit, unless the items on the PO and SO are changed to non-inventory items, unpair, make changes and create pair transaction. Look up for deleting intercompany transactions in SA