Example #1
0
 /// <summary>
 /// Initializes a new instance of the
 /// MicrosoftDynamicsCRMcontractdetail class.
 /// </summary>
 public MicrosoftDynamicsCRMcontractdetail(string _uomscheduleidValue = default(string), decimal?rate = default(decimal?), decimal?rateBase = default(decimal?), int?statuscode = default(int?), int?allotmentsused = default(int?), int?lineitemorder = default(int?), int?allotmentsremaining = default(int?), string versionnumber = default(string), int?initialquantity = default(int?), int?servicecontractunitscode = default(int?), decimal?exchangerate = default(decimal?), decimal?priceBase = default(decimal?), string _uomidValue = default(string), string _createdbyValue = default(string), string _transactioncurrencyidValue = default(string), string _modifiedonbehalfbyValue = default(string), System.DateTimeOffset?createdon = default(System.DateTimeOffset?), int?timezoneruleversionnumber = default(int?), System.DateTimeOffset?modifiedon = default(System.DateTimeOffset?), int?utcconversiontimezonecode = default(int?), string title = default(string), int?contractstatecode = default(int?), string _serviceaddressValue = default(string), string _owneridValue = default(string), string _owningteamValue = default(string), int?allotmentsoverage = default(int?), decimal?price = default(decimal?), decimal?discountBase = default(decimal?), string effectivitycalendar = default(string), string _modifiedbyValue = default(string), int?statecode = default(int?), int?totalallotments = default(int?), decimal?net = default(decimal?), System.DateTimeOffset?overriddencreatedon = default(System.DateTimeOffset?), string _productidValue = default(string), string _contractidValue = default(string), string _accountidValue = default(string), decimal?discountpercentage = default(decimal?), string contractdetailid = default(string), decimal?netBase = default(decimal?), string _contactidValue = default(string), decimal?discount = default(decimal?), string _owninguserValue = default(string), System.DateTimeOffset?activeon = default(System.DateTimeOffset?), string _customeridValue = default(string), string _owningbusinessunitValue = default(string), string productserialnumber = default(string), int?importsequencenumber = default(int?), System.DateTimeOffset?expireson = default(System.DateTimeOffset?), string _createdonbehalfbyValue = default(string), MicrosoftDynamicsCRMsystemuser createdby = default(MicrosoftDynamicsCRMsystemuser), MicrosoftDynamicsCRMsystemuser createdonbehalfby = default(MicrosoftDynamicsCRMsystemuser), MicrosoftDynamicsCRMsystemuser modifiedby = default(MicrosoftDynamicsCRMsystemuser), MicrosoftDynamicsCRMsystemuser modifiedonbehalfby = default(MicrosoftDynamicsCRMsystemuser), MicrosoftDynamicsCRMsystemuser owninguser = default(MicrosoftDynamicsCRMsystemuser), MicrosoftDynamicsCRMteam owningteam = default(MicrosoftDynamicsCRMteam), IList <MicrosoftDynamicsCRMsyncerror> contractDetailSyncErrors = default(IList <MicrosoftDynamicsCRMsyncerror>), IList <MicrosoftDynamicsCRMasyncoperation> contractDetailAsyncOperations = default(IList <MicrosoftDynamicsCRMasyncoperation>), IList <MicrosoftDynamicsCRMmailboxtrackingfolder> contractdetailMailboxTrackingFolders = default(IList <MicrosoftDynamicsCRMmailboxtrackingfolder>), IList <MicrosoftDynamicsCRMprocesssession> contractDetailProcessSessions = default(IList <MicrosoftDynamicsCRMprocesssession>), IList <MicrosoftDynamicsCRMbulkdeletefailure> contractDetailBulkDeleteFailures = default(IList <MicrosoftDynamicsCRMbulkdeletefailure>), IList <MicrosoftDynamicsCRMprincipalobjectattributeaccess> contractdetailPrincipalobjectattributeaccess = default(IList <MicrosoftDynamicsCRMprincipalobjectattributeaccess>), MicrosoftDynamicsCRMtransactioncurrency transactioncurrencyid = default(MicrosoftDynamicsCRMtransactioncurrency), IList <MicrosoftDynamicsCRMannotation> contractDetailAnnotation = default(IList <MicrosoftDynamicsCRMannotation>), MicrosoftDynamicsCRMaccount customeridAccount = default(MicrosoftDynamicsCRMaccount), MicrosoftDynamicsCRMcontact customeridContact = default(MicrosoftDynamicsCRMcontact), MicrosoftDynamicsCRMcontract contractid = default(MicrosoftDynamicsCRMcontract), IList <MicrosoftDynamicsCRMincident> contractDetailCases = default(IList <MicrosoftDynamicsCRMincident>), MicrosoftDynamicsCRMcustomeraddress serviceaddress = default(MicrosoftDynamicsCRMcustomeraddress), MicrosoftDynamicsCRMproduct productid = default(MicrosoftDynamicsCRMproduct), MicrosoftDynamicsCRMuom uomid = default(MicrosoftDynamicsCRMuom), MicrosoftDynamicsCRMuomschedule uomscheduleid = default(MicrosoftDynamicsCRMuomschedule))
 {
     this._uomscheduleidValue = _uomscheduleidValue;
     Rate                             = rate;
     RateBase                         = rateBase;
     Statuscode                       = statuscode;
     Allotmentsused                   = allotmentsused;
     Lineitemorder                    = lineitemorder;
     Allotmentsremaining              = allotmentsremaining;
     Versionnumber                    = versionnumber;
     Initialquantity                  = initialquantity;
     Servicecontractunitscode         = servicecontractunitscode;
     Exchangerate                     = exchangerate;
     PriceBase                        = priceBase;
     this._uomidValue                 = _uomidValue;
     this._createdbyValue             = _createdbyValue;
     this._transactioncurrencyidValue = _transactioncurrencyidValue;
     this._modifiedonbehalfbyValue    = _modifiedonbehalfbyValue;
     Createdon                        = createdon;
     Timezoneruleversionnumber        = timezoneruleversionnumber;
     Modifiedon                       = modifiedon;
     Utcconversiontimezonecode        = utcconversiontimezonecode;
     Title                            = title;
     Contractstatecode                = contractstatecode;
     this._serviceaddressValue        = _serviceaddressValue;
     this._owneridValue               = _owneridValue;
     this._owningteamValue            = _owningteamValue;
     Allotmentsoverage                = allotmentsoverage;
     Price                            = price;
     DiscountBase                     = discountBase;
     Effectivitycalendar              = effectivitycalendar;
     this._modifiedbyValue            = _modifiedbyValue;
     Statecode                        = statecode;
     Totalallotments                  = totalallotments;
     Net = net;
     Overriddencreatedon   = overriddencreatedon;
     this._productidValue  = _productidValue;
     this._contractidValue = _contractidValue;
     this._accountidValue  = _accountidValue;
     Discountpercentage    = discountpercentage;
     Contractdetailid      = contractdetailid;
     NetBase = netBase;
     this._contactidValue                         = _contactidValue;
     Discount                                     = discount;
     this._owninguserValue                        = _owninguserValue;
     Activeon                                     = activeon;
     this._customeridValue                        = _customeridValue;
     this._owningbusinessunitValue                = _owningbusinessunitValue;
     Productserialnumber                          = productserialnumber;
     Importsequencenumber                         = importsequencenumber;
     Expireson                                    = expireson;
     this._createdonbehalfbyValue                 = _createdonbehalfbyValue;
     Createdby                                    = createdby;
     Createdonbehalfby                            = createdonbehalfby;
     Modifiedby                                   = modifiedby;
     Modifiedonbehalfby                           = modifiedonbehalfby;
     Owninguser                                   = owninguser;
     Owningteam                                   = owningteam;
     ContractDetailSyncErrors                     = contractDetailSyncErrors;
     ContractDetailAsyncOperations                = contractDetailAsyncOperations;
     ContractdetailMailboxTrackingFolders         = contractdetailMailboxTrackingFolders;
     ContractDetailProcessSessions                = contractDetailProcessSessions;
     ContractDetailBulkDeleteFailures             = contractDetailBulkDeleteFailures;
     ContractdetailPrincipalobjectattributeaccess = contractdetailPrincipalobjectattributeaccess;
     Transactioncurrencyid                        = transactioncurrencyid;
     ContractDetailAnnotation                     = contractDetailAnnotation;
     CustomeridAccount                            = customeridAccount;
     CustomeridContact                            = customeridContact;
     Contractid                                   = contractid;
     ContractDetailCases                          = contractDetailCases;
     Serviceaddress                               = serviceaddress;
     Productid                                    = productid;
     Uomid         = uomid;
     Uomscheduleid = uomscheduleid;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the MicrosoftDynamicsCRMcontract
 /// class.
 /// </summary>
 public MicrosoftDynamicsCRMcontract(int?utcconversiontimezonecode = default(int?), System.DateTimeOffset?billingstarton = default(System.DateTimeOffset?), decimal?totaldiscount = default(decimal?), decimal?totalpriceBase = default(decimal?), string title = default(string), string _owningbusinessunitValue = default(string), string entityimageUrl = default(string), string _billingaccountidValue = default(string), string contractid = default(string), string contractnumber = default(string), string _createdonbehalfbyValue = default(string), string _originatingcontractValue = default(string), string _billingcontactidValue = default(string), string _billtoaddressValue = default(string), string _modifiedonbehalfbyValue = default(string), string _contactidValue = default(string), string _createdbyValue = default(string), int?allotmenttypecode = default(int?), string _customeridValue = default(string), string _accountidValue = default(string), string effectivitycalendar = default(string), string _billingcustomeridValue = default(string), string entityimageid = default(string), int?billingfrequencycode = default(int?), string _contracttemplateidValue = default(string), decimal?totalprice = default(decimal?), string contractlanguage = default(string), string _modifiedbyValue = default(string), int?statuscode = default(int?), string emailaddress = default(string), decimal?exchangerate = default(decimal?), string versionnumber = default(string), string _owningteamValue = default(string), System.DateTimeOffset?billingendon = default(System.DateTimeOffset?), System.DateTimeOffset?cancelon = default(System.DateTimeOffset?), int?duration = default(int?), string _owninguserValue = default(string), System.DateTimeOffset?modifiedon = default(System.DateTimeOffset?), decimal?totaldiscountBase = default(decimal?), byte[] entityimage = default(byte[]), long?entityimageTimestamp = default(long?), int?statecode = default(int?), string _serviceaddressValue = default(string), decimal?netprice = default(decimal?), string _owneridValue = default(string), System.DateTimeOffset?overriddencreatedon = default(System.DateTimeOffset?), int?contractservicelevelcode = default(int?), string contracttemplateabbreviation = default(string), System.DateTimeOffset?activeon = default(System.DateTimeOffset?), string _transactioncurrencyidValue = default(string), int?importsequencenumber = default(int?), int?timezoneruleversionnumber = default(int?), System.DateTimeOffset?createdon = default(System.DateTimeOffset?), decimal?netpriceBase = default(decimal?), bool?usediscountaspercentage = default(bool?), System.DateTimeOffset?expireson = default(System.DateTimeOffset?), MicrosoftDynamicsCRMsystemuser createdby = default(MicrosoftDynamicsCRMsystemuser), MicrosoftDynamicsCRMsystemuser createdonbehalfby = default(MicrosoftDynamicsCRMsystemuser), MicrosoftDynamicsCRMsystemuser modifiedby = default(MicrosoftDynamicsCRMsystemuser), MicrosoftDynamicsCRMsystemuser modifiedonbehalfby = default(MicrosoftDynamicsCRMsystemuser), MicrosoftDynamicsCRMsystemuser owninguser = default(MicrosoftDynamicsCRMsystemuser), MicrosoftDynamicsCRMteam owningteam = default(MicrosoftDynamicsCRMteam), MicrosoftDynamicsCRMprincipal ownerid = default(MicrosoftDynamicsCRMprincipal), MicrosoftDynamicsCRMbusinessunit owningbusinessunit = default(MicrosoftDynamicsCRMbusinessunit), IList <MicrosoftDynamicsCRMactivitypointer> contractActivityPointers = default(IList <MicrosoftDynamicsCRMactivitypointer>), IList <MicrosoftDynamicsCRMsyncerror> contractSyncErrors = default(IList <MicrosoftDynamicsCRMsyncerror>), IList <MicrosoftDynamicsCRMactivityparty> contractActivityParties = default(IList <MicrosoftDynamicsCRMactivityparty>), IList <MicrosoftDynamicsCRMduplicaterecord> contractDuplicateMatchingRecord = default(IList <MicrosoftDynamicsCRMduplicaterecord>), IList <MicrosoftDynamicsCRMduplicaterecord> contractDuplicateBaseRecord = default(IList <MicrosoftDynamicsCRMduplicaterecord>), IList <MicrosoftDynamicsCRMasyncoperation> contractAsyncOperations = default(IList <MicrosoftDynamicsCRMasyncoperation>), IList <MicrosoftDynamicsCRMmailboxtrackingfolder> contractMailboxTrackingFolder = default(IList <MicrosoftDynamicsCRMmailboxtrackingfolder>), IList <MicrosoftDynamicsCRMprocesssession> contractProcessSessions = default(IList <MicrosoftDynamicsCRMprocesssession>), IList <MicrosoftDynamicsCRMbulkdeletefailure> contractBulkDeleteFailures = default(IList <MicrosoftDynamicsCRMbulkdeletefailure>), IList <MicrosoftDynamicsCRMprincipalobjectattributeaccess> contractPrincipalobjectattributeaccess = default(IList <MicrosoftDynamicsCRMprincipalobjectattributeaccess>), MicrosoftDynamicsCRMtransactioncurrency transactioncurrencyid = default(MicrosoftDynamicsCRMtransactioncurrency), IList <MicrosoftDynamicsCRMappointment> contractAppointments = default(IList <MicrosoftDynamicsCRMappointment>), IList <MicrosoftDynamicsCRMemail> contractEmails = default(IList <MicrosoftDynamicsCRMemail>), IList <MicrosoftDynamicsCRMfax> contractFaxes = default(IList <MicrosoftDynamicsCRMfax>), IList <MicrosoftDynamicsCRMletter> contractLetters = default(IList <MicrosoftDynamicsCRMletter>), IList <MicrosoftDynamicsCRMphonecall> contractPhonecalls = default(IList <MicrosoftDynamicsCRMphonecall>), IList <MicrosoftDynamicsCRMtask> contractTasks = default(IList <MicrosoftDynamicsCRMtask>), IList <MicrosoftDynamicsCRMrecurringappointmentmaster> contractRecurringAppointmentMasters = default(IList <MicrosoftDynamicsCRMrecurringappointmentmaster>), IList <MicrosoftDynamicsCRMsocialactivity> contractSocialActivities = default(IList <MicrosoftDynamicsCRMsocialactivity>), IList <MicrosoftDynamicsCRMconnection> contractConnections1 = default(IList <MicrosoftDynamicsCRMconnection>), IList <MicrosoftDynamicsCRMconnection> contractConnections2 = default(IList <MicrosoftDynamicsCRMconnection>), IList <MicrosoftDynamicsCRMannotation> contractAnnotation = default(IList <MicrosoftDynamicsCRMannotation>), IList <MicrosoftDynamicsCRMserviceappointment> contractServiceAppointments = default(IList <MicrosoftDynamicsCRMserviceappointment>), MicrosoftDynamicsCRMaccount billingcustomeridAccount = default(MicrosoftDynamicsCRMaccount), MicrosoftDynamicsCRMaccount customeridAccount = default(MicrosoftDynamicsCRMaccount), MicrosoftDynamicsCRMcontact billingcustomeridContact = default(MicrosoftDynamicsCRMcontact), MicrosoftDynamicsCRMcontact customeridContact = default(MicrosoftDynamicsCRMcontact), IList <MicrosoftDynamicsCRMincident> contractCases = default(IList <MicrosoftDynamicsCRMincident>), IList <MicrosoftDynamicsCRMcontractdetail> contractLineItems = default(IList <MicrosoftDynamicsCRMcontractdetail>), MicrosoftDynamicsCRMcontract originatingcontract = default(MicrosoftDynamicsCRMcontract), IList <MicrosoftDynamicsCRMcontract> contractOriginatingContract = default(IList <MicrosoftDynamicsCRMcontract>), IList <MicrosoftDynamicsCRMcontact> servicecontractcontactsAssociation = default(IList <MicrosoftDynamicsCRMcontact>), MicrosoftDynamicsCRMcontracttemplate contracttemplateid = default(MicrosoftDynamicsCRMcontracttemplate), MicrosoftDynamicsCRMcustomeraddress billtoaddress = default(MicrosoftDynamicsCRMcustomeraddress), MicrosoftDynamicsCRMcustomeraddress serviceaddress = default(MicrosoftDynamicsCRMcustomeraddress), IList <MicrosoftDynamicsCRMspiceRequiredchecks> contractSpiceRequiredcheckses = default(IList <MicrosoftDynamicsCRMspiceRequiredchecks>))
 {
     Utcconversiontimezonecode = utcconversiontimezonecode;
     Billingstarton            = billingstarton;
     Totaldiscount             = totaldiscount;
     TotalpriceBase            = totalpriceBase;
     Title = title;
     this._owningbusinessunitValue = _owningbusinessunitValue;
     EntityimageUrl = entityimageUrl;
     this._billingaccountidValue = _billingaccountidValue;
     Contractid     = contractid;
     Contractnumber = contractnumber;
     this._createdonbehalfbyValue   = _createdonbehalfbyValue;
     this._originatingcontractValue = _originatingcontractValue;
     this._billingcontactidValue    = _billingcontactidValue;
     this._billtoaddressValue       = _billtoaddressValue;
     this._modifiedonbehalfbyValue  = _modifiedonbehalfbyValue;
     this._contactidValue           = _contactidValue;
     this._createdbyValue           = _createdbyValue;
     Allotmenttypecode            = allotmenttypecode;
     this._customeridValue        = _customeridValue;
     this._accountidValue         = _accountidValue;
     Effectivitycalendar          = effectivitycalendar;
     this._billingcustomeridValue = _billingcustomeridValue;
     Entityimageid                 = entityimageid;
     Billingfrequencycode          = billingfrequencycode;
     this._contracttemplateidValue = _contracttemplateidValue;
     Totalprice            = totalprice;
     Contractlanguage      = contractlanguage;
     this._modifiedbyValue = _modifiedbyValue;
     Statuscode            = statuscode;
     Emailaddress          = emailaddress;
     Exchangerate          = exchangerate;
     Versionnumber         = versionnumber;
     this._owningteamValue = _owningteamValue;
     Billingendon          = billingendon;
     Cancelon = cancelon;
     Duration = duration;
     this._owninguserValue     = _owninguserValue;
     Modifiedon                = modifiedon;
     TotaldiscountBase         = totaldiscountBase;
     Entityimage               = entityimage;
     EntityimageTimestamp      = entityimageTimestamp;
     Statecode                 = statecode;
     this._serviceaddressValue = _serviceaddressValue;
     Netprice                         = netprice;
     this._owneridValue               = _owneridValue;
     Overriddencreatedon              = overriddencreatedon;
     Contractservicelevelcode         = contractservicelevelcode;
     Contracttemplateabbreviation     = contracttemplateabbreviation;
     Activeon                         = activeon;
     this._transactioncurrencyidValue = _transactioncurrencyidValue;
     Importsequencenumber             = importsequencenumber;
     Timezoneruleversionnumber        = timezoneruleversionnumber;
     Createdon                        = createdon;
     NetpriceBase                     = netpriceBase;
     Usediscountaspercentage          = usediscountaspercentage;
     Expireson                        = expireson;
     Createdby                        = createdby;
     Createdonbehalfby                = createdonbehalfby;
     Modifiedby                       = modifiedby;
     Modifiedonbehalfby               = modifiedonbehalfby;
     Owninguser                       = owninguser;
     Owningteam                       = owningteam;
     Ownerid                                = ownerid;
     Owningbusinessunit                     = owningbusinessunit;
     ContractActivityPointers               = contractActivityPointers;
     ContractSyncErrors                     = contractSyncErrors;
     ContractActivityParties                = contractActivityParties;
     ContractDuplicateMatchingRecord        = contractDuplicateMatchingRecord;
     ContractDuplicateBaseRecord            = contractDuplicateBaseRecord;
     ContractAsyncOperations                = contractAsyncOperations;
     ContractMailboxTrackingFolder          = contractMailboxTrackingFolder;
     ContractProcessSessions                = contractProcessSessions;
     ContractBulkDeleteFailures             = contractBulkDeleteFailures;
     ContractPrincipalobjectattributeaccess = contractPrincipalobjectattributeaccess;
     Transactioncurrencyid                  = transactioncurrencyid;
     ContractAppointments                   = contractAppointments;
     ContractEmails                         = contractEmails;
     ContractFaxes                          = contractFaxes;
     ContractLetters                        = contractLetters;
     ContractPhonecalls                     = contractPhonecalls;
     ContractTasks                          = contractTasks;
     ContractRecurringAppointmentMasters    = contractRecurringAppointmentMasters;
     ContractSocialActivities               = contractSocialActivities;
     ContractConnections1                   = contractConnections1;
     ContractConnections2                   = contractConnections2;
     ContractAnnotation                     = contractAnnotation;
     ContractServiceAppointments            = contractServiceAppointments;
     BillingcustomeridAccount               = billingcustomeridAccount;
     CustomeridAccount                      = customeridAccount;
     BillingcustomeridContact               = billingcustomeridContact;
     CustomeridContact                      = customeridContact;
     ContractCases                          = contractCases;
     ContractLineItems                      = contractLineItems;
     Originatingcontract                    = originatingcontract;
     ContractOriginatingContract            = contractOriginatingContract;
     ServicecontractcontactsAssociation     = servicecontractcontactsAssociation;
     Contracttemplateid                     = contracttemplateid;
     Billtoaddress                          = billtoaddress;
     Serviceaddress                         = serviceaddress;
     ContractSpiceRequiredcheckses          = contractSpiceRequiredcheckses;
     CustomInit();
 }