Forum Discussion
DonLarson
Qrew Elite
Andrew,
Quick Base is outstanding at managing workflows and process management. Creating arrays of information however is not one of its strong suits. I have had to solve this problem of needing to generate multiple child records for a single parent on numerous occasions. The core business cases tend to be around money. Establishing milestones for progress billing or paying out commissions on sales.
For an array of future payments I am using a custom PHP script that kicks off from a Formula URL button. This way you can pick a start date and interval for your array. The PHP calculates the values for all the child records and then uses the Quick Base API to write them to the app.
Alternatively you can create Formula Date fields in your Projects table and then have a series of Automations kick off and create the child records. This will eliminate the need to write any code, but it is not as elegant and harder to maintain.
Happy to discuss further if you would like.
------------------------------
Don Larson
Paasporter
Westlake OH
------------------------------
Quick Base is outstanding at managing workflows and process management. Creating arrays of information however is not one of its strong suits. I have had to solve this problem of needing to generate multiple child records for a single parent on numerous occasions. The core business cases tend to be around money. Establishing milestones for progress billing or paying out commissions on sales.
For an array of future payments I am using a custom PHP script that kicks off from a Formula URL button. This way you can pick a start date and interval for your array. The PHP calculates the values for all the child records and then uses the Quick Base API to write them to the app.
Alternatively you can create Formula Date fields in your Projects table and then have a series of Automations kick off and create the child records. This will eliminate the need to write any code, but it is not as elegant and harder to maintain.
Happy to discuss further if you would like.
------------------------------
Don Larson
Paasporter
Westlake OH
------------------------------
AndrewRyder
6 years agoQrew Cadet
Don,
I wound up having similar circumstances and agree completely. Growing into QB as a technology person used to writing code, I've tried to go native when all possible. With things like this, I wound up agreeing. About 30 lines in Python and I have, most likely, an identical solution to you. We project out 12 months by default, to which a PM can leave blank, if needed. The formula would work but for projects that exceeded said default duration, would get messy, as you said. Likewise, the dates that get brought over from Sales are pure estimates (guesses much of the time). The scope of the work can take 6 months to start. Most projects are completed within 12 months but with our complicated AIA billings, a number do last longer.
Thanks,
Andrew
------------------------------
Andrew Ryder
------------------------------
I wound up having similar circumstances and agree completely. Growing into QB as a technology person used to writing code, I've tried to go native when all possible. With things like this, I wound up agreeing. About 30 lines in Python and I have, most likely, an identical solution to you. We project out 12 months by default, to which a PM can leave blank, if needed. The formula would work but for projects that exceeded said default duration, would get messy, as you said. Likewise, the dates that get brought over from Sales are pure estimates (guesses much of the time). The scope of the work can take 6 months to start. Most projects are completed within 12 months but with our complicated AIA billings, a number do last longer.
Thanks,
Andrew
------------------------------
Andrew Ryder
------------------------------