Using copy master details, can I choose what descendants get copied?

  • 0
  • 1
  • Question
  • Updated 2 years ago
  • In Progress
The option in the wizard is for all details of details but i would like to exclude one of those descendants but not the others. Is this possible? I am using this as a template function but I don't want to copy records like related time entries.

Thanks
Photo of Jonathan Roberts

Jonathan Roberts

  • 104 Points 100 badge 2x thumb

Posted 2 years ago

  • 0
  • 1
Photo of Michael Barrow

Michael Barrow

  • 2,206 Points 2k badge 2x thumb
I don't think you can do this. It's all or nothing.
Photo of QuickBaseCoach App Dev./Training

QuickBaseCoach App Dev./Training, Champion

  • 53,842 Points 50k badge 2x thumb
My only thought when I read the question was if there can there be a webhook or a button to delete those time entries.  ie i agree that there is not a way to prevent them from being created, but maybe they can be quickly deleted.

The Webhook could fire when a record was created and the name of the Parent starts with "Copy of", because Quick Base always renames that designated field to be called Copy of ....  or else you make a button that is displayed to the user when the Parent is named "Copy of ..."  and ghere are still Time Card Entries and have that button be a URL formula to delete those Time Entries.
Photo of Michael Barrow

Michael Barrow

  • 2,206 Points 2k badge 2x thumb
Yes, I agree. That was also my thought. Create them all and then the webhook prunes what's not wanted. The big challenge is with adjusting the predecessor logic when any predecessors are deleted because you have to see what their predecessors are and then update subsequent dependencies accordingly. Unless it's a brain-dead simple pruning, probably need to harness script to get it done right.