Update Variable value for RITM

Joyal Robert
Tera Contributor

Hi All,

I need to write a before business rule
I need to apply certain condition based on RITM which are
1.Catalog Item should be "abc" for the associate RITM
2. if anyone tries to update the value of the variable present in the RITM through variable (sc_item_option") table, i need to update to new value. For example: If anyone changes the variable field "status" value to "a" through api in variable table, I need to immediately update the value of variable to 'b' for the associated RITM in variable table in the field 'value' through business rule.
3. Third scenario, we have couple of checkbox variable field namely, i.e x,y,z,n,m,e,h for associated RITM. If user updates/make it as true, the value of these variable fields through api in variable table and updates variable field "status" value to "cd" through api; I need to update the "status" variable field value to 'c' automatically through business rule.

Please help this on priority.


Thanks,
Joyal Robert

0 REPLIES 0