internal SetShipmentInformationConductor(IInventoryShipmentOrderUnitOfWork inventoryShipmentOrderUnitOfWork) { if (inventoryShipmentOrderUnitOfWork == null) { throw new ArgumentNullException("inventoryShipmentOrderUnitOfWork"); } _inventoryShipmentOrderUnitOfWork = inventoryShipmentOrderUnitOfWork; }
public SetInterWarehouseOrderPickedInventoryConductor(IInventoryShipmentOrderUnitOfWork inventoryShipmentUnitOfWork) { if (inventoryShipmentUnitOfWork == null) { throw new ArgumentNullException("inventoryShipmentUnitOfWork"); } _inventoryShipmentUnitOfWork = inventoryShipmentUnitOfWork; }
internal CustomerOrderInvoiceConductor(IInventoryShipmentOrderUnitOfWork inventoryShipmentOrderUnitOfWork) { if (inventoryShipmentOrderUnitOfWork == null) { throw new ArgumentNullException("inventoryShipmentOrderUnitOfWork"); } _inventoryShipmentOrderUnitOfWork = inventoryShipmentOrderUnitOfWork; }
internal PendingOrderDetailsConductor(IInventoryShipmentOrderUnitOfWork inventoryShipmentOrderUnitOfWork) { if (inventoryShipmentOrderUnitOfWork == null) { throw new ArgumentNullException("inventoryShipmentOrderUnitOfWork"); } _inventoryShipmentOrderUnitOfWork = inventoryShipmentOrderUnitOfWork; }
public TreatmentOrderPickedInventoryConductor(IInventoryShipmentOrderUnitOfWork inventoryShipmentUnitOfWork) : base(inventoryShipmentUnitOfWork) { }
internal DeleteTreatmentOrderConductor(IInventoryShipmentOrderUnitOfWork unitOfWork) : base(unitOfWork) { }
public SyncCompleteExpiredContracts(IInventoryShipmentOrderUnitOfWork unitOfWork) : base(unitOfWork) { }
internal static IEnumerable <Expression <Func <SalesOrder, SalesOrderDetailReturn> > > SplitSelectDetail(IInventoryShipmentOrderUnitOfWork inventoryUnitOfWork, DateTime currentDate) { var company = CompanyProjectors.SelectSummary(); return(new Projectors <SalesOrder, SalesOrderDetailReturn> { { InventoryShipmentOrderProjectors.SplitSelectInventoryShipmentOrderDetailBase(inventoryUnitOfWork, currentDate, InventoryOrderEnum.CustomerOrder, inventoryUnitOfWork), p => p.Translate().To <SalesOrder, SalesOrderDetailReturn>(o => o.InventoryShipmentOrder) }, o => new SalesOrderDetailReturn { IsMiscellaneous = o.InventoryShipmentOrder.OrderType == InventoryShipmentOrderTypeEnum.MiscellaneousOrder, SalesOrderStatus = o.OrderStatus, PaymentTerms = o.PaymentTerms, ShipFromReplace = o.SoldTo, CreditMemo = o.CreditMemo, InvoiceDate = o.InvoiceDate, InvoiceNotes = o.InvoiceNotes, FreightCharge = o.FreightCharge, Customer = new[] { o.Customer }.Where(c => c != null).Select(c => company.Invoke(c.Company)).FirstOrDefault(), Broker = new[] { o.Broker }.Where(b => b != null).Select(b => company.Invoke(b)).FirstOrDefault() }, { SplitSelectPickOrderDetail(), p => o => new SalesOrderDetailReturn { PickOrder = p.Invoke(o) } } }); }
public SyncContractsStatus(IInventoryShipmentOrderUnitOfWork unitOfWork) : base(unitOfWork) { }