| | |
| | | BusinessStatus = erpDto.FStatus, |
| | | ProductCode = erpDto.FMaterialId, |
| | | Unit = erpDto.FUnitID, |
| | | WorkOrderQty = Convert.ToDecimal(erpDto.FQty), |
| | | WorkOrderQty = Convert.ToDouble(erpDto.FQty), |
| | | PlanningGroup = erpDto.FWorkGroupId, |
| | | Planner = erpDto.FPlannerID, |
| | | EstimatedStartTime = |
| | | ParseDateTime(erpDto.FPlanStartDate) ?? null, |
| | | EstimatedEndTime = |
| | | ParseDateTime(erpDto.FPlanFinishDate) ?? null, |
| | | StorageUpperLimit = Convert.ToDecimal(erpDto.FStockInLimitH), |
| | | StorageLowerLimit = Convert.ToDecimal(erpDto.FStockInLimitL), |
| | | StorageUpperLimit = Convert.ToDouble(erpDto.FStockInLimitH), |
| | | StorageLowerLimit = Convert.ToDouble(erpDto.FStockInLimitL), |
| | | TrackingNo = erpDto.FMTONO, |
| | | BatchNo = erpDto.FLot, |
| | | BomVersion = erpDto.FBomId, |
| | |
| | | ErpProductionEntryCode = erpDto.FSUBENTRYID, |
| | | PurchaseOrderNo = erpDto.FPurOrderNo, |
| | | PurchaseOrderEntrySeq = long.Parse(erpDto.FPurOrderEntrySeq), |
| | | StandardPoints = |
| | | Convert.ToDecimal(erpDto.F_UNW_BaseProperty_bzds), |
| | | PricingPoints = |
| | | Convert.ToDecimal(erpDto.F_UNW_BaseProperty_jjds), |
| | | // StandardPoints = |
| | | // Convert.ToDecimal(erpDto.F_UNW_BaseProperty_bzds), |
| | | // PricingPoints = |
| | | // Convert.ToDecimal(erpDto.F_UNW_BaseProperty_jjds), |
| | | StockInQty = Convert.ToDecimal(erpDto.FBaseStockInQty), |
| | | NoStockInQty = Convert.ToDecimal(erpDto.FBaseNoStockInQty), |
| | | NoStockInQty = Convert.ToDouble(erpDto.FBaseNoStockInQty), |
| | | StockOwner = erpDto.FInStockOwnerId |
| | | }; |
| | | |
| | |
| | | { |
| | | SequenceNo = long.Parse(erpDto.FSEQ), |
| | | MaterialCode = erpDto.FMaterialID2, |
| | | RequiredQty = Convert.ToDecimal(erpDto.FMustQty), |
| | | RequiredQty = Convert.ToDouble(erpDto.FMustQty), |
| | | IssuedQty = Convert.ToDecimal(erpDto.FPickedQty), |
| | | LocationNo = erpDto.FPositionNO, |
| | | StockOwner = erpDto.FOwnerID, |
| | |
| | | Process = erpDto.F_UNW_Text_tpgy_Z, |
| | | Unit = erpDto.FUnitID2, |
| | | SupplyingType = erpDto.FSupplyType, |
| | | Numerator = long.Parse(erpDto.FNumerator), |
| | | Denominator = long.Parse(erpDto.FDenominator), |
| | | Numerator = Convert.ToDouble(erpDto.FNumerator), |
| | | Denominator = Convert.ToDouble(erpDto.FDenominator), |
| | | ErpId = erpDto.FPPOMENTRYID, |
| | | ErpHeaderId = erpDto.FPPOMID, |
| | | FixedLoss = Convert.ToDecimal(erpDto.FFixScrapQty), |