User Story:
As a financial manager,
I need the system to automatically update the net revenue of an event record whenever there are changes to its gross revenue or total expenses,
So that we can ensure real-time accuracy of our financial reporting and provide stakeholders with up-to-date information on the financial status of our events.
Acceptance Criteria:
- The CAMPX__NetRevenue__c of an CAMPX__Event__c record should always reflect the formula:
CAMPX__GrossRevenue__c - CAMPX__TotalExpenses__c
- If either CAMPX__GrossRevenue__c or CAMPX__TotalExpenses__c are blank, the CAMPX__NetRevenue__c should be blank