diff --git a/FactorySystemApi/Connected Services/Sap_Bom/FactorySystemApi.Sap_Bom.dt_pp079_resHEAD.datasource b/FactorySystemApi/Connected Services/Sap_Bom/FactorySystemApi.Sap_Bom.dt_pp079_resHEAD.datasource new file mode 100644 index 0000000..9ae895d --- /dev/null +++ b/FactorySystemApi/Connected Services/Sap_Bom/FactorySystemApi.Sap_Bom.dt_pp079_resHEAD.datasource @@ -0,0 +1,10 @@ + + + + FactorySystemApi.Sap_Bom.dt_pp079_resHEAD, Connected Services.Sap_Bom.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/FactorySystemApi/Connected Services/Sap_Bom/FactorySystemApi.Sap_Bom.si_pp079_mcs_senderResponse.datasource b/FactorySystemApi/Connected Services/Sap_Bom/FactorySystemApi.Sap_Bom.si_pp079_mcs_senderResponse.datasource new file mode 100644 index 0000000..c695b04 --- /dev/null +++ b/FactorySystemApi/Connected Services/Sap_Bom/FactorySystemApi.Sap_Bom.si_pp079_mcs_senderResponse.datasource @@ -0,0 +1,10 @@ + + + + FactorySystemApi.Sap_Bom.si_pp079_mcs_senderResponse, FactorySystemApi, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/FactorySystemApi/Connected Services/Sap_Bom/Reference.cs b/FactorySystemApi/Connected Services/Sap_Bom/Reference.cs new file mode 100644 index 0000000..61d5eab --- /dev/null +++ b/FactorySystemApi/Connected Services/Sap_Bom/Reference.cs @@ -0,0 +1,814 @@ +//------------------------------------------------------------------------------ +// +// 此代码由工具生成。 +// 运行时版本:4.0.30319.42000 +// +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将会丢失。 +// +//------------------------------------------------------------------------------ + +namespace FactorySystemApi.Sap_Bom { + + + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + [System.ServiceModel.ServiceContractAttribute(Namespace="http://www.zmc.com/flavor/pp", ConfigurationName="Sap_Bom.si_pp079_mcs_sender")] + public interface si_pp079_mcs_sender { + + // CODEGEN: 操作 si_pp079_mcs_sender 以后生成的消息协定不是 RPC,也不是换行文档。 + [System.ServiceModel.OperationContractAttribute(Action="http://sap.com/xi/WebService/soap1.1", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + FactorySystemApi.Sap_Bom.si_pp079_mcs_senderResponse si_pp079_mcs_sender(FactorySystemApi.Sap_Bom.si_pp079_mcs_senderRequest request); + + [System.ServiceModel.OperationContractAttribute(Action="http://sap.com/xi/WebService/soap1.1", ReplyAction="*")] + System.Threading.Tasks.Task si_pp079_mcs_senderAsync(FactorySystemApi.Sap_Bom.si_pp079_mcs_senderRequest request); + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.hbflavor.com/pp")] + public partial class dt_pp079_req : object, System.ComponentModel.INotifyPropertyChanged { + + private string sOURCESYSField; + + private string tARGETSYSField; + + private string uPDATETIMEField; + + private dt_pp079_reqHEAD[] hEADField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=0)] + public string SOURCESYS { + get { + return this.sOURCESYSField; + } + set { + this.sOURCESYSField = value; + this.RaisePropertyChanged("SOURCESYS"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=1)] + public string TARGETSYS { + get { + return this.tARGETSYSField; + } + set { + this.tARGETSYSField = value; + this.RaisePropertyChanged("TARGETSYS"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=2)] + public string UPDATETIME { + get { + return this.uPDATETIMEField; + } + set { + this.uPDATETIMEField = value; + this.RaisePropertyChanged("UPDATETIME"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("HEAD", Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=3)] + public dt_pp079_reqHEAD[] HEAD { + get { + return this.hEADField; + } + set { + this.hEADField = value; + this.RaisePropertyChanged("HEAD"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [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="http://www.hbflavor.com/pp")] + public partial class dt_pp079_reqHEAD : object, System.ComponentModel.INotifyPropertyChanged { + + private string wERKSField; + + private string dATUVField; + + private string sTLANField; + + private string sTLSTField; + + private string sTKTXField; + + private string sTLALField; + + private string mATNRField; + + private string mAKTXField; + + private string bMENGField; + + private string bMEINField; + + private dt_pp079_reqHEADITEM[] iTEMField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=0)] + public string WERKS { + get { + return this.wERKSField; + } + set { + this.wERKSField = value; + this.RaisePropertyChanged("WERKS"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=1)] + public string DATUV { + get { + return this.dATUVField; + } + set { + this.dATUVField = value; + this.RaisePropertyChanged("DATUV"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=2)] + public string STLAN { + get { + return this.sTLANField; + } + set { + this.sTLANField = value; + this.RaisePropertyChanged("STLAN"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=3)] + public string STLST { + get { + return this.sTLSTField; + } + set { + this.sTLSTField = value; + this.RaisePropertyChanged("STLST"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=4)] + public string STKTX { + get { + return this.sTKTXField; + } + set { + this.sTKTXField = value; + this.RaisePropertyChanged("STKTX"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=5)] + public string STLAL { + get { + return this.sTLALField; + } + set { + this.sTLALField = value; + this.RaisePropertyChanged("STLAL"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=6)] + public string MATNR { + get { + return this.mATNRField; + } + set { + this.mATNRField = value; + this.RaisePropertyChanged("MATNR"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=7)] + public string MAKTX { + get { + return this.mAKTXField; + } + set { + this.mAKTXField = value; + this.RaisePropertyChanged("MAKTX"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=8)] + public string BMENG { + get { + return this.bMENGField; + } + set { + this.bMENGField = value; + this.RaisePropertyChanged("BMENG"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=9)] + public string BMEIN { + get { + return this.bMEINField; + } + set { + this.bMEINField = value; + this.RaisePropertyChanged("BMEIN"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("ITEM", Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=10)] + public dt_pp079_reqHEADITEM[] ITEM { + get { + return this.iTEMField; + } + set { + this.iTEMField = value; + this.RaisePropertyChanged("ITEM"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [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="http://www.hbflavor.com/pp")] + public partial class dt_pp079_reqHEADITEM : object, System.ComponentModel.INotifyPropertyChanged { + + private string pOSNRField; + + private string pOSTPField; + + private string iDNRKField; + + private string mAKTXField; + + private string mENGEField; + + private string mEINSField; + + private string aENNRField; + + private string iDENTField; + + private string bEIKZField; + + private string eRSKZField; + + private string lGORTField; + + private string aUSCHField; + + private string sANKAField; + + private string sANFEField; + + private string pOTX1Field; + + private string pOTX2Field; + + private string aLPGRField; + + private string aLPRFField; + + private string aLPSTField; + + private string eWAHRField; + + private string fMENGField; + + private string kZKUPField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=0)] + public string POSNR { + get { + return this.pOSNRField; + } + set { + this.pOSNRField = value; + this.RaisePropertyChanged("POSNR"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=1)] + public string POSTP { + get { + return this.pOSTPField; + } + set { + this.pOSTPField = value; + this.RaisePropertyChanged("POSTP"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=2)] + public string IDNRK { + get { + return this.iDNRKField; + } + set { + this.iDNRKField = value; + this.RaisePropertyChanged("IDNRK"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=3)] + public string MAKTX { + get { + return this.mAKTXField; + } + set { + this.mAKTXField = value; + this.RaisePropertyChanged("MAKTX"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=4)] + public string MENGE { + get { + return this.mENGEField; + } + set { + this.mENGEField = value; + this.RaisePropertyChanged("MENGE"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=5)] + public string MEINS { + get { + return this.mEINSField; + } + set { + this.mEINSField = value; + this.RaisePropertyChanged("MEINS"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=6)] + public string AENNR { + get { + return this.aENNRField; + } + set { + this.aENNRField = value; + this.RaisePropertyChanged("AENNR"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=7)] + public string IDENT { + get { + return this.iDENTField; + } + set { + this.iDENTField = value; + this.RaisePropertyChanged("IDENT"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=8)] + public string BEIKZ { + get { + return this.bEIKZField; + } + set { + this.bEIKZField = value; + this.RaisePropertyChanged("BEIKZ"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=9)] + public string ERSKZ { + get { + return this.eRSKZField; + } + set { + this.eRSKZField = value; + this.RaisePropertyChanged("ERSKZ"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=10)] + public string LGORT { + get { + return this.lGORTField; + } + set { + this.lGORTField = value; + this.RaisePropertyChanged("LGORT"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=11)] + public string AUSCH { + get { + return this.aUSCHField; + } + set { + this.aUSCHField = value; + this.RaisePropertyChanged("AUSCH"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=12)] + public string SANKA { + get { + return this.sANKAField; + } + set { + this.sANKAField = value; + this.RaisePropertyChanged("SANKA"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=13)] + public string SANFE { + get { + return this.sANFEField; + } + set { + this.sANFEField = value; + this.RaisePropertyChanged("SANFE"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=14)] + public string POTX1 { + get { + return this.pOTX1Field; + } + set { + this.pOTX1Field = value; + this.RaisePropertyChanged("POTX1"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=15)] + public string POTX2 { + get { + return this.pOTX2Field; + } + set { + this.pOTX2Field = value; + this.RaisePropertyChanged("POTX2"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=16)] + public string ALPGR { + get { + return this.aLPGRField; + } + set { + this.aLPGRField = value; + this.RaisePropertyChanged("ALPGR"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=17)] + public string ALPRF { + get { + return this.aLPRFField; + } + set { + this.aLPRFField = value; + this.RaisePropertyChanged("ALPRF"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=18)] + public string ALPST { + get { + return this.aLPSTField; + } + set { + this.aLPSTField = value; + this.RaisePropertyChanged("ALPST"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=19)] + public string EWAHR { + get { + return this.eWAHRField; + } + set { + this.eWAHRField = value; + this.RaisePropertyChanged("EWAHR"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=20)] + public string FMENG { + get { + return this.fMENGField; + } + set { + this.fMENGField = value; + this.RaisePropertyChanged("FMENG"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=21)] + public string KZKUP { + get { + return this.kZKUPField; + } + set { + this.kZKUPField = value; + this.RaisePropertyChanged("KZKUP"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [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="http://www.hbflavor.com/pp")] + public partial class dt_pp079_resHEAD : object, System.ComponentModel.INotifyPropertyChanged { + + private string tYPEField; + + private string iNFOTEXTField; + + private string mATNRField; + + private string wERKSField; + + private string sTLALField; + + private string dATUVField; + + private string sTLANField; + + private string sTLSTField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=0)] + public string TYPE { + get { + return this.tYPEField; + } + set { + this.tYPEField = value; + this.RaisePropertyChanged("TYPE"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=1)] + public string INFOTEXT { + get { + return this.iNFOTEXTField; + } + set { + this.iNFOTEXTField = value; + this.RaisePropertyChanged("INFOTEXT"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=2)] + public string MATNR { + get { + return this.mATNRField; + } + set { + this.mATNRField = value; + this.RaisePropertyChanged("MATNR"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=3)] + public string WERKS { + get { + return this.wERKSField; + } + set { + this.wERKSField = value; + this.RaisePropertyChanged("WERKS"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=4)] + public string STLAL { + get { + return this.sTLALField; + } + set { + this.sTLALField = value; + this.RaisePropertyChanged("STLAL"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=5)] + public string DATUV { + get { + return this.dATUVField; + } + set { + this.dATUVField = value; + this.RaisePropertyChanged("DATUV"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=6)] + public string STLAN { + get { + return this.sTLANField; + } + set { + this.sTLANField = value; + this.RaisePropertyChanged("STLAN"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=7)] + public string STLST { + get { + return this.sTLSTField; + } + set { + this.sTLSTField = value; + this.RaisePropertyChanged("STLST"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(IsWrapped=false)] + public partial class si_pp079_mcs_senderRequest { + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.zmc.com/flavor/pp", Order=0)] + public FactorySystemApi.Sap_Bom.dt_pp079_req mt_pp079_req; + + public si_pp079_mcs_senderRequest() { + } + + public si_pp079_mcs_senderRequest(FactorySystemApi.Sap_Bom.dt_pp079_req mt_pp079_req) { + this.mt_pp079_req = mt_pp079_req; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(IsWrapped=false)] + public partial class si_pp079_mcs_senderResponse { + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.zmc.com/flavor/pp", Order=0)] + [System.Xml.Serialization.XmlArrayItemAttribute("HEAD", Form=System.Xml.Schema.XmlSchemaForm.Unqualified, IsNullable=false)] + public FactorySystemApi.Sap_Bom.dt_pp079_resHEAD[] mt_pp079_res; + + public si_pp079_mcs_senderResponse() { + } + + public si_pp079_mcs_senderResponse(FactorySystemApi.Sap_Bom.dt_pp079_resHEAD[] mt_pp079_res) { + this.mt_pp079_res = mt_pp079_res; + } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public interface si_pp079_mcs_senderChannel : FactorySystemApi.Sap_Bom.si_pp079_mcs_sender, System.ServiceModel.IClientChannel { + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class si_pp079_mcs_senderClient : System.ServiceModel.ClientBase, FactorySystemApi.Sap_Bom.si_pp079_mcs_sender { + + public si_pp079_mcs_senderClient() { + } + + public si_pp079_mcs_senderClient(string endpointConfigurationName) : + base(endpointConfigurationName) { + } + + public si_pp079_mcs_senderClient(string endpointConfigurationName, string remoteAddress) : + base(endpointConfigurationName, remoteAddress) { + } + + public si_pp079_mcs_senderClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : + base(endpointConfigurationName, remoteAddress) { + } + + public si_pp079_mcs_senderClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : + base(binding, remoteAddress) { + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + FactorySystemApi.Sap_Bom.si_pp079_mcs_senderResponse FactorySystemApi.Sap_Bom.si_pp079_mcs_sender.si_pp079_mcs_sender(FactorySystemApi.Sap_Bom.si_pp079_mcs_senderRequest request) { + return base.Channel.si_pp079_mcs_sender(request); + } + + public FactorySystemApi.Sap_Bom.dt_pp079_resHEAD[] si_pp079_mcs_sender(FactorySystemApi.Sap_Bom.dt_pp079_req mt_pp079_req) { + FactorySystemApi.Sap_Bom.si_pp079_mcs_senderRequest inValue = new FactorySystemApi.Sap_Bom.si_pp079_mcs_senderRequest(); + inValue.mt_pp079_req = mt_pp079_req; + FactorySystemApi.Sap_Bom.si_pp079_mcs_senderResponse retVal = ((FactorySystemApi.Sap_Bom.si_pp079_mcs_sender)(this)).si_pp079_mcs_sender(inValue); + return retVal.mt_pp079_res; + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task FactorySystemApi.Sap_Bom.si_pp079_mcs_sender.si_pp079_mcs_senderAsync(FactorySystemApi.Sap_Bom.si_pp079_mcs_senderRequest request) { + return base.Channel.si_pp079_mcs_senderAsync(request); + } + + public System.Threading.Tasks.Task si_pp079_mcs_senderAsync(FactorySystemApi.Sap_Bom.dt_pp079_req mt_pp079_req) { + FactorySystemApi.Sap_Bom.si_pp079_mcs_senderRequest inValue = new FactorySystemApi.Sap_Bom.si_pp079_mcs_senderRequest(); + inValue.mt_pp079_req = mt_pp079_req; + return ((FactorySystemApi.Sap_Bom.si_pp079_mcs_sender)(this)).si_pp079_mcs_senderAsync(inValue); + } + } +} diff --git a/FactorySystemApi/Connected Services/Sap_Bom/Reference.svcmap b/FactorySystemApi/Connected Services/Sap_Bom/Reference.svcmap new file mode 100644 index 0000000..1ef9ca0 --- /dev/null +++ b/FactorySystemApi/Connected Services/Sap_Bom/Reference.svcmap @@ -0,0 +1,31 @@ + + + + false + true + true + + false + false + false + + + true + Auto + true + true + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/FactorySystemApi/Connected Services/Sap_Bom/configuration.svcinfo b/FactorySystemApi/Connected Services/Sap_Bom/configuration.svcinfo new file mode 100644 index 0000000..a3dfa00 --- /dev/null +++ b/FactorySystemApi/Connected Services/Sap_Bom/configuration.svcinfo @@ -0,0 +1,12 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/FactorySystemApi/Connected Services/Sap_Bom/configuration91.svcinfo b/FactorySystemApi/Connected Services/Sap_Bom/configuration91.svcinfo new file mode 100644 index 0000000..b1b0e77 --- /dev/null +++ b/FactorySystemApi/Connected Services/Sap_Bom/configuration91.svcinfo @@ -0,0 +1,395 @@ + + + + + + + si_pp079_mcs_senderBinding1 + + + + + + + + + + + + + + + + + + + + + StrongWildcard + + + + + + 65536 + + + + + + + + + System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement + + + 0 + + + 0 + + + 0 + + + 0 + + + 0 + + + System.Text.UTF8Encoding + + + Buffered + + + + + + Text + + + System.ServiceModel.Configuration.BasicHttpSecurityElement + + + None + + + System.ServiceModel.Configuration.HttpTransportSecurityElement + + + None + + + None + + + System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement + + + Never + + + TransportSelected + + + (集合) + + + + + + System.ServiceModel.Configuration.BasicHttpMessageSecurityElement + + + UserName + + + Default + + + + + + + si_pp079_mcs_senderBinding2 + + + + + + + + + + + + + + + + + + + + + StrongWildcard + + + + + + 65536 + + + + + + + + + System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement + + + 0 + + + 0 + + + 0 + + + 0 + + + 0 + + + System.Text.UTF8Encoding + + + Buffered + + + + + + Text + + + System.ServiceModel.Configuration.BasicHttpSecurityElement + + + Transport + + + System.ServiceModel.Configuration.HttpTransportSecurityElement + + + None + + + None + + + System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement + + + Never + + + TransportSelected + + + (集合) + + + + + + System.ServiceModel.Configuration.BasicHttpMessageSecurityElement + + + UserName + + + Default + + + + + + + + + http://sappoqas.hbglobal.com:50000/XISOAPAdapter/MessageServlet?senderParty=&senderService=ZMCS_FLAVOR&receiverParty=&receiverService=&interface=si_pp079_mcs_sender&interfaceNamespace=http%3A%2F%2Fwww.zmc.com%2Fflavor%2Fpp + + + + + + basicHttpBinding + + + si_pp079_mcs_senderBinding1 + + + Sap_Bom.si_pp079_mcs_sender + + + System.ServiceModel.Configuration.AddressHeaderCollectionElement + + + <Header /> + + + System.ServiceModel.Configuration.IdentityElement + + + System.ServiceModel.Configuration.UserPrincipalNameElement + + + + + + System.ServiceModel.Configuration.ServicePrincipalNameElement + + + + + + System.ServiceModel.Configuration.DnsElement + + + + + + System.ServiceModel.Configuration.RsaElement + + + + + + System.ServiceModel.Configuration.CertificateElement + + + + + + System.ServiceModel.Configuration.CertificateReferenceElement + + + My + + + LocalMachine + + + FindBySubjectDistinguishedName + + + + + + False + + + HTTP_Port1 + + + + + + + + + + + + + https://sappoqas.hbglobal.com:50001/XISOAPAdapter/MessageServlet?senderParty=&senderService=ZMCS_FLAVOR&receiverParty=&receiverService=&interface=si_pp079_mcs_sender&interfaceNamespace=http%3A%2F%2Fwww.zmc.com%2Fflavor%2Fpp + + + + + + basicHttpBinding + + + si_pp079_mcs_senderBinding2 + + + Sap_Bom.si_pp079_mcs_sender + + + System.ServiceModel.Configuration.AddressHeaderCollectionElement + + + <Header /> + + + System.ServiceModel.Configuration.IdentityElement + + + System.ServiceModel.Configuration.UserPrincipalNameElement + + + + + + System.ServiceModel.Configuration.ServicePrincipalNameElement + + + + + + System.ServiceModel.Configuration.DnsElement + + + + + + System.ServiceModel.Configuration.RsaElement + + + + + + System.ServiceModel.Configuration.CertificateElement + + + + + + System.ServiceModel.Configuration.CertificateReferenceElement + + + My + + + LocalMachine + + + FindBySubjectDistinguishedName + + + + + + False + + + HTTPS_Port + + + + + + + + + + + \ No newline at end of file diff --git a/FactorySystemApi/Connected Services/Sap_Bom/si_pp079_mcs_sender.wsdl b/FactorySystemApi/Connected Services/Sap_Bom/si_pp079_mcs_sender.wsdl new file mode 100644 index 0000000..d58f4af --- /dev/null +++ b/FactorySystemApi/Connected Services/Sap_Bom/si_pp079_mcs_sender.wsdl @@ -0,0 +1,355 @@ + + + + + + + + + + SAP response数据类型 + 2cd9f3eedf1611ed815a0000001b7af6 + + + + + 6a8b4a7cddb511ed8df300ffbfb14b77 + + + + + + 2cdd0cfddf1611ed87c000ffbfb14b77 + 消息类型 + + + + + 99f0acf8df1611ed87a100ffbfb14b77 + 消息文本 + + + + + e8f9665addab11ed97c500ffbfb14b77 + 物料编码 + + + + + e8f9665bddab11eda8d600ffbfb14b77 + 工厂 + + + + + e8f9665cddab11eda07800ffbfb14b77 + 可选BOM + + + + + 99f0e1eedf1611ed95a900ffbfb14b77 + 开始生效日期 + + + + + 99f0e1efdf1611edca6700ffbfb14b77 + BOM用途 + + + + + 99f0e1f0df1611ed831400ffbfb14b77 + BOM状态 + + + + + + + + + + request数据类型 + 5cb0827edf1a11ed85b20000001b7af6 + + + + + 5d228a6bdf1a11ed86b800ffbfb14b77 + 源系统ID + + + + + 5d228a6cdf1a11edcb4400ffbfb14b77 + 目标系统ID + + + + + 5d228a6ddf1a11ed9f2900ffbfb14b77 + 数据时间戳 + + + + + befcd45addae11ed9a6100ffbfb14b77 + + + + + + 918206b1ddac11edc28700ffbfb14b77 + 工厂 + + + + + 918206b2ddac11edb76500ffbfb14b77 + 开始生效日期 + + + + + 918206b3ddac11eda56e00ffbfb14b77 + BOM用途 + + + + + 918206b4ddac11edbf7000ffbfb14b77 + BOM状态 + + + + + 918206b5ddac11edc26400ffbfb14b77 + 可选文本 + + + + + 918206b6ddac11edc9b000ffbfb14b77 + 可选BOM + + + + + 918206b7ddac11edb87d00ffbfb14b77 + 父项编码 + + + + + 918206b8ddac11ed9f4900ffbfb14b77 + 父项描述 + + + + + 918206b9ddac11edbeb700ffbfb14b77 + 基本数量 + + + + + 918206baddac11eda9a900ffbfb14b77 + 基本单位 + + + + + 918206d1ddac11ed86b900ffbfb14b77 + + + + + + 918206bbddac11ed916c00ffbfb14b77 + 子项序号 + + + + + 918206bcddac11ed833400ffbfb14b77 + 项目类别 + + + + + 918206bdddac11ed810500ffbfb14b77 + 子项编码 + + + + + 918206beddac11eda95c00ffbfb14b77 + 子件描述 + + + + + 918206bfddac11edafa300ffbfb14b77 + 组件数量 + + + + + 918206c0ddac11edcd1100ffbfb14b77 + 计量单位 + + + + + 918206c1ddac11edcb6f00ffbfb14b77 + 工程变更号 + + + + + 918206c2ddac11ed896200ffbfb14b77 + 项目ID + + + + + 918206c3ddac11edaa8200ffbfb14b77 + 物料供应标识符 + + + + + 918206c4ddac11ed817e00ffbfb14b77 + 备件标示 + + + + + 918206c5ddac11edab7800ffbfb14b77 + 生产仓储地点 + + + + + 918206c6ddac11ed831000ffbfb14b77 + 组件损 耗率 + + + + + 918206c7ddac11edaae700ffbfb14b77 + 成本核算标识相关 + + + + + 918206c8ddac11edb08400ffbfb14b77 + 生产相关 + + + + + 918206c9ddac11ed8b2b00ffbfb14b77 + BOM项目文本1 + + + + + 918206caddac11ed8d6900ffbfb14b77 + BOM项目文本2 + + + + + 918206cbddac11edba7f00ffbfb14b77 + 替代项目组 + + + + + 918206ccddac11edbce900ffbfb14b77 + 优先级 + + + + + 918206cdddac11edc50c00ffbfb14b77 + 策略 + + + + + 918206ceddac11eda8e100ffbfb14b77 + 使用可能性 + + + + + 918206cfddac11edc51000ffbfb14b77 + 固定损耗数量 + + + + + 918206d0ddac11ed97f800ffbfb14b77 + 联产品 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ + + \ No newline at end of file diff --git a/FactorySystemApi/Connected Services/Sap_ProductVersion/FactorySystemApi.Sap_ProductVersion.dt_pp080_resHEAD.datasource b/FactorySystemApi/Connected Services/Sap_ProductVersion/FactorySystemApi.Sap_ProductVersion.dt_pp080_resHEAD.datasource new file mode 100644 index 0000000..ddf55ee --- /dev/null +++ b/FactorySystemApi/Connected Services/Sap_ProductVersion/FactorySystemApi.Sap_ProductVersion.dt_pp080_resHEAD.datasource @@ -0,0 +1,10 @@ + + + + FactorySystemApi.Sap_ProductVersion.dt_pp080_resHEAD, Connected Services.Sap_ProductVersion.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/FactorySystemApi/Connected Services/Sap_ProductVersion/FactorySystemApi.Sap_ProductVersion.si_pp080_mcs_senderResponse.datasource b/FactorySystemApi/Connected Services/Sap_ProductVersion/FactorySystemApi.Sap_ProductVersion.si_pp080_mcs_senderResponse.datasource new file mode 100644 index 0000000..38a176d --- /dev/null +++ b/FactorySystemApi/Connected Services/Sap_ProductVersion/FactorySystemApi.Sap_ProductVersion.si_pp080_mcs_senderResponse.datasource @@ -0,0 +1,10 @@ + + + + FactorySystemApi.Sap_ProductVersion.si_pp080_mcs_senderResponse, Connected Services.Sap_ProductVersion.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/FactorySystemApi/Connected Services/Sap_ProductVersion/Reference.cs b/FactorySystemApi/Connected Services/Sap_ProductVersion/Reference.cs new file mode 100644 index 0000000..c6000a8 --- /dev/null +++ b/FactorySystemApi/Connected Services/Sap_ProductVersion/Reference.cs @@ -0,0 +1,502 @@ +//------------------------------------------------------------------------------ +// +// 此代码由工具生成。 +// 运行时版本:4.0.30319.42000 +// +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将会丢失。 +// +//------------------------------------------------------------------------------ + +namespace FactorySystemApi.Sap_ProductVersion { + + + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + [System.ServiceModel.ServiceContractAttribute(Namespace="http://www.zmc.com/flavor/pp", ConfigurationName="Sap_ProductVersion.si_pp080_mcs_sender")] + public interface si_pp080_mcs_sender { + + // CODEGEN: 操作 si_pp080_mcs_sender 以后生成的消息协定不是 RPC,也不是换行文档。 + [System.ServiceModel.OperationContractAttribute(Action="http://sap.com/xi/WebService/soap1.1", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + FactorySystemApi.Sap_ProductVersion.si_pp080_mcs_senderResponse si_pp080_mcs_sender(FactorySystemApi.Sap_ProductVersion.si_pp080_mcs_senderRequest request); + + [System.ServiceModel.OperationContractAttribute(Action="http://sap.com/xi/WebService/soap1.1", ReplyAction="*")] + System.Threading.Tasks.Task si_pp080_mcs_senderAsync(FactorySystemApi.Sap_ProductVersion.si_pp080_mcs_senderRequest request); + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.hbflavor.com/pp")] + public partial class dt_pp080_req : object, System.ComponentModel.INotifyPropertyChanged { + + private string sOURCESYSField; + + private string tARGETSYSField; + + private string uPDATETIMEField; + + private dt_pp080_reqHEAD[] hEADField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=0)] + public string SOURCESYS { + get { + return this.sOURCESYSField; + } + set { + this.sOURCESYSField = value; + this.RaisePropertyChanged("SOURCESYS"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=1)] + public string TARGETSYS { + get { + return this.tARGETSYSField; + } + set { + this.tARGETSYSField = value; + this.RaisePropertyChanged("TARGETSYS"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=2)] + public string UPDATETIME { + get { + return this.uPDATETIMEField; + } + set { + this.uPDATETIMEField = value; + this.RaisePropertyChanged("UPDATETIME"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("HEAD", Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=3)] + public dt_pp080_reqHEAD[] HEAD { + get { + return this.hEADField; + } + set { + this.hEADField = value; + this.RaisePropertyChanged("HEAD"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [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="http://www.hbflavor.com/pp")] + public partial class dt_pp080_reqHEAD : object, System.ComponentModel.INotifyPropertyChanged { + + private string wERKSField; + + private string mATNRField; + + private string vERIDField; + + private string tEXT1Field; + + private string aDATUField; + + private string bDATUField; + + private string bSTMIField; + + private string bSTMAField; + + private string sTLALField; + + private string sTLANField; + + private string pLNTYField; + + private string pLNNRField; + + private string aLNALField; + + private string aLORTField; + + private string eLPROField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=0)] + public string WERKS { + get { + return this.wERKSField; + } + set { + this.wERKSField = value; + this.RaisePropertyChanged("WERKS"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=1)] + public string MATNR { + get { + return this.mATNRField; + } + set { + this.mATNRField = value; + this.RaisePropertyChanged("MATNR"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=2)] + public string VERID { + get { + return this.vERIDField; + } + set { + this.vERIDField = value; + this.RaisePropertyChanged("VERID"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=3)] + public string TEXT1 { + get { + return this.tEXT1Field; + } + set { + this.tEXT1Field = value; + this.RaisePropertyChanged("TEXT1"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=4)] + public string ADATU { + get { + return this.aDATUField; + } + set { + this.aDATUField = value; + this.RaisePropertyChanged("ADATU"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=5)] + public string BDATU { + get { + return this.bDATUField; + } + set { + this.bDATUField = value; + this.RaisePropertyChanged("BDATU"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=6)] + public string BSTMI { + get { + return this.bSTMIField; + } + set { + this.bSTMIField = value; + this.RaisePropertyChanged("BSTMI"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=7)] + public string BSTMA { + get { + return this.bSTMAField; + } + set { + this.bSTMAField = value; + this.RaisePropertyChanged("BSTMA"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=8)] + public string STLAL { + get { + return this.sTLALField; + } + set { + this.sTLALField = value; + this.RaisePropertyChanged("STLAL"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=9)] + public string STLAN { + get { + return this.sTLANField; + } + set { + this.sTLANField = value; + this.RaisePropertyChanged("STLAN"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=10)] + public string PLNTY { + get { + return this.pLNTYField; + } + set { + this.pLNTYField = value; + this.RaisePropertyChanged("PLNTY"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=11)] + public string PLNNR { + get { + return this.pLNNRField; + } + set { + this.pLNNRField = value; + this.RaisePropertyChanged("PLNNR"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=12)] + public string ALNAL { + get { + return this.aLNALField; + } + set { + this.aLNALField = value; + this.RaisePropertyChanged("ALNAL"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=13)] + public string ALORT { + get { + return this.aLORTField; + } + set { + this.aLORTField = value; + this.RaisePropertyChanged("ALORT"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=14)] + public string ELPRO { + get { + return this.eLPROField; + } + set { + this.eLPROField = value; + this.RaisePropertyChanged("ELPRO"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [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="http://www.hbflavor.com/pp")] + public partial class dt_pp080_resHEAD : object, System.ComponentModel.INotifyPropertyChanged { + + private string sTATUSField; + + private string iNFOTEXTField; + + private string mATNRField; + + private string wERKSField; + + private string vERIDField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=0)] + public string STATUS { + get { + return this.sTATUSField; + } + set { + this.sTATUSField = value; + this.RaisePropertyChanged("STATUS"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=1)] + public string INFOTEXT { + get { + return this.iNFOTEXTField; + } + set { + this.iNFOTEXTField = value; + this.RaisePropertyChanged("INFOTEXT"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=2)] + public string MATNR { + get { + return this.mATNRField; + } + set { + this.mATNRField = value; + this.RaisePropertyChanged("MATNR"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=3)] + public string WERKS { + get { + return this.wERKSField; + } + set { + this.wERKSField = value; + this.RaisePropertyChanged("WERKS"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=4)] + public string VERID { + get { + return this.vERIDField; + } + set { + this.vERIDField = value; + this.RaisePropertyChanged("VERID"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(IsWrapped=false)] + public partial class si_pp080_mcs_senderRequest { + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.zmc.com/flavor/pp", Order=0)] + public FactorySystemApi.Sap_ProductVersion.dt_pp080_req mt_pp080_req; + + public si_pp080_mcs_senderRequest() { + } + + public si_pp080_mcs_senderRequest(FactorySystemApi.Sap_ProductVersion.dt_pp080_req mt_pp080_req) { + this.mt_pp080_req = mt_pp080_req; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(IsWrapped=false)] + public partial class si_pp080_mcs_senderResponse { + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.zmc.com/flavor/pp", Order=0)] + [System.Xml.Serialization.XmlArrayItemAttribute("HEAD", Form=System.Xml.Schema.XmlSchemaForm.Unqualified, IsNullable=false)] + public FactorySystemApi.Sap_ProductVersion.dt_pp080_resHEAD[] mt_pp080_res; + + public si_pp080_mcs_senderResponse() { + } + + public si_pp080_mcs_senderResponse(FactorySystemApi.Sap_ProductVersion.dt_pp080_resHEAD[] mt_pp080_res) { + this.mt_pp080_res = mt_pp080_res; + } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public interface si_pp080_mcs_senderChannel : FactorySystemApi.Sap_ProductVersion.si_pp080_mcs_sender, System.ServiceModel.IClientChannel { + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class si_pp080_mcs_senderClient : System.ServiceModel.ClientBase, FactorySystemApi.Sap_ProductVersion.si_pp080_mcs_sender { + + public si_pp080_mcs_senderClient() { + } + + public si_pp080_mcs_senderClient(string endpointConfigurationName) : + base(endpointConfigurationName) { + } + + public si_pp080_mcs_senderClient(string endpointConfigurationName, string remoteAddress) : + base(endpointConfigurationName, remoteAddress) { + } + + public si_pp080_mcs_senderClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : + base(endpointConfigurationName, remoteAddress) { + } + + public si_pp080_mcs_senderClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : + base(binding, remoteAddress) { + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + FactorySystemApi.Sap_ProductVersion.si_pp080_mcs_senderResponse FactorySystemApi.Sap_ProductVersion.si_pp080_mcs_sender.si_pp080_mcs_sender(FactorySystemApi.Sap_ProductVersion.si_pp080_mcs_senderRequest request) { + return base.Channel.si_pp080_mcs_sender(request); + } + + public FactorySystemApi.Sap_ProductVersion.dt_pp080_resHEAD[] si_pp080_mcs_sender(FactorySystemApi.Sap_ProductVersion.dt_pp080_req mt_pp080_req) { + FactorySystemApi.Sap_ProductVersion.si_pp080_mcs_senderRequest inValue = new FactorySystemApi.Sap_ProductVersion.si_pp080_mcs_senderRequest(); + inValue.mt_pp080_req = mt_pp080_req; + FactorySystemApi.Sap_ProductVersion.si_pp080_mcs_senderResponse retVal = ((FactorySystemApi.Sap_ProductVersion.si_pp080_mcs_sender)(this)).si_pp080_mcs_sender(inValue); + return retVal.mt_pp080_res; + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task FactorySystemApi.Sap_ProductVersion.si_pp080_mcs_sender.si_pp080_mcs_senderAsync(FactorySystemApi.Sap_ProductVersion.si_pp080_mcs_senderRequest request) { + return base.Channel.si_pp080_mcs_senderAsync(request); + } + + public System.Threading.Tasks.Task si_pp080_mcs_senderAsync(FactorySystemApi.Sap_ProductVersion.dt_pp080_req mt_pp080_req) { + FactorySystemApi.Sap_ProductVersion.si_pp080_mcs_senderRequest inValue = new FactorySystemApi.Sap_ProductVersion.si_pp080_mcs_senderRequest(); + inValue.mt_pp080_req = mt_pp080_req; + return ((FactorySystemApi.Sap_ProductVersion.si_pp080_mcs_sender)(this)).si_pp080_mcs_senderAsync(inValue); + } + } +} diff --git a/FactorySystemApi/Connected Services/Sap_ProductVersion/Reference.svcmap b/FactorySystemApi/Connected Services/Sap_ProductVersion/Reference.svcmap new file mode 100644 index 0000000..01b8f38 --- /dev/null +++ b/FactorySystemApi/Connected Services/Sap_ProductVersion/Reference.svcmap @@ -0,0 +1,31 @@ + + + + false + true + true + + false + false + false + + + true + Auto + true + true + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/FactorySystemApi/Connected Services/Sap_ProductVersion/configuration.svcinfo b/FactorySystemApi/Connected Services/Sap_ProductVersion/configuration.svcinfo new file mode 100644 index 0000000..7609dfc --- /dev/null +++ b/FactorySystemApi/Connected Services/Sap_ProductVersion/configuration.svcinfo @@ -0,0 +1,12 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/FactorySystemApi/Connected Services/Sap_ProductVersion/configuration91.svcinfo b/FactorySystemApi/Connected Services/Sap_ProductVersion/configuration91.svcinfo new file mode 100644 index 0000000..5256f74 --- /dev/null +++ b/FactorySystemApi/Connected Services/Sap_ProductVersion/configuration91.svcinfo @@ -0,0 +1,395 @@ + + + + + + + si_pp080_mcs_senderBinding + + + + + + + + + + + + + + + + + + + + + StrongWildcard + + + + + + 65536 + + + + + + + + + System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement + + + 0 + + + 0 + + + 0 + + + 0 + + + 0 + + + System.Text.UTF8Encoding + + + Buffered + + + + + + Text + + + System.ServiceModel.Configuration.BasicHttpSecurityElement + + + None + + + System.ServiceModel.Configuration.HttpTransportSecurityElement + + + None + + + None + + + System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement + + + Never + + + TransportSelected + + + (集合) + + + + + + System.ServiceModel.Configuration.BasicHttpMessageSecurityElement + + + UserName + + + Default + + + + + + + si_pp080_mcs_senderBinding1 + + + + + + + + + + + + + + + + + + + + + StrongWildcard + + + + + + 65536 + + + + + + + + + System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement + + + 0 + + + 0 + + + 0 + + + 0 + + + 0 + + + System.Text.UTF8Encoding + + + Buffered + + + + + + Text + + + System.ServiceModel.Configuration.BasicHttpSecurityElement + + + Transport + + + System.ServiceModel.Configuration.HttpTransportSecurityElement + + + None + + + None + + + System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement + + + Never + + + TransportSelected + + + (集合) + + + + + + System.ServiceModel.Configuration.BasicHttpMessageSecurityElement + + + UserName + + + Default + + + + + + + + + http://sappoqas.hbglobal.com:50000/XISOAPAdapter/MessageServlet?senderParty=&senderService=ZMCS_FLAVOR&receiverParty=&receiverService=&interface=si_pp080_mcs_sender&interfaceNamespace=http%3A%2F%2Fwww.zmc.com%2Fflavor%2Fpp + + + + + + basicHttpBinding + + + si_pp080_mcs_senderBinding + + + Sap_ProductVersion.si_pp080_mcs_sender + + + System.ServiceModel.Configuration.AddressHeaderCollectionElement + + + <Header /> + + + System.ServiceModel.Configuration.IdentityElement + + + System.ServiceModel.Configuration.UserPrincipalNameElement + + + + + + System.ServiceModel.Configuration.ServicePrincipalNameElement + + + + + + System.ServiceModel.Configuration.DnsElement + + + + + + System.ServiceModel.Configuration.RsaElement + + + + + + System.ServiceModel.Configuration.CertificateElement + + + + + + System.ServiceModel.Configuration.CertificateReferenceElement + + + My + + + LocalMachine + + + FindBySubjectDistinguishedName + + + + + + False + + + HTTP_Port1 + + + + + + + + + + + + + https://sappoqas.hbglobal.com:50001/XISOAPAdapter/MessageServlet?senderParty=&senderService=ZMCS_FLAVOR&receiverParty=&receiverService=&interface=si_pp080_mcs_sender&interfaceNamespace=http%3A%2F%2Fwww.zmc.com%2Fflavor%2Fpp + + + + + + basicHttpBinding + + + si_pp080_mcs_senderBinding1 + + + Sap_ProductVersion.si_pp080_mcs_sender + + + System.ServiceModel.Configuration.AddressHeaderCollectionElement + + + <Header /> + + + System.ServiceModel.Configuration.IdentityElement + + + System.ServiceModel.Configuration.UserPrincipalNameElement + + + + + + System.ServiceModel.Configuration.ServicePrincipalNameElement + + + + + + System.ServiceModel.Configuration.DnsElement + + + + + + System.ServiceModel.Configuration.RsaElement + + + + + + System.ServiceModel.Configuration.CertificateElement + + + + + + System.ServiceModel.Configuration.CertificateReferenceElement + + + My + + + LocalMachine + + + FindBySubjectDistinguishedName + + + + + + False + + + HTTPS_Port + + + + + + + + + + + \ No newline at end of file diff --git a/FactorySystemApi/Connected Services/Sap_ProductVersion/si_pp080_mcs_sender.wsdl b/FactorySystemApi/Connected Services/Sap_ProductVersion/si_pp080_mcs_sender.wsdl new file mode 100644 index 0000000..b97d849 --- /dev/null +++ b/FactorySystemApi/Connected Services/Sap_ProductVersion/si_pp080_mcs_sender.wsdl @@ -0,0 +1,226 @@ + + + + + + + + + + SAP response数据类型 + b9351c3bdf4211eda0d00000001b7af6 + + + + + fde32f73df3e11edacb300ffbfb14b77 + + + + + + fde32f6edf3e11ed826b00ffbfb14b77 + 执行情况 + + + + + fde32f6fdf3e11ed89f600ffbfb14b77 + 文本信息 + + + + + fde32f70df3e11ed8f2100ffbfb14b77 + 物料 + + + + + fde32f71df3e11eda92300ffbfb14b77 + 工厂 + + + + + fde32f72df3e11edb47f00ffbfb14b77 + 版本 + + + + + + + + + + request数据类型 + 67ab39c5df3e11ed815e0000001b7af6 + + + + + 448cb005df3f11edb83c00ffbfb14b77 + 源系统ID + + + + + 448cb006df3f11edb9d700ffbfb14b77 + 目标系统ID + + + + + 448cb007df3f11edb29700ffbfb14b77 + 数据时间戳 + + + + + 0dc75bcbdf4011ed89c900ffbfb14b77 + + + + + + 0dc75bc1df4011edccd700ffbfb14b77 + 工厂 + + + + + 0dc75bc2df4011edb9a500ffbfb14b77 + 物料 + + + + + 0dc75bc3df4011ed8e5900ffbfb14b77 + 版本 + + + + + 0dc75bc4df4011ed94c400ffbfb14b77 + 文本 + + + + + 0dc75bc5df4011ed9a3900ffbfb14b77 + 有效从 + + + + + 0dc75bc6df4011edbc7200ffbfb14b77 + 有效至 + + + + + 0dc75bc7df4011edaa3700ffbfb14b77 + 批量从 + + + + + 0dc75bc8df4011ed9ffd00ffbfb14b77 + 批量到 + + + + + 0dc75bc9df4011ed829800ffbfb14b77 + 可选的BOM + + + + + 0dc75bcadf4011ed82df00ffbfb14b77 + BOM用途 + + + + + acc9a9abdf4211edad0000ffbfb14b77 + 任务清单类型 + + + + + acc9a9acdf4211ed876000ffbfb14b77 + + + + + + acc9a9addf4211ed99d400ffbfb14b77 + 组计数器 + + + + + acc9a9aedf4211ed83f200ffbfb14b77 + 收货地点 + + + + + acc9a9afdf4211edcac900ffbfb14b77 + 发货仓储地点 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ + + \ No newline at end of file diff --git a/FactorySystemApi/Connected Services/Sap_ViewMaterial/FactorySystemApi.Sap_ViewMaterial.dt_mm104_res.datasource b/FactorySystemApi/Connected Services/Sap_ViewMaterial/FactorySystemApi.Sap_ViewMaterial.dt_mm104_res.datasource new file mode 100644 index 0000000..2a05bfa --- /dev/null +++ b/FactorySystemApi/Connected Services/Sap_ViewMaterial/FactorySystemApi.Sap_ViewMaterial.dt_mm104_res.datasource @@ -0,0 +1,10 @@ + + + + FactorySystemApi.Sap_ViewMaterial.dt_mm104_res, Connected Services.Sap_ViewMaterial.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/FactorySystemApi/Connected Services/Sap_ViewMaterial/FactorySystemApi.Sap_ViewMaterial.si_mm104_mcs_senderResponse.datasource b/FactorySystemApi/Connected Services/Sap_ViewMaterial/FactorySystemApi.Sap_ViewMaterial.si_mm104_mcs_senderResponse.datasource new file mode 100644 index 0000000..5b329e7 --- /dev/null +++ b/FactorySystemApi/Connected Services/Sap_ViewMaterial/FactorySystemApi.Sap_ViewMaterial.si_mm104_mcs_senderResponse.datasource @@ -0,0 +1,10 @@ + + + + FactorySystemApi.Sap_ViewMaterial.si_mm104_mcs_senderResponse, Connected Services.Sap_ViewMaterial.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null + \ No newline at end of file diff --git a/FactorySystemApi/Connected Services/Sap_ViewMaterial/Reference.cs b/FactorySystemApi/Connected Services/Sap_ViewMaterial/Reference.cs new file mode 100644 index 0000000..c45be3a --- /dev/null +++ b/FactorySystemApi/Connected Services/Sap_ViewMaterial/Reference.cs @@ -0,0 +1,1965 @@ +//------------------------------------------------------------------------------ +// +// 此代码由工具生成。 +// 运行时版本:4.0.30319.42000 +// +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将会丢失。 +// +//------------------------------------------------------------------------------ + +namespace FactorySystemApi.Sap_ViewMaterial { + + + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + [System.ServiceModel.ServiceContractAttribute(Namespace="http://www.zmc.com/flavor/mm", ConfigurationName="Sap_ViewMaterial.si_mm104_mcs_sender")] + public interface si_mm104_mcs_sender { + + // CODEGEN: 操作 si_mm104_mcs_sender 以后生成的消息协定不是 RPC,也不是换行文档。 + [System.ServiceModel.OperationContractAttribute(Action="http://sap.com/xi/WebService/soap1.1", ReplyAction="*")] + [System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)] + FactorySystemApi.Sap_ViewMaterial.si_mm104_mcs_senderResponse si_mm104_mcs_sender(FactorySystemApi.Sap_ViewMaterial.si_mm104_mcs_senderRequest request); + + [System.ServiceModel.OperationContractAttribute(Action="http://sap.com/xi/WebService/soap1.1", ReplyAction="*")] + System.Threading.Tasks.Task si_mm104_mcs_senderAsync(FactorySystemApi.Sap_ViewMaterial.si_mm104_mcs_senderRequest request); + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.hbflavor.com/mm")] + public partial class dt_mm104_req : object, System.ComponentModel.INotifyPropertyChanged { + + private dt_mm104_reqVIEW vIEWField; + + private dt_mm104_reqDATA[] dATAField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=0)] + public dt_mm104_reqVIEW VIEW { + get { + return this.vIEWField; + } + set { + this.vIEWField = value; + this.RaisePropertyChanged("VIEW"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("DATA", Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=1)] + public dt_mm104_reqDATA[] DATA { + get { + return this.dATAField; + } + set { + this.dATAField = value; + this.RaisePropertyChanged("DATA"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [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="http://www.hbflavor.com/mm")] + public partial class dt_mm104_reqVIEW : object, System.ComponentModel.INotifyPropertyChanged { + + private string sT1Field; + + private string sT2Field; + + private string sT3Field; + + private string sT4Field; + + private string sT6Field; + + private string sT7Field; + + private string sT8Field; + + private string sT9Field; + + private string sT11Field; + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=0)] + public string ST1 { + get { + return this.sT1Field; + } + set { + this.sT1Field = value; + this.RaisePropertyChanged("ST1"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=1)] + public string ST2 { + get { + return this.sT2Field; + } + set { + this.sT2Field = value; + this.RaisePropertyChanged("ST2"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=2)] + public string ST3 { + get { + return this.sT3Field; + } + set { + this.sT3Field = value; + this.RaisePropertyChanged("ST3"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=3)] + public string ST4 { + get { + return this.sT4Field; + } + set { + this.sT4Field = value; + this.RaisePropertyChanged("ST4"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=4)] + public string ST6 { + get { + return this.sT6Field; + } + set { + this.sT6Field = value; + this.RaisePropertyChanged("ST6"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=5)] + public string ST7 { + get { + return this.sT7Field; + } + set { + this.sT7Field = value; + this.RaisePropertyChanged("ST7"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=6)] + public string ST8 { + get { + return this.sT8Field; + } + set { + this.sT8Field = value; + this.RaisePropertyChanged("ST8"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=7)] + public string ST9 { + get { + return this.sT9Field; + } + set { + this.sT9Field = value; + this.RaisePropertyChanged("ST9"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=8)] + public string ST11 { + get { + return this.sT11Field; + } + set { + this.sT11Field = value; + this.RaisePropertyChanged("ST11"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.4084.0")] + [System.SerializableAttribute()] + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.ComponentModel.DesignerCategoryAttribute("code")] + [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://www.hbflavor.com/mm")] + public partial class dt_mm104_res : object, System.ComponentModel.INotifyPropertyChanged { + + private string mSGTYField; + + private string mSGTXField; + + private dt_mm104_resDATA[] dATAField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=0)] + public string MSGTY { + get { + return this.mSGTYField; + } + set { + this.mSGTYField = value; + this.RaisePropertyChanged("MSGTY"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=1)] + public string MSGTX { + get { + return this.mSGTXField; + } + set { + this.mSGTXField = value; + this.RaisePropertyChanged("MSGTX"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute("DATA", Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=2)] + public dt_mm104_resDATA[] DATA { + get { + return this.dATAField; + } + set { + this.dATAField = value; + this.RaisePropertyChanged("DATA"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [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="http://www.hbflavor.com/mm")] + public partial class dt_mm104_resDATA : object, System.ComponentModel.INotifyPropertyChanged { + + private string wERKSField; + + private string mATNRField; + + private string mSGTYField; + + private string mSGTXField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=0)] + public string WERKS { + get { + return this.wERKSField; + } + set { + this.wERKSField = value; + this.RaisePropertyChanged("WERKS"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=1)] + public string MATNR { + get { + return this.mATNRField; + } + set { + this.mATNRField = value; + this.RaisePropertyChanged("MATNR"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=2)] + public string MSGTY { + get { + return this.mSGTYField; + } + set { + this.mSGTYField = value; + this.RaisePropertyChanged("MSGTY"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=3)] + public string MSGTX { + get { + return this.mSGTXField; + } + set { + this.mSGTXField = value; + this.RaisePropertyChanged("MSGTX"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + /// + [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="http://www.hbflavor.com/mm")] + public partial class dt_mm104_reqDATA : object, System.ComponentModel.INotifyPropertyChanged { + + private string iND_SECTORField; + + private string mATL_TYPEField; + + private string pLANTField; + + private string sTGE_LOCField; + + private string sALES_ORGField; + + private string dISTR_CHANField; + + private string mATERIALField; + + private string oLD_MAT_NOField; + + private string bASE_UOMField; + + private string mATL_DESC_ZHField; + + private string mATL_GROUPField; + + private string gROESField; + + private string lONG_TEXTField; + + private string lABORField; + + private string vOLUMEUNITField; + + private string gROSS_WTField; + + private string nET_WEIGHTField; + + private string uNIT_OF_WTField; + + private string fERTHField; + + private string vOLUMEField; + + private string pUR_GROUPField; + + private string pO_UNITField; + + private string dENOMINATRField; + + private string nUMERATORField; + + private string pUR_VALKEYField; + + private string mMSTAField; + + private string kAUTBField; + + private string kORDBField; + + private string cLASSTYPENEWField; + + private string cLASSNUMNEWField; + + private string dELYG_PLNTField; + + private string tAXCLASS_1Field; + + private string vERSGField; + + private string vRKMEField; + + private string bASE_TORField; + + private string sALE_TORField; + + private string aCCT_ASSGTField; + + private string iTEM_CATField; + + private string iTEM_CAT1Field; + + private string aVAILCHECKField; + + private string lOADINGGRPField; + + private string zJWLHField; + + private string sTOR_CONDSField; + + private string xCHPFField; + + private string mAXLZField; + + private string lZEIHField; + + private string mINREMLIFEField; + + private string sHELF_LIFEField; + + private string pERIOD_IND_EXPIRATION_DATEField; + + private string mRP_TYPEField; + + private string rEORDER_PTField; + + private string fIXED_LOTField; + + private string mAX_STOCKField; + + private string mRP_CTRLERField; + + private string lOTSIZEKEYField; + + private string bSTMIField; + + private string bSTMAField; + + private string mRP_GROUPField; + + private string bSTRFField; + + private string zCATEGField; + + private string zKUNNRField; + + private string zFLGMTField; + + private string zXFLAGField; + + private string zPFILMField; + + private string zSTOCKField; + + private string zRCALCField; + + private string zSMSTDField; + + private string pROC_TYPEField; + + private string sM_KEYField; + + private string sOBSLField; + + private string bACKFLUSHField; + + private string iNHSEPRODTField; + + private string pLIFZField; + + private string wEBAZField; + + private string eISBEField; + + private string lGPROField; + + private string sLOC_EXPRCField; + + private string pLAN_STRGPField; + + private string cONSUMMODEField; + + private string fWD_CONSField; + + private string vINT1Field; + + private string mISKZField; + + private string mPR_AVAILCHECKField; + + private string dEP_REQ_IDField; + + private string dISCONTINUField; + + private string eFF_O_DAYField; + + private string fOLLOW_UPField; + + private string sFCPFField; + + private string uEETKField; + + private string uNETOField; + + private string uEETOField; + + private string aUSMEField; + + private string mENGE_FHField; + + private string mENGE_BSField; + + private string iNSPTYPE1Field; + + private string iNSPTYPE2Field; + + private string iNSPTYPE3Field; + + private string iNSPTYPE4Field; + + private string iNSPTYPE5Field; + + private string iNSPTYPE6Field; + + private string pRICE_CTRLField; + + private string mL_SETTLEField; + + private string pRICE_UNITField; + + private string vAL_CLASSField; + + private string eKLASField; + + private string sTPRSField; + + private string pROFIT_CTRField; + + private string lOSGRField; + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=0)] + public string IND_SECTOR { + get { + return this.iND_SECTORField; + } + set { + this.iND_SECTORField = value; + this.RaisePropertyChanged("IND_SECTOR"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=1)] + public string MATL_TYPE { + get { + return this.mATL_TYPEField; + } + set { + this.mATL_TYPEField = value; + this.RaisePropertyChanged("MATL_TYPE"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=2)] + public string PLANT { + get { + return this.pLANTField; + } + set { + this.pLANTField = value; + this.RaisePropertyChanged("PLANT"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=3)] + public string STGE_LOC { + get { + return this.sTGE_LOCField; + } + set { + this.sTGE_LOCField = value; + this.RaisePropertyChanged("STGE_LOC"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=4)] + public string SALES_ORG { + get { + return this.sALES_ORGField; + } + set { + this.sALES_ORGField = value; + this.RaisePropertyChanged("SALES_ORG"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=5)] + public string DISTR_CHAN { + get { + return this.dISTR_CHANField; + } + set { + this.dISTR_CHANField = value; + this.RaisePropertyChanged("DISTR_CHAN"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=6)] + public string MATERIAL { + get { + return this.mATERIALField; + } + set { + this.mATERIALField = value; + this.RaisePropertyChanged("MATERIAL"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=7)] + public string OLD_MAT_NO { + get { + return this.oLD_MAT_NOField; + } + set { + this.oLD_MAT_NOField = value; + this.RaisePropertyChanged("OLD_MAT_NO"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=8)] + public string BASE_UOM { + get { + return this.bASE_UOMField; + } + set { + this.bASE_UOMField = value; + this.RaisePropertyChanged("BASE_UOM"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=9)] + public string MATL_DESC_ZH { + get { + return this.mATL_DESC_ZHField; + } + set { + this.mATL_DESC_ZHField = value; + this.RaisePropertyChanged("MATL_DESC_ZH"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=10)] + public string MATL_GROUP { + get { + return this.mATL_GROUPField; + } + set { + this.mATL_GROUPField = value; + this.RaisePropertyChanged("MATL_GROUP"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=11)] + public string GROES { + get { + return this.gROESField; + } + set { + this.gROESField = value; + this.RaisePropertyChanged("GROES"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=12)] + public string LONG_TEXT { + get { + return this.lONG_TEXTField; + } + set { + this.lONG_TEXTField = value; + this.RaisePropertyChanged("LONG_TEXT"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=13)] + public string LABOR { + get { + return this.lABORField; + } + set { + this.lABORField = value; + this.RaisePropertyChanged("LABOR"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=14)] + public string VOLUMEUNIT { + get { + return this.vOLUMEUNITField; + } + set { + this.vOLUMEUNITField = value; + this.RaisePropertyChanged("VOLUMEUNIT"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=15)] + public string GROSS_WT { + get { + return this.gROSS_WTField; + } + set { + this.gROSS_WTField = value; + this.RaisePropertyChanged("GROSS_WT"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=16)] + public string NET_WEIGHT { + get { + return this.nET_WEIGHTField; + } + set { + this.nET_WEIGHTField = value; + this.RaisePropertyChanged("NET_WEIGHT"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=17)] + public string UNIT_OF_WT { + get { + return this.uNIT_OF_WTField; + } + set { + this.uNIT_OF_WTField = value; + this.RaisePropertyChanged("UNIT_OF_WT"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=18)] + public string FERTH { + get { + return this.fERTHField; + } + set { + this.fERTHField = value; + this.RaisePropertyChanged("FERTH"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=19)] + public string VOLUME { + get { + return this.vOLUMEField; + } + set { + this.vOLUMEField = value; + this.RaisePropertyChanged("VOLUME"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=20)] + public string PUR_GROUP { + get { + return this.pUR_GROUPField; + } + set { + this.pUR_GROUPField = value; + this.RaisePropertyChanged("PUR_GROUP"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=21)] + public string PO_UNIT { + get { + return this.pO_UNITField; + } + set { + this.pO_UNITField = value; + this.RaisePropertyChanged("PO_UNIT"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=22)] + public string DENOMINATR { + get { + return this.dENOMINATRField; + } + set { + this.dENOMINATRField = value; + this.RaisePropertyChanged("DENOMINATR"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=23)] + public string NUMERATOR { + get { + return this.nUMERATORField; + } + set { + this.nUMERATORField = value; + this.RaisePropertyChanged("NUMERATOR"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=24)] + public string PUR_VALKEY { + get { + return this.pUR_VALKEYField; + } + set { + this.pUR_VALKEYField = value; + this.RaisePropertyChanged("PUR_VALKEY"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=25)] + public string MMSTA { + get { + return this.mMSTAField; + } + set { + this.mMSTAField = value; + this.RaisePropertyChanged("MMSTA"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=26)] + public string KAUTB { + get { + return this.kAUTBField; + } + set { + this.kAUTBField = value; + this.RaisePropertyChanged("KAUTB"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=27)] + public string KORDB { + get { + return this.kORDBField; + } + set { + this.kORDBField = value; + this.RaisePropertyChanged("KORDB"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=28)] + public string CLASSTYPENEW { + get { + return this.cLASSTYPENEWField; + } + set { + this.cLASSTYPENEWField = value; + this.RaisePropertyChanged("CLASSTYPENEW"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=29)] + public string CLASSNUMNEW { + get { + return this.cLASSNUMNEWField; + } + set { + this.cLASSNUMNEWField = value; + this.RaisePropertyChanged("CLASSNUMNEW"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=30)] + public string DELYG_PLNT { + get { + return this.dELYG_PLNTField; + } + set { + this.dELYG_PLNTField = value; + this.RaisePropertyChanged("DELYG_PLNT"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=31)] + public string TAXCLASS_1 { + get { + return this.tAXCLASS_1Field; + } + set { + this.tAXCLASS_1Field = value; + this.RaisePropertyChanged("TAXCLASS_1"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=32)] + public string VERSG { + get { + return this.vERSGField; + } + set { + this.vERSGField = value; + this.RaisePropertyChanged("VERSG"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=33)] + public string VRKME { + get { + return this.vRKMEField; + } + set { + this.vRKMEField = value; + this.RaisePropertyChanged("VRKME"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=34)] + public string BASE_TOR { + get { + return this.bASE_TORField; + } + set { + this.bASE_TORField = value; + this.RaisePropertyChanged("BASE_TOR"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=35)] + public string SALE_TOR { + get { + return this.sALE_TORField; + } + set { + this.sALE_TORField = value; + this.RaisePropertyChanged("SALE_TOR"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=36)] + public string ACCT_ASSGT { + get { + return this.aCCT_ASSGTField; + } + set { + this.aCCT_ASSGTField = value; + this.RaisePropertyChanged("ACCT_ASSGT"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=37)] + public string ITEM_CAT { + get { + return this.iTEM_CATField; + } + set { + this.iTEM_CATField = value; + this.RaisePropertyChanged("ITEM_CAT"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=38)] + public string ITEM_CAT1 { + get { + return this.iTEM_CAT1Field; + } + set { + this.iTEM_CAT1Field = value; + this.RaisePropertyChanged("ITEM_CAT1"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=39)] + public string AVAILCHECK { + get { + return this.aVAILCHECKField; + } + set { + this.aVAILCHECKField = value; + this.RaisePropertyChanged("AVAILCHECK"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=40)] + public string LOADINGGRP { + get { + return this.lOADINGGRPField; + } + set { + this.lOADINGGRPField = value; + this.RaisePropertyChanged("LOADINGGRP"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=41)] + public string ZJWLH { + get { + return this.zJWLHField; + } + set { + this.zJWLHField = value; + this.RaisePropertyChanged("ZJWLH"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=42)] + public string STOR_CONDS { + get { + return this.sTOR_CONDSField; + } + set { + this.sTOR_CONDSField = value; + this.RaisePropertyChanged("STOR_CONDS"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=43)] + public string XCHPF { + get { + return this.xCHPFField; + } + set { + this.xCHPFField = value; + this.RaisePropertyChanged("XCHPF"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=44)] + public string MAXLZ { + get { + return this.mAXLZField; + } + set { + this.mAXLZField = value; + this.RaisePropertyChanged("MAXLZ"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=45)] + public string LZEIH { + get { + return this.lZEIHField; + } + set { + this.lZEIHField = value; + this.RaisePropertyChanged("LZEIH"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=46)] + public string MINREMLIFE { + get { + return this.mINREMLIFEField; + } + set { + this.mINREMLIFEField = value; + this.RaisePropertyChanged("MINREMLIFE"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=47)] + public string SHELF_LIFE { + get { + return this.sHELF_LIFEField; + } + set { + this.sHELF_LIFEField = value; + this.RaisePropertyChanged("SHELF_LIFE"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=48)] + public string PERIOD_IND_EXPIRATION_DATE { + get { + return this.pERIOD_IND_EXPIRATION_DATEField; + } + set { + this.pERIOD_IND_EXPIRATION_DATEField = value; + this.RaisePropertyChanged("PERIOD_IND_EXPIRATION_DATE"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=49)] + public string MRP_TYPE { + get { + return this.mRP_TYPEField; + } + set { + this.mRP_TYPEField = value; + this.RaisePropertyChanged("MRP_TYPE"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=50)] + public string REORDER_PT { + get { + return this.rEORDER_PTField; + } + set { + this.rEORDER_PTField = value; + this.RaisePropertyChanged("REORDER_PT"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=51)] + public string FIXED_LOT { + get { + return this.fIXED_LOTField; + } + set { + this.fIXED_LOTField = value; + this.RaisePropertyChanged("FIXED_LOT"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=52)] + public string MAX_STOCK { + get { + return this.mAX_STOCKField; + } + set { + this.mAX_STOCKField = value; + this.RaisePropertyChanged("MAX_STOCK"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=53)] + public string MRP_CTRLER { + get { + return this.mRP_CTRLERField; + } + set { + this.mRP_CTRLERField = value; + this.RaisePropertyChanged("MRP_CTRLER"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=54)] + public string LOTSIZEKEY { + get { + return this.lOTSIZEKEYField; + } + set { + this.lOTSIZEKEYField = value; + this.RaisePropertyChanged("LOTSIZEKEY"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=55)] + public string BSTMI { + get { + return this.bSTMIField; + } + set { + this.bSTMIField = value; + this.RaisePropertyChanged("BSTMI"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=56)] + public string BSTMA { + get { + return this.bSTMAField; + } + set { + this.bSTMAField = value; + this.RaisePropertyChanged("BSTMA"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=57)] + public string MRP_GROUP { + get { + return this.mRP_GROUPField; + } + set { + this.mRP_GROUPField = value; + this.RaisePropertyChanged("MRP_GROUP"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=58)] + public string BSTRF { + get { + return this.bSTRFField; + } + set { + this.bSTRFField = value; + this.RaisePropertyChanged("BSTRF"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=59)] + public string ZCATEG { + get { + return this.zCATEGField; + } + set { + this.zCATEGField = value; + this.RaisePropertyChanged("ZCATEG"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=60)] + public string ZKUNNR { + get { + return this.zKUNNRField; + } + set { + this.zKUNNRField = value; + this.RaisePropertyChanged("ZKUNNR"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=61)] + public string ZFLGMT { + get { + return this.zFLGMTField; + } + set { + this.zFLGMTField = value; + this.RaisePropertyChanged("ZFLGMT"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=62)] + public string ZXFLAG { + get { + return this.zXFLAGField; + } + set { + this.zXFLAGField = value; + this.RaisePropertyChanged("ZXFLAG"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=63)] + public string ZPFILM { + get { + return this.zPFILMField; + } + set { + this.zPFILMField = value; + this.RaisePropertyChanged("ZPFILM"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=64)] + public string ZSTOCK { + get { + return this.zSTOCKField; + } + set { + this.zSTOCKField = value; + this.RaisePropertyChanged("ZSTOCK"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=65)] + public string ZRCALC { + get { + return this.zRCALCField; + } + set { + this.zRCALCField = value; + this.RaisePropertyChanged("ZRCALC"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=66)] + public string ZSMSTD { + get { + return this.zSMSTDField; + } + set { + this.zSMSTDField = value; + this.RaisePropertyChanged("ZSMSTD"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=67)] + public string PROC_TYPE { + get { + return this.pROC_TYPEField; + } + set { + this.pROC_TYPEField = value; + this.RaisePropertyChanged("PROC_TYPE"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=68)] + public string SM_KEY { + get { + return this.sM_KEYField; + } + set { + this.sM_KEYField = value; + this.RaisePropertyChanged("SM_KEY"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=69)] + public string SOBSL { + get { + return this.sOBSLField; + } + set { + this.sOBSLField = value; + this.RaisePropertyChanged("SOBSL"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=70)] + public string BACKFLUSH { + get { + return this.bACKFLUSHField; + } + set { + this.bACKFLUSHField = value; + this.RaisePropertyChanged("BACKFLUSH"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=71)] + public string INHSEPRODT { + get { + return this.iNHSEPRODTField; + } + set { + this.iNHSEPRODTField = value; + this.RaisePropertyChanged("INHSEPRODT"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=72)] + public string PLIFZ { + get { + return this.pLIFZField; + } + set { + this.pLIFZField = value; + this.RaisePropertyChanged("PLIFZ"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=73)] + public string WEBAZ { + get { + return this.wEBAZField; + } + set { + this.wEBAZField = value; + this.RaisePropertyChanged("WEBAZ"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=74)] + public string EISBE { + get { + return this.eISBEField; + } + set { + this.eISBEField = value; + this.RaisePropertyChanged("EISBE"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=75)] + public string LGPRO { + get { + return this.lGPROField; + } + set { + this.lGPROField = value; + this.RaisePropertyChanged("LGPRO"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=76)] + public string SLOC_EXPRC { + get { + return this.sLOC_EXPRCField; + } + set { + this.sLOC_EXPRCField = value; + this.RaisePropertyChanged("SLOC_EXPRC"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=77)] + public string PLAN_STRGP { + get { + return this.pLAN_STRGPField; + } + set { + this.pLAN_STRGPField = value; + this.RaisePropertyChanged("PLAN_STRGP"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=78)] + public string CONSUMMODE { + get { + return this.cONSUMMODEField; + } + set { + this.cONSUMMODEField = value; + this.RaisePropertyChanged("CONSUMMODE"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=79)] + public string FWD_CONS { + get { + return this.fWD_CONSField; + } + set { + this.fWD_CONSField = value; + this.RaisePropertyChanged("FWD_CONS"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=80)] + public string VINT1 { + get { + return this.vINT1Field; + } + set { + this.vINT1Field = value; + this.RaisePropertyChanged("VINT1"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=81)] + public string MISKZ { + get { + return this.mISKZField; + } + set { + this.mISKZField = value; + this.RaisePropertyChanged("MISKZ"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=82)] + public string MPR_AVAILCHECK { + get { + return this.mPR_AVAILCHECKField; + } + set { + this.mPR_AVAILCHECKField = value; + this.RaisePropertyChanged("MPR_AVAILCHECK"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=83)] + public string DEP_REQ_ID { + get { + return this.dEP_REQ_IDField; + } + set { + this.dEP_REQ_IDField = value; + this.RaisePropertyChanged("DEP_REQ_ID"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=84)] + public string DISCONTINU { + get { + return this.dISCONTINUField; + } + set { + this.dISCONTINUField = value; + this.RaisePropertyChanged("DISCONTINU"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=85)] + public string EFF_O_DAY { + get { + return this.eFF_O_DAYField; + } + set { + this.eFF_O_DAYField = value; + this.RaisePropertyChanged("EFF_O_DAY"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=86)] + public string FOLLOW_UP { + get { + return this.fOLLOW_UPField; + } + set { + this.fOLLOW_UPField = value; + this.RaisePropertyChanged("FOLLOW_UP"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=87)] + public string SFCPF { + get { + return this.sFCPFField; + } + set { + this.sFCPFField = value; + this.RaisePropertyChanged("SFCPF"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=88)] + public string UEETK { + get { + return this.uEETKField; + } + set { + this.uEETKField = value; + this.RaisePropertyChanged("UEETK"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=89)] + public string UNETO { + get { + return this.uNETOField; + } + set { + this.uNETOField = value; + this.RaisePropertyChanged("UNETO"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=90)] + public string UEETO { + get { + return this.uEETOField; + } + set { + this.uEETOField = value; + this.RaisePropertyChanged("UEETO"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=91)] + public string AUSME { + get { + return this.aUSMEField; + } + set { + this.aUSMEField = value; + this.RaisePropertyChanged("AUSME"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=92)] + public string MENGE_FH { + get { + return this.mENGE_FHField; + } + set { + this.mENGE_FHField = value; + this.RaisePropertyChanged("MENGE_FH"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=93)] + public string MENGE_BS { + get { + return this.mENGE_BSField; + } + set { + this.mENGE_BSField = value; + this.RaisePropertyChanged("MENGE_BS"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=94)] + public string INSPTYPE1 { + get { + return this.iNSPTYPE1Field; + } + set { + this.iNSPTYPE1Field = value; + this.RaisePropertyChanged("INSPTYPE1"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=95)] + public string INSPTYPE2 { + get { + return this.iNSPTYPE2Field; + } + set { + this.iNSPTYPE2Field = value; + this.RaisePropertyChanged("INSPTYPE2"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=96)] + public string INSPTYPE3 { + get { + return this.iNSPTYPE3Field; + } + set { + this.iNSPTYPE3Field = value; + this.RaisePropertyChanged("INSPTYPE3"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=97)] + public string INSPTYPE4 { + get { + return this.iNSPTYPE4Field; + } + set { + this.iNSPTYPE4Field = value; + this.RaisePropertyChanged("INSPTYPE4"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=98)] + public string INSPTYPE5 { + get { + return this.iNSPTYPE5Field; + } + set { + this.iNSPTYPE5Field = value; + this.RaisePropertyChanged("INSPTYPE5"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=99)] + public string INSPTYPE6 { + get { + return this.iNSPTYPE6Field; + } + set { + this.iNSPTYPE6Field = value; + this.RaisePropertyChanged("INSPTYPE6"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=100)] + public string PRICE_CTRL { + get { + return this.pRICE_CTRLField; + } + set { + this.pRICE_CTRLField = value; + this.RaisePropertyChanged("PRICE_CTRL"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=101)] + public string ML_SETTLE { + get { + return this.mL_SETTLEField; + } + set { + this.mL_SETTLEField = value; + this.RaisePropertyChanged("ML_SETTLE"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=102)] + public string PRICE_UNIT { + get { + return this.pRICE_UNITField; + } + set { + this.pRICE_UNITField = value; + this.RaisePropertyChanged("PRICE_UNIT"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=103)] + public string VAL_CLASS { + get { + return this.vAL_CLASSField; + } + set { + this.vAL_CLASSField = value; + this.RaisePropertyChanged("VAL_CLASS"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=104)] + public string EKLAS { + get { + return this.eKLASField; + } + set { + this.eKLASField = value; + this.RaisePropertyChanged("EKLAS"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=105)] + public string STPRS { + get { + return this.sTPRSField; + } + set { + this.sTPRSField = value; + this.RaisePropertyChanged("STPRS"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=106)] + public string PROFIT_CTR { + get { + return this.pROFIT_CTRField; + } + set { + this.pROFIT_CTRField = value; + this.RaisePropertyChanged("PROFIT_CTR"); + } + } + + /// + [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=107)] + public string LOSGR { + get { + return this.lOSGRField; + } + set { + this.lOSGRField = value; + this.RaisePropertyChanged("LOSGR"); + } + } + + public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged; + + protected void RaisePropertyChanged(string propertyName) { + System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged; + if ((propertyChanged != null)) { + propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName)); + } + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(IsWrapped=false)] + public partial class si_mm104_mcs_senderRequest { + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.zmc.com/flavor/mm", Order=0)] + public FactorySystemApi.Sap_ViewMaterial.dt_mm104_req mt_mm104_req; + + public si_mm104_mcs_senderRequest() { + } + + public si_mm104_mcs_senderRequest(FactorySystemApi.Sap_ViewMaterial.dt_mm104_req mt_mm104_req) { + this.mt_mm104_req = mt_mm104_req; + } + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + [System.ServiceModel.MessageContractAttribute(IsWrapped=false)] + public partial class si_mm104_mcs_senderResponse { + + [System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://www.zmc.com/flavor/mm", Order=0)] + public FactorySystemApi.Sap_ViewMaterial.dt_mm104_res mt_mm104_res; + + public si_mm104_mcs_senderResponse() { + } + + public si_mm104_mcs_senderResponse(FactorySystemApi.Sap_ViewMaterial.dt_mm104_res mt_mm104_res) { + this.mt_mm104_res = mt_mm104_res; + } + } + + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public interface si_mm104_mcs_senderChannel : FactorySystemApi.Sap_ViewMaterial.si_mm104_mcs_sender, System.ServiceModel.IClientChannel { + } + + [System.Diagnostics.DebuggerStepThroughAttribute()] + [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] + public partial class si_mm104_mcs_senderClient : System.ServiceModel.ClientBase, FactorySystemApi.Sap_ViewMaterial.si_mm104_mcs_sender { + + public si_mm104_mcs_senderClient() { + } + + public si_mm104_mcs_senderClient(string endpointConfigurationName) : + base(endpointConfigurationName) { + } + + public si_mm104_mcs_senderClient(string endpointConfigurationName, string remoteAddress) : + base(endpointConfigurationName, remoteAddress) { + } + + public si_mm104_mcs_senderClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : + base(endpointConfigurationName, remoteAddress) { + } + + public si_mm104_mcs_senderClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : + base(binding, remoteAddress) { + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + FactorySystemApi.Sap_ViewMaterial.si_mm104_mcs_senderResponse FactorySystemApi.Sap_ViewMaterial.si_mm104_mcs_sender.si_mm104_mcs_sender(FactorySystemApi.Sap_ViewMaterial.si_mm104_mcs_senderRequest request) { + return base.Channel.si_mm104_mcs_sender(request); + } + + public FactorySystemApi.Sap_ViewMaterial.dt_mm104_res si_mm104_mcs_sender(FactorySystemApi.Sap_ViewMaterial.dt_mm104_req mt_mm104_req) { + FactorySystemApi.Sap_ViewMaterial.si_mm104_mcs_senderRequest inValue = new FactorySystemApi.Sap_ViewMaterial.si_mm104_mcs_senderRequest(); + inValue.mt_mm104_req = mt_mm104_req; + FactorySystemApi.Sap_ViewMaterial.si_mm104_mcs_senderResponse retVal = ((FactorySystemApi.Sap_ViewMaterial.si_mm104_mcs_sender)(this)).si_mm104_mcs_sender(inValue); + return retVal.mt_mm104_res; + } + + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] + System.Threading.Tasks.Task FactorySystemApi.Sap_ViewMaterial.si_mm104_mcs_sender.si_mm104_mcs_senderAsync(FactorySystemApi.Sap_ViewMaterial.si_mm104_mcs_senderRequest request) { + return base.Channel.si_mm104_mcs_senderAsync(request); + } + + public System.Threading.Tasks.Task si_mm104_mcs_senderAsync(FactorySystemApi.Sap_ViewMaterial.dt_mm104_req mt_mm104_req) { + FactorySystemApi.Sap_ViewMaterial.si_mm104_mcs_senderRequest inValue = new FactorySystemApi.Sap_ViewMaterial.si_mm104_mcs_senderRequest(); + inValue.mt_mm104_req = mt_mm104_req; + return ((FactorySystemApi.Sap_ViewMaterial.si_mm104_mcs_sender)(this)).si_mm104_mcs_senderAsync(inValue); + } + } +} diff --git a/FactorySystemApi/Connected Services/Sap_ViewMaterial/Reference.svcmap b/FactorySystemApi/Connected Services/Sap_ViewMaterial/Reference.svcmap new file mode 100644 index 0000000..8332c05 --- /dev/null +++ b/FactorySystemApi/Connected Services/Sap_ViewMaterial/Reference.svcmap @@ -0,0 +1,31 @@ + + + + false + true + true + + false + false + false + + + true + Auto + true + true + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/FactorySystemApi/Connected Services/Sap_ViewMaterial/configuration.svcinfo b/FactorySystemApi/Connected Services/Sap_ViewMaterial/configuration.svcinfo new file mode 100644 index 0000000..865d1db --- /dev/null +++ b/FactorySystemApi/Connected Services/Sap_ViewMaterial/configuration.svcinfo @@ -0,0 +1,12 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/FactorySystemApi/Connected Services/Sap_ViewMaterial/configuration91.svcinfo b/FactorySystemApi/Connected Services/Sap_ViewMaterial/configuration91.svcinfo new file mode 100644 index 0000000..6838902 --- /dev/null +++ b/FactorySystemApi/Connected Services/Sap_ViewMaterial/configuration91.svcinfo @@ -0,0 +1,395 @@ + + + + + + + si_mm104_mcs_senderBinding + + + + + + + + + + + + + + + + + + + + + StrongWildcard + + + + + + 65536 + + + + + + + + + System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement + + + 0 + + + 0 + + + 0 + + + 0 + + + 0 + + + System.Text.UTF8Encoding + + + Buffered + + + + + + Text + + + System.ServiceModel.Configuration.BasicHttpSecurityElement + + + None + + + System.ServiceModel.Configuration.HttpTransportSecurityElement + + + None + + + None + + + System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement + + + Never + + + TransportSelected + + + (集合) + + + + + + System.ServiceModel.Configuration.BasicHttpMessageSecurityElement + + + UserName + + + Default + + + + + + + si_mm104_mcs_senderBinding1 + + + + + + + + + + + + + + + + + + + + + StrongWildcard + + + + + + 65536 + + + + + + + + + System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement + + + 0 + + + 0 + + + 0 + + + 0 + + + 0 + + + System.Text.UTF8Encoding + + + Buffered + + + + + + Text + + + System.ServiceModel.Configuration.BasicHttpSecurityElement + + + Transport + + + System.ServiceModel.Configuration.HttpTransportSecurityElement + + + None + + + None + + + System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement + + + Never + + + TransportSelected + + + (集合) + + + + + + System.ServiceModel.Configuration.BasicHttpMessageSecurityElement + + + UserName + + + Default + + + + + + + + + http://sappodev.hbglobal.com:50000/XISOAPAdapter/MessageServlet?senderParty=&senderService=ZMCS_FLAVOR&receiverParty=&receiverService=&interface=si_mm104_mcs_sender&interfaceNamespace=http%3A%2F%2Fwww.zmc.com%2Fflavor%2Fmm + + + + + + basicHttpBinding + + + si_mm104_mcs_senderBinding + + + Sap_ViewMaterial.si_mm104_mcs_sender + + + System.ServiceModel.Configuration.AddressHeaderCollectionElement + + + <Header /> + + + System.ServiceModel.Configuration.IdentityElement + + + System.ServiceModel.Configuration.UserPrincipalNameElement + + + + + + System.ServiceModel.Configuration.ServicePrincipalNameElement + + + + + + System.ServiceModel.Configuration.DnsElement + + + + + + System.ServiceModel.Configuration.RsaElement + + + + + + System.ServiceModel.Configuration.CertificateElement + + + + + + System.ServiceModel.Configuration.CertificateReferenceElement + + + My + + + LocalMachine + + + FindBySubjectDistinguishedName + + + + + + False + + + HTTP_Port1 + + + + + + + + + + + + + https://sappodev.hbglobal.com:50001/XISOAPAdapter/MessageServlet?senderParty=&senderService=ZMCS_FLAVOR&receiverParty=&receiverService=&interface=si_mm104_mcs_sender&interfaceNamespace=http%3A%2F%2Fwww.zmc.com%2Fflavor%2Fmm + + + + + + basicHttpBinding + + + si_mm104_mcs_senderBinding1 + + + Sap_ViewMaterial.si_mm104_mcs_sender + + + System.ServiceModel.Configuration.AddressHeaderCollectionElement + + + <Header /> + + + System.ServiceModel.Configuration.IdentityElement + + + System.ServiceModel.Configuration.UserPrincipalNameElement + + + + + + System.ServiceModel.Configuration.ServicePrincipalNameElement + + + + + + System.ServiceModel.Configuration.DnsElement + + + + + + System.ServiceModel.Configuration.RsaElement + + + + + + System.ServiceModel.Configuration.CertificateElement + + + + + + System.ServiceModel.Configuration.CertificateReferenceElement + + + My + + + LocalMachine + + + FindBySubjectDistinguishedName + + + + + + False + + + HTTPS_Port + + + + + + + + + + + \ No newline at end of file diff --git a/FactorySystemApi/Connected Services/Sap_ViewMaterial/si_mm104_mcs_sender.wsdl b/FactorySystemApi/Connected Services/Sap_ViewMaterial/si_mm104_mcs_sender.wsdl new file mode 100644 index 0000000..1cf80c7 --- /dev/null +++ b/FactorySystemApi/Connected Services/Sap_ViewMaterial/si_mm104_mcs_sender.wsdl @@ -0,0 +1,837 @@ + + + + + + + + + + response数据类型 + db2bf9beddbb11edc9c20000001b7af6 + + + + + db1e6b65ddbb11edce376018953d3d57 + 消息类型 + + + + + db1e6b66ddbb11edb3666018953d3d57 + 消息文本 + + + + + ab90da5adb2d11ec840b54ee75f285db + + + + + + ab90da58db2d11ec932654ee75f285db + 工厂 + + + + + 4b8fa48c274711ed95186018953d3d57 + 物料号 + + + + + 1ee5e493ddb011edc8e76018953d3d57 + 消息类型 + + + + + 1ee5e494ddb011edb96b6018953d3d57 + 消息文本 + + + + + + + + + + request数据类型 + bcc865b0de8711ed80db0000001b7af6 + + + + + a448c6a1de4d11eda9ba6018953d3d57 + 选择登录视图 + + + + + + aceae80ede4d11edb2656018953d3d57 + 基本数据视图 + + + + + d7633b42de4d11ed9d0a6018953d3d57 + 分类视图 + + + + + d7633b43de4d11ed8e5c6018953d3d57 + 采购视图 + + + + + ecf8dde9de4d11edc69e6018953d3d57 + 存储视图 + + + + + ecf8ddeade4d11edc0ae6018953d3d57 + 销售视图 + + + + + 097c3f63de4e11edb9686018953d3d57 + MRP视图 + + + + + bcb9c407de8711edc5ce6018953d3d57 + 工作计划视图 + + + + + bcb9c408de8711ed97e56018953d3d57 + 会计视图 + + + + + bcb9c409de8711edb54c6018953d3d57 + 质量管理视图 + + + + + + + + a702d03fdd9011edba896018953d3d57 + 物料登录数据 + + + + + + 223644c3db2e11ecc20854ee75f285db + 行业领域 + + + + + 05e94b2bdd9111ed966d6018953d3d57 + 物料类型 + + + + + efd84950dd9111ed98a26018953d3d57 + 工厂 + + + + + efd84951dd9111edae9d6018953d3d57 + 库存地点 + + + + + efd84952dd9111eda6fd6018953d3d57 + 销售组织 + + + + + aa42dbd5dd9211eda5316018953d3d57 + 分销渠道 + + + + + aa42dbd6dd9211edc5246018953d3d57 + 物料号 + + + + + aa42dbd7dd9211ed953e6018953d3d57 + 旧物料号(试验号) + + + + + aa42dbd8dd9211eda99b6018953d3d57 + 基本计量单位 + + + + + aa42dbd9dd9211ed81806018953d3d57 + 物料描述(中文) + + + + + c4e7f952dd9211ed9e6e6018953d3d57 + 物料组 + + + + + c4e7f953dd9211edc8f66018953d3d57 + 大小/量纲(规格) + + + + + def58b77dd9211edc2fe6018953d3d57 + 物料长文本 + + + + + def58b78dd9211ed99586018953d3d57 + 实验室/办公室 + + + + + eccd78f8dd9211edbb1b6018953d3d57 + 体积单位 + + + + + fa1b0f85dd9211edc8b26018953d3d57 + 毛重 + + + + + 084c4c7bdd9311edb89a6018953d3d57 + 净重 + + + + + 226063b5dd9311eda7ae6018953d3d57 + 重量单位 + + + + + 226063b6dd9311edb1946018953d3d57 + 生产/检验备忘录 + + + + + 3047dc20dd9311eda64a6018953d3d57 + 业务量/体积 + + + + + 3e88ad22dd9311ed8ca16018953d3d57 + 采购组 + + + + + 4bafb1b2dd9311ed98ad6018953d3d57 + 采购单位 + + + + + 6724fd17dd9311eda1bd6018953d3d57 + 采购单位数量 + + + + + 6724fd18dd9311edad4d6018953d3d57 + 基本单位数量 + + + + + 741462dadd9311ed9cc36018953d3d57 + 采购价值代码 + + + + + 83471afddd9311edb68d6018953d3d57 + 工厂特定状态 + + + + + 961e1fc9dd9311edb45b6018953d3d57 + 自动采购订单 + + + + + a2d699f1dd9311ed9b4b6018953d3d57 + 货源清单 + + + + + b072eeefdd9311ed91b66018953d3d57 + 类别种类 + + + + + bca64f06dd9311ed8ee76018953d3d57 + 类别 + + + + + cded5d66dd9311ed8a666018953d3d57 + 交货工厂 + + + + + e1934468dd9311ed87446018953d3d57 + 税分类 + + + + + ef058f6bdd9311ed9aec6018953d3d57 + 物料统计组 + + + + + fad2c3efdd9311edc3e46018953d3d57 + 销售单位 + + + + + 124304c1dd9411ed99056018953d3d57 + 基本单位数量 + + + + + 1f876ba4dd9411edbc396018953d3d57 + 销售单位数量 + + + + + 2cf394d2dd9411edaadc6018953d3d57 + 科目设置组 + + + + + 3d1705ccdd9411edcd2e6018953d3d57 + 普通项目类别 + + + + + 6aa212a4dd9411edca3a6018953d3d57 + 项目类别 + + + + + 79ddf59cdd9411edb04d6018953d3d57 + 可用性检查 + + + + + be366a26dd9411edc2886018953d3d57 + 装载组 + + + + + ce1824eddd9411edae486018953d3d57 + 旧物料号 + + + + + da07225add9411ed990c6018953d3d57 + 存储条件 + + + + + f1f8cf18dd9411edc9966018953d3d57 + 批次管理 + + + + + fed73b6bdd9411ed964a6018953d3d57 + 最大存储期间 + + + + + 90d3ae21dda911ed84a16018953d3d57 + 时间单位 + + + + + 9f2f9814dda911edc8876018953d3d57 + 最小剩余货架寿命 + + + + + e1ca4f6fdda911ed9dee6018953d3d57 + 总货架寿命 + + + + + f08667e9dda911edb45a6018953d3d57 + SLED期间标识 + + + + + ffb8e305dda911edcfbd6018953d3d57 + MRP类型 + + + + + 0e5ed7dcddaa11ed9f346018953d3d57 + 再订货点 + + + + + 1b3afe47ddaa11edb1966018953d3d57 + 固定批量大小 + + + + + 28aad4aeddaa11ed8c866018953d3d57 + 最大库存级别 + + + + + 351acbdcddaa11eda9236018953d3d57 + MRP控制者 + + + + + 42c532c1ddaa11edc1ca6018953d3d57 + 批量大小 + + + + + 500da5ceddaa11ed95526018953d3d57 + 最小批量大小 + + + + + 69376872ddaa11edcb7b6018953d3d57 + 最大批量大小 + + + + + 75379f2fddaa11edadc96018953d3d57 + MRP组 + + + + + 81bb58a3ddaa11ed952e6018953d3d57 + 舍入值 + + + + + 94690076ddaa11eda2616018953d3d57 + 产品分类 + + + + + a11cbb0addaa11edb1cd6018953d3d57 + 客户代码 + + + + + ae9a2746ddaa11ed98de6018953d3d57 + 大小料 + + + + + ba3b9c92ddaa11ed89f36018953d3d57 + 不计算缺料 + + + + + c56aca49ddaa11ed90656018953d3d57 + 压膜 + + + + + d2289642ddaa11edb88f6018953d3d57 + 安全库存带小样 + + + + + de3cc954ddaa11edb8966018953d3d57 + 需求计算不考虑前置物料库存 + + + + + ec7fd564ddaa11ed8f7b6018953d3d57 + 小料标准(小于) + + + + + f95ae0d5ddaa11edbcec6018953d3d57 + 采购类型 + + + + + 05d3010addab11edce9f6018953d3d57 + 计划边际码 + + + + + 13a2e1b8ddab11ed86396018953d3d57 + 特殊采购类 + + + + + 2c2efe1eddab11eda3476018953d3d57 + 反冲标识 + + + + + 48878bc0ddab11ed9bdd6018953d3d57 + 自制生产时间 + + + + + 53e6deafddab11edc2436018953d3d57 + 计划交货时间 + + + + + 6310a27bddab11ed95bf6018953d3d57 + 收货处理时间 + + + + + 6fbe2e2addab11ed8dbe6018953d3d57 + 安全库存 + + + + + 7d68188addab11ed8eb56018953d3d57 + 发货库存地点 + + + + + 8f5e80bbddab11ed97006018953d3d57 + 外部采购仓储地点 + + + + + 9e144cc0ddab11edc52b6018953d3d57 + 策略组 + + + + + b335f124ddab11ed8d586018953d3d57 + 消耗模式 + + + + + c336c6d5ddab11ed983c6018953d3d57 + 向前消耗期间(未来) + + + + + d015c5faddab11edcdd36018953d3d57 + 逆向消耗期 + + + + + ddad3760ddab11edc0f46018953d3d57 + 混合MRP + + + + + efb39e41ddab11eda2db6018953d3d57 + 可用性检查 + + + + + fe3268faddab11ed97366018953d3d57 + 独立/集中 + + + + + 0fc0ba78ddac11edbf126018953d3d57 + 非连续标识 + + + + + 1ab5613eddac11ed9a556018953d3d57 + 生效期 + + + + + 27878713ddac11eda0706018953d3d57 + 后续的物料 + + + + + 3c8c6a2cddac11ed801e6018953d3d57 + 生产计划参数文件 + + + + + 49d2601bddac11eda9576018953d3d57 + 无限制过量交货 + + + + + 56a8ec8dddac11edaa3c6018953d3d57 + 不足交货允差 + + + + + 640ff18eddac11edbf976018953d3d57 + 过度交货允差 + + + + + 6fe22311ddac11eda12c6018953d3d57 + 发货单位 + + + + + 7a1a7ce2ddac11edb0536018953d3d57 + 发货单位数量 + + + + + 8d9454e2ddac11edc7776018953d3d57 + 基本单位数量 + + + + + 9d2ef7f8ddac11edca3c6018953d3d57 + 检验类型1 + + + + + a974e028ddac11edbe556018953d3d57 + 检验类型2 + + + + + b55ba3b1ddac11edc97e6018953d3d57 + 检验类型3 + + + + + c2471793ddac11ed8b126018953d3d57 + 检验类型4 + + + + + ce80a6d0ddac11edb9d06018953d3d57 + 检验类型5 + + + + + d917ed94ddac11edb60a6018953d3d57 + 检验类型6 + + + + + e65ade74ddac11ed8b446018953d3d57 + 价格控制 + + + + + f3c47a28ddac11eda3aa6018953d3d57 + 价格确定 + + + + + 002a27ecddad11edb5ea6018953d3d57 + 价格单位 + + + + + 5da52777ddaf11edaadb6018953d3d57 + 评估类 + + + + + 0d278cceddad11edb34b6018953d3d57 + VC:销售订单库存 + + + + + 1b5fcc94ddad11ed905b6018953d3d57 + 标准价格 + + + + + 27c7d8d6ddad11ed8e156018953d3d57 + 利润中心 + + + + + 36fc7009ddad11ed85106018953d3d57 + 成本批量核算 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ + + \ No newline at end of file diff --git a/FactorySystemApi/Controllers/SapUploadController.cs b/FactorySystemApi/Controllers/SapUploadController.cs new file mode 100644 index 0000000..c9330f5 --- /dev/null +++ b/FactorySystemApi/Controllers/SapUploadController.cs @@ -0,0 +1,353 @@ + +using FactorySystemBll; +using FactorySystemCommon; +using FactorySystemModel.ResponseModel; +using System; +using System.Collections.Generic; +using System.Web.Http; +using Newtonsoft.Json; +using FactorySystemApi.Sap_ProductVersion; +using FactorySystemApi.Sap_Bom; +using FactorySystemApi.Sap_ViewMaterial; + +namespace FactorySystemApi.Controllers +{ + /// + /// SAP数据上传接口 + /// + [UserLoginFilter] + public class SapUploadController : ApiController + { + /// + /// 通用BOM上载 + /// + [HttpPost] + public ApiResult UploadBom(List inParam) + { + ApiResult apiResult = new ApiResult(); + apiResult.Data = -1; + + List> bomList = JsonConvert.DeserializeObject>>(JsonConvert.SerializeObject(inParam)); + int bomCount = bomList.Count; + + return ExceptionHelper.TryReturnException(() => + { + if (bomCount > 0) + { + dt_pp079_req req = new dt_pp079_req() + { + SOURCESYS = "MCS", + TARGETSYS = "SAP", + UPDATETIME = DateTime.Now.ToString("yyyyMMddHHmmss"), + HEAD = new dt_pp079_reqHEAD[bomCount] + }; + + for (int i = 0; i < bomCount; i++) + { + + Dictionary bom = bomList[i]; + + dt_pp079_reqHEAD head = new dt_pp079_reqHEAD() + { + WERKS = bom.ContainsKey("工厂") ? bom["工厂"].ToString() : "", // 工厂 + DATUV = bom.ContainsKey("开始生效日期") ? bom["开始生效日期"].ToString() : "", // 开始生效日期 + //DATUV = "20230301", // 开始生效日期 + STLAN = bom.ContainsKey("BOM用途") ? bom["BOM用途"].ToString() : "", // BOM用途 + STLST = bom.ContainsKey("BOM状态") ? bom["BOM状态"].ToString() : "", // BOM状态 + //STLST = "1", // BOM状态 + STKTX = bom.ContainsKey("可选文本") ? bom["可选文本"].ToString() : "", // 可选文本 + STLAL = bom.ContainsKey("可选BOM") ? bom["可选BOM"].ToString() : "", // 可选BOM + //STLAL = "1", // 可选BOM + MATNR = bom.ContainsKey("父项编码") ? bom["父项编码"].ToString() : "", // 父项编码 + MAKTX = bom.ContainsKey("父项描述") ? bom["父项描述"].ToString() : "", // 父项描述 + BMENG = bom.ContainsKey("基本数量") ? bom["基本数量"].ToString() : "", // 基本数量 + //BMENG = "1", // 基本数量 + BMEIN = bom.ContainsKey("基本单位") ? bom["基本单位"].ToString() : "", // 基本单位 + //BMEIN = "1", // 基本单位 + ITEM = new dt_pp079_reqHEADITEM[1] // BOM组件项目 + }; + + req.HEAD[i] = head; + dt_pp079_reqHEADITEM item = new dt_pp079_reqHEADITEM() + { + POSNR = bom.ContainsKey("子项序号") ? bom["子项序号"].ToString() : "", // 子项序号 + //POSNR = "1001", // 子项序号 + POSTP = bom.ContainsKey("项目类别") ? bom["项目类别"].ToString() : "", // 项目类别 + //POSTP = "1", // 项目类别 + IDNRK = bom.ContainsKey("子项编码") ? bom["子项编码"].ToString() : "", // 子项编码 + MAKTX = bom.ContainsKey("子件描述") ? bom["子件描述"].ToString() : "", // 子件描述 + MENGE = bom.ContainsKey("组件数量") ? bom["组件数量"].ToString() : "", // 组件数量 + //MENGE = "1", // 组件数量 + MEINS = bom.ContainsKey("计量单位") ? bom["计量单位"].ToString() : "", // 计量单位 + //MEINS = "1", // 计量单位 + AENNR = bom.ContainsKey("工程变更号") ? bom["工程变更号"].ToString() : "", // 工程变更号 + //AENNR = "1", // 工程变更号 + IDENT = bom.ContainsKey("项目ID") ? bom["项目ID"].ToString() : "", // 项目ID + BEIKZ = bom.ContainsKey("物料供应标识符") ? bom["物料供应标识符"].ToString() : "", // 物料供应标识符 + //BEIKZ = "1", // 物料供应标识符 + ERSKZ = bom.ContainsKey("备件标示") ? bom["备件标示"].ToString() : "", // 备件标示 + //ERSKZ = "1", // 备件标示 + LGORT = bom.ContainsKey("生产仓储地点") ? bom["生产仓储地点"].ToString() : "", // 生产仓储地点 + //LGORT = "1", // 生产仓储地点 + AUSCH = bom.ContainsKey("组件损耗率") ? bom["组件损耗率"].ToString() : "", // 组件损耗率 + //AUSCH = "0.5", // 组件损耗率 + SANKA = bom.ContainsKey("成本核算标识相关") ? bom["成本核算标识相关"].ToString() : "", // 成本核算标识相关 + //SANKA = "1", // 成本核算标识相关 + SANFE = bom.ContainsKey("生产相关") ? bom["生产相关"].ToString() : "", // 生产相关 + //SANFE = "1", // 生产相关 + POTX1 = bom.ContainsKey("BOM项目文本") ? bom["BOM项目文本"].ToString() : "", // BOM项目文本1 + POTX2 = bom.ContainsKey("BOM项目文本2") ? bom["BOM项目文本2"].ToString() : "", // BOM项目文本2 + ALPGR = bom.ContainsKey("替代项目组") ? bom["替代项目组"].ToString() : "", // 替代项目组 + //ALPGR = "1", // 替代项目组 + ALPRF = bom.ContainsKey("优先级") ? bom["优先级"].ToString() : "", // 优先级 + //ALPRF = "1", // 优先级 + ALPST = bom.ContainsKey("策略") ? bom["策略"].ToString() : "", // 策略 + //ALPST = "1", // 策略 + EWAHR = bom.ContainsKey("使用可能性") ? bom["使用可能性"].ToString() : "", // 使用可能性 + //EWAHR = "0.5", // 使用可能性 + FMENG = bom.ContainsKey("固定损耗数量") ? bom["固定损耗数量"].ToString() : "", // 固定损耗数量 + //FMENG = "1", // 固定损耗数量 + KZKUP = "" // 联产品 + }; + req.HEAD[i].ITEM[0] = item; + } + + si_pp079_mcs_senderClient senderClient = new si_pp079_mcs_senderClient(); + senderClient.ClientCredentials.UserName.UserName = AppSettingsHelper.GetAppSettingVal("Sap_Upload_UserName"); + senderClient.ClientCredentials.UserName.Password = AppSettingsHelper.GetAppSettingVal("Sap_Password"); + + dt_pp079_resHEAD[] resData = senderClient.si_pp079_mcs_sender(req); + apiResult.Data = 1; + } + + }, apiResult, Request, inParam); + } + + /// + /// 通用生产版本上载 + /// + [HttpPost] + public ApiResult UploadProductVersion(List inParam) + { + ApiResult apiResult = new ApiResult(); + apiResult.Data = 0; + + List> productList = JsonConvert.DeserializeObject>>(JsonConvert.SerializeObject(inParam)); + int productCount = productList.Count; + + return ExceptionHelper.TryReturnException(() => + { + if (productCount > 0) + { + dt_pp080_req req = new dt_pp080_req() + { + SOURCESYS = "MCS", + TARGETSYS = "SAP", + UPDATETIME = DateTime.Now.ToString("yyyyMMddHHmmss"), + HEAD = new dt_pp080_reqHEAD[productCount] + }; + + for (int i = 0; i < productCount; i++) + { + + Dictionary bom = productList[i]; + + dt_pp080_reqHEAD head = new dt_pp080_reqHEAD() + { + WERKS = bom.ContainsKey("工厂") ? bom["工厂"].ToString() : "", // 工厂 + MATNR = bom.ContainsKey("物料") ? bom["物料"].ToString() : "", // 物料 + VERID = bom.ContainsKey("版本") ? bom["版本"].ToString() : "", // 版本 + TEXT1 = bom.ContainsKey("文本") ? bom["文本"].ToString() : "", // 文本 + ADATU = bom.ContainsKey("有效从") ? bom["有效从"].ToString() : "", // 有效从 + BDATU = bom.ContainsKey("有效至") ? bom["有效至"].ToString() : "", // 有效至 + BSTMI = bom.ContainsKey("批量从") ? bom["批量从"].ToString() : "", // 批量从 + BSTMA = bom.ContainsKey("批量到") ? bom["批量到"].ToString() : "", // 批量到 + STLAL = bom.ContainsKey("可选的BOM") ? bom["可选的BOM"].ToString() : "", // 可选的BOM + STLAN = bom.ContainsKey("BOM用途") ? bom["BOM用途"].ToString() : "", // BOM用途 + PLNTY = bom.ContainsKey("任务清单类型") ? bom["任务清单类型"].ToString() : "", // 任务清单类型 + PLNNR = bom.ContainsKey("组") ? bom["组"].ToString() : "", // 组 + ALNAL = bom.ContainsKey("组计数器") ? bom["组计数器"].ToString() : "", // 组计数器 + ALORT = bom.ContainsKey("收货地点") ? bom["收货地点"].ToString() : "", // 收货地点 + ELPRO = bom.ContainsKey("发货仓储地点") ? bom["发货仓储地点"].ToString() : "" // 发货仓储地点 + }; + + req.HEAD[i] = head; + } + + si_pp080_mcs_senderClient senderClient = new si_pp080_mcs_senderClient(); + senderClient.ClientCredentials.UserName.UserName = AppSettingsHelper.GetAppSettingVal("Sap_Upload_UserName"); + senderClient.ClientCredentials.UserName.Password = AppSettingsHelper.GetAppSettingVal("Sap_Password"); + + dt_pp080_resHEAD[] resData = senderClient.si_pp080_mcs_sender(req); + } + + apiResult.Data = -1; + + }, apiResult, Request, inParam); + } + + /// + /// 物料上载 + /// + [HttpPost] + public ApiResult UploadViewMaterial(List inParam) + { + ApiResult apiResult = new ApiResult(); + apiResult.Data = -1; + + List> viewList = JsonConvert.DeserializeObject>>(JsonConvert.SerializeObject(inParam)); + int viewCount = viewList.Count; + + return ExceptionHelper.TryReturnException(() => + { + if (viewCount > 0) + { + dt_mm104_req req = new dt_mm104_req() + { + VIEW = new dt_mm104_reqVIEW() + { + ST1 = "1", // 选择登录视图-基本数据视图 + ST2 = "3", // 选择登录视图-分类视图 + ST3 = "2", // 选择登录视图-采购视图 + ST4 = "5", // 选择登录视图-存储视图 + ST6 = "4", // 选择登录视图-销售视图 + ST7 = "6", // 选择登录视图-MRP视图 + ST8 = "7", // 选择登录视图-工作计划视图 + ST9 = "9", // 选择登录视图-会计视图 + ST11 = "8" // 选择登录视图-质量管理视图 + }, + + DATA = new dt_mm104_reqDATA[viewCount] + }; + + for (int i = 0; i < viewCount; i++) + { + + Dictionary view = viewList[i]; + + dt_mm104_reqDATA data = new dt_mm104_reqDATA() + { + IND_SECTOR = view.ContainsKey("组织级别.行业领域") ? view["组织级别.行业领域"].ToString() : "", + MATL_TYPE = view.ContainsKey("组织级别.物料类型") ? view["组织级别.物料类型"].ToString() : "", + PLANT = view.ContainsKey("组织级别.工厂") ? view["组织级别.工厂"].ToString() : "", + STGE_LOC = view.ContainsKey("组织级别.库存地点") ? view["组织级别.库存地点"].ToString() : "", + SALES_ORG = view.ContainsKey("组织级别.销售组织") ? view["组织级别.销售组织"].ToString() : "", + DISTR_CHAN = view.ContainsKey("组织级别.分销渠道") ? view["组织级别.分销渠道"].ToString() : "", + MATERIAL = view.ContainsKey("基本视图.物料编号") ? view["基本视图.物料编号"].ToString() : "", + OLD_MAT_NO = view.ContainsKey("基本视图.试验号") ? view["基本视图.试验号"].ToString() : "", + BASE_UOM = view.ContainsKey("基本视图.基本计量") ? view["基本视图.基本计量"].ToString() : "", + MATL_DESC_ZH = view.ContainsKey("基本视图.物料描述") ? view["基本视图.物料描述"].ToString() : "", + MATL_GROUP = view.ContainsKey("基本视图.物料组") ? view["基本视图.物料组"].ToString() : "", + GROES = view.ContainsKey("基本视图.大小/量纲(规格)") ? view["基本视图.大小/量纲(规格)"].ToString() : "", + LONG_TEXT = view.ContainsKey("基本视图.物料长文本") ? view["基本视图.物料长文本"].ToString() : "", + LABOR = view.ContainsKey("基本视图.标识符:固体/液体") ? view["基本视图.标识符:固体/液体"].ToString() : "", + VOLUMEUNIT = view.ContainsKey("基本视图.体积单位") ? view["基本视图.体积单位"].ToString() : "", + GROSS_WT = view.ContainsKey("基本视图.毛重") ? view["基本视图.毛重"].ToString() : "", + NET_WEIGHT = view.ContainsKey("基本视图.净重") ? view["基本视图.净重"].ToString() : "", + UNIT_OF_WT = view.ContainsKey("基本视图.重量单位") ? view["基本视图.重量单位"].ToString() : "", + FERTH = view.ContainsKey("基本视图.fame号") ? view["基本视图.fame号"].ToString() : "", + VOLUME = view.ContainsKey("基本视图.业务量") ? view["基本视图.业务量"].ToString() : "", + PUR_GROUP = view.ContainsKey("采购视图.采购组") ? view["采购视图.采购组"].ToString() : "", + PO_UNIT = view.ContainsKey("采购视图.采购单位") ? view["采购视图.采购单位"].ToString() : "", + DENOMINATR = view.ContainsKey("采购视图.采购单位数量") ? view["采购视图.采购单位数量"].ToString() : "", + NUMERATOR = view.ContainsKey("采购视图.采购基本单位数量") ? view["采购视图.采购基本单位数量"].ToString() : "", + PUR_VALKEY = view.ContainsKey("采购视图.采购价值码") ? view["采购视图.采购价值码"].ToString() : "", + MMSTA = view.ContainsKey("采购视图.工厂特定状态") ? view["采购视图.工厂特定状态"].ToString() : "", + KAUTB = view.ContainsKey("采购视图.自动采购单标识") ? view["采购视图.自动采购单标识"].ToString() : "", + KORDB = view.ContainsKey("采购视图.货源清单") ? view["采购视图.货源清单"].ToString() : "", + CLASSTYPENEW = view.ContainsKey("分类视图.类别种类") ? view["分类视图.类别种类"].ToString() : "", + CLASSNUMNEW = view.ContainsKey("分类视图.类别") ? view["分类视图.类别"].ToString() : "", + DELYG_PLNT = view.ContainsKey("销售视图.交货工厂") ? view["销售视图.交货工厂"].ToString() : "", + TAXCLASS_1 = view.ContainsKey("销售视图.税金分类") ? view["销售视图.税金分类"].ToString() : "", + VERSG = view.ContainsKey("销售视图.物料统计组") ? view["销售视图.物料统计组"].ToString() : "", + VRKME = view.ContainsKey("销售视图.销售单位") ? view["销售视图.销售单位"].ToString() : "", + BASE_TOR = view.ContainsKey("销售视图.基本单位数量") ? view["销售视图.基本单位数量"].ToString() : "", + SALE_TOR = view.ContainsKey("销售视图.销售单位数量") ? view["销售视图.销售单位数量"].ToString() : "", + ACCT_ASSGT = view.ContainsKey("销售视图.科目设置组") ? view["销售视图.科目设置组"].ToString() : "", + ITEM_CAT = view.ContainsKey("销售视图.普通项目类别组") ? view["销售视图.普通项目类别组"].ToString() : "", + ITEM_CAT1 = view.ContainsKey("销售视图.项目类别组") ? view["销售视图.项目类别组"].ToString() : "", + AVAILCHECK = view.ContainsKey("销售视图.可用性检查") ? view["销售视图.可用性检查"].ToString() : "", + LOADINGGRP = view.ContainsKey("销售视图.装载组") ? view["销售视图.装载组"].ToString() : "", + ZJWLH = view.ContainsKey("销售视图.旧物料号") ? view["销售视图.旧物料号"].ToString() : "", + STOR_CONDS = view.ContainsKey("仓储视图.存储条件") ? view["仓储视图.存储条件"].ToString() : "", + XCHPF = view.ContainsKey("仓储视图.批次管理") ? view["仓储视图.批次管理"].ToString() : "", + MAXLZ = view.ContainsKey("仓储视图.最大存储期间") ? view["仓储视图.最大存储期间"].ToString() : "", + LZEIH = view.ContainsKey("仓储视图.时间单位") ? view["仓储视图.时间单位"].ToString() : "", + MINREMLIFE = view.ContainsKey("仓储视图.最小剩余货架寿命") ? view["仓储视图.最小剩余货架寿命"].ToString() : "", + SHELF_LIFE = view.ContainsKey("仓储视图.总货架寿命") ? view["仓储视图.总货架寿命"].ToString() : "", + PERIOD_IND_EXPIRATION_DATE = view.ContainsKey("仓储视图.SLED期间标识") ? view["仓储视图.SLED期间标识"].ToString() : "", + MRP_TYPE = view.ContainsKey("MRP1.MRP类型") ? view["MRP1.MRP类型"].ToString() : "", + REORDER_PT = view.ContainsKey("MRP1.再订货点") ? view["MRP1.再订货点"].ToString() : "", + FIXED_LOT = view.ContainsKey("MRP1.固定批量大小") ? view["MRP1.固定批量大小"].ToString() : "", + MAX_STOCK = view.ContainsKey("MRP1.最大库存水平") ? view["MRP1.最大库存水平"].ToString() : "", + MRP_CTRLER = view.ContainsKey("MRP1.MRP控制者") ? view["MRP1.MRP控制者"].ToString() : "", + LOTSIZEKEY = view.ContainsKey("MRP1.批量大小") ? view["MRP1.批量大小"].ToString() : "", + BSTMI = view.ContainsKey("MRP1.最小批量大小") ? view["MRP1.最小批量大小"].ToString() : "", + BSTMA = view.ContainsKey("MRP1.最大批量大小") ? view["MRP1.最大批量大小"].ToString() : "", + MRP_GROUP = view.ContainsKey("MRP1.MRP组") ? view["MRP1.MRP组"].ToString() : "", + BSTRF = view.ContainsKey("MRP1.舍入值") ? view["MRP1.舍入值"].ToString() : "", + ZCATEG = view.ContainsKey("MRP1.产品分类") ? view["MRP1.产品分类"].ToString() : "", + ZKUNNR = view.ContainsKey("MRP1.客户代码") ? view["MRP1.客户代码"].ToString() : "", + ZFLGMT = view.ContainsKey("MRP1.大小料") ? view["MRP1.大小料"].ToString() : "", + ZXFLAG = view.ContainsKey("MRP1.不计算缺料") ? view["MRP1.不计算缺料"].ToString() : "", + ZPFILM = view.ContainsKey("MRP1.压膜") ? view["MRP1.压膜"].ToString() : "", + ZSTOCK = view.ContainsKey("MRP1.安全库存带小样") ? view["MRP1.安全库存带小样"].ToString() : "", + ZRCALC = view.ContainsKey("MRP1.需求计算不考虑前置物料库存") ? view["MRP1.需求计算不考虑前置物料库存"].ToString() : "", + ZSMSTD = view.ContainsKey("MRP1.小料标准(小于)") ? view["MRP1.小料标准(小于)"].ToString() : "", + PROC_TYPE = view.ContainsKey("MRP2.采购类型") ? view["MRP2.采购类型"].ToString() : "", + SM_KEY = view.ContainsKey("MRP2.计划边际码") ? view["MRP2.计划边际码"].ToString() : "", + SOBSL = view.ContainsKey("MRP2.特殊采购类") ? view["MRP2.特殊采购类"].ToString() : "", + BACKFLUSH = view.ContainsKey("MRP2.反冲") ? view["MRP2.反冲"].ToString() : "", + INHSEPRODT = view.ContainsKey("MRP2.自制生产时间") ? view["MRP2.自制生产时间"].ToString() : "", + PLIFZ = view.ContainsKey("MRP2.计划交货时间") ? view["MRP2.计划交货时间"].ToString() : "", + WEBAZ = view.ContainsKey("MRP2.收货处理时间") ? view["MRP2.收货处理时间"].ToString() : "", + EISBE = view.ContainsKey("MRP2.安全库存") ? view["MRP2.安全库存"].ToString() : "", + LGPRO = view.ContainsKey("MRP2.发货库存地点") ? view["MRP2.发货库存地点"].ToString() : "", + SLOC_EXPRC = view.ContainsKey("MRP2.外部采购仓储地点") ? view["MRP2.外部采购仓储地点"].ToString() : "", + PLAN_STRGP = view.ContainsKey("MRP3.策略组") ? view["MRP3.策略组"].ToString() : "", + CONSUMMODE = view.ContainsKey("MRP3.消耗模式") ? view["MRP3.消耗模式"].ToString() : "", + FWD_CONS = view.ContainsKey("MRP3.向前消耗期间") ? view["MRP3.向前消耗期间"].ToString() : "", + VINT1 = view.ContainsKey("MRP3.逆向消耗期") ? view["MRP3.逆向消耗期"].ToString() : "", + MISKZ = view.ContainsKey("MRP3.混合MRP") ? view["MRP3.混合MRP"].ToString() : "", + MPR_AVAILCHECK = view.ContainsKey("MRP3.可用性检查") ? view["MRP3.可用性检查"].ToString() : "", + DEP_REQ_ID = view.ContainsKey("MRP4.单独或集中") ? view["MRP4.单独或集中"].ToString() : "", + DISCONTINU = view.ContainsKey("MRP4.非连续标识") ? view["MRP4.非连续标识"].ToString() : "", + EFF_O_DAY = view.ContainsKey("MRP4.生效期") ? view["MRP4.生效期"].ToString() : "", + FOLLOW_UP = view.ContainsKey("MRP4.后续的物料") ? view["MRP4.后续的物料"].ToString() : "", + SFCPF = view.ContainsKey("工作计划视图.生产计划参数文件") ? view["工作计划视图.生产计划参数文件"].ToString() : "", + UEETK = view.ContainsKey("工作计划视图.无限制过量交货") ? view["工作计划视图.无限制过量交货"].ToString() : "", + UNETO = view.ContainsKey("工作计划视图.不足交货允差") ? view["工作计划视图.不足交货允差"].ToString() : "", + UEETO = view.ContainsKey("工作计划视图.过度交货允差") ? view["工作计划视图.过度交货允差"].ToString() : "", + AUSME = view.ContainsKey("工作计划视图.发货单位") ? view["工作计划视图.发货单位"].ToString() : "", + MENGE_FH = view.ContainsKey("工作计划视图.发货单位数量") ? view["工作计划视图.发货单位数量"].ToString() : "", + MENGE_BS = view.ContainsKey("工作计划视图.发货基本单位数量") ? view["工作计划视图.发货基本单位数量"].ToString() : "", + INSPTYPE1 = view.ContainsKey("质检视图.检验类型1") ? view["质检视图.检验类型1"].ToString() : "", + INSPTYPE2 = view.ContainsKey("质检视图.检验类型2") ? view["质检视图.检验类型2"].ToString() : "", + INSPTYPE3 = view.ContainsKey("质检视图.检验类型3") ? view["质检视图.检验类型3"].ToString() : "", + INSPTYPE4 = view.ContainsKey("质检视图.检验类型4") ? view["质检视图.检验类型4"].ToString() : "", + INSPTYPE5 = view.ContainsKey("质检视图.检验类型5") ? view["质检视图.检验类型5"].ToString() : "", + INSPTYPE6 = view.ContainsKey("质检视图.检验类型6") ? view["质检视图.检验类型6"].ToString() : "", + PRICE_CTRL = view.ContainsKey("会计视图.价格控制") ? view["会计视图.价格控制"].ToString() : "", + ML_SETTLE = view.ContainsKey("会计视图.价格确定") ? view["会计视图.价格确定"].ToString() : "", + PRICE_UNIT = view.ContainsKey("会计视图.价格单位") ? view["会计视图.价格单位"].ToString() : "", + VAL_CLASS = view.ContainsKey("会计视图.评估分类") ? view["会计视图.评估分类"].ToString() : "", + EKLAS = view.ContainsKey("会计视图.VC: 销售订单库存") ? view["会计视图.VC: 销售订单库存"].ToString() : "", + STPRS = view.ContainsKey("会计视图.标准价格") ? view["会计视图.标准价格"].ToString() : "", + PROFIT_CTR = view.ContainsKey("会计视图.利润中心") ? view["会计视图.利润中心"].ToString() : "", + LOSGR = view.ContainsKey("会计视图.成本核算批量") ? view["会计视图.成本核算批量"].ToString() : "" + }; + + req.DATA[i] = data; + } + + si_mm104_mcs_senderClient senderClient = new si_mm104_mcs_senderClient(); + senderClient.ClientCredentials.UserName.UserName = AppSettingsHelper.GetAppSettingVal("Sap_Upload_UserName"); + senderClient.ClientCredentials.UserName.Password = AppSettingsHelper.GetAppSettingVal("Sap_Password"); + + dt_mm104_res resData = senderClient.si_mm104_mcs_sender(req); + apiResult.Data = 1; + } + }, apiResult, Request, inParam); + } + } +} \ No newline at end of file diff --git a/FactorySystemApi/FactorySystemApi.csproj b/FactorySystemApi/FactorySystemApi.csproj index a819632..d389f9d 100644 --- a/FactorySystemApi/FactorySystemApi.csproj +++ b/FactorySystemApi/FactorySystemApi.csproj @@ -186,6 +186,21 @@ + + True + True + Reference.svcmap + + + True + True + Reference.svcmap + + + True + True + Reference.svcmap + @@ -193,6 +208,7 @@ + @@ -243,6 +259,42 @@ + + + + Reference.svcmap + + + Reference.svcmap + + + WCF Proxy Generator + Reference.cs + + + + + Reference.svcmap + + + Reference.svcmap + + + WCF Proxy Generator + Reference.cs + + + + + Reference.svcmap + + + Reference.svcmap + + + WCF Proxy Generator + Reference.cs + @@ -252,6 +304,9 @@ + + + SettingsSingleFileGenerator Settings.Designer.cs @@ -396,6 +451,11 @@ + + + + + 10.0 $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) diff --git a/FactorySystemApi/Web.config b/FactorySystemApi/Web.config index bb48f32..44a69b0 100644 --- a/FactorySystemApi/Web.config +++ b/FactorySystemApi/Web.config @@ -16,6 +16,7 @@ + @@ -116,7 +117,7 @@ - http://dd.hbflavor.com:8099/PlmMsg/SendPlmMsgInterface.asmx + http://dd.hbflavor.com:28888/PlmMsg/SendPLMMsgInterface.asmx https://plmtest.hbflavor.com/PlmWebService/OAService.asmx @@ -132,4 +133,39 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file