Hi Everyone,
I have a BO called 'Project' which stores information about construction projects. I want the attribute 'Project.Status' to automaticly update if certian conditions are met but i can't work out the rules to make this work,
Here is where i have got to.....
If Project.QuoteDate IS DEFINED Then
Project.Status='Quoted' ELSE
If Project.StartDate<CURRENT_DATE AND Project.StartDate IS DEFINED Then
Project.Status='Waiting to Start' ELSE
If Project.StartDate>CURRENT_DATE AND Project.StartDate IS DEFINED Then
Project.Status='Project Started' ELSE
If Project.CompletionDate>CURRENT_DATE AND Project.CompletionDate IS DEFINED Then
Project.Status='Completed' ELSE
Project.Status='Inquiry'
Any help greatly appriciated 🙂
Thanks