Jump to content

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

Recommended Posts

  • Newbies
Posted

I need to create a calculation that will notify me every 90 days that a notification letter needs to go out. I will have the open date of a case but I don't know how to make it calculate and notify me every time the 90 day timeline comes up.

Posted

Your actual requirement is probably a little more complex. What if the 90th day comes on a Saturday when the database isn't opened? By Monday, it's the 92nd day and the flag is no longer set. The calculation to detect a 90 day interval is easy enough:

Ntimes90Flag (calculation, number) = not Mod(Status(CurrentDate) - open date, 90)

But, it probably isn't exactly what you want.

-bd

Posted

What do you guys think about a scripted setup where you have two fields?B)

Open Date

LastPDate (Last letter print date)

Make a script to set LastPDate to Date_NewRec

Then manually perform this find on LastPDate

<=//-90

Then make this script:

Set error capture (on)

Perform Find (Restore)

If [status(CurrentFoundCount) = 0]

Exit Script

Else

Set Field ["LastPDate", "Status(CurrentDate)]

Go to Layout [90 day letter layout]

Enter Preview Mode

Print [ ]

Go to Layout [original]

Enter Browse Mode

Show All Records

Show all records and you can perform this script. I haven't tested this or thought it completely through, so forgive me if I left something out. You could even make this script run at startup to make the process easy.

Ken

This topic is 8163 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.