public void GetPurchaseContract() { try { aForm.getLabel().Text = "Retrieval of Purchase Contract Data in Progress ...."; aForm.getLabel().Refresh(); retrieveContract.GetContractDetails(); contractHeader = retrieveContract.GetContracteHeader(); contractItem = retrieveContract.GetContractItem(); aForm.getLabel().Text = "Update of Purchase Contract Data in Progress ...."; aForm.getLabel().Refresh(); this.UpdateContract(); this.RemoveContractDetails(); aForm.getLabel().Text = "Click related <Button> to view Purchase Contract Data"; aForm.getLabel().Refresh(); } catch (Exception ex) { Utility.ExceptionLog(ex); throw (ex); } }
public void GetContractDetails () { try { this.OpenConnection(); contractHeader = new ZCONTRACT_HDRTable(); contractItem = new ZCONTRACT_ITMTable(); contractProxy.Zretrievecontract(ref contractHeader, ref contractItem); this.CloseConnection(); } catch(Exception ex) { throw(ex); } }
public void GetContractDetails() { try { this.OpenConnection(); contractHeader = new ZCONTRACT_HDRTable(); contractItem = new ZCONTRACT_ITMTable(); contractProxy.Zretrievecontract(ref contractHeader, ref contractItem); this.CloseConnection(); } catch (Exception ex) { throw(ex); } }
public virtual void Zretrievecontract( [RfcParameter(AbapName = "CONTRACT_HEADER", RfcType = RFCTYPE.RFCTYPE_ITAB, Optional = false, Direction = RFCINOUT.INOUT)] [XmlArray("CONTRACT_HEADER", IsNullable = false, Form = XmlSchemaForm.Unqualified)] [XmlArrayItem("item", IsNullable = false, Form = XmlSchemaForm.Unqualified)] ref ZCONTRACT_HDRTable Contract_Header, [RfcParameter(AbapName = "CONTRACT_ITEM", RfcType = RFCTYPE.RFCTYPE_ITAB, Optional = false, Direction = RFCINOUT.INOUT)] [XmlArray("CONTRACT_ITEM", IsNullable = false, Form = XmlSchemaForm.Unqualified)] [XmlArrayItem("item", IsNullable = false, Form = XmlSchemaForm.Unqualified)] ref ZCONTRACT_ITMTable Contract_Item) { object[] results = null; results = this.SAPInvoke("Zretrievecontract", new object[] { Contract_Header, Contract_Item }); Contract_Header = (ZCONTRACT_HDRTable)results[0]; Contract_Item = (ZCONTRACT_ITMTable)results[1]; }