| | |
| | | if (single != null) mesRohIn.Guid = single.Guid; |
| | | mesRohIn.EbelnK3id = eid; |
| | | mesRohIn.BillNo = rohIn.FBillNo; |
| | | mesRohIn.DocumentStatus = rohIn.FDocumentStatus; |
| | | mesRohIn.DocumentType = rohIn.FBillTypeID; |
| | | mesRohIn.BusinessType = rohIn.FBusinessType; |
| | | /*if (rohIn.FDate != null) |
| | |
| | | mesRohIn.PaymentParty = rohIn.FChargeId; |
| | | mesRohIn.Email = rohIn.FProviderEMail; |
| | | mesRohIn.Remarks = rohIn.Remarks; |
| | | mesRohIn.CancellationStatus = rohIn.FCancelStatus; |
| | | mesRohIn.CancellationPerson = rohIn.FCancellerId; |
| | | /*if (rohIn.FCancelDate != null) |
| | | if (!mesRohIn.CancellationPerson.IsNullOrEmpty()) |
| | |
| | | mesRohIn.Address = rohIn.Address; |
| | | mesRohIn.Acctype = rohIn.Acctype; |
| | | mesRohIn.SynchronousDate = DateTime.Now; |
| | | mesRohIn.DocumentStatus = "C"; |
| | | mesRohIn.CancellationStatus = "A"; |
| | | |
| | | return mesRohIn; |
| | | } |
| | |
| | | SupplierItemName = s.FSupMatName, |
| | | OutsourcingOrderId = s.FSUBREQBILLNO, |
| | | BatchNumber = s.FLot, |
| | | BusinessClose = s.FMRPCloseStatus, |
| | | BusinessFreeze = s.FMRPFreezeStatus, |
| | | // BusinessClose = s.FMRPCloseStatus, |
| | | // BusinessFreeze = s.FMRPFreezeStatus, |
| | | BusinessClose = "A", |
| | | BusinessFreeze = "A", |
| | | Freezer = s.FFreezerId, |
| | | BusinessTerminate = s.FMRPTerminateStatus, |
| | | // BusinessTerminate = s.FMRPTerminateStatus, |
| | | BusinessTerminate = "A", |
| | | Terminator = s.FTerminaterId, |
| | | TotalReceivedQty = Convert.ToDecimal(s.FReceiveQty), //累计收料数 |
| | | RemainingReceivedQty = |
| | |
| | | DemandDocumentId = s.FDEMANDBILLNO, |
| | | DemandDocumentLineId = s.FDEMANDBILLENTRYSEQ, |
| | | DemandOrg = s.FRequireOrgId, |
| | | ReceivingOrg = s.FReceiveOrgId, |
| | | // ReceivingOrg = s.FReceiveOrgId, |
| | | ReceivingOrg = "1", |
| | | SettlementOrg = s.FEntrySettleOrgId, |
| | | PurchaseOrderLineNumber = s.FSEQ, |
| | | Demand = s.FRequireOrgId, |
| | |
| | | { |
| | | entity.ItemId = mesItems.Id.ToString(); |
| | | } |
| | | |
| | | //BUSINESS_TERMINATE = 'A',RECEIVING_ORG = 1 |
| | | |
| | | |
| | | var single = rohInDataManager.GetSingle(it => |
| | | it.EbelnK3id == entity.EbelnK3id); |