hi,
how can I display the account_name and the case number in the notification email body in case of a new case? when I modify the assigned user of an existing case the account name and case number are shown correct in the body of email (as long as I do not modify them too...). (btw it sounds pretty strange to me that the email is sent before save.)
thx
-- update --
it was my fault. I set the account_name field disabled. changed to readonly solved the problem.
although i still do not understand this:
Note: With certain modules, like Cases and Bugs, the human-readable ID of the record (like the case_number field in the Case module), is not available within a before_save call. This is because this business logic simply hasn't been executed yet.
(source here)


LinkBack URL
About LinkBacks



Reply With Quote
Bookmarks