How to get Quantity for Item in a selected Batch?

Hello,

In Purchase Receipt → Items when an Item is added I want to show Quantity on Hand for the Item when Batch is selected.

How can we do this?

TIA

Yogi Yang

1 Like

Hi @YogiYang,

As per my understanding,

First, create a new custom field like batch qty in the purchcase receipt item and fetch from a value set like batch_no.batch_qty because batch qty is available in the batch doctype.

When you select batch then available qty or Stock qty will appear.

Maybe it helps you.

Thank You!

1 Like