For Inter-Org Intransit shipment transactions, the receiving transaction manager was getting called for each record in a batch (in autonomous mode) and thus each record was getting committed. However, if a row fails in the inventory transaction manager then the entire batch was getting rolled back for inventory, but the receiving data was already committed for the earlier rows of the batch, thus leaving orphan receiving shipment data.