As there is a requirement like Lot number generation when ever GR is done.
For each material Lot Number is defined by the client.
And there is partial receipt of Goods.
Whenever you do GR system automatically generates Lot number.
So we need when ever we do GR system should generate Lot number once the
Lot size as defined is completed.