I have a report with an edit link. The Edit link is Id. This report retrieves records from different databases.
My requirement is to insert those records into my database when the edit link is clicked. Please find the image below.
I need to insert these two records into my database table on clicking on the edit link.
How do I perform this in APEX?