Class Account has reference Task and rule:
If Account.NextContact IS UNDEFINED AND SystemSettings.DaysToNextContact IS DEFINED Then
CREATE Task WITH Task.Account=Account, Task.AddedBy=LoggedInSystemUser, Task.AssignedTo=Account.AssignedTo, Task.Details='Next Contact for account: ' + Account.AccountID, Task.Kind='Business', Task.Type='Contact', Task.Status='to do', Task.TargetDate=CURRENT_DATE+SystemSettings.DaysToNextContact, Task.TargetTime='8.00 AM'
The makes a new Task and adds it to the Account as expected.
But if the user hits the Cancel button and the Account is not created I'm left with a redundant Task record.
I don't see how to avoid this and display the referenced task in a newly created Account.
Also, it should not be necessary since the relevant Task is owned by Account
thanks,
Terry
orphan children
-
- Posts: 595
- Joined: Sun Apr 24, 2005 2:22 am
- Contact: