This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Need Help in VBScript

Former Member
Former Member
' Get Contract End Date

Dim szContractEndDate

szContractEndDate = PropertyValues.SearchForProperty( 1306 ).TypedValue.DisplayValue

Dim szDate

szDate = DateSerial(Year(Now), Month(Now), Day(Now))

Dim szDate2

szDate2 = DateAdd("d",-135,szContractEndDate)

szDate = szDate2



I want to set  szDate2 to be trigger date for email notification
Parents
  • I don't see why you would use scripting when you can use built-in product functionality for the same thing? Is there a specific reason you want to do this? (You will likely still need some scripting to calculate the contract end date to a property.)
Reply
  • I don't see why you would use scripting when you can use built-in product functionality for the same thing? Is there a specific reason you want to do this? (You will likely still need some scripting to calculate the contract end date to a property.)
Children
No Data