Merge pull request #26663 from rohitwaghchaure/develop-fixed-serial-no-not-link-to-batch-error

fix: serial no and batch validation