Skip to main content
I have a custom object, Production, that contains budget sales by day.   I have an Analytical Snapshot that adds actual sales by Opportunity ID to this object.  I have a report that compares the actual sales vs budget sales by day.

 

I am trying to figure out the best way to ensure an Actual Sales only gets added once to Production.  One option is to limit the Analytical report to records which have a last modified day greater than YESTERDAY.  However, if an actual sale is modified for any reason, it would be added again to Production.

 

As an alternative, I could add all the current year sales to Production every day through the Analytical Snapshot.  However, for that to work I'd have to have a method of removing all the "Actual" records imported the prior day.

 

Any ideas are welcome.

 

Thank you,

 

Rick
2 respuestas
  1. 19 abr 2013, 16:22
    Workflows act on single records, so there is no way to delete a record via a workflow.  You'd need to use a trigger for that.