Determine How Record Was Created

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.

1 Like

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

1 Like

It is indeed!! Thank you for pointing that out.
Dianna