public ToolkitResultProtocol CreateOpportunity(CreateOpportunitySetupProtocol setupParam) { object[] results = this.Invoke("CreateOpportunity1", new object[] { setupParam}); return ((ToolkitResultProtocol)(results[0])); }
internal Protocol.CreateOpportunitySetupProtocol ToProtocol() { Protocol.CreateOpportunitySetupProtocol protocol = new Protocol.CreateOpportunitySetupProtocol(); protocol.OpportunityName = this.OpportunityName; protocol.AccountIDNum = this.AccountIDNum; protocol.ContactFirstName = this.ContactFirstName; protocol.ContactLastName = this.ContactLastName; protocol.ContactPhone = this.ContactPhone; protocol.Territory = this.Territory; protocol.Amount = this.Amount; protocol.CloseDate = this.CloseDate; protocol.SalesStage = this.SalesStage; protocol.LeadSource = this.LeadSource; protocol.Currency = this.Currency; protocol.Probability = this.Probability; protocol.Process = this.Process; protocol.UserName = this.UserName; protocol.CreateDate = this.CreateDate; protocol.GenerateTimeBombs = this.GenerateTimeBombs; protocol.AdditionalFields = this.AdditionalFields; protocol.ConstructorCue = this.ConstructorCue; protocol.DirtyFieldFlags = this.DirtyFieldFlags; return protocol; }
/// <remarks/> public System.IAsyncResult BeginCreateOpportunity1(CreateOpportunitySetupProtocol setupParam, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("CreateOpportunity1", new object[] { setupParam}, callback, asyncState); }