When pre-payments are applied to a sales order, and the sales order is held in credit hold, and the total of the prepayments equals the outstanding (uninvoiced) value of the sales order, the sales order will be automatically released from credit hold.