How to update a field in the parent object with the sum of a field all the child objects - Groovy Script

(Doc ID 2042235.1)

Last updated on FEBRUARY 02, 2017

Applies to:

Oracle Fusion Sales Cloud Service - Version and later
Information in this document applies to any platform.


There are 2 objects and the relation between them is 1:M. How to sum the values in a specific field in the child objects and update a field in the parent object with that value?


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms