12
Views
2
Comments
How to update product price without effecting purchase history total price
Application Type
Reactive

Greetings, How do i update product price without changing anything in Purchasing menu (Purchase history)...... everytime i tried to change the product price, it will update the total price column of the item in Purchasing Menu





Screenshot 2024-01-30 171015.png
Screenshot 2024-01-30 170855.png
Screenshot 2024-01-30 170807.png
Screenshot 2024-01-30 171114.png
MyBPS.oml
2022-03-29 14-13-57
Hassan Shaddad

hi @Denise Ady
to do that you need to make the product price versioned so in Purchasing  you can mention to the product version the customer tacked 
but be carful as that not the best way as the Purchasing process dose not done yet because the payment dose not finished 

2023-05-23 04-55-55
Wasimkhan Syed Abuthahir

Hi,

You have to store the purchase amount in Purchase table. And while saving purchase you can store the amount like - StockPrice*PurchaseQuantity.

and While updating purchase Record. Do not update the PurchaseAmount.

If PurchasingId=NullIdentifier() -  Update the Purchase amount.

Hope this may help.


Regards,

Wasimkhan S

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.