Number Formula Fields Using Related Accessor Objects Don't Change Real-time On "Summary Table" (Doc ID 2073121.1)

Last updated on NOVEMBER 02, 2015

Applies to:

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

Symptoms

Created two formula fields on a custom object page added them on detail layout and on summary page
The values on detail page change correctly, but those on overview table were still on the old values. The correct values are shown only if I refresh the page

Field one: N. of Invitees
Script:
def invitees = EventsContacts_Tgt_Events_cToEventsContacts_c_Tgt ;def count = 0;
while (invitees.hasNext()) {
def invitee = invitees.next()
count++;
}
return count;

Field two: N. Of Participants
Script:
def invitees = EventsContacts_Tgt_Events_cToEventsContacts_c_Tgt ;
def count = 0;
while (invitees.hasNext()) {
def invitee = invitees.next()
// if the participation is confirmed...
if (invitee?.ParticipationConfirmed_c == 'Y') {
  count ++;
}} return count;

Cause

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