Skip to Content
0
Former Member
Apr 29, 2014 at 12:45 PM

Issue with duplicate transactions in Agentry - Rounds Manager

43 Views

Hi All,

Let us consider a scenario where we have a list of items getting displayed and on clicking each of the items in the list, a view opens up showing the details for the corresponding item. Now this view has various fields which can be filled in by the user and a finish button so as mark the item as complete.

Under the normal flow we fill up the details and press on finish so as to mark the item as complete, and a transaction is applied. But we have included an additional check box on the same view on the basis of which a different set of data is going to be saved for the opened item as part of a different transaction. So what is happening is basically two transactions are being applied on click of Finish. The issue that we are facing here is, when we open up the item for the first time and click on finish keeping the check box checked two transactions are being applied one for the item related one and one for the check box related data which I believe is working fine. But on clicking the same item which has been marked complete again, and this time keeping the check box unchecked on clicking finish an additional set of transactions is coming up which is resulting in error saying - Target id already exists for this transaction.


As a matter of fact the transaction associated with the main item related information save is Edit type and the one added for the check box is Add type.

Any suggestion as to how this can avoided/fixed ?

Thanks

Arpan

Tags edited by: Michael Appleby