Browse Source

调整形态转换接口

master
lilili 2 years ago
parent
commit
aa4526e27a
  1. 24
      ICSSoft.WMS.WebAPI/ICSSoft.DataProject/ICSSoft.DataProject.csproj
  2. 19
      ICSSoft.WMS.WebAPI/ICSSoft.DataProject/ICSSubmitService.cs
  3. 120
      ICSSoft.WMS.WebAPI/ICSSoft.DataProject/ICSWareHouseService.cs
  4. 13
      ICSSoft.WMS.WebAPI/ICSSoft.DataProject/Properties/Settings.Designer.cs
  5. 3
      ICSSoft.WMS.WebAPI/ICSSoft.DataProject/Properties/Settings.settings
  6. 529
      ICSSoft.WMS.WebAPI/ICSSoft.DataProject/Web References/SAPCallBackDocVPNCS/Reference.cs
  7. 6
      ICSSoft.WMS.WebAPI/ICSSoft.DataProject/Web References/SAPCallBackDocVPNCS/Reference.map
  8. 10
      ICSSoft.WMS.WebAPI/ICSSoft.DataProject/Web References/SAPCallBackDocVPNCS/ZWMS_SK_WS_PZResponse.datasource
  9. 194
      ICSSoft.WMS.WebAPI/ICSSoft.DataProject/Web References/SAPCallBackDocVPNCS/document.wsdl
  10. 4
      ICSSoft.WMS.WebAPI/ICSSoft.DataProject/app.config
  11. 5
      ICSSoft.WMS.WebAPI/ICSSoft.Entity/ICSMTDocModel.cs

24
ICSSoft.WMS.WebAPI/ICSSoft.DataProject/ICSSoft.DataProject.csproj

@ -89,6 +89,11 @@
<DesignTime>True</DesignTime>
<DependentUpon>Reference.map</DependentUpon>
</Compile>
<Compile Include="Web References\SAPCallBackDocVPNCS\Reference.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>Reference.map</DependentUpon>
</Compile>
<Compile Include="Web References\SAPCallBackDocVPN\Reference.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
@ -121,6 +126,14 @@
<None Include="Web References\SAPCallBackDispatchVPN\ZWMS_SK_DO_GZResponse.datasource">
<DependentUpon>Reference.map</DependentUpon>
</None>
<None Include="Web References\SAPCallBackDocVPNCS\document.wsdl" />
<None Include="Web References\SAPCallBackDocVPNCS\Reference.map">
<Generator>MSDiscoCodeGenerator</Generator>
<LastGenOutput>Reference.cs</LastGenOutput>
</None>
<None Include="Web References\SAPCallBackDocVPNCS\ZWMS_SK_WS_PZResponse.datasource">
<DependentUpon>Reference.map</DependentUpon>
</None>
<None Include="Web References\SAPCallBackDocVPN\document.wsdl" />
<None Include="Web References\SAPCallBackDocVPN\Reference.map">
<Generator>MSDiscoCodeGenerator</Generator>
@ -145,6 +158,17 @@
<WebReferences Include="Web References\" />
</ItemGroup>
<ItemGroup>
<WebReferenceUrl Include="http://58.210.216.118:8072/sap/bc/srt/wsdl/bndg_EDB726E6976D07F194F30050569113DA/wsdl11/allinone/ws_policy/document%3fsap-client=900">
<UrlBehavior>Dynamic</UrlBehavior>
<RelPath>Web References\SAPCallBackDocVPNCS\</RelPath>
<UpdateFromURL>http://58.210.216.118:8072/sap/bc/srt/wsdl/bndg_EDB726E6976D07F194F30050569113DA/wsdl11/allinone/ws_policy/document%3fsap-client=900</UpdateFromURL>
<ServiceLocationURL>
</ServiceLocationURL>
<CachedDynamicPropName>
</CachedDynamicPropName>
<CachedAppSettingsObjectName>Settings</CachedAppSettingsObjectName>
<CachedSettingsPropName>ICSSoft_DataProject_SAPCallBackDocVPNCS_ZWMS_SK_WS_PZ</CachedSettingsPropName>
</WebReferenceUrl>
<WebReferenceUrl Include="http://erpprd6.neway.com.cn:8000/sap/bc/srt/wsdl/bndg_EDFDF9FBF2FB23F189ED005056B73506/wsdl11/allinone/ws_policy/document%3fsap-client=900 ">
<UrlBehavior>Dynamic</UrlBehavior>
<RelPath>Web References\SAPCallBackDocVPN\</RelPath>

19
ICSSoft.WMS.WebAPI/ICSSoft.DataProject/ICSSubmitService.cs

