From cff4f4bf30f7756e3c7755e1bc0b032d37da71a9 Mon Sep 17 00:00:00 2001 From: DeepnaPooja Date: Tue, 8 Sep 2026 13:14:00 +0530 Subject: [PATCH] Add ToLocationId and ToLocationType to delivery task item movement --- Distribution/Features/DeliveryRide/DeliveryTaskService.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Distribution/Features/DeliveryRide/DeliveryTaskService.cs b/Distribution/Features/DeliveryRide/DeliveryTaskService.cs index 8d589d6..265ef1f 100644 --- a/Distribution/Features/DeliveryRide/DeliveryTaskService.cs +++ b/Distribution/Features/DeliveryRide/DeliveryTaskService.cs @@ -176,6 +176,8 @@ public class DeliveryTaskService( FK_ItemId = item.FK_ItemId, FromLocationId = vehicleId, FromLocationType = LocationType.Vehicle, + ToLocationId = StockService.ExternalLocationId, + ToLocationType = LocationType.External, Quantity = item.QuantityFulfilled, Type = MovementType.Sale, ReferenceId = task.FK_OrderId