Hi Basanthi,
I think you can design your PCR logic like below.
1. First call your cumulative wage type of varaible pay cross check witj 6th Wage type of WT number field as 6.
2. Query No with 0 if not then start calculating from basic pay.
3.Whenver you will be adding to cumulative wage type increse it's no field and move the value in another wat.or use six different wage type to cumulate month after month.
like 1st month WT1 then next month WT2 , next WT3 etc.
4. For the payment whever you will get Six WT then make the payment and make all WT zero.
5. If you using to increase no field then whenevr you will get 6 then cumulative amount you will pay and making all zero.
Hope so you understood.
Regards,
Sankarsan