I was wondering if anyone could help me out with creating a java script for a customization that I am trying to put together.
I have the case entity, where it has a sub-grid that points to a custom entity named /Reviews/. When a specific type of case is created, the sub-grid will be auto-populated with a set number of records (will always have 7 records).
I am trying to create a java script that would count the number sub-grid records that have a /completed/ status and set that count in a custom field in the case entity. This script would be initiated on the onLoad, so that the count will be shown in the field.
Any help that you can provide with the creation of the java script would be much appreciated.