kseeks
18th December 2015, 13:31
Hi Experts,
I've a requirement where I need to update same field(say, price) in multiple records in the same main table of a satellite session over a change in this input field(i.e: price).
What should I do to avoid recursion of the update in DAL2?
I tried field.update() with dependency hooks, but as it's the same field to updated, how to define dependency over the same field.
Same thing happens at after.save,object() hook.
I even tried db.row.length() function and rcd.<table> variable with table alias to update the same, but no success.
Really appreciate your help.
Thanks.
I've a requirement where I need to update same field(say, price) in multiple records in the same main table of a satellite session over a change in this input field(i.e: price).
What should I do to avoid recursion of the update in DAL2?
I tried field.update() with dependency hooks, but as it's the same field to updated, how to define dependency over the same field.
Same thing happens at after.save,object() hook.
I even tried db.row.length() function and rcd.<table> variable with table alias to update the same, but no success.
Really appreciate your help.
Thanks.