| | |
| | | Erpid = Convert.ToInt64(dto.Id), |
| | | Caa001 = dto.FBillNo, |
| | | Caa021 = dto.FWorkShopID, |
| | | RoutingId = dto.FRoutingId, |
| | | WorkShopId = dto.FREMWorkShopId, |
| | | DepotCode = dto.FStockId, |
| | | CreateDate = dto.FDate, |
| | | Caa004 = dto.FBillType, |
| | |
| | | Caa016 = dto.FDescription, |
| | | //BTBZ = dto.BTBZ, |
| | | PrdOrg = dto.FPrdOrgId, |
| | | TrustOrg = dto.FEnTrustOrgId |
| | | //Typea = dto.TypeA |
| | | TrustOrg = dto.FEnTrustOrgId, |
| | | Bomtype = dto.FBOMType, |
| | | Bommaster = dto.FBOMMaster, |
| | | Bomaltrnate = dto.FBOMAlternate, |
| | | Bomeffedate = dto.FBOMEffeDate, |
| | | Routingalternate = dto.FRoutingAlternate, |
| | | Routingeffedate = dto.FRoutingEffeDate, |
| | | Mrpqty = dto.FMRPQty, |
| | | Actualstartdate = dto.FActualStartDate, |
| | | Actualcompletedate = dto.FActualCompleteDate, |
| | | Mosourcedoctype = dto.FMOSourceDocType, |
| | | Project = dto.FProject, |
| | | Ownerorg = dto.FOwnerOrg, |
| | | Createdby = dto.FCreatedBy, |
| | | Createdon = dto.FCreatedOn, |
| | | Totalstartqty = dto.FTotalStartQty, |
| | | Totalcompleteqty = dto.FTotalCompleteQty, |
| | | Totalrcvqty = dto.FTotalRcvQty, |
| | | Totalreworkingqty = dto.FTotalReworkingQty, |
| | | Reasonforrework = dto.FReasonForRework, |
| | | Isforcewholeset = dto.FIsForceWholeSet, |
| | | Typea = dto.TypeA |
| | | }; |
| | | |
| | | |
| | |
| | | PositionNo = dto.FPositionNO, |
| | | SupplyOrganization = dto.FChildSupplyOrgId, |
| | | IssuingOrganization = dto.FSupplyOrg, |
| | | OwnerId = dto.FOwnerID, |
| | | Mtono = dto.FMTONO, |
| | | Lot = dto.FLot, |
| | | DepotCode = dto.FStockID, |
| | |
| | | UseRate = !string.IsNullOrEmpty(dto.FUseRate) |
| | | ? Convert.ToDecimal(dto.FUseRate) |
| | | : null, |
| | | MaterialType = dto.FMaterialType, |
| | | |
| | | Cab014 = !string.IsNullOrEmpty(dto.FIsKeyItem) |
| | | ? Convert.ToInt64(dto.FIsKeyItem) |
| | | : null, |
| | |
| | | Scraprate = !string.IsNullOrEmpty(dto.FScrapRate) |
| | | ? Convert.ToDecimal(dto.FScrapRate) |
| | | : null, |
| | | Project = dto.FProject, |
| | | Bomreqqty = dto.FBOMReqQty, |
| | | Materialtype = dto.FMaterialType, |
| | | IsOverIssue = dto.FIsOverIssue, |
| | | StandardMaterialscale = dto.FStandardMaterialScale, |
| | | Fixedmaterialnum = dto.FFixedMaterialNum, |
| | | IsSubstitute = dto.FIsSubstitute, |
| | | Substituteditem = dto.FSubstitutedItem, |
| | | Issueuom = dto.FIssueUOM, |
| | | Qpa = dto.FQPA, |
| | | Scraptype = dto.FScrapType, |
| | | Bfopportunity = dto.FBFOpportunity, |
| | | Supplywh = dto.FSupplyWh, |
| | | Mocompletesetcheck = dto.FMOCompleteSetCheck, |
| | | Mostartsetcheck = dto.FMOStartSetCheck, |
| | | Iscoupleissue = dto.FIsCoupleIssue, |
| | | FDescription = dto.FDescription, |
| | | TypeB = dto.TypeB |
| | | // WR_F_XIFG_Base_qtr = dto.F_XIFG_Base_qtr, |
| | | // WR_F_XIFG_Base_83g = dto.F_XIFG_Base_83g |
| | | |
| | | }; |
| | | |
| | | var entity = Db.Queryable<Womcab>() |