Function para Workflow en salesforce


/ Published in: Other
Save to your folder(s)



Copy this code and paste it in your HTML
  1. IF(DAY(Start_Date__c) >1, DATE(YEAR(Start_Date__c + (365/12)*Membership_term_Months__c), (IF((MONTH(Start_Date__c + (365/12)*Membership_term_Months__c)+2)>12,(MONTH(Start_Date__c + (365/12)*Membership_term_Months__c)+2)-12, (MONTH(Start_Date__c + (365/12)*Membership_term_Months__c)+2)))
  2. , 1), DATE(YEAR(Start_Date__c+(365/12)*Membership_term_Months__c), (IF((MONTH(Start_Date__c + (365/12)*Membership_term_Months__c)+1)>12,(MONTH(Start_Date__c + (365/12)*Membership_term_Months__c)+1)-12, (MONTH(Start_Date__c + (365/12)*Membership_term_Months__c)+1))),1))

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.