We need to identify the purchase / service order against which on account payment has been made, also we need a user profile base check option "Advance Payment tagging by Purchase / Service order" if enabled then user able to make on account payment with tagging of purchase / service order else if disable then user can make on account payment without tagging to purchase / service order.