You need to sign in to do that
Don't have an account?
Vigneshwaran Loganathan
hi frnz, I have given with a project where i have to write trigger like following
IN OPPORTUNTY WHENEVER THE STAGE IS 100% & CLOSED GO TO CORRESPONDING OPPORTUNITY LINE ITEM AND GET THE PRODUCT CODE AND GO THE PRODUCT OBJECT AND REDUCE THE STOCK FIELD BY THE QTY MENTIONED IN THE OPPORTUNITY LINE ITE
Event: After update
If(StageIsChanged)
get the lineitem qtyt and the corresponding code in a map
Use this map to get the product and do the calculations