コード例 #1
0
        public ActionResult Create()
        {
            ViewBag.ixInboundOrderLine        = new SelectList(_movequeuesService.selectInboundOrderLines().Select(x => new { x.ixInboundOrderLine, x.sInboundOrderLine }), "ixInboundOrderLine", "sInboundOrderLine");
            ViewBag.ixMoveQueueContext        = new SelectList(_movequeuesService.selectMoveQueueContexts().Select(x => new { x.ixMoveQueueContext, x.sMoveQueueContext }), "ixMoveQueueContext", "sMoveQueueContext");
            ViewBag.ixMoveQueueType           = new SelectList(_movequeuesService.selectMoveQueueTypes().Select(x => new { x.ixMoveQueueType, x.sMoveQueueType }), "ixMoveQueueType", "sMoveQueueType");
            ViewBag.ixOutboundOrderLine       = new SelectList(_movequeuesService.selectOutboundOrderLines().Select(x => new { x.ixOutboundOrderLine, x.sOutboundOrderLine }), "ixOutboundOrderLine", "sOutboundOrderLine");
            ViewBag.ixPickBatch               = new SelectList(_movequeuesService.selectPickBatches().Select(x => new { x.ixPickBatch, x.sPickBatch }), "ixPickBatch", "sPickBatch");
            ViewBag.ixSourceHandlingUnit      = new SelectList(_movequeuesService.selectHandlingUnits().Select(x => new { x.ixHandlingUnit, x.sHandlingUnit }), "ixHandlingUnit", "sHandlingUnit");
            ViewBag.ixSourceInventoryLocation = new SelectList(_movequeuesService.selectInventoryLocations().Select(x => new { x.ixInventoryLocation, x.sInventoryLocation }), "ixInventoryLocation", "sInventoryLocation");
            ViewBag.ixSourceInventoryUnit     = new SelectList(_movequeuesService.selectInventoryUnits().Select(x => new { x.ixInventoryUnit, x.sInventoryUnit }), "ixInventoryUnit", "sInventoryUnit");
            ViewBag.ixStatus                  = new SelectList(_movequeuesService.selectStatuses().Select(x => new { x.ixStatus, x.sStatus }), "ixStatus", "sStatus");
            ViewBag.ixTargetHandlingUnit      = new SelectList(_movequeuesService.selectHandlingUnits().Select(x => new { x.ixHandlingUnit, x.sHandlingUnit }), "ixHandlingUnit", "sHandlingUnit");
            ViewBag.ixTargetInventoryLocation = new SelectList(_movequeuesService.selectInventoryLocations().Select(x => new { x.ixInventoryLocation, x.sInventoryLocation }), "ixInventoryLocation", "sInventoryLocation");
            ViewBag.ixTargetInventoryUnit     = new SelectList(_movequeuesService.selectInventoryUnits().Select(x => new { x.ixInventoryUnit, x.sInventoryUnit }), "ixInventoryUnit", "sInventoryUnit");

            return(View());
        }