Hello, dear NocoBase experts!
I have a data structure (collections) with “many-to-one” relationships that looks something like this:
- Orders
1.1 Stages
1.1.1 Stage Options
1.2 Contractor Bids
1.2.1 Contractor Stages
1.2.1.1 Contractor Stage Options
That is, there are many-to-one relationships between collections. For example, collections 1.1 Stages and 1.2 Contractor Bids are related to collection 1. Orders.
The logic of actions should be as follows: When adding a new Contractor Bid, it is necessary that the form for adding a new bid automatically adds “rows” of data to the existing subforms for subsequent editing in exactly the same quantity as the “similar” rows (at least in terms of their number) in the “branch” Orders - Stages - Stage Options.
That is, you need to “duplicate” the data block, but not within the same collection, but in another collection with a similar number of similar collections.
Here is something similar to the Form Data Templates settings (which can be selected in the current record for copying, but copying will create a data block in the current collection, and I need it to be in another collection).
I made a very rough video, and I hope it clearly shows the “data transfer” from the Orders data block to the Contractor Bids data block. An important point is that it must be possible to edit the transferred data in the form.

Perhaps it is possible to do this through a workflow with manual data entry… but I don’t know how to make sure that the Contractor Bids form is pre-filled with exactly the same number of lines in the subforms as there are in the Order block subforms.
I don’t know what method to use… Maybe a loop, or something else in the workflow, or maybe there is some other way. I know that my case may be difficult to understand, so I am ready to answer any questions and provide additional explanations.
I would appreciate any advice!



