|
@ -22,7 +22,7 @@ namespace Win_in.Sfs.Scp.v1.EntityFrameworkCore |
|
|
&& p.PartCode == tbReceiptDetail.PartCode); |
|
|
&& p.PartCode == tbReceiptDetail.PartCode); |
|
|
if (current == null) |
|
|
if (current == null) |
|
|
{ |
|
|
{ |
|
|
ret = await InsertAsync(tbReceiptDetail); |
|
|
ret = await InsertAsync(tbReceiptDetail, autoSave: true); |
|
|
|
|
|
|
|
|
LogHelper.LogInformation("TB_RECEIVE_QAD不存在!Site = " + tbReceiptDetail.Site + " ErpRecvBillNum = " + |
|
|
LogHelper.LogInformation("TB_RECEIVE_QAD不存在!Site = " + tbReceiptDetail.Site + " ErpRecvBillNum = " + |
|
|
tbReceiptDetail.ErpRecvBillNum + " PoLine = " + tbReceiptDetail.PoLine + " BillType = " + tbReceiptDetail.BillType + " CreateTime = " + tbReceiptDetail.CreateTime + |
|
|
tbReceiptDetail.ErpRecvBillNum + " PoLine = " + tbReceiptDetail.PoLine + " BillType = " + tbReceiptDetail.BillType + " CreateTime = " + tbReceiptDetail.CreateTime + |
|
@ -54,7 +54,7 @@ namespace Win_in.Sfs.Scp.v1.EntityFrameworkCore |
|
|
" State = " + tbReceiptDetail.State + " qty = " + tbReceiptDetail.Qty + " DockCode = " + tbReceiptDetail.DockCode + " Batch =" + tbReceiptDetail.Batch + |
|
|
" State = " + tbReceiptDetail.State + " qty = " + tbReceiptDetail.Qty + " DockCode = " + tbReceiptDetail.DockCode + " Batch =" + tbReceiptDetail.Batch + |
|
|
" VendBatch = " + tbReceiptDetail.VendBatch + " Remark =" + tbReceiptDetail.Remark + " PoUnit= " + tbReceiptDetail.PoUnit + " Rate =" + tbReceiptDetail.Rate |
|
|
" VendBatch = " + tbReceiptDetail.VendBatch + " Remark =" + tbReceiptDetail.Remark + " PoUnit= " + tbReceiptDetail.PoUnit + " Rate =" + tbReceiptDetail.Rate |
|
|
); |
|
|
); |
|
|
ret = await UpdateAsync(current); |
|
|
ret = await UpdateAsync(current, autoSave: true ); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
return ret; |
|
|
return ret; |
|
|