Copy Detail Records, Relate to Existing Parent
Monthly Reports (parent) and Tasks (child).
Each month a Monthly Report record is generated for each user. The User enters the app on a given day and creates children Task records, relating them to the new Monthly Report record. This is done usually in grid edit.
The Tasks records are often the same and I?d like for the user to have the option to ?Copy Last Month?s Report?.
I created a Report Link field which shows the previous month?s report on the current Monthly Report record. This part is set up fine and working.
What I need now is a ?Copy Last Month?s Report? button I can put on this embedded report and when clicked, the children task records from last month are copied, and related to the current Monthly Report.
I tried following this post: https://community.quickbase.com/quickbase/topics/trying-to-use-the-copy-master-detail-function-but-only-to-copy-detail-records-and-not-the-parent-record but it was slightly difficult for me modify because I am not looking to copy a specific parent record?s details, but instead the record that the button is clicked on.
I was reading about copy automations too and am playing with that. I see an option being of copying all the records when the parent record is created, but then there may be records getting created that aren?t necessary and will need to be deleted. I will keep playing with the automation but I thought I'd put it out to the community for suggestions, too!