Send email on record change
- Single Page
Posted 03 February 2013 - 03:36 AM
Posted 03 February 2013 - 17:00 PM
more info here: www.grocerycrud.com/documentation/options_functions/callback_after_update
Posted 05 February 2013 - 16:25 PM
This worked perfectly, thanks!
Posted 01 April 2013 - 07:35 AM
Hi guys,
i am sending an email on callback_after_update and callback_after_insert..
Email View is sent without any issue... but not able to send any columns from the updated or inserted record into the email view.
just stuck on this only
Posted 01 April 2013 - 08:15 AM
Actually i am able to pass array successfully and show all fields when i add and update.
Just one issue now.. there is one field receipt_no which is sent as subject only when a record is inserted ... but on update this field does not get passed.
This field is hidden and autogenerated. this autogeneration should happen only while inserting record.. so i have not added it to the edit_fields function.
i guess that is the reason its not there in the array whilst doing callback on update any fixes..
Posted 01 April 2013 - 09:16 AM
Actually i am able to pass array successfully and show all fields when i add and update.
Just one issue now.. there is one field receipt_no which is sent as subject only when a record is inserted ... but on update this field does not get passed.
This field is hidden and autogenerated. this autogeneration should happen only while inserting record.. so i have not added it to the edit_fields function.
i guess that is the reason its not there in the array whilst doing callback on update any fixes..
I don't quite follow your thinking...
Ok, you auto generate this field. This is not stored anywhere while inserting a new record? On an existing field?
Posted 01 April 2013 - 09:19 AM
I don't quite follow your thinking...
Ok, you auto generate this field. This is not stored anywhere while inserting a new record? On an existing field?
Autogenerated field is stored in database.. but is hidden in the form..