Skip to main content
Kris Webster a posé une question dans #Data Management
I am in need of a way to stamp the date that a field changes to a specific status. 

 

The field is titled "Payment Status" and is a formula field related to the Transaction object. Basically the payment status is derived from the outstanding value of the related transaction, and the formula for the field looks like this. 

 

 

if( NOT( ISPICKVAL( c2g__InvoiceStatus__c, 'Complete' ) ),

'Not Applicable',

if( c2g__Transaction__r.c2g__DocumentOutstandingTotal__c == 0,'Paid',

if( c2g__Transaction__r.c2g__DocumentTotal__c == c2g__Transaction__r.c2g__DocumentOutstandingTotal__c, 'Unpaid',

'Part Paid' ) ) )

What I need to achieve is a way to stamp the date that the payment status is changed to "Paid." 

 

What I have attempted to do is to create a workflow that tracks the Payment Status field and when the Payment Status field becomes "Paid" the workflow action is set to update the "Payment Date" field with TODAY().

 

The issue with this is that since the payment status field is a formula field (and the value within the field is derived automaticlaly from other perameters in the related object) and is not manually updated, the workflow does not detect the field change, thus not updating the Payment Date field. 

 

Is there any way to work around this ? I have been searching high and low and can not come up with an answer. 

 

I appreciate any help!! THANKS ! 
5 réponses
  1. 15 janv. 2019, 20:14
    What if the Document Oustanding Total field is a roll up summary field ? will this still work?
0/9000