fix: incorrect available qty for backdated stock reco with batch (#37858) * fix: incorrect available qty for backdated stock reco with batch * test: added test case (cherry picked from commit d4c0dbfacc7e99da6cba2c5d389f0a662490b0eb) Co-authored-by: rohitwaghchaure <rohitw1991@gmail.com>