|
|
@ -3316,15 +3316,15 @@ CAST( (a.Quantity-ISNULL(c.LOTQTY,0)) as DECIMAL(18,{0})) as thisCreateQty,isnu |
|
|
|
#region 调用SAP接口(检验合格单为两层结构 一行对应一个序列号)
|
|
|
|
string IsSuccess = ""; |
|
|
|
string ErrorMessage = ""; |
|
|
|
SAPCallBackJYHGDVPNCS.ZWMS_SK_WS_RUKU Client = new SAPCallBackJYHGDVPNCS.ZWMS_SK_WS_RUKU(); |
|
|
|
SAPCallBackJYHGDVPNCS.ZWMS_SK_WS_RUKU1 Info = new SAPCallBackJYHGDVPNCS.ZWMS_SK_WS_RUKU1(); |
|
|
|
SAPCallBackJYHGDVPN.ZWMS_SK_WS_RUKU Client = new SAPCallBackJYHGDVPN.ZWMS_SK_WS_RUKU(); |
|
|
|
SAPCallBackJYHGDVPN.ZWMS_SK_WS_RUKU1 Info = new SAPCallBackJYHGDVPN.ZWMS_SK_WS_RUKU1(); |
|
|
|
Info.NEWID = dt.Rows[i]["ID"].ToString(); |
|
|
|
Info.PRUEFLOS = dt.Rows[i]["DNCode"].ToString(); |
|
|
|
Info.L_LME = System.Decimal.Round(Convert.ToDecimal(dt.Rows[i]["SAPSequence"].ToString()), 3); |
|
|
|
Info.SERNP = ""; |
|
|
|
Info.Z_GERNR = new SAPCallBackJYHGDVPNCS.ZWEBS_GERNR[0]; |
|
|
|
Info.Z_GERNR = new SAPCallBackJYHGDVPN.ZWEBS_GERNR[0]; |
|
|
|
|
|
|
|
SAPCallBackJYHGDVPNCS.ZWMS_SK_WS_RUKUResponse result = new SAPCallBackJYHGDVPNCS.ZWMS_SK_WS_RUKUResponse(); |
|
|
|
SAPCallBackJYHGDVPN.ZWMS_SK_WS_RUKUResponse result = new SAPCallBackJYHGDVPN.ZWMS_SK_WS_RUKUResponse(); |
|
|
|
result = Client.CallZWMS_SK_WS_RUKU(Info); |
|
|
|
if (result.Z_NULL == "N") |
|
|
|
{ |
|
|
|