Maximus, it still not working. as you see in the quote i've added 1 quantity but the quantity number in the product still 25. it didn't turn to 24.
i don't think this is because i forget to add (";") because the formula was working in the pictures at the comment #10 and #12.
this is the formula:
quantity = quantity - targetEntity\attribute('quantity');
quantity = quantity - (targetEntity\attribute('quantity') - targetEntity\attributeFetched('quantity'));
i don't think this is because i forget to add (";") because the formula was working in the pictures at the comment #10 and #12.
this is the formula:
quantity = quantity - targetEntity\attribute('quantity');
quantity = quantity - (targetEntity\attribute('quantity') - targetEntity\attributeFetched('quantity'));
Comment