public string BAPI_FLCUST_CREATEFROMDATA([System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] BAPISCUNEW CUSTOMER_DATA, [System.Xml.Serialization.XmlArrayAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)][System.Xml.Serialization.XmlArrayItemAttribute("item", Form = System.Xml.Schema.XmlSchemaForm.Unqualified, IsNullable = false)] ref BAPIPAREX[] EXTENSION_IN, [System.Xml.Serialization.XmlArrayAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)][System.Xml.Serialization.XmlArrayItemAttribute("item", Form = System.Xml.Schema.XmlSchemaForm.Unqualified, IsNullable = false)] ref BAPIRET2[] RETURN, [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] string TEST_RUN) { object[] results = this.Invoke("BAPI_FLCUST_CREATEFROMDATA", new object[] { CUSTOMER_DATA, EXTENSION_IN, RETURN, TEST_RUN }); EXTENSION_IN = ((BAPIPAREX[])(results[1])); RETURN = ((BAPIRET2[])(results[2])); return((string)(results[0])); }
/// <remarks/> public void BAPI_FLCUST_CREATEFROMDATAAsync(BAPISCUNEW CUSTOMER_DATA, BAPIPAREX[] EXTENSION_IN, BAPIRET2[] RETURN, string TEST_RUN, object userState) { if ((this.BAPI_FLCUST_CREATEFROMDATAOperationCompleted == null)) { this.BAPI_FLCUST_CREATEFROMDATAOperationCompleted = new System.Threading.SendOrPostCallback(this.OnBAPI_FLCUST_CREATEFROMDATAOperationCompleted); } this.InvokeAsync("BAPI_FLCUST_CREATEFROMDATA", new object[] { CUSTOMER_DATA, EXTENSION_IN, RETURN, TEST_RUN }, this.BAPI_FLCUST_CREATEFROMDATAOperationCompleted, userState); }
public bool CreateFromData( string city, string country, string customerName, string customerType, string formType, string language, string address, string phone, string postCode) { _bapiCustData = new SAP_FLIGHTCUSTOMERCREATE.BAPISCUNEW(); _bapiCustData.CITY = city; _bapiCustData.COUNTR = country; _bapiCustData.CUSTNAME = customerName; _bapiCustData.CUSTTYPE = customerType; _bapiCustData.FORM = formType; _bapiCustData.LANGU = language; _bapiCustData.STREET = address; _bapiCustData.PHONE = phone; _bapiCustData.POSTCODE = postCode; return(CreateFromData()); }
/// <remarks/> public void BAPI_FLCUST_CREATEFROMDATAAsync(BAPISCUNEW CUSTOMER_DATA, BAPIPAREX[] EXTENSION_IN, BAPIRET2[] RETURN, string TEST_RUN) { this.BAPI_FLCUST_CREATEFROMDATAAsync(CUSTOMER_DATA, EXTENSION_IN, RETURN, TEST_RUN, null); }