/// <remarks/>
 public System.IAsyncResult BeginCreateContract1(CreateContractSetupProtocol setupParam, System.AsyncCallback callback, object asyncState)
 {
     return this.BeginInvoke("CreateContract1", new object[] {
                 setupParam}, callback, asyncState);
 }
 public ToolkitResultProtocol CreateContract(CreateContractSetupProtocol setupParam)
 {
     object[] results = this.Invoke("CreateContract1", new object[] {
                 setupParam});
     return ((ToolkitResultProtocol)(results[0]));
 }
        internal Protocol.CreateContractSetupProtocol ToProtocol()
        {
            Protocol.CreateContractSetupProtocol protocol = new Protocol.CreateContractSetupProtocol();

            protocol.ContractIDNum = this.ContractIDNum;
            protocol.Title = this.Title;
            protocol.CreateDate = this.CreateDate;
            protocol.AccountIDNum = this.AccountIDNum;
            protocol.AccountName = this.AccountName;
            protocol.ContactFirstName = this.ContactFirstName;
            protocol.ContactLastName = this.ContactLastName;
            protocol.ContactPhone = this.ContactPhone;
            protocol.ContractType = this.ContractType;
            protocol.Terms = this.Terms;
            protocol.PriceProgram = this.PriceProgram;
            protocol.Status = this.Status;
            protocol.AdminUserName = this.AdminUserName;
            protocol.BillToSiteIDNum = this.BillToSiteIDNum;
            protocol.ShipToSiteIDNum = this.ShipToSiteIDNum;
            protocol.StartDate = this.StartDate;
            protocol.ExpireDate = this.ExpireDate;
            protocol.DefaultStartDate = this.DefaultStartDate;
            protocol.DefaultExpirationDate = this.DefaultExpirationDate;
            protocol.UserName = this.UserName;
            protocol.Queue = this.Queue;
            protocol.IsWarranty = this.IsWarranty;
            protocol.IsEvergreen = this.IsEvergreen;
            protocol.RenewPriorDays = this.RenewPriorDays;
            protocol.GenerateTimeBombs = this.GenerateTimeBombs;
            protocol.AdditionalFields = this.AdditionalFields;
            protocol.ConstructorCue = this.ConstructorCue;
            protocol.DirtyFieldFlags = this.DirtyFieldFlags;

            return protocol;
        }