below script is posting the data in database twice. There are 2 tables. Installments table is fine. only single entries but contract table is posting 2 records.
f