C1-PA-PRE

This algorithm is used to avoid the concurrency issue for payment agreement. This algorithm also validate the duplicate bill, schedule, and characteristic on the edit screen.