C1-REFWOPRE

This algorithm is used to avoid the concurrency issue for refund and write off.