@ -7686,7 +7686,7 @@ WHERE WorkPoint='{0}' AND Quantity>ISNULL(TransferQuantity, 0) order by Transfer
foreach (var data in item.DetailModels)
{
//修改源头单据
ICSWareHouseService.MTDoc(item.TransCode, item.TransSequence, data.Quantity, item.WorkPoint, cmd, language);
ICSWareHouseService.MTDoc(item.TransCode, item.TransSequence, item.User, data.Quantity, item.WorkPoint, cmd, language);
TransType = item.Type;
//单据类型 12:按单转移 13:按物料转移
if (TransType == "13")
@ -7695,17 +7695,34 @@ WHERE WorkPoint='{0}' AND Quantity>ISNULL(TransferQuantity, 0) order by Transfer
sql.Append($@"UPDATE ICSWareHouseLotInfo SET InvCode='{item.AfterInvCode}' WHERE LotNo='{data.LotNo}' AND WorkPoint='{item.WorkPoint}' AND InvCode='{item.BeforInvCode}' AND WarehouseCode='{item.WHCode}';
UPDATE ICSWareHouseLotInfoLog SET InvCode='' WHERE LotNo='{data.LotNo}' AND WorkPoint='{item.WorkPoint}' AND InvCode='{item.BeforInvCode}' ;
UPDATE ICSInventoryLot SET InvCode='{item.AfterInvCode}' WHERE LotNo='{data.LotNo}' AND InvCode='{item.BeforInvCode}' AND WorkPoint='{item.WorkPoint}' AND ExtensionID='{item.BeforExtensionID}';");
sql.Append($@"INSERT INTO [dbo].[ICSWareHouseLotInfoLog] ([ID], [Identification], [TransCode], [TransSequence], [LotNo], [InvCode], [FromWarehouseCode], [FromLocationCode], [ToWarehouseCode], [ToLocationCode], [Quantity], [Memo], [Lock], [TransType], [BusinessCode], [ERPUpload], [ERPID], [ERPDetailID], [ERPCode], [ERPSequence], [LogID], [MergeID], [MUSER], [MUSERName], [MTIME], [WorkPoint], [EATTRIBUTE1], [EATTRIBUTE2], [EATTRIBUTE3])
SELECT NEWID(), NEWID(), '{item.TransCode}', '{item.TransSequence}', '{data.LotNo}', '{item.BeforInvCode}', {item.WHCode}, NULL, NULL, NULL, {data.Quantity}, NULL, '0', N'10', N'35', '0', NULL, NULL, NULL, NULL, NULL, NULL,f.F_Account ,f.F_RealName , SYSDATETIME(), '{item.WorkPoint}', NULL, NULL, '{item.BeforExtensionID}' FROM Sys_SRM_User f WHERE f.F_Account='{item.User}' ;");
sql.Append($@"INSERT INTO [dbo].[ICSWareHouseLotInfoLog] ([ID], [Identification], [TransCode], [TransSequence], [LotNo], [InvCode], [FromWarehouseCode], [FromLocationCode], [ToWarehouseCode], [ToLocationCode], [Quantity], [Memo], [Lock], [TransType], [BusinessCode], [ERPUpload], [ERPID], [ERPDetailID], [ERPCode], [ERPSequence], [LogID], [MergeID], [MUSER], [MUSERName], [MTIME], [WorkPoint], [EATTRIBUTE1], [EATTRIBUTE2], [EATTRIBUTE3])
SELECT NEWID(), NEWID(), '{item.TransCode}', '{item.TransSequence}', '{data.LotNo}', '{item.AfterInvCode}', {item.WHCode}, NULL, NULL, NULL, {data.Quantity}, NULL, '0', N'10', N'36', '0', NULL, NULL, NULL, NULL, NULL, NULL,f.F_Account ,f.F_RealName , SYSDATETIME(), '{item.WorkPoint}', NULL, NULL, '{item.BeforExtensionID}' FROM Sys_SRM_User f WHERE f.F_Account='{item.User}' ;");
}
else if (TransType == "12")
{
sql.Append($@"UPDATE ICSInventoryLot SET ExtensionID='{item.AfterExtensionID}' WHERE LotNo='{data.LotNo}' AND InvCode='{item.BeforInvCode}' AND WorkPoint='{item.WorkPoint}' AND ExtensionID='{item.BeforExtensionID}';");
sql.Append($@"INSERT INTO [dbo].[ICSWareHouseLotInfoLog] ([ID], [Identification], [TransCode], [TransSequence], [LotNo], [InvCode], [FromWarehouseCode], [FromLocationCode], [ToWarehouseCode], [ToLocationCode], [Quantity], [Memo], [Lock], [TransType], [BusinessCode], [ERPUpload], [ERPID], [ERPDetailID], [ERPCode], [ERPSequence], [LogID], [MergeID], [MUSER], [MUSERName], [MTIME], [WorkPoint], [EATTRIBUTE1], [EATTRIBUTE2], [EATTRIBUTE3])
SELECT NEWID(), NEWID(), '{item.TransCode}', '{item.TransSequence}', '{data.LotNo}', '{item.BeforInvCode}', {item.WHCode}, NULL, NULL, NULL, {data.Quantity}, NULL, '0', N'10', N'35', '0', NULL, NULL, NULL, NULL, NULL, NULL,f.F_Account ,f.F_RealName , SYSDATETIME(), '{item.WorkPoint}', NULL, NULL, '{item.BeforExtensionID}' FROM Sys_SRM_User f WHERE f.F_Account='{item.User}' ;");
sql.Append($@"INSERT INTO [dbo].[ICSWareHouseLotInfoLog] ([ID], [Identification], [TransCode], [TransSequence], [LotNo], [InvCode], [FromWarehouseCode], [FromLocationCode], [ToWarehouseCode], [ToLocationCode], [Quantity], [Memo], [Lock], [TransType], [BusinessCode], [ERPUpload], [ERPID], [ERPDetailID], [ERPCode], [ERPSequence], [LogID], [MergeID], [MUSER], [MUSERName], [MTIME], [WorkPoint], [EATTRIBUTE1], [EATTRIBUTE2], [EATTRIBUTE3])
SELECT NEWID(), NEWID(), '{item.TransCode}', '{item.TransSequence}', '{data.LotNo}', '{item.BeforInvCode}', {item.WHCode}, NULL, NULL, NULL, {data.Quantity}, NULL, '0', N'10', N'36', '0', NULL, NULL, NULL, NULL, NULL, NULL,f.F_Account ,f.F_RealName , SYSDATETIME(), '{item.WorkPoint}', NULL, NULL, '{item.AfterExtensionID}' FROM Sys_SRM_User f WHERE f.F_Account='{item.User}' ;");
}
else
{
throw new Exception("单据类型不存在");
}
//上传ERP
if (Convert.ToBoolean(System.Configuration.ConfigurationManager.AppSettings["UploadERP"]))
{
ICSWareHouseService.MTDocDocERP(item.TransCode,cmd, language, item.WorkPoint);
}
}
}
DataTable table = DBHelper.SQlReturnData(sql.ToString(), cmd);
cmd.Transaction.Commit();

120
ICSSoft.WMS.WebAPI/ICSSoft.DataProject/ICSWareHouseService.cs

@ -1328,22 +1328,29 @@ namespace ICSSoft.DataProject
/// <param name="Quantity"></param>
/// <param name="WorkPoint"></param>
/// <param name="cmd"></param>
public static void MTDoc(string TransCode, string TransSequence, string Quantity, string WorkPoint, SqlCommand cmd, Dictionary<string, string> language)
public static void MTDoc(string TransCode, string TransSequence,string User, string Quantity, string WorkPoint, SqlCommand cmd, Dictionary<string, string> language)
{
try
{
string sql = @"UPDATE a SET MTDOCQuantity=ISNULL(MTDOCQuantity,0)+'{2}'
string code = string.Format(language.GetNameByCode("WMSAPIInfo060"), User);
string error = string.Format(language.GetNameByCode("WMSAPIInfo091"), TransCode,"","", TransSequence);
string sql = $@"IF NOT EXISTS(SELECT F_Account FROM Sys_SRM_User WHERE F_Account='{User}' AND F_Location='{WorkPoint}')
BEGIN
RAISERROR('{code}',16,1);
RETURN
END
UPDATE a SET MTDOCQuantity=ISNULL(MTDOCQuantity,0)+'{Quantity}'
FROM ICSMTDOC a
WHERE a.MTDOCCode='{0}' AND a.Sequence='{3}' AND a.WorkPoint='{1}'
WHERE a.MTDOCCode='{TransCode}' AND a.Sequence='{TransSequence}' AND a.WorkPoint='{WorkPoint}'
IF EXISTS(SELECT a.ID FROM ICSMTDOC a
WHERE a.MTDOCCode='{0}' AND a.Sequence='{3}' and a.WorkPoint='{1}' AND a.Quantity<a.MTDOCQuantity)
WHERE a.MTDOCCode='{TransCode}' AND a.Sequence='{TransSequence}' and a.WorkPoint='{WorkPoint}' AND a.Quantity<a.MTDOCQuantity)
BEGIN
RAISERROR('" + language.GetNameByCode("WMSAPIInfo091") + @"',16,1);
RAISERROR('{error}',16,1);
RETURN
END";
sql = string.Format(sql, TransCode, WorkPoint, Quantity, TransSequence);
if (!DBHelper.ExecuteNonQuery(sql, cmd))
{
@ -1357,6 +1364,107 @@ namespace ICSSoft.DataProject
}
#endregion
#region
/// <summary>
/// 形态转换接口
/// </summary>
/// <param name="TransType"></param>
/// <param name="Identification"></param>
/// <param name="cmd"></param>
public static void MTDocDocERP(string Trancode, SqlCommand cmd, Dictionary<string, string> language, string BusinessCode)
{
try
{
#region SAP(三层结构)
string IsSuccess = "";
string ErrorMessage = "";
string sql = $@" select Distinct A.MTDOCCode,A.WorkPoint from ICSMTDOC A
where A.MTDOCCode='{Trancode}' AND A.MTDOCType='2' ";
DataTable dt = DBHelper.SQlReturnData(sql, cmd);
if (dt.Rows.Count > 1)
{
throw new Exception(language.GetNameByCode("WMSAPIInfo202"));//单次提交单据数量卡控(只允许一张单据)
}
for (int i = 0; i < dt.Rows.Count; i++)
{
string chksql = @"select SUM(Quantity) AS Quantity,SUM(MTDOCQuantity) AS MTDOCQuantity from ICSMTDOC
where MTDOCCode='{0}' and WorkPoint='{1}'
GROUP BY MTDOCCode,WorkPoint";
chksql = string.Format(chksql, dt.Rows[i]["MTDOCCode"].ToString(), dt.Rows[i]["WorkPoint"].ToString());
DataTable chkdt = DBHelper.SQlReturnData(chksql, cmd);
if (Convert.ToDecimal(chkdt.Rows[0]["Quantity"]) == Convert.ToDecimal(chkdt.Rows[0]["MTDOCQuantity"]))
{
SAPCallBackDocVPN.ZWMS_SK_WS_PZ Client = new SAPCallBackDocVPN.ZWMS_SK_WS_PZ();
SAPCallBackDocVPN.ZWMS_SK_WS_PZ1 Info = new SAPCallBackDocVPN.ZWMS_SK_WS_PZ1();
Info.NEWID = Guid.NewGuid().ToString();
Info.DANJU = dt.Rows[i]["MTDOCCode"].ToString();
Info.STATE = "0";
List<SAPCallBackDocVPN.ZWMS_PZ> ItemList = new List<SAPCallBackDocVPN.ZWMS_PZ>();
List<SAPCallBackDocVPN.ZWEBS_GERNR> ItemLineList = new List<SAPCallBackDocVPN.ZWEBS_GERNR>();
Info.Z_FLAG = new SAPCallBackDocVPN.ZWEB_RETURN[1];
sql = @"select Distinct A.MTDOCCode,A.SAPSequence,A.InvCode,A.Sequence,A.Quantity,A.MTDOCQuantity
,ISNULL(B.BatchCode,'') AS BatchCode from ICSMTDOC A
LEFT JOIN ICSExtension B ON B.ID=A.ExtensionID AND B.WorkPoint=A.WorkPoint
WHERE MTDOCCode='{0}' AND A.WorkPoint='{1}'";
sql = string.Format(sql, dt.Rows[i]["MTDOCCode"].ToString(), dt.Rows[i]["WorkPoint"].ToString());
DataTable Sapdt = DBHelper.SQlReturnData(sql, cmd);
foreach (DataRow dr in Sapdt.Rows)
{
if (Convert.ToDecimal(dr["Quantity"].ToString()) == Convert.ToDecimal(dr["MTDOCQuantity"].ToString()))
{
SAPCallBackDocVPN.ZWMS_PZ Item = new SAPCallBackDocVPN.ZWMS_PZ();
SAPCallBackDocVPN.ZWEBS_GERNR ItemLine = new SAPCallBackDocVPN.ZWEBS_GERNR();
Item.DANJU = dr["MTDOCCode"].ToString();
Item.POSNR = dr["SAPSequence"].ToString();
Item.LINGYSL = System.Decimal.Round(Convert.ToDecimal(dr["Quantity"].ToString()), 3);
ItemList.Add(Item);
if (dr["BatchCode"].ToString() != "")
{
ItemLine.DANJU = dr["MTDOCCode"].ToString();
ItemLine.POSNR = dr["SAPSequence"].ToString();
ItemLine.MATNR = dr["InvCode"].ToString();
ItemLine.GERNR = dr["BatchCode"].ToString();
ItemLineList.Add(ItemLine);
}
}
}
if (ItemList.Count > 0)
{
Info.Z_ITEM = ItemList.ToArray();
if (ItemLineList.Count > 0)
{
Info.Z_GERNR = ItemLineList.ToArray();
}
else
{
Info.Z_GERNR = new SAPCallBackDocVPN.ZWEBS_GERNR[1];
}
SAPCallBackDocVPN.ZWMS_SK_WS_PZResponse result = new SAPCallBackDocVPN.ZWMS_SK_WS_PZResponse();
result = Client.CallZWMS_SK_WS_PZ(Info);
if (result.Z_NULL == "N")
{
foreach (SAPCallBackDocVPN.ZWEB_RETURN resultItem in result.Z_FLAG)
{
IsSuccess = "N";
ErrorMessage += resultItem.L_MESSAGE + "/r/n";
}
}
}
}
}
if (IsSuccess == "N")
{
throw new Exception(ErrorMessage);
}
#endregion
}
catch (Exception)
{
throw;
}
}
#endregion
#endregion
}
}

13
ICSSoft.WMS.WebAPI/ICSSoft.DataProject/Properties/Settings.Designer.cs

@ -12,7 +12,7 @@ namespace ICSSoft.DataProject.Properties {
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.10.0.0")]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.2.0.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
@ -55,5 +55,16 @@ namespace ICSSoft.DataProject.Properties {
return ((string)(this["ICSSoft_DataProject_SAPCallBackDocVPN_ZWMS_SK_WS_PZ"]));
}
}
[global::System.Configuration.ApplicationScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.SpecialSettingAttribute(global::System.Configuration.SpecialSetting.WebServiceUrl)]
[global::System.Configuration.DefaultSettingValueAttribute("http://ERPQA1.neway.com.cn:8000/sap/bc/srt/rfc/sap/zwms_sk_ws_pz/900/zwms_sk_ws_p" +
"z/zwms_sk_ws_pz")]
public string ICSSoft_DataProject_SAPCallBackDocVPNCS_ZWMS_SK_WS_PZ {
get {
return ((string)(this["ICSSoft_DataProject_SAPCallBackDocVPNCS_ZWMS_SK_WS_PZ"]));
}
}
}
}

