ERPNext Foundation ERPNext Cloud User Manual Blog Discuss Frappé* Donate

To get Batch Number automatically for every warehouse with date



I have a use case wherein I get mangoes to my company from 10 different farmers of three different locations (Warehouses) every week and I want to differentiate each week as a new batch by generating batch number automatically in the PINV based on the warehouse name and date something like WH.YYYYMMDD.

Can anyone plz suggest how can this be achieved.