Issue related with a!writeToDataStoreEntity() function in interface level

Hi,

I have 2 forms in my application and I'm using one CDT for both the forms. I've used a!writeToDataStoreEntity() function  in submit button for storing the data. Once If I click on the submit button one row is inserting into the database.For the second form, If I click on the submit button a separate row is inserting instead of updating within the same row, the same issue is persisting with the other forms also.

Can you please suggest me to resolve this issue.

 

 

Even If I remove the a!writeToDataStoreEntity() function on second form and write the data using smart service then also new row is inserting. Its not updating with the existing row.

Thank you in advance!

 

 

Thanks,

Dharma

  Discussion posts and replies are publicly visible