bug
This commit is contained in:
@@ -140,9 +140,9 @@ namespace Tnb.WarehouseMgr
|
||||
erpRequestData.Add("billmaker",erpCreateId);
|
||||
erpRequestData.Add("creationtime",nowStr);
|
||||
erpRequestData.Add("creator",erpCreateId);
|
||||
erpRequestData.Add("dbilldate",purchase.delivery_date.ToString("yyyy-MM-dd HH:mm:ss"));
|
||||
erpRequestData.Add("dbilldate",purchase.create_time.ToString("yyyy-MM-dd HH:mm:ss"));
|
||||
erpRequestData.Add("dmakedate",nowStr);
|
||||
//erpRequestData.Add("ntotalastnum",purchaseDs.Sum(x=>x.purchase_arriveqty));
|
||||
erpRequestData.Add("ntotalastnum",purchaseDs.Sum(x=>x.purchase_arriveqty));
|
||||
erpRequestData.Add("pk_arriveorder","");
|
||||
// erpRequestData.Add("pk_dept","1001A1100000000JRLI1");
|
||||
// erpRequestData.Add("pk_dept_v","0001A11000000007GGO8");
|
||||
@@ -173,14 +173,14 @@ namespace Tnb.WarehouseMgr
|
||||
["csourcetypecode"] = "",
|
||||
["ctaxcountryid"] = "0001Z010000000079UJJ",
|
||||
["cunitid"] = erpExtendFields.Find(x=>x.table_id==(unitDatas.Find(x=>x.EnCode==item.unit_id)?.Id ?? ""))?.cunitid ?? "",
|
||||
["dbilldate"] = "",
|
||||
["dplanreceivedate"] = "",
|
||||
["dproducedate"] = "",
|
||||
["dbilldate"] = purchase.create_time.ToString("yyyy-MM-dd HH:mm:ss"),
|
||||
["dplanreceivedate"] = purchase.create_time.ToString("yyyy-MM-dd HH:mm:ss"),
|
||||
["dproducedate"] = purchase.create_time.ToString("yyyy-MM-dd HH:mm:ss"),
|
||||
["fbuysellflag"] = 1,
|
||||
["fproductclass"] = 1,
|
||||
["naccumchecknum"] = 0,
|
||||
["nastnum"] = item.purchase_arriveqty,
|
||||
["nnum"] = null,
|
||||
["nnum"] = item.purchase_arriveqty,
|
||||
// ["nplanastnum"] = 0,
|
||||
// ["nplannum"] = item.purchase_qty,
|
||||
["apfinanceorg"] = erpOrg.pk_org,
|
||||
|
||||
Reference in New Issue
Block a user