Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 5128 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hi All,

I have a simple DB with contacts and insurance contracts that have an ending date.

What I would like to do is to trigger a search that will look at the ending dates and give me an alert for the latter minus 30 days.

Example: John Hardy's Contract ends on January 15th 2011.

I would like to have it appear as a result of my search so I can send him his new contract.

That's the general idea.

A simple and clear script would be nice.

Could somebody help please.

Thanks

Posted (edited)

I can't offer you a script, because I'd need your file!

However, all you need in your insurance contracts table is a flag field unstored calc that equals 1 if the contract ending date -30 is equal to or less than today.*

Then, simply find all records where the flag = 1. You can then, gtrr insurance contracts to contacts and do whatever.

*You'll also need a field that indicates whether or not the contract was "renewed," and include in the flag calc that Date_Renewed is empty. Otherwise, all expired contracts will continue to evaluate as needing renewal.

Edited by Guest
Posted (edited)

Of course he could do that! Over-engineered a bit, huh? (Remember to also include where Date_Renewed is empty)

Edited by Guest

This topic is 5128 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.