| | |
| | | JArray Fentity4 = new JArray(); |
| | | JObject FentityModel4 = new JObject(); |
| | | FentityModel4.Add("FEntity_Link_FRuleId", "QM_PURReceive2Inspect"); //单据转换规则 |
| | | FentityModel4.Add("FEntity_Link_FSTableName", "T_PUR_RECEIVEENTRY"); //收料通知单子表 |
| | | FentityModel4.Add("FEntity_Link_FSTableName", "T_PUR_ReceiveEntry"); //收料通知单子表 |
| | | FentityModel4.Add("FEntity_Link_FSBillId", HSLInterID.ToString()); //收料通知单主内码 |
| | | FentityModel4.Add("FEntity_Link_FSId", HSLEntryID.ToString()); //收料通知单子内码 |
| | | FentityModel4.Add("FEntity_Link_FBaseAcceptQty", HRightQty.ToString()); // |
| | |
| | | K3CloudApiClient client = new K3CloudApiClient("http://47.96.97.237/k3cloud"); |
| | | // K3CloudApiClient client = new K3CloudApiClient("http://192.168.80.90/k3cloud/"); |
| | | |
| | | if (oSystemParameter.ShowBill(ref sErr)) |
| | | { |
| | | if (string.Equals(oSystemParameter.omodel.WMS_CampanyName, "锦隆")) |
| | | { |
| | | result0 = InvokeHelper.Save("QM_InspectBill", JsonConvert.SerializeObject(json));//保存 |
| | | } |
| | | } |
| | | //if (oSystemParameter.ShowBill(ref sErr)) |
| | | //{ |
| | | // if (string.Equals(oSystemParameter.omodel.WMS_CampanyName, "锦隆")) |
| | | // { |
| | | // result0 = InvokeHelper.Save("QM_InspectBill", JsonConvert.SerializeObject(json));//保存 |
| | | // } |
| | | //} |
| | | result1 = InvokeHelper.Submit("QM_InspectBill", JsonConvert.SerializeObject(json));//提交 |
| | | result2 = InvokeHelper.Audit("QM_InspectBill", JsonConvert.SerializeObject(json));//审核 |
| | | if (JObject.Parse(result1)["Result"]["ResponseStatus"]["IsSuccess"].ToString().ToUpper() != "TRUE") |