Data fetching in erpnext

In purchase order doctype Last Purchase Rate should display rates from Divs and other companies as well. How ?

If you wish to obtain the Last Purchase Rate, you will need to implement server/client script logic.

The Last Purchase Rate is also accessible in the Item master. If you aim to retrieve this rate, you can easily do so using the fetch from feature.

I need all old purchase rates for that item in Purchase order .

Required.

ok.thanks

How about checkingThe “Buying Settings”?

Hi @Devops1,

In Buying Settings, a feature is provided to disable or enable the option of displaying the last purchase rate, rather than retrieving the previous rate from the supplier for a specific item.

1 Like