Is there an easy in Suite to determine if a record was created using the āDuplicateā feature? I am not looking for duplicate records, just if a record was created using this feature. I didnāt know if there was some flag in the database for this.
Unfortunately no.
The duplicate feature simply pre-populates the EditView with values from an existing record and nothing else from that original record is saved when the new record is saved. There is also nothing in the database schema to indicate/save this.
Sorry.
Thatās what I figured. I just thought I would ask to make sure I wasnāt missing something.
Can you help me understand how the Duplicate function works? I see this code ā¦
onclick='document.dupOpps.selectedOpportunity.value="${row[āidā]}";document.dupOpps.submit()
in OpportunityFormBase.php
but I donāt see a form named dupOpps anywhere.
Thanks,
Dianna
Itās defined in that same file, it seemsā¦
https://github.com/salesagility/SuiteCRM/search?q=dupOpps&unscoped_q=dupOpps
It is indeed!! Thank you for pointing that out.
Dianna