private void CreateNegativePickList(IDerivation derivation, CustomerShipment shipment, SalesOrderItem orderItem, decimal quantity) { if (this.ExistShipToParty) { var pickList = new PickListBuilder(this.Strategy.Session) .WithCustomerShipmentCorrection(shipment) .WithShipToParty(this.ShipToParty) .WithStore(this.Store) .Build(); pickList.AddPickListItem(new PickListItemBuilder(this.Strategy.Session) .WithInventoryItem(orderItem.ReservedFromNonSerialisedInventoryItem) .WithRequestedQuantity(0 - quantity) .Build()); } }
private void CreateNegativePickList(IDerivation derivation, CustomerShipment shipment, Allors.Domain.SalesOrderItem orderItem, decimal quantity) { if (this.ExistShipToParty) { var pickList = new PickListBuilder(this.Strategy.Session) .WithCustomerShipmentCorrection(shipment) .WithShipToParty(this.ShipToParty) .WithStore(this.Store) .Build(); pickList.AddPickListItem(new PickListItemBuilder(this.Strategy.Session) .WithInventoryItem(orderItem.ReservedFromInventoryItem) .WithRequestedQuantity(0 - quantity) .Build()); } }