Modify XML Extract, add new condition case WHEN a.Id_Movement_Type = '0' AND a.Id_Movement_SubType in ('244','250') THEN (case when a.Destination_Id_Store = 10363 then a.Destination_Id_Store else a.ID_Store end) ELSE a.Id_Store END
