增加生产订单信息输出
This commit is contained in:
@@ -33,7 +33,7 @@ namespace NX.ERP.U8.Store
|
||||
headXml.setAttribute("bomfirst", "0");
|
||||
headXml.setAttribute("biafirst", "0");
|
||||
headXml.setAttribute("brdflag", 1);
|
||||
headXml.setAttribute("ccode", "11");
|
||||
headXml.setAttribute("ccode", storeIn.Code);
|
||||
headXml.setAttribute("ddate", storeIn.Date);
|
||||
headXml.setAttribute("cmaker", storeIn.Maker);
|
||||
headXml.setAttribute("vt_id", new VT().GetDefaltVTID("0411"));
|
||||
@@ -63,9 +63,9 @@ namespace NX.ERP.U8.Store
|
||||
bodyXml.setAttribute("editprop", "A");
|
||||
bodyXml.setAttribute("cbatch", detail.Batch);
|
||||
bodyXml.setAttribute("cposition", detail.Position);
|
||||
var momOrderDetail = momOrder.Details.First(m => { return m.Id == detail.SourceDetailId; });
|
||||
headXml.setAttribute("cmpocode", momOrder.Code);
|
||||
headXml.setAttribute("iproorderid", momOrder.Id);
|
||||
var momOrderDetail = momOrder.ProductDtlLst.First(m => { return m.ProductOrderDtlId == detail.SourceDetailId; });
|
||||
headXml.setAttribute("cmpocode", momOrder.ProductOrderNo);
|
||||
headXml.setAttribute("iproorderid", momOrder.ProductOrderId);
|
||||
domBody.selectSingleNode("//rs:data").appendChild(bodyXml);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user