Add external location handling to stock movement processes

This commit is contained in:
2026-09-08 13:17:01 +05:30
parent 7e362be304
commit 2053b61965
5 changed files with 9 additions and 2 deletions
@@ -251,6 +251,8 @@ public class SaleService(
FK_ItemId = item.FK_ItemId,
FromLocationId = vehicleId.Value,
FromLocationType = LocationType.Vehicle,
ToLocationId = StockService.ExternalLocationId,
ToLocationType = LocationType.External,
Quantity = item.QuantityFulfilled,
Type = MovementType.Sale,
ReferenceId = order.Id