ivylabs / suitecrm-data-integration

6 stars 5 forks source link

Add Campaign measures to F_CAMPAIGN_MANAGEMENT Demo Data #78

Closed harrisward closed 3 years ago

harrisward commented 3 years ago

We need to add value for:

Budget Cost Expected Cost Expected Revenue

harrisward commented 3 years ago

We need to calculate the campaign start and end dates based on the following logic.

Lookup the min / max create dates of all leads that are associated with the campaign in question. Use those dates with a buffer of a few days to populate the campaign start date amn end date