Your specific issue involves the interaction between three systems that need to work in sequence. Looking at your logs and the regulatory reporting requirement, here’s what’s happening and how to fix it:
Rollup Calculation Job Status Issue:
The job shows completed because it finished its calculation phase, but it’s not triggering the downstream cache invalidation. In agile.properties, verify:
com.agile.formula.rollup.autoInvalidateCache=true
com.agile.formula.rollup.syncMode=true
The syncMode parameter forces synchronous execution, which is critical for compliance reporting.
PX Event Triggers for BOM Changes:
Your PX configuration needs to explicitly handle the cache invalidation. Add this to your BOM change event handler:
// Clear formula rollup cache after BOM update
FormulaRollupCache.invalidate(bomItem.getNumber());
ReportingCache.clearDependentReports("FORMULA_ROLLUP");
Reporting Cache Invalidation:
The core problem is that SQL Reports maintains its own cache layer separate from the formula rollup cache. You need to configure cascade invalidation in reporting-config.xml:
<cache-policy name="formula-reports" cascade="true">
<invalidate-on-event type="BOM_UPDATE"/>
<invalidate-on-event type="FORMULA_RECALC"/>
</cache-policy>
Immediate Fix:
For your current situation, run this SQL to manually clear stale report data:
DELETE FROM agile.report_cache
WHERE report_type='FORMULA_ROLLUP'
AND last_update < (SELECT max(modified_date) FROM agile.bom WHERE item_number LIKE 'F-%');
Long-term Solution:
Implement a monitoring query that alerts when rollup data age exceeds your compliance threshold (you mentioned minutes). This ensures you catch cache issues before they impact regulatory submissions. The synchronous mode will add 2-3 seconds to BOM update operations, but that’s acceptable for compliance-critical workflows.
Test this configuration in your staging environment first, as synchronous rollup can impact performance for bulk BOM operations.
This draft is based on general Oracle Agile PLM knowledge. It has not been verified against your specific version and environment. Practitioners: verify the steps and share your experience below.