Hi everyone,
I’m using NocoBase 2.x (Docker version).
I have two collections:
- Orders
- Order Items (Many-to-one relationship to Orders)
Each Order Item has a numeric field called amount (or price).
What I want to achieve is:
For each Order, automatically calculate the total amount, which is the sum of all related Order Items’ amount values.
In other words:
Order.total = SUM(OrderItems.amount)
What is the correct way to implement this in NocoBase 2.x?
- Should I use Rollup?
- Do I need a specific plugin?
- Or is there another recommended approach?
Thank you in advance for your help!
