Announcements
I want to subtract the amount that is in my slider in my sharepoint list when I click on "ADD TO CARD" ... and when I open the cart, if I click on the trash, add again the amount that was in the cart to the list from sharepoint .. I've tried several methods but it's not working.. tried Update(ItemINVENTORY;ThisItem.QTYinINV;ThisItem.QTYinINV-Slider1.Value).. but it didn't workItemInventory= My sharepoint listQTYinINV= item QTY in my sp listIn Cart, QTYinCart= Qty of and item, in my cart..
SOLVED ! in ADDToCARD Button, i added this formulad ForAll(Carrinho;UpdateIf(ItemINVENTORY; ProdutoID = ID; {QTYinINV: ThisItem.QTYinINV - QTYinCart})) and in the trash bin, i added this one ForAll(Carrinho;UpdateIf(ItemINVENTORY; ProdutoID = ID; {QTYinINV: QTYinINV+QTYinCart}));;
Hi @NandoHT99 ,
Glad to see you resolved the issue.
Please consider marking your own reply to close the case. Thanks in advance.
Best Regards,
Wearsky
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 224 Super User 2026 Season 2
WarrenBelz 189 Most Valuable Professional
Mohsin Ali 126