Batchwise stock availability

Batchwise stock availability

If my Batch no. comes into existence in December 2021 (For Example 20th December 2021) through Bill. 

If I try to make sales transaction of November 2021 I am able to use abovementioned Batch. This is really error on Zoho programming level. Because in November month batch was not in existence at all. Zoho should not allow the same.