Article Details
Id: | 10318 |
Product: | finPOWER Connect |
Type: | NEW |
Version: | 1.06.00 |
Opened: | 17/07/2012 |
Closed: | 17/07/2012 |
Released: | 01/08/2012 |
Job: | J010018 |
Account "StatusChangePost" event script; cannot "save" Account in script when new record or a Quote
The event script for Account "StatusChangePost" runs from within an Account.Save when the Account record is first saved and held as a "Quote".
There is an issue if the script attempts to "save" the Account it fails with a warning "An attempt has been made to recursively save record.". Note, this does not produce an error - only a warning.
This occurs because finPOWER Connect detects recursive calls to Save from a script.
A change has been made so that the "StatusChangePost" event occurs after the "save" and therefore the recursion test is bypassed.