+ Start a Discussion
Ty WhitfieldTy Whitfield 

PageBlockTable Calculations Without Commit

I have a pageBlockTable that has things like Price, Discount and Total Price that are being populated by OpportunityLineItem List.  However, I need to add two Input fields (Upgrade Discount and New List Price) in each row.  When a user updates the Upgrade Discount for that Line Item, calculate what the new List price will be.

So in the screenshot below you can see that I want to adjust the New List Price for Test Product 2 after entering 30 .  The New List Price should be the List Price ($25,900) - the Upgrade Discount (30%)

User-added image