public void BasePutOnHold(CustomerShipmentPutOnHold method) { foreach (PickList pickList in this.ShipToParty.PickListsWhereShipToParty) { if (this.Store.Equals(pickList.Store) && !pickList.ExistPicker) { pickList.Hold(); } } this.ShipmentState = new ShipmentStates(this.Strategy.Session).OnHold; }
public void AppsPutOnHold(CustomerShipmentPutOnHold method) { foreach (PickList pickList in this.ShipToParty.PickListsWhereShipToParty) { if (this.Store.Equals(pickList.Store) && !pickList.IsNegativePickList && !pickList.ExistPicker) { pickList.Hold(); } } this.CurrentObjectState = new CustomerShipmentObjectStates(this.Strategy.Session).OnHold; }