Hi all,
I have been enjoying working in infopath but sometimes the repeating table is killing me, please help me somebody for the below problem.
I am integrating the infopath form with ERP database using custom webservices call in button click event. I am creating sales order thru infopath in ERP,
I have designed the repeating table something like below:
NO ItemNo Descrption Quantity Unit Cost Cost
1 1 Item1 1 1200 1200
2 2 Item2 2 200 400
3 3 Item3 3 300 900
4 4 Item4 4 100 400
Total: 2900
After Clicking on the SOP Button the value of repeating table getting changed the above repeating table becomes after clicking on Button like below:
NO ItemNo Descrption Quantity Unit Cost Cost
1 4 Item4 4 100 400
2 2 Item2 2 200 400
3 3 Item3 3 300 900
4 4 Item4 4 100 400
Total: 2100
By seeing i can understand the 4th Item i.e last one is replacing the 1st Item. Why its is happening how can i solve this Pls somebody help me out, i
am not getting any clue.