Merge pull request #32102 from s-aga-r/fix/v14/stock-entry/send-to-subcontractor

fix: consider Stock Entry purpose while getting total supplied qty