| | |
| | | Purchaseorderentryseq = Convert.ToInt32(erpDto.FPurOrderEntrySeq), |
| | | Stockinqty = Convert.ToDecimal(erpDto.FBaseStockInQty), |
| | | Nostockinqty = Convert.ToDecimal(erpDto.FBaseNoStockInQty), |
| | | Stockowner = erpDto.FInStockOwnerId |
| | | Stockowner = erpDto.FInStockOwnerId, |
| | | PlanConfirmation = erpDto.PlanConfirmation != null |
| | | ? DateTime.ParseExact(erpDto.PlanConfirmation, |
| | | "yyyy-MM-dd HH:mm:ss", null) |
| | | : null, |
| | | ReqSrc = erpDto.FReqSrc, |
| | | SrcSplitSeq = erpDto.SrcSplitSeq, |
| | | Typeb = erpDto.TypeB, |
| | | Typea = erpDto.TypeA, |
| | | }; |
| | | |
| | | var single = base.GetSingle(it => it.ErpId == erpDto.FPPOMID); |
| | |
| | | ItemNo = erpDto.FReplaceGroup, |
| | | OwnerType = erpDto.FOwnerTypeId, |
| | | Owner = erpDto.FOwnerID2, |
| | | Fisgetscrap = erpDto.FISGETSCRAP, |
| | | Fiskeycomponent = erpDto.FISKEYCOMPONENT, |
| | | Fsrctransorgid = erpDto.FSRCTRANSORGID, |
| | | Fsrctransstockid = erpDto.FSRCTRANSSTOCKID, |
| | | Fstockstatusid = erpDto.FSTOCKSTATUSID, |
| | | Fneeddate = erpDto.FNEEDDATE != null |
| | | ? DateTime.ParseExact(erpDto.FNEEDDATE, |
| | | "yyyy-MM-dd HH:mm:ss", null) |
| | | : null, |
| | | Freservetype = erpDto.FRESERVETYPE, |
| | | Fmemo = erpDto.FMEMO, |
| | | ErpProductionEntryCode = erpDto.FSUBENTRYID |
| | | }; |
| | | |