/// <summary>
 /// Initializes a new instance of the
 /// MicrosoftDynamicsCRMproductpricelevel class.
 /// </summary>
 public MicrosoftDynamicsCRMproductpricelevel(string productnumber = default(string), string _productidValue = default(string), string _createdbyValue = default(string), object roundingoptionamount = default(object), string _createdonbehalfbyValue = default(string), int?timezoneruleversionnumber = default(int?), string traversedpath = default(string), string productpricelevelid = default(string), string processid = default(string), string _discounttypeidValue = default(string), long?versionnumber = default(long?), object percentage = default(object), int?roundingoptioncode = default(int?), string _transactioncurrencyidValue = default(string), string _pricelevelidValue = default(string), string _modifiedbyValue = default(string), string _uomscheduleidValue = default(string), int?utcconversiontimezonecode = default(int?), string _uomidValue = default(string), object roundingoptionamountBase = default(object), int?pricingmethodcode = default(int?), string organizationid = default(string), object amountBase = default(object), object amount = default(object), int?quantitysellingcode = default(int?), string _modifiedonbehalfbyValue = default(string), int?importsequencenumber = default(int?), string stageid = default(string), System.DateTimeOffset?createdon = default(System.DateTimeOffset?), System.DateTimeOffset?modifiedon = default(System.DateTimeOffset?), int?roundingpolicycode = default(int?), System.DateTimeOffset?overriddencreatedon = default(System.DateTimeOffset?), object exchangerate = default(object), MicrosoftDynamicsCRMsystemuser createdby = default(MicrosoftDynamicsCRMsystemuser), MicrosoftDynamicsCRMsystemuser createdonbehalfby = default(MicrosoftDynamicsCRMsystemuser), MicrosoftDynamicsCRMsystemuser modifiedby = default(MicrosoftDynamicsCRMsystemuser), MicrosoftDynamicsCRMsystemuser modifiedonbehalfby = default(MicrosoftDynamicsCRMsystemuser), IList <MicrosoftDynamicsCRMsyncerror> productPriceLevelSyncErrors = default(IList <MicrosoftDynamicsCRMsyncerror>), IList <MicrosoftDynamicsCRMasyncoperation> productPriceLevelAsyncOperations = default(IList <MicrosoftDynamicsCRMasyncoperation>), IList <MicrosoftDynamicsCRMmailboxtrackingfolder> productpricelevelMailboxTrackingFolders = default(IList <MicrosoftDynamicsCRMmailboxtrackingfolder>), IList <MicrosoftDynamicsCRMprocesssession> productPriceLevelProcessSessions = default(IList <MicrosoftDynamicsCRMprocesssession>), IList <MicrosoftDynamicsCRMbulkdeletefailure> productPriceLevelBulkDeleteFailures = default(IList <MicrosoftDynamicsCRMbulkdeletefailure>), IList <MicrosoftDynamicsCRMprincipalobjectattributeaccess> productpricelevelPrincipalObjectAttributeAccesses = default(IList <MicrosoftDynamicsCRMprincipalobjectattributeaccess>), MicrosoftDynamicsCRMprocessstage stageidProcessstage = default(MicrosoftDynamicsCRMprocessstage), MicrosoftDynamicsCRMtransactioncurrency transactioncurrencyid = default(MicrosoftDynamicsCRMtransactioncurrency), MicrosoftDynamicsCRMpricelevel pricelevelid = default(MicrosoftDynamicsCRMpricelevel), MicrosoftDynamicsCRMproduct productid = default(MicrosoftDynamicsCRMproduct), MicrosoftDynamicsCRMuom uomid = default(MicrosoftDynamicsCRMuom), MicrosoftDynamicsCRMuomschedule uomscheduleid = default(MicrosoftDynamicsCRMuomschedule), MicrosoftDynamicsCRMdiscounttype discounttypeid = default(MicrosoftDynamicsCRMdiscounttype))
 {
     Productnumber                = productnumber;
     this._productidValue         = _productidValue;
     this._createdbyValue         = _createdbyValue;
     Roundingoptionamount         = roundingoptionamount;
     this._createdonbehalfbyValue = _createdonbehalfbyValue;
     Timezoneruleversionnumber    = timezoneruleversionnumber;
     Traversedpath                = traversedpath;
     Productpricelevelid          = productpricelevelid;
     Processid = processid;
     this._discounttypeidValue = _discounttypeidValue;
     Versionnumber             = versionnumber;
     Percentage         = percentage;
     Roundingoptioncode = roundingoptioncode;
     this._transactioncurrencyidValue = _transactioncurrencyidValue;
     this._pricelevelidValue          = _pricelevelidValue;
     this._modifiedbyValue            = _modifiedbyValue;
     this._uomscheduleidValue         = _uomscheduleidValue;
     Utcconversiontimezonecode        = utcconversiontimezonecode;
     this._uomidValue         = _uomidValue;
     RoundingoptionamountBase = roundingoptionamountBase;
     Pricingmethodcode        = pricingmethodcode;
     Organizationid           = organizationid;
     AmountBase                                        = amountBase;
     Amount                                            = amount;
     Quantitysellingcode                               = quantitysellingcode;
     this._modifiedonbehalfbyValue                     = _modifiedonbehalfbyValue;
     Importsequencenumber                              = importsequencenumber;
     Stageid                                           = stageid;
     Createdon                                         = createdon;
     Modifiedon                                        = modifiedon;
     Roundingpolicycode                                = roundingpolicycode;
     Overriddencreatedon                               = overriddencreatedon;
     Exchangerate                                      = exchangerate;
     Createdby                                         = createdby;
     Createdonbehalfby                                 = createdonbehalfby;
     Modifiedby                                        = modifiedby;
     Modifiedonbehalfby                                = modifiedonbehalfby;
     ProductPriceLevelSyncErrors                       = productPriceLevelSyncErrors;
     ProductPriceLevelAsyncOperations                  = productPriceLevelAsyncOperations;
     ProductpricelevelMailboxTrackingFolders           = productpricelevelMailboxTrackingFolders;
     ProductPriceLevelProcessSessions                  = productPriceLevelProcessSessions;
     ProductPriceLevelBulkDeleteFailures               = productPriceLevelBulkDeleteFailures;
     ProductpricelevelPrincipalObjectAttributeAccesses = productpricelevelPrincipalObjectAttributeAccesses;
     StageidProcessstage                               = stageidProcessstage;
     Transactioncurrencyid                             = transactioncurrencyid;
     Pricelevelid                                      = pricelevelid;
     Productid                                         = productid;
     Uomid          = uomid;
     Uomscheduleid  = uomscheduleid;
     Discounttypeid = discounttypeid;
     CustomInit();
 }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the MicrosoftDynamicsCRMuom class.
 /// </summary>
 public MicrosoftDynamicsCRMuom(string _createdonbehalfbyValue = default(string), string organizationid = default(string), bool?isschedulebaseuom = default(bool?), object quantity = default(object), int?importsequencenumber = default(int?), System.DateTimeOffset?overriddencreatedon = default(System.DateTimeOffset?), System.DateTimeOffset?createdon = default(System.DateTimeOffset?), string _uomscheduleidValue = default(string), string _createdbyexternalpartyValue = default(string), System.DateTimeOffset?modifiedon = default(System.DateTimeOffset?), string _modifiedonbehalfbyValue = default(string), string uomid = default(string), int?utcconversiontimezonecode = default(int?), string _modifiedbyexternalpartyValue = default(string), string _baseuomValue = default(string), int?timezoneruleversionnumber = default(int?), long?versionnumber = default(long?), string name = default(string), string _createdbyValue = default(string), string _modifiedbyValue = default(string), MicrosoftDynamicsCRMsystemuser createdby = default(MicrosoftDynamicsCRMsystemuser), MicrosoftDynamicsCRMsystemuser createdonbehalfby = default(MicrosoftDynamicsCRMsystemuser), MicrosoftDynamicsCRMsystemuser modifiedby = default(MicrosoftDynamicsCRMsystemuser), MicrosoftDynamicsCRMsystemuser modifiedonbehalfby = default(MicrosoftDynamicsCRMsystemuser), IList <MicrosoftDynamicsCRMsyncerror> uoMSyncErrors = default(IList <MicrosoftDynamicsCRMsyncerror>), IList <MicrosoftDynamicsCRMasyncoperation> uoMAsyncOperations = default(IList <MicrosoftDynamicsCRMasyncoperation>), IList <MicrosoftDynamicsCRMmailboxtrackingfolder> uomMailboxTrackingFolders = default(IList <MicrosoftDynamicsCRMmailboxtrackingfolder>), IList <MicrosoftDynamicsCRMbulkdeletefailure> uoMBulkDeleteFailures = default(IList <MicrosoftDynamicsCRMbulkdeletefailure>), IList <MicrosoftDynamicsCRMprincipalobjectattributeaccess> uomPrincipalObjectAttributeAccesses = default(IList <MicrosoftDynamicsCRMprincipalobjectattributeaccess>), MicrosoftDynamicsCRMuom baseuom = default(MicrosoftDynamicsCRMuom), IList <MicrosoftDynamicsCRMuom> unitOfMeasurementBaseUnit = default(IList <MicrosoftDynamicsCRMuom>), IList <MicrosoftDynamicsCRMproduct> unitOfMeasurementProducts = default(IList <MicrosoftDynamicsCRMproduct>), IList <MicrosoftDynamicsCRMproductassociation> unitOfMeasurementProductassociation = default(IList <MicrosoftDynamicsCRMproductassociation>), IList <MicrosoftDynamicsCRMproductpricelevel> unitOfMeasurementProductPriceLevels = default(IList <MicrosoftDynamicsCRMproductpricelevel>), MicrosoftDynamicsCRMuomschedule uomscheduleid = default(MicrosoftDynamicsCRMuomschedule), IList <MicrosoftDynamicsCRMcontractdetail> unitOfMeasurementContractLineItems = default(IList <MicrosoftDynamicsCRMcontractdetail>), IList <MicrosoftDynamicsCRMinvoicedetail> unitOfMeasurementInvoiceDetails = default(IList <MicrosoftDynamicsCRMinvoicedetail>), IList <MicrosoftDynamicsCRMopportunityproduct> unitOfMeasurementOpportunityProducts = default(IList <MicrosoftDynamicsCRMopportunityproduct>), IList <MicrosoftDynamicsCRMsalesorderdetail> unitOfMeasurementOrderDetails = default(IList <MicrosoftDynamicsCRMsalesorderdetail>), IList <MicrosoftDynamicsCRMquotedetail> unitOfMeasurementQuoteDetails = default(IList <MicrosoftDynamicsCRMquotedetail>))
 {
     this._createdonbehalfbyValue = _createdonbehalfbyValue;
     Organizationid                    = organizationid;
     Isschedulebaseuom                 = isschedulebaseuom;
     Quantity                          = quantity;
     Importsequencenumber              = importsequencenumber;
     Overriddencreatedon               = overriddencreatedon;
     Createdon                         = createdon;
     this._uomscheduleidValue          = _uomscheduleidValue;
     this._createdbyexternalpartyValue = _createdbyexternalpartyValue;
     Modifiedon                        = modifiedon;
     this._modifiedonbehalfbyValue     = _modifiedonbehalfbyValue;
     Uomid = uomid;
     Utcconversiontimezonecode          = utcconversiontimezonecode;
     this._modifiedbyexternalpartyValue = _modifiedbyexternalpartyValue;
     this._baseuomValue        = _baseuomValue;
     Timezoneruleversionnumber = timezoneruleversionnumber;
     Versionnumber             = versionnumber;
     Name = name;
     this._createdbyValue                = _createdbyValue;
     this._modifiedbyValue               = _modifiedbyValue;
     Createdby                           = createdby;
     Createdonbehalfby                   = createdonbehalfby;
     Modifiedby                          = modifiedby;
     Modifiedonbehalfby                  = modifiedonbehalfby;
     UoMSyncErrors                       = uoMSyncErrors;
     UoMAsyncOperations                  = uoMAsyncOperations;
     UomMailboxTrackingFolders           = uomMailboxTrackingFolders;
     UoMBulkDeleteFailures               = uoMBulkDeleteFailures;
     UomPrincipalObjectAttributeAccesses = uomPrincipalObjectAttributeAccesses;
     Baseuom = baseuom;
     UnitOfMeasurementBaseUnit           = unitOfMeasurementBaseUnit;
     UnitOfMeasurementProducts           = unitOfMeasurementProducts;
     UnitOfMeasurementProductassociation = unitOfMeasurementProductassociation;
     UnitOfMeasurementProductPriceLevels = unitOfMeasurementProductPriceLevels;
     Uomscheduleid = uomscheduleid;
     UnitOfMeasurementContractLineItems   = unitOfMeasurementContractLineItems;
     UnitOfMeasurementInvoiceDetails      = unitOfMeasurementInvoiceDetails;
     UnitOfMeasurementOpportunityProducts = unitOfMeasurementOpportunityProducts;
     UnitOfMeasurementOrderDetails        = unitOfMeasurementOrderDetails;
     UnitOfMeasurementQuoteDetails        = unitOfMeasurementQuoteDetails;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the MicrosoftDynamicsCRMproduct
 /// class.
 /// </summary>
 public MicrosoftDynamicsCRMproduct(string _createdonbehalfbyValue = default(string), string _transactioncurrencyidValue = default(string), string hierarchypath = default(string), string _defaultuomscheduleidValue = default(string), string _modifiedbyValue = default(string), int?productstructure = default(int?), object quantityonhand = default(object), string _pricelevelidValue = default(string), string entityimageUrl = default(string), string entityimageid = default(string), string _defaultuomidValue = default(string), object exchangerate = default(object), System.DateTimeOffset?validtodate = default(System.DateTimeOffset?), object currentcost = default(object), string _subjectidValue = default(string), object price = default(object), string size = default(string), int?quantitydecimal = default(int?), System.DateTimeOffset?validfromdate = default(System.DateTimeOffset?), System.DateTimeOffset?createdon = default(System.DateTimeOffset?), int?statuscode = default(int?), int?statecode = default(int?), string stageid = default(string), string _createdbyValue = default(string), string description = default(string), object priceBase = default(object), string suppliername = default(string), int?timezoneruleversionnumber = default(int?), int?importsequencenumber = default(int?), string _parentproductidValue = default(string), long?entityimageTimestamp = default(long?), object standardcost = default(object), string traversedpath = default(string), string vendorname = default(string), int?utcconversiontimezonecode = default(int?), object currentcostBase = default(object), int?producttypecode = default(int?), string _organizationidValue = default(string), string _createdbyexternalpartyValue = default(string), string name = default(string), long?versionnumber = default(long?), string processid = default(string), bool?iskit = default(bool?), string _modifiedbyexternalpartyValue = default(string), System.DateTimeOffset?modifiedon = default(System.DateTimeOffset?), bool?isreparented = default(bool?), bool?isstockitem = default(bool?), string vendorid = default(string), string vendorpartnumber = default(string), object stockweight = default(object), object entityimage = default(object), System.DateTimeOffset?overriddencreatedon = default(System.DateTimeOffset?), string productid = default(string), string _modifiedonbehalfbyValue = default(string), string producturl = default(string), string productnumber = default(string), object standardcostBase = default(object), object stockvolume = default(object), int?dmtimportstate = default(int?), MicrosoftDynamicsCRMsystemuser createdby = default(MicrosoftDynamicsCRMsystemuser), MicrosoftDynamicsCRMsystemuser createdonbehalfby = default(MicrosoftDynamicsCRMsystemuser), MicrosoftDynamicsCRMsystemuser modifiedby = default(MicrosoftDynamicsCRMsystemuser), MicrosoftDynamicsCRMsystemuser modifiedonbehalfby = default(MicrosoftDynamicsCRMsystemuser), MicrosoftDynamicsCRMorganization organizationid = default(MicrosoftDynamicsCRMorganization), IList <MicrosoftDynamicsCRMsyncerror> productSyncErrors = default(IList <MicrosoftDynamicsCRMsyncerror>), IList <MicrosoftDynamicsCRMsharepointdocumentlocation> productSharepointDocumentLocation = default(IList <MicrosoftDynamicsCRMsharepointdocumentlocation>), IList <MicrosoftDynamicsCRMasyncoperation> productAsyncOperations = default(IList <MicrosoftDynamicsCRMasyncoperation>), IList <MicrosoftDynamicsCRMmailboxtrackingfolder> productMailboxTrackingFolders = default(IList <MicrosoftDynamicsCRMmailboxtrackingfolder>), IList <MicrosoftDynamicsCRMprocesssession> productProcessSessions = default(IList <MicrosoftDynamicsCRMprocesssession>), IList <MicrosoftDynamicsCRMbulkdeletefailure> productBulkDeleteFailures = default(IList <MicrosoftDynamicsCRMbulkdeletefailure>), IList <MicrosoftDynamicsCRMprincipalobjectattributeaccess> productPrincipalobjectattributeaccess = default(IList <MicrosoftDynamicsCRMprincipalobjectattributeaccess>), MicrosoftDynamicsCRMprocessstage stageidProcessstage = default(MicrosoftDynamicsCRMprocessstage), MicrosoftDynamicsCRMtransactioncurrency transactioncurrencyid = default(MicrosoftDynamicsCRMtransactioncurrency), IList <MicrosoftDynamicsCRMconnection> productConnections1 = default(IList <MicrosoftDynamicsCRMconnection>), IList <MicrosoftDynamicsCRMconnection> productConnections2 = default(IList <MicrosoftDynamicsCRMconnection>), IList <MicrosoftDynamicsCRMannotation> productAnnotation = default(IList <MicrosoftDynamicsCRMannotation>), MicrosoftDynamicsCRMpricelevel pricelevelid = default(MicrosoftDynamicsCRMpricelevel), IList <MicrosoftDynamicsCRMdynamicproperty> productDynamicProperty = default(IList <MicrosoftDynamicsCRMdynamicproperty>), IList <MicrosoftDynamicsCRMdynamicpropertyassociation> productDynamicPropertyAssociation = default(IList <MicrosoftDynamicsCRMdynamicpropertyassociation>), MicrosoftDynamicsCRMproduct parentproductid = default(MicrosoftDynamicsCRMproduct), IList <MicrosoftDynamicsCRMproduct> productParentProduct = default(IList <MicrosoftDynamicsCRMproduct>), IList <MicrosoftDynamicsCRMproductassociation> productProductAssociationAssocProd = default(IList <MicrosoftDynamicsCRMproductassociation>), IList <MicrosoftDynamicsCRMproductassociation> productProductAssociationProd = default(IList <MicrosoftDynamicsCRMproductassociation>), IList <MicrosoftDynamicsCRMproductsubstitute> productProductSubstituteSubstitutedproductid = default(IList <MicrosoftDynamicsCRMproductsubstitute>), IList <MicrosoftDynamicsCRMproductsubstitute> productProductSubstituteProductid = default(IList <MicrosoftDynamicsCRMproductsubstitute>), IList <MicrosoftDynamicsCRMproductpricelevel> productPriceLevels = default(IList <MicrosoftDynamicsCRMproductpricelevel>), MicrosoftDynamicsCRMsubject subjectid = default(MicrosoftDynamicsCRMsubject), MicrosoftDynamicsCRMuom defaultuomid = default(MicrosoftDynamicsCRMuom), MicrosoftDynamicsCRMuomschedule defaultuomscheduleid = default(MicrosoftDynamicsCRMuomschedule), IList <MicrosoftDynamicsCRMcampaign> campaignproductAssociation = default(IList <MicrosoftDynamicsCRMcampaign>), IList <MicrosoftDynamicsCRMcontractdetail> productContractLineItems = default(IList <MicrosoftDynamicsCRMcontractdetail>), IList <MicrosoftDynamicsCRMincident> productIncidents = default(IList <MicrosoftDynamicsCRMincident>), IList <MicrosoftDynamicsCRMentitlement> productEntitlementAssociation = default(IList <MicrosoftDynamicsCRMentitlement>), IList <MicrosoftDynamicsCRMentitlementtemplate> productEntitlementtemplateAssociation = default(IList <MicrosoftDynamicsCRMentitlementtemplate>), IList <MicrosoftDynamicsCRMlead> leadproductAssociation = default(IList <MicrosoftDynamicsCRMlead>), IList <MicrosoftDynamicsCRMopportunityproduct> opportunityProducts = default(IList <MicrosoftDynamicsCRMopportunityproduct>), IList <MicrosoftDynamicsCRMinvoicedetail> productInvoiceDetails = default(IList <MicrosoftDynamicsCRMinvoicedetail>), IList <MicrosoftDynamicsCRMsalesorderdetail> productOrderDetails = default(IList <MicrosoftDynamicsCRMsalesorderdetail>), IList <MicrosoftDynamicsCRMquotedetail> productQuoteDetails = default(IList <MicrosoftDynamicsCRMquotedetail>), IList <MicrosoftDynamicsCRMsalesliterature> productsalesliteratureAssociation = default(IList <MicrosoftDynamicsCRMsalesliterature>), IList <MicrosoftDynamicsCRMcompetitor> competitorproductAssociation = default(IList <MicrosoftDynamicsCRMcompetitor>))
 {
     this._createdonbehalfbyValue     = _createdonbehalfbyValue;
     this._transactioncurrencyidValue = _transactioncurrencyidValue;
     Hierarchypath = hierarchypath;
     this._defaultuomscheduleidValue = _defaultuomscheduleidValue;
     this._modifiedbyValue           = _modifiedbyValue;
     Productstructure        = productstructure;
     Quantityonhand          = quantityonhand;
     this._pricelevelidValue = _pricelevelidValue;
     EntityimageUrl          = entityimageUrl;
     Entityimageid           = entityimageid;
     this._defaultuomidValue = _defaultuomidValue;
     Exchangerate            = exchangerate;
     Validtodate             = validtodate;
     Currentcost             = currentcost;
     this._subjectidValue    = _subjectidValue;
     Price                                        = price;
     Size                                         = size;
     Quantitydecimal                              = quantitydecimal;
     Validfromdate                                = validfromdate;
     Createdon                                    = createdon;
     Statuscode                                   = statuscode;
     Statecode                                    = statecode;
     Stageid                                      = stageid;
     this._createdbyValue                         = _createdbyValue;
     Description                                  = description;
     PriceBase                                    = priceBase;
     Suppliername                                 = suppliername;
     Timezoneruleversionnumber                    = timezoneruleversionnumber;
     Importsequencenumber                         = importsequencenumber;
     this._parentproductidValue                   = _parentproductidValue;
     EntityimageTimestamp                         = entityimageTimestamp;
     Standardcost                                 = standardcost;
     Traversedpath                                = traversedpath;
     Vendorname                                   = vendorname;
     Utcconversiontimezonecode                    = utcconversiontimezonecode;
     CurrentcostBase                              = currentcostBase;
     Producttypecode                              = producttypecode;
     this._organizationidValue                    = _organizationidValue;
     this._createdbyexternalpartyValue            = _createdbyexternalpartyValue;
     Name                                         = name;
     Versionnumber                                = versionnumber;
     Processid                                    = processid;
     Iskit                                        = iskit;
     this._modifiedbyexternalpartyValue           = _modifiedbyexternalpartyValue;
     Modifiedon                                   = modifiedon;
     Isreparented                                 = isreparented;
     Isstockitem                                  = isstockitem;
     Vendorid                                     = vendorid;
     Vendorpartnumber                             = vendorpartnumber;
     Stockweight                                  = stockweight;
     Entityimage                                  = entityimage;
     Overriddencreatedon                          = overriddencreatedon;
     Productid                                    = productid;
     this._modifiedonbehalfbyValue                = _modifiedonbehalfbyValue;
     Producturl                                   = producturl;
     Productnumber                                = productnumber;
     StandardcostBase                             = standardcostBase;
     Stockvolume                                  = stockvolume;
     Dmtimportstate                               = dmtimportstate;
     Createdby                                    = createdby;
     Createdonbehalfby                            = createdonbehalfby;
     Modifiedby                                   = modifiedby;
     Modifiedonbehalfby                           = modifiedonbehalfby;
     Organizationid                               = organizationid;
     ProductSyncErrors                            = productSyncErrors;
     ProductSharepointDocumentLocation            = productSharepointDocumentLocation;
     ProductAsyncOperations                       = productAsyncOperations;
     ProductMailboxTrackingFolders                = productMailboxTrackingFolders;
     ProductProcessSessions                       = productProcessSessions;
     ProductBulkDeleteFailures                    = productBulkDeleteFailures;
     ProductPrincipalobjectattributeaccess        = productPrincipalobjectattributeaccess;
     StageidProcessstage                          = stageidProcessstage;
     Transactioncurrencyid                        = transactioncurrencyid;
     ProductConnections1                          = productConnections1;
     ProductConnections2                          = productConnections2;
     ProductAnnotation                            = productAnnotation;
     Pricelevelid                                 = pricelevelid;
     ProductDynamicProperty                       = productDynamicProperty;
     ProductDynamicPropertyAssociation            = productDynamicPropertyAssociation;
     Parentproductid                              = parentproductid;
     ProductParentProduct                         = productParentProduct;
     ProductProductAssociationAssocProd           = productProductAssociationAssocProd;
     ProductProductAssociationProd                = productProductAssociationProd;
     ProductProductSubstituteSubstitutedproductid = productProductSubstituteSubstitutedproductid;
     ProductProductSubstituteProductid            = productProductSubstituteProductid;
     ProductPriceLevels                           = productPriceLevels;
     Subjectid                                    = subjectid;
     Defaultuomid                                 = defaultuomid;
     Defaultuomscheduleid                         = defaultuomscheduleid;
     CampaignproductAssociation                   = campaignproductAssociation;
     ProductContractLineItems                     = productContractLineItems;
     ProductIncidents                             = productIncidents;
     ProductEntitlementAssociation                = productEntitlementAssociation;
     ProductEntitlementtemplateAssociation        = productEntitlementtemplateAssociation;
     LeadproductAssociation                       = leadproductAssociation;
     OpportunityProducts                          = opportunityProducts;
     ProductInvoiceDetails                        = productInvoiceDetails;
     ProductOrderDetails                          = productOrderDetails;
     ProductQuoteDetails                          = productQuoteDetails;
     ProductsalesliteratureAssociation            = productsalesliteratureAssociation;
     CompetitorproductAssociation                 = competitorproductAssociation;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the
 /// MicrosoftDynamicsCRMcontractdetail class.
 /// </summary>
 public MicrosoftDynamicsCRMcontractdetail(long?versionnumber = default(long?), string _modifiedbyValue = default(string), System.DateTimeOffset?overriddencreatedon = default(System.DateTimeOffset?), string _productidValue = default(string), object rate = default(object), int?statuscode = default(int?), string _createdonbehalfbyValue = default(string), int?allotmentsused = default(int?), int?lineitemorder = default(int?), int?statecode = default(int?), string _owningteamValue = default(string), int?servicecontractunitscode = default(int?), string _uomscheduleidValue = default(string), string _uomidValue = default(string), int?importsequencenumber = default(int?), int?allotmentsremaining = default(int?), int?timezoneruleversionnumber = default(int?), string _owninguserValue = default(string), string _transactioncurrencyidValue = default(string), System.DateTimeOffset?activeon = default(System.DateTimeOffset?), object priceBase = default(object), System.DateTimeOffset?modifiedon = default(System.DateTimeOffset?), object rateBase = default(object), string title = default(string), string effectivitycalendar = default(string), int?contractstatecode = default(int?), string _serviceaddressValue = default(string), int?allotmentsoverage = default(int?), int?utcconversiontimezonecode = default(int?), int?initialquantity = default(int?), object discountBase = default(object), string _modifiedonbehalfbyValue = default(string), System.DateTimeOffset?createdon = default(System.DateTimeOffset?), object net = default(object), object exchangerate = default(object), int?totalallotments = default(int?), string _contractidValue = default(string), string _accountidValue = default(string), object discountpercentage = default(object), string _owningbusinessunitValue = default(string), string contractdetailid = default(string), object discount = default(object), string _contactidValue = default(string), string _owneridValue = default(string), string _createdbyValue = default(string), string _customeridValue = default(string), string productserialnumber = default(string), object price = default(object), System.DateTimeOffset?expireson = default(System.DateTimeOffset?), object netBase = default(object), 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))
 {
     Versionnumber         = versionnumber;
     this._modifiedbyValue = _modifiedbyValue;
     Overriddencreatedon   = overriddencreatedon;
     this._productidValue  = _productidValue;
     Rate       = rate;
     Statuscode = statuscode;
     this._createdonbehalfbyValue = _createdonbehalfbyValue;
     Allotmentsused                   = allotmentsused;
     Lineitemorder                    = lineitemorder;
     Statecode                        = statecode;
     this._owningteamValue            = _owningteamValue;
     Servicecontractunitscode         = servicecontractunitscode;
     this._uomscheduleidValue         = _uomscheduleidValue;
     this._uomidValue                 = _uomidValue;
     Importsequencenumber             = importsequencenumber;
     Allotmentsremaining              = allotmentsremaining;
     Timezoneruleversionnumber        = timezoneruleversionnumber;
     this._owninguserValue            = _owninguserValue;
     this._transactioncurrencyidValue = _transactioncurrencyidValue;
     Activeon                      = activeon;
     PriceBase                     = priceBase;
     Modifiedon                    = modifiedon;
     RateBase                      = rateBase;
     Title                         = title;
     Effectivitycalendar           = effectivitycalendar;
     Contractstatecode             = contractstatecode;
     this._serviceaddressValue     = _serviceaddressValue;
     Allotmentsoverage             = allotmentsoverage;
     Utcconversiontimezonecode     = utcconversiontimezonecode;
     Initialquantity               = initialquantity;
     DiscountBase                  = discountBase;
     this._modifiedonbehalfbyValue = _modifiedonbehalfbyValue;
     Createdon                     = createdon;
     Net                                          = net;
     Exchangerate                                 = exchangerate;
     Totalallotments                              = totalallotments;
     this._contractidValue                        = _contractidValue;
     this._accountidValue                         = _accountidValue;
     Discountpercentage                           = discountpercentage;
     this._owningbusinessunitValue                = _owningbusinessunitValue;
     Contractdetailid                             = contractdetailid;
     Discount                                     = discount;
     this._contactidValue                         = _contactidValue;
     this._owneridValue                           = _owneridValue;
     this._createdbyValue                         = _createdbyValue;
     this._customeridValue                        = _customeridValue;
     Productserialnumber                          = productserialnumber;
     Price                                        = price;
     Expireson                                    = expireson;
     NetBase                                      = netBase;
     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();
 }