I want to insert supplier quotation/customer quotation reference to particular item price whenever its created. is there any way that we can pass these details up on creating a new item price from any of above documents? as it will be easy to trace the pricing source.
If you want to add a new price for an item from a supplier quotation in ERPNext, the script provided will do it correctly. However, if the price for that item already exists, the script won’t do anything. To handle updating existing item prices, you’ll need to develop an updated script.