3
ICSSoft.WMS.WebAPI/ICSSoft.DataProject/Properties/Settings.settings

@ -11,5 +11,8 @@
<Setting Name="ICSSoft_DataProject_SAPCallBackDocVPN_ZWMS_SK_WS_PZ" Type="(Web Service URL)" Scope="Application">
<Value Profile="(Default)">http://ERPPRD6.neway.com.cn:8000/sap/bc/srt/rfc/sap/zwms_sk_ws_pz/900/zwms_sk_ws_pz/zwms_sk_ws_pz</Value>
</Setting>
<Setting Name="ICSSoft_DataProject_SAPCallBackDocVPNCS_ZWMS_SK_WS_PZ" Type="(Web Service URL)" Scope="Application">
<Value Profile="(Default)">http://ERPQA1.neway.com.cn:8000/sap/bc/srt/rfc/sap/zwms_sk_ws_pz/900/zwms_sk_ws_pz/zwms_sk_ws_pz</Value>
</Setting>
</Settings>
</SettingsFile>

529
ICSSoft.WMS.WebAPI/ICSSoft.DataProject/Web References/SAPCallBackDocVPNCS/Reference.cs

@ -0,0 +1,529 @@
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
//
// 此源代码是由 Microsoft.VSDesigner 4.0.30319.42000 版自动生成。
//
#pragma warning disable 1591
namespace ICSSoft.DataProject.SAPCallBackDocVPNCS {
using System.Diagnostics;
using System;
using System.Xml.Serialization;
using System.ComponentModel;
using System.Web.Services.Protocols;
using System.Web.Services;
/// <remarks/>
// CODEGEN: 未处理命名空间“http://schemas.xmlsoap.org/ws/2004/09/policy”中的可选 WSDL 扩展元素“Policy”。
// CODEGEN: 未处理命名空间“http://schemas.xmlsoap.org/ws/2004/08/addressing”中的可选 WSDL 扩展元素“EndpointReference”。
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Web.Services.WebServiceBindingAttribute(Name="ZWMS_SK_WS_PZ", Namespace="urn:sap-com:document:sap:rfc:functions")]
public partial class ZWMS_SK_WS_PZ : System.Web.Services.Protocols.SoapHttpClientProtocol {
private System.Threading.SendOrPostCallback CallZWMS_SK_WS_PZOperationCompleted;
private bool useDefaultCredentialsSetExplicitly;
/// <remarks/>
public ZWMS_SK_WS_PZ() {
this.Url = global::ICSSoft.DataProject.Properties.Settings.Default.ICSSoft_DataProject_SAPCallBackDocVPNCS_ZWMS_SK_WS_PZ;
if ((this.IsLocalFileSystemWebService(this.Url) == true)) {
this.UseDefaultCredentials = true;
this.useDefaultCredentialsSetExplicitly = false;
}
else {
this.useDefaultCredentialsSetExplicitly = true;
}
}
public new string Url {
get {
return base.Url;
}
set {
if ((((this.IsLocalFileSystemWebService(base.Url) == true)
&& (this.useDefaultCredentialsSetExplicitly == false))
&& (this.IsLocalFileSystemWebService(value) == false))) {
base.UseDefaultCredentials = false;
}
base.Url = value;
}
}
public new bool UseDefaultCredentials {
get {
return base.UseDefaultCredentials;
}
set {
base.UseDefaultCredentials = value;
this.useDefaultCredentialsSetExplicitly = true;
}
}
/// <remarks/>
public event CallZWMS_SK_WS_PZCompletedEventHandler CallZWMS_SK_WS_PZCompleted;
/// <remarks/>
[System.Web.Services.Protocols.SoapDocumentMethodAttribute("", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Bare)]
[return: System.Xml.Serialization.XmlElementAttribute("ZWMS_SK_WS_PZResponse", Namespace="urn:sap-com:document:sap:rfc:functions")]
public ZWMS_SK_WS_PZResponse CallZWMS_SK_WS_PZ([System.Xml.Serialization.XmlElementAttribute(Namespace="urn:sap-com:document:sap:rfc:functions")] ZWMS_SK_WS_PZ1 ZWMS_SK_WS_PZ) {
object[] results = this.Invoke("CallZWMS_SK_WS_PZ", new object[] {
ZWMS_SK_WS_PZ});
return ((ZWMS_SK_WS_PZResponse)(results[0]));
}
/// <remarks/>
public void CallZWMS_SK_WS_PZAsync(ZWMS_SK_WS_PZ1 ZWMS_SK_WS_PZ) {
this.CallZWMS_SK_WS_PZAsync(ZWMS_SK_WS_PZ, null);
}
/// <remarks/>
public void CallZWMS_SK_WS_PZAsync(ZWMS_SK_WS_PZ1 ZWMS_SK_WS_PZ, object userState) {
if ((this.CallZWMS_SK_WS_PZOperationCompleted == null)) {
this.CallZWMS_SK_WS_PZOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCallZWMS_SK_WS_PZOperationCompleted);
}
this.InvokeAsync("CallZWMS_SK_WS_PZ", new object[] {
ZWMS_SK_WS_PZ}, this.CallZWMS_SK_WS_PZOperationCompleted, userState);
}
private void OnCallZWMS_SK_WS_PZOperationCompleted(object arg) {
if ((this.CallZWMS_SK_WS_PZCompleted != null)) {
System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
this.CallZWMS_SK_WS_PZCompleted(this, new CallZWMS_SK_WS_PZCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
}
}
/// <remarks/>
public new void CancelAsync(object userState) {
base.CancelAsync(userState);
}
private bool IsLocalFileSystemWebService(string url) {
if (((url == null)
|| (url == string.Empty))) {
return false;
}
System.Uri wsUri = new System.Uri(url);
if (((wsUri.Port >= 1024)
&& (string.Compare(wsUri.Host, "localHost", System.StringComparison.OrdinalIgnoreCase) == 0))) {
return true;
}
return false;
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="urn:sap-com:document:sap:rfc:functions")]
public partial class ZWMS_SK_WS_PZ1 {
private string dANJUField;
private string nEWIDField;
private string sTATEField;
private ZWEB_RETURN[] z_FLAGField;
private ZWEBS_GERNR[] z_GERNRField;
private ZWMS_PZ[] z_ITEMField;
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string DANJU {
get {
return this.dANJUField;
}
set {
this.dANJUField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string NEWID {
get {
return this.nEWIDField;
}
set {
this.nEWIDField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string STATE {
get {
return this.sTATEField;
}
set {
this.sTATEField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlArrayAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
[System.Xml.Serialization.XmlArrayItemAttribute("item", Form=System.Xml.Schema.XmlSchemaForm.Unqualified, IsNullable=false)]
public ZWEB_RETURN[] Z_FLAG {
get {
return this.z_FLAGField;
}
set {
this.z_FLAGField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlArrayAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
[System.Xml.Serialization.XmlArrayItemAttribute("item", Form=System.Xml.Schema.XmlSchemaForm.Unqualified, IsNullable=false)]
public ZWEBS_GERNR[] Z_GERNR {
get {
return this.z_GERNRField;
}
set {
this.z_GERNRField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlArrayAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
[System.Xml.Serialization.XmlArrayItemAttribute("item", Form=System.Xml.Schema.XmlSchemaForm.Unqualified, IsNullable=false)]
public ZWMS_PZ[] Z_ITEM {
get {
return this.z_ITEMField;
}
set {
this.z_ITEMField = value;
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:sap-com:document:sap:rfc:functions")]
public partial class ZWEB_RETURN {
private string dANJUField;
private string pOSNRField;
private string fLAGField;
private string l_MESSAGEField;
private string mBLNRField;
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string DANJU {
get {
return this.dANJUField;
}
set {
this.dANJUField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string POSNR {
get {
return this.pOSNRField;
}
set {
this.pOSNRField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string FLAG {
get {
return this.fLAGField;
}
set {
this.fLAGField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string L_MESSAGE {
get {
return this.l_MESSAGEField;
}
set {
this.l_MESSAGEField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string MBLNR {
get {
return this.mBLNRField;
}
set {
this.mBLNRField = value;
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:sap-com:document:sap:rfc:functions")]
public partial class ZWMS_PZ {
private string dANJUField;
private string pOSNRField;
private decimal lINGYSLField;
private string sERNPField;
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string DANJU {
get {
return this.dANJUField;
}
set {
this.dANJUField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string POSNR {
get {
return this.pOSNRField;
}
set {
this.pOSNRField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public decimal LINGYSL {
get {
return this.lINGYSLField;
}
set {
this.lINGYSLField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string SERNP {
get {
return this.sERNPField;
}
set {
this.sERNPField = value;
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="urn:sap-com:document:sap:rfc:functions")]
public partial class ZWEBS_GERNR {
private string mANDTField;
private string dANJUField;
private string pOSNRField;
private int gERNR_KEYField;
private string mATNRField;
private string gERNRField;
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string MANDT {
get {
return this.mANDTField;
}
set {
this.mANDTField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string DANJU {
get {
return this.dANJUField;
}
set {
this.dANJUField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string POSNR {
get {
return this.pOSNRField;
}
set {
this.pOSNRField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public int GERNR_KEY {
get {
return this.gERNR_KEYField;
}
set {
this.gERNR_KEYField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string MATNR {
get {
return this.mATNRField;
}
set {
this.mATNRField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string GERNR {
get {
return this.gERNRField;
}
set {
this.gERNRField = value;
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="urn:sap-com:document:sap:rfc:functions")]
public partial class ZWMS_SK_WS_PZResponse {
private ZWEB_RETURN[] z_FLAGField;
private ZWEBS_GERNR[] z_GERNRField;
private ZWMS_PZ[] z_ITEMField;
private string z_NULLField;
/// <remarks/>
[System.Xml.Serialization.XmlArrayAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
[System.Xml.Serialization.XmlArrayItemAttribute("item", Form=System.Xml.Schema.XmlSchemaForm.Unqualified, IsNullable=false)]
public ZWEB_RETURN[] Z_FLAG {
get {
return this.z_FLAGField;
}
set {
this.z_FLAGField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlArrayAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
[System.Xml.Serialization.XmlArrayItemAttribute("item", Form=System.Xml.Schema.XmlSchemaForm.Unqualified, IsNullable=false)]
public ZWEBS_GERNR[] Z_GERNR {
get {
return this.z_GERNRField;
}
set {
this.z_GERNRField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlArrayAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
[System.Xml.Serialization.XmlArrayItemAttribute("item", Form=System.Xml.Schema.XmlSchemaForm.Unqualified, IsNullable=false)]
public ZWMS_PZ[] Z_ITEM {
get {
return this.z_ITEMField;
}
set {
this.z_ITEMField = value;
}
}
/// <remarks/>
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
public string Z_NULL {
get {
return this.z_NULLField;
}
set {
this.z_NULLField = value;
}
}
}
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
public delegate void CallZWMS_SK_WS_PZCompletedEventHandler(object sender, CallZWMS_SK_WS_PZCompletedEventArgs e);
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.8.4084.0")]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
public partial class CallZWMS_SK_WS_PZCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
internal CallZWMS_SK_WS_PZCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
/// <remarks/>
public ZWMS_SK_WS_PZResponse Result {
get {
this.RaiseExceptionIfNecessary();
return ((ZWMS_SK_WS_PZResponse)(this.results[0]));
}
}
}
}
#pragma warning restore 1591

6
ICSSoft.WMS.WebAPI/ICSSoft.DataProject/Web References/SAPCallBackDocVPNCS/Reference.map

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<DiscoveryClientResultsFile xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Results>
<DiscoveryClientResult referenceType="System.Web.Services.Discovery.ContractReference" url="http://58.210.216.118:8072/sap/bc/srt/wsdl/bndg_EDB726E6976D07F194F30050569113DA/wsdl11/allinone/ws_policy/document?sap-client=900" filename="document.wsdl" />
</Results>
</DiscoveryClientResultsFile>

10
ICSSoft.WMS.WebAPI/ICSSoft.DataProject/Web References/SAPCallBackDocVPNCS/ZWMS_SK_WS_PZResponse.datasource

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
This file is automatically generated by Visual Studio .Net. It is
used to store generic object data source configuration information.
Renaming the file extension or editing the content of this file may
cause the file to be unrecognizable by the program.
-->
<GenericObjectDataSource DisplayName="ZWMS_SK_WS_PZResponse" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<TypeInfo>ICSSoft.DataProject.SAPCallBackDocVPNCS.ZWMS_SK_WS_PZResponse, Web References.SAPCallBackDocVPNCS.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo>
</GenericObjectDataSource>

194
ICSSoft.WMS.WebAPI/ICSSoft.DataProject/Web References/SAPCallBackDocVPNCS/document.wsdl

@ -0,0 +1,194 @@
<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="urn:sap-com:document:sap:rfc:functions" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" targetNamespace="urn:sap-com:document:sap:rfc:functions" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
<wsdl:documentation>
<sidl:sidl xmlns:sidl="http://www.sap.com/2007/03/sidl" />
</wsdl:documentation>
<wsp:UsingPolicy wsdl:required="true" />
<wsp:Policy wsu:Id="BN_ZWMS_SK_WS_PZ">
<wsaw:UsingAddressing xmlns:wsaw="http://schemas.xmlsoap.org/ws/2004/08/addressing" />
<saptrnbnd:OptimizedXMLTransfer uri="http://xml.sap.com/2006/11/esi/esp/binxml" xmlns:saptrnbnd="http://www.sap.com/webas/710/soap/features/transportbinding/" wsp:Optional="true" />
<sapattahnd:Enabled xmlns:sapattahnd="http://www.sap.com/710/features/attachment/">false</sapattahnd:Enabled>
<wsp:ExactlyOne xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:sapsp="http://www.sap.com/webas/630/soap/features/security/policy" xmlns:sp="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702" xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:wsu="http://schemas.xmlsoap.org/ws/2002/07/utility" />
</wsp:Policy>
<wsp:Policy wsu:Id="IF_ZWMS_SK_WS_PZ">
<sapsession:Session xmlns:sapsession="http://www.sap.com/webas/630/soap/features/session/">
<sapsession:enableSession>false</sapsession:enableSession>
</sapsession:Session>
<sapcentraladmin:CentralAdministration xmlns:sapcentraladmin="http://www.sap.com/webas/700/soap/features/CentralAdministration/" wsp:Optional="true">
<sapcentraladmin:BusinessApplicationID>E50B2D7A654B0CF1BEC76C3BE5AB5E3F</sapcentraladmin:BusinessApplicationID>
</sapcentraladmin:CentralAdministration>
</wsp:Policy>
<wsp:Policy wsu:Id="OP_ZWMS_SK_WS_PZ">
<sapcomhnd:enableCommit xmlns:sapcomhnd="http://www.sap.com/NW05/soap/features/commit/">false</sapcomhnd:enableCommit>
<sapblock:enableBlocking xmlns:sapblock="http://www.sap.com/NW05/soap/features/blocking/">true</sapblock:enableBlocking>
<saptrhnw05:required xmlns:saptrhnw05="http://www.sap.com/NW05/soap/features/transaction/">no</saptrhnw05:required>
<saprmnw05:enableWSRM xmlns:saprmnw05="http://www.sap.com/NW05/soap/features/wsrm/">false</saprmnw05:enableWSRM>
</wsp:Policy>
<wsdl:types>
<xsd:schema attributeFormDefault="qualified" targetNamespace="urn:sap-com:document:sap:rfc:functions">
<xsd:simpleType name="char1">
<xsd:restriction base="xsd:string">
<xsd:maxLength value="1" />
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="char10">
<xsd:restriction base="xsd:string">
<xsd:maxLength value="10" />
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="char13">
<xsd:restriction base="xsd:string">
<xsd:maxLength value="13" />
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="char18">
<xsd:restriction base="xsd:string">
<xsd:maxLength value="18" />
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="char255">
<xsd:restriction base="xsd:string">
<xsd:maxLength value="255" />
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="char36">
<xsd:restriction base="xsd:string">
<xsd:maxLength value="36" />
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="char4">
<xsd:restriction base="xsd:string">
<xsd:maxLength value="4" />
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="clnt3">
<xsd:restriction base="xsd:string">
<xsd:maxLength value="3" />
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="numeric1">
<xsd:restriction base="xsd:string">
<xsd:maxLength value="1" />
<xsd:pattern value="\d*" />
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="numeric5">
<xsd:restriction base="xsd:string">
<xsd:maxLength value="5" />
<xsd:pattern value="\d*" />
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="quantum13.3">
<xsd:restriction base="xsd:decimal">
<xsd:totalDigits value="13" />
<xsd:fractionDigits value="3" />
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="ZWEB_RETURN">
<xsd:sequence>
<xsd:element name="DANJU" type="tns:char13" />
<xsd:element name="POSNR" type="tns:numeric5" />
<xsd:element name="FLAG" type="tns:char1" />
<xsd:element name="L_MESSAGE" type="tns:char255" />
<xsd:element name="MBLNR" type="tns:char10" />
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ZWEBS_GERNR">
<xsd:sequence>
<xsd:element name="MANDT" type="tns:clnt3" />
<xsd:element name="DANJU" type="tns:char13" />
<xsd:element name="POSNR" type="tns:numeric5" />
<xsd:element name="GERNR_KEY" type="xsd:int" />
<xsd:element name="MATNR" type="tns:char18" />
<xsd:element name="GERNR" type="tns:char18" />
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ZWMS_PZ">
<xsd:sequence>
<xsd:element name="DANJU" type="tns:char13" />
<xsd:element name="POSNR" type="tns:numeric5" />
<xsd:element name="LINGYSL" type="tns:quantum13.3" />
<xsd:element name="SERNP" type="tns:char4" />
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="TABLE_OF_ZWEB_RETURN">
<xsd:sequence>
<xsd:element minOccurs="0" maxOccurs="unbounded" name="item" type="tns:ZWEB_RETURN" />
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="TABLE_OF_ZWEBS_GERNR">
<xsd:sequence>
<xsd:element minOccurs="0" maxOccurs="unbounded" name="item" type="tns:ZWEBS_GERNR" />
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="TABLE_OF_ZWMS_PZ">
<xsd:sequence>
<xsd:element minOccurs="0" maxOccurs="unbounded" name="item" type="tns:ZWMS_PZ" />
</xsd:sequence>
</xsd:complexType>
<xsd:element name="ZWMS_SK_WS_PZ">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="DANJU" type="tns:char13" />
<xsd:element name="NEWID" type="tns:char36" />
<xsd:element name="STATE" type="tns:numeric1" />
<xsd:element name="Z_FLAG" type="tns:TABLE_OF_ZWEB_RETURN" />
<xsd:element name="Z_GERNR" type="tns:TABLE_OF_ZWEBS_GERNR" />
<xsd:element name="Z_ITEM" type="tns:TABLE_OF_ZWMS_PZ" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:element name="ZWMS_SK_WS_PZResponse">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="Z_FLAG" type="tns:TABLE_OF_ZWEB_RETURN" />
<xsd:element name="Z_GERNR" type="tns:TABLE_OF_ZWEBS_GERNR" />
<xsd:element name="Z_ITEM" type="tns:TABLE_OF_ZWMS_PZ" />
<xsd:element name="Z_NULL" type="tns:char1" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
</wsdl:types>
<wsdl:message name="ZWMS_SK_WS_PZ">
<wsdl:part name="parameters" element="tns:ZWMS_SK_WS_PZ" />
</wsdl:message>
<wsdl:message name="ZWMS_SK_WS_PZResponse">
<wsdl:part name="parameter" element="tns:ZWMS_SK_WS_PZResponse" />
</wsdl:message>
<wsdl:portType name="ZWMS_SK_WS_PZ">
<wsp:Policy>
<wsp:PolicyReference URI="#IF_ZWMS_SK_WS_PZ" />
</wsp:Policy>
<wsdl:operation name="ZWMS_SK_WS_PZ">
<wsp:Policy>
<wsp:PolicyReference URI="#OP_ZWMS_SK_WS_PZ" />
</wsp:Policy>
<wsdl:input message="tns:ZWMS_SK_WS_PZ" />
<wsdl:output message="tns:ZWMS_SK_WS_PZResponse" />
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="ZWMS_SK_WS_PZ" type="tns:ZWMS_SK_WS_PZ">
<wsp:Policy>
<wsp:PolicyReference URI="#BN_ZWMS_SK_WS_PZ" />
</wsp:Policy>
<wsa:EndpointReference xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing">
<wsa:ReferenceParameters />
</wsa:EndpointReference>
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
<wsdl:operation name="ZWMS_SK_WS_PZ">
<soap:operation soapAction="" style="document" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="ZWMS_SK_WS_PZ">
<wsdl:port name="ZWMS_SK_WS_PZ" binding="tns:ZWMS_SK_WS_PZ">
<soap:address location="http://ERPQA1.neway.com.cn:8000/sap/bc/srt/rfc/sap/zwms_sk_ws_pz/900/zwms_sk_ws_pz/zwms_sk_ws_pz" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>

4
ICSSoft.WMS.WebAPI/ICSSoft.DataProject/app.config

@ -19,6 +19,10 @@
serializeAs="String">
<value>http://ERPPRD6.neway.com.cn:8000/sap/bc/srt/rfc/sap/zwms_sk_ws_pz/900/zwms_sk_ws_pz/zwms_sk_ws_pz</value>
</setting>
<setting name="ICSSoft_DataProject_SAPCallBackDocVPNCS_ZWMS_SK_WS_PZ"
serializeAs="String">
<value>http://ERPQA1.neway.com.cn:8000/sap/bc/srt/rfc/sap/zwms_sk_ws_pz/900/zwms_sk_ws_pz/zwms_sk_ws_pz</value>
</setting>
</ICSSoft.DataProject.Properties.Settings>
</applicationSettings>
</configuration>

5
ICSSoft.WMS.WebAPI/ICSSoft.Entity/ICSMTDocModel.cs

@ -36,6 +36,11 @@ namespace ICSSoft.Entity
/// </summary>
public string WorkPoint { get; set; }
/// <summary>
/// 操作人
/// </summary>
public string User { get; set; }
/// <summary>
/// 转换前物料编码
/// </summary>

|||||||
100:0
Loading…
Cancel
Save