Attempted to fix Receipt Update Issue
CIT-187 Added Script to calculate dispatched quantity automatically base on the user preference