I have a SugarCRM 6.5 application. I have to trigger an email using after_save hook when a record is created(not during update). I know I can use the ...
I have a SugarCRM 6.5 application. I have to trigger an email using after_save hook when a record is created(not during update). I know I can use the ...
I have the Model: Imagine if the follow code is executed, when variable a and b receive the same document and the function update! is executed with ...
So, I have an after_save hook on review model which calls calculate_specific_rating function of product model. The function goes like this: Right n ...
I have above method to do something once a product is updated, but 'after save' is also trigger by create. How can I get trigger only by update but ...
I'm using a closure table to model the hierarchical structure of one of my models. As such, I am using an after_create hook to create the tree_path ob ...
I am trying to maintain the security of my workbook using veryhidden to force users to enable macros. This works great except that users have complai ...
I can't get my macro running in AfterSave or BeforeClose event. I export one sheet to a .csv file, that's already working well with the next code whe ...
model: Logs: And then it repeats the last line again and again until I stop it manually. Can anyone tell me what I'm doing wrong? ...
I have a model ProductOffer inside of it I use afterSave to generate the coupon. Right now the status is null and in aftersave I want to update it. ...
I have a Composition model which has a has_and_belongs_to_many :authors. I need to fire a method after a composition changed its authors, although, s ...
I have job collection and it has a field applicants which is Relation type of class User. Now I want to send a push notification to a user when an ope ...
I want to send push notifications every time the value of a single key of my object changes in a parse cloud code afterSave hook. How can I check i ...
In my application I have models Post & Image. My association are: I use cocoon gem for nested_forms When user is adding images, I have some gl ...
I am trying to do the following code in cloud code: I can see in my logs that "MOD SAVED. NOTIFICATIONS CHECK." and "NEW MOD ADDED> NOTIFICATION ...
I'm new to yii2. I want to write afterSave() method after insert new record. My scenario is: when the user add a damage must be send email to him. Whe ...
I've configured a self-hosted parse server and I need to use the after-save function. After much researching and testing, I got very confused and have ...
I am trying to use after_save call back on cartItems object to update the total cart price attribute in the cart object (parent of cartItems) . But I ...
In my parse-server cloud code, I have one beforeSave and one afterSave function. The beforeSave is a verification about "which user makes the saving" ...
I have submitted a form in my view which will be processed in the controller. What normally happens is that the controller saves the edits by doing th ...
I need to analyse some data after it has been uploaded to Parse and saved but the data is an object that contains an array of other objects... I'm ...