function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Sachin Prasad 16Sachin Prasad 16 

process

Hi All,
I have created a field for Gifts Sold Final on product for stock management.
Such that when a product is added to opportunity its quantity is subtracted from Gifts Stock through a process builder which runs on every opportunity (Every time it's edited) that has line item and updates it's quantity in stock. It works fine for the first time with product quantity however if a product quantity is changed after adding it to opportunity the same is not updated in stock.
Please let me know if i have missed on something.
Thanks in advance.


User-added image
Process Builder
The object is opportunity product and criteria is everytime it's edited.

User-added image