예제 #1
0
 /// <summary>
 /// Initializes a new instance of the
 /// MicrosoftDynamicsCRMproductpricelevel class.
 /// </summary>
 public MicrosoftDynamicsCRMproductpricelevel(int?quantitysellingcode = default(int?), string processid = default(string), string stageid = default(string), int?roundingoptioncode = default(int?), object exchangerate = default(object), string _uomidValue = default(string), string productnumber = default(string), System.DateTimeOffset?overriddencreatedon = default(System.DateTimeOffset?), long?versionnumber = default(long?), string productpricelevelid = default(string), int?pricingmethodcode = default(int?), System.DateTimeOffset?modifiedon = default(System.DateTimeOffset?), string _discounttypeidValue = default(string), string _uomscheduleidValue = default(string), string _transactioncurrencyidValue = default(string), string organizationid = default(string), object amount = default(object), string _createdbyValue = default(string), string _productidValue = default(string), int?roundingpolicycode = default(int?), int?importsequencenumber = default(int?), string _modifiedbyValue = default(string), System.DateTimeOffset?createdon = default(System.DateTimeOffset?), string _createdonbehalfbyValue = default(string), object amountBase = default(object), string _modifiedonbehalfbyValue = default(string), string _pricelevelidValue = default(string), object percentage = default(object), object roundingoptionamount = default(object), object roundingoptionamountBase = default(object), string traversedpath = default(string), MicrosoftDynamicsCRMuom uomid = default(MicrosoftDynamicsCRMuom), IList <MicrosoftDynamicsCRMasyncoperation> productPriceLevelAsyncOperations = default(IList <MicrosoftDynamicsCRMasyncoperation>), MicrosoftDynamicsCRMsystemuser createdonbehalfby = default(MicrosoftDynamicsCRMsystemuser), MicrosoftDynamicsCRMtransactioncurrency transactioncurrencyid = default(MicrosoftDynamicsCRMtransactioncurrency), IList <MicrosoftDynamicsCRMsyncerror> productPriceLevelSyncErrors = default(IList <MicrosoftDynamicsCRMsyncerror>), MicrosoftDynamicsCRMprocessstage stageidProcessstage = default(MicrosoftDynamicsCRMprocessstage), MicrosoftDynamicsCRMpricelevel pricelevelid = default(MicrosoftDynamicsCRMpricelevel), MicrosoftDynamicsCRMsystemuser modifiedonbehalfby = default(MicrosoftDynamicsCRMsystemuser), IList <MicrosoftDynamicsCRMbulkdeletefailure> productPriceLevelBulkDeleteFailures = default(IList <MicrosoftDynamicsCRMbulkdeletefailure>), MicrosoftDynamicsCRMsystemuser modifiedby = default(MicrosoftDynamicsCRMsystemuser), MicrosoftDynamicsCRMproduct productid = default(MicrosoftDynamicsCRMproduct), MicrosoftDynamicsCRMdiscounttype discounttypeid = default(MicrosoftDynamicsCRMdiscounttype), MicrosoftDynamicsCRMuomschedule uomscheduleid = default(MicrosoftDynamicsCRMuomschedule), MicrosoftDynamicsCRMsystemuser createdby = default(MicrosoftDynamicsCRMsystemuser))
 {
     Quantitysellingcode              = quantitysellingcode;
     Processid                        = processid;
     Stageid                          = stageid;
     Roundingoptioncode               = roundingoptioncode;
     Exchangerate                     = exchangerate;
     this._uomidValue                 = _uomidValue;
     Productnumber                    = productnumber;
     Overriddencreatedon              = overriddencreatedon;
     Versionnumber                    = versionnumber;
     Productpricelevelid              = productpricelevelid;
     Pricingmethodcode                = pricingmethodcode;
     Modifiedon                       = modifiedon;
     this._discounttypeidValue        = _discounttypeidValue;
     this._uomscheduleidValue         = _uomscheduleidValue;
     this._transactioncurrencyidValue = _transactioncurrencyidValue;
     Organizationid                   = organizationid;
     Amount = amount;
     this._createdbyValue          = _createdbyValue;
     this._productidValue          = _productidValue;
     Roundingpolicycode            = roundingpolicycode;
     Importsequencenumber          = importsequencenumber;
     this._modifiedbyValue         = _modifiedbyValue;
     Createdon                     = createdon;
     this._createdonbehalfbyValue  = _createdonbehalfbyValue;
     AmountBase                    = amountBase;
     this._modifiedonbehalfbyValue = _modifiedonbehalfbyValue;
     this._pricelevelidValue       = _pricelevelidValue;
     Percentage                    = percentage;
     Roundingoptionamount          = roundingoptionamount;
     RoundingoptionamountBase      = roundingoptionamountBase;
     Traversedpath                 = traversedpath;
     Uomid = uomid;
     ProductPriceLevelAsyncOperations = productPriceLevelAsyncOperations;
     Createdonbehalfby           = createdonbehalfby;
     Transactioncurrencyid       = transactioncurrencyid;
     ProductPriceLevelSyncErrors = productPriceLevelSyncErrors;
     StageidProcessstage         = stageidProcessstage;
     Pricelevelid       = pricelevelid;
     Modifiedonbehalfby = modifiedonbehalfby;
     ProductPriceLevelBulkDeleteFailures = productPriceLevelBulkDeleteFailures;
     Modifiedby     = modifiedby;
     Productid      = productid;
     Discounttypeid = discounttypeid;
     Uomscheduleid  = uomscheduleid;
     Createdby      = createdby;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the MicrosoftDynamicsCRMuom class.
 /// </summary>
 public MicrosoftDynamicsCRMuom(string _modifiedonbehalfbyValue = default(string), string _modifiedbyexternalpartyValue = default(string), string name = default(string), string _uomscheduleidValue = default(string), string _createdonbehalfbyValue = default(string), string _modifiedbyValue = default(string), System.DateTimeOffset?overriddencreatedon = default(System.DateTimeOffset?), System.DateTimeOffset?modifiedon = default(System.DateTimeOffset?), string uomid = default(string), System.DateTimeOffset?createdon = default(System.DateTimeOffset?), object quantity = default(object), string _baseuomValue = default(string), long?versionnumber = default(long?), string organizationid = default(string), int?importsequencenumber = default(int?), string _createdbyexternalpartyValue = default(string), bool?isschedulebaseuom = default(bool?), string _createdbyValue = default(string), IList <MicrosoftDynamicsCRMproductpricelevel> unitOfMeasurementProductPriceLevels = default(IList <MicrosoftDynamicsCRMproductpricelevel>), IList <MicrosoftDynamicsCRMinvoicedetail> unitOfMeasurementInvoiceDetails = default(IList <MicrosoftDynamicsCRMinvoicedetail>), MicrosoftDynamicsCRMsystemuser createdby = default(MicrosoftDynamicsCRMsystemuser), MicrosoftDynamicsCRMuomschedule uomscheduleid = default(MicrosoftDynamicsCRMuomschedule), IList <MicrosoftDynamicsCRMquotedetail> unitOfMeasurementQuoteDetails = default(IList <MicrosoftDynamicsCRMquotedetail>), IList <MicrosoftDynamicsCRMproduct> unitOfMeasurementProducts = default(IList <MicrosoftDynamicsCRMproduct>), IList <MicrosoftDynamicsCRMsalesorderdetail> unitOfMeasurementOrderDetails = default(IList <MicrosoftDynamicsCRMsalesorderdetail>), MicrosoftDynamicsCRMsystemuser createdonbehalfby = default(MicrosoftDynamicsCRMsystemuser), MicrosoftDynamicsCRMuom baseuom = default(MicrosoftDynamicsCRMuom), IList <MicrosoftDynamicsCRMuom> unitOfMeasurementBaseUnit = default(IList <MicrosoftDynamicsCRMuom>), IList <MicrosoftDynamicsCRMproductassociation> unitOfMeasurementProductassociation = default(IList <MicrosoftDynamicsCRMproductassociation>), MicrosoftDynamicsCRMsystemuser modifiedonbehalfby = default(MicrosoftDynamicsCRMsystemuser), IList <MicrosoftDynamicsCRMcontractdetail> unitOfMeasurementContractLineItems = default(IList <MicrosoftDynamicsCRMcontractdetail>), IList <MicrosoftDynamicsCRMopportunityproduct> unitOfMeasurementOpportunityProducts = default(IList <MicrosoftDynamicsCRMopportunityproduct>), MicrosoftDynamicsCRMsystemuser modifiedby = default(MicrosoftDynamicsCRMsystemuser), IList <MicrosoftDynamicsCRMbulkdeletefailure> uoMBulkDeleteFailures = default(IList <MicrosoftDynamicsCRMbulkdeletefailure>), IList <MicrosoftDynamicsCRMsyncerror> uoMSyncErrors = default(IList <MicrosoftDynamicsCRMsyncerror>), IList <MicrosoftDynamicsCRMasyncoperation> uoMAsyncOperations = default(IList <MicrosoftDynamicsCRMasyncoperation>))
 {
     this._modifiedonbehalfbyValue      = _modifiedonbehalfbyValue;
     this._modifiedbyexternalpartyValue = _modifiedbyexternalpartyValue;
     Name = name;
     this._uomscheduleidValue     = _uomscheduleidValue;
     this._createdonbehalfbyValue = _createdonbehalfbyValue;
     this._modifiedbyValue        = _modifiedbyValue;
     Overriddencreatedon          = overriddencreatedon;
     Modifiedon           = modifiedon;
     Uomid                = uomid;
     Createdon            = createdon;
     Quantity             = quantity;
     this._baseuomValue   = _baseuomValue;
     Versionnumber        = versionnumber;
     Organizationid       = organizationid;
     Importsequencenumber = importsequencenumber;
     this._createdbyexternalpartyValue = _createdbyexternalpartyValue;
     Isschedulebaseuom    = isschedulebaseuom;
     this._createdbyValue = _createdbyValue;
     UnitOfMeasurementProductPriceLevels = unitOfMeasurementProductPriceLevels;
     UnitOfMeasurementInvoiceDetails     = unitOfMeasurementInvoiceDetails;
     Createdby     = createdby;
     Uomscheduleid = uomscheduleid;
     UnitOfMeasurementQuoteDetails = unitOfMeasurementQuoteDetails;
     UnitOfMeasurementProducts     = unitOfMeasurementProducts;
     UnitOfMeasurementOrderDetails = unitOfMeasurementOrderDetails;
     Createdonbehalfby             = createdonbehalfby;
     Baseuom = baseuom;
     UnitOfMeasurementBaseUnit           = unitOfMeasurementBaseUnit;
     UnitOfMeasurementProductassociation = unitOfMeasurementProductassociation;
     Modifiedonbehalfby = modifiedonbehalfby;
     UnitOfMeasurementContractLineItems   = unitOfMeasurementContractLineItems;
     UnitOfMeasurementOpportunityProducts = unitOfMeasurementOpportunityProducts;
     Modifiedby            = modifiedby;
     UoMBulkDeleteFailures = uoMBulkDeleteFailures;
     UoMSyncErrors         = uoMSyncErrors;
     UoMAsyncOperations    = uoMAsyncOperations;
     CustomInit();
 }
예제 #3
0
 /// <summary>
 /// Initializes a new instance of the
 /// MicrosoftDynamicsCRMcontractdetail class.
 /// </summary>
 /// <param name="expireson">Enter the date when the contract line
 /// expires. The date is automatically filled with the contract date,
 /// but you can change it if required.</param>
 /// <param name="priceBase">Shows the Total Price field converted to
 /// the system's default base currency for reporting purposes. The
 /// calculation uses the exchange rate specified in the Currencies
 /// area.</param>
 /// <param name="rateBase">Shows the Rate field converted to the
 /// system's default base currency for reporting purposes. The
 /// calculation uses the exchange rate specified in the Currencies
 /// area.</param>
 /// <param name="netBase">Shows the Net field converted to the system's
 /// default base currency for reporting purposes. The calculation uses
 /// the exchange rate specified in the Currencies area.</param>
 /// <param name="allotmentsused">Shows the number of cases or minutes
 /// used in the resolved cases on the contract line.</param>
 /// <param name="statecode">Shows whether the contract line is
 /// existing, renewed, canceled, or expired. You can't edit a contract
 /// line after it is saved, regardless of the status.</param>
 /// <param name="owningbusinessunit">Unique identifier of the business
 /// unit that owns the contract line.</param>
 /// <param name="versionnumber">Version number of the contract
 /// template.</param>
 /// <param name="_customeridValue">Select the customer account or
 /// contact to provide a quick link to additional customer details,
 /// such as address, phone number, activities, and orders.</param>
 /// <param name="discountBase">Shows the Discount field converted to
 /// the system's default base currency. The calculation uses the
 /// exchange rate specified in the Currencies area.</param>
 /// <param name="timezoneruleversionnumber">For internal use
 /// only.</param>
 /// <param name="_createdbyValue">Shows who created the record.</param>
 /// <param name="servicecontractunitscode">Select the unit type
 /// allotted in the contract line, such as cases or minutes, to
 /// determine the level of support.</param>
 /// <param name="_modifiedonbehalfbyValue">Shows who last updated the
 /// record on behalf of another user.</param>
 /// <param name="importsequencenumber">Unique identifier of the data
 /// import or data migration that created this record.</param>
 /// <param name="effectivitycalendar">Days of the week and times for
 /// which the contract line item is effective.</param>
 /// <param name="utcconversiontimezonecode">Time zone code that was in
 /// use when the record was created.</param>
 /// <param name="_uomidValue">Choose the unit of measurement for the
 /// base unit quantity for this purchase, such as each or
 /// dozen.</param>
 /// <param name="owninguser">Unique identifier of the user who owns the
 /// contract line.</param>
 /// <param name="title">Type a title or name that describes the
 /// contract line.</param>
 /// <param name="_productidValue">Choose the product that is eligible
 /// for services on the contract line.</param>
 /// <param name="modifiedon">Shows the date and time when the record
 /// was last updated. The date and time are displayed in the time zone
 /// selected in Microsoft Dynamics 365 options.</param>
 /// <param name="_uomscheduleidValue">Unique identifier of the unit
 /// group associated with the contract line.</param>
 /// <param name="discountpercentage">Type the discount rate that should
 /// be applied to the Total Price, for use in calculating the net
 /// amount due for the contract line.</param>
 /// <param name="_serviceaddressValue">Choose the address for the
 /// customer account or contact where the services are
 /// provided.</param>
 /// <param name="contractstatecode">Status of the contract.</param>
 /// <param name="initialquantity">Type the number of units of the
 /// specified product or service that are eligible for support on the
 /// contract line.</param>
 /// <param name="overriddencreatedon">Date and time that the record was
 /// migrated.</param>
 /// <param name="rate">Shows the cost per case or minute, calculated by
 /// dividing the Total Price value by the total number of cases or
 /// minutes allocated to the contract line.</param>
 /// <param name="net">Shows the total charge to the customer for the
 /// contract line, calculated as the Total Price minus any
 /// discounts.</param>
 /// <param name="_contractidValue">Unique identifier of the contract
 /// associated with the contract line.</param>
 /// <param name="allotmentsoverage">Shows the number of minutes over
 /// the Total Allotments field that have been spent on resolved cases
 /// related to the contract line.</param>
 /// <param name="contractdetailid">Unique identifier of the contract
 /// line.</param>
 /// <param name="createdon">Shows the date and time when the record was
 /// created. The date and time are displayed in the time zone selected
 /// in Microsoft Dynamics 365 options.</param>
 /// <param name="_transactioncurrencyidValue">Choose the local currency
 /// for the record to make sure budgets are reported in the correct
 /// currency.</param>
 /// <param name="allotmentsremaining">Shows the number of cases or
 /// minutes remaining, based on the resolved cases logged to the
 /// contract line.</param>
 /// <param name="discount">Type the discount amount for the contract
 /// line to deduct any negotiated or other savings from the net amount
 /// due.</param>
 /// <param name="totalallotments">Type the total number of minutes or
 /// cases allowed for the contract line.</param>
 /// <param name="price">Type the total service charge for the contract
 /// line before any discounts are credited.</param>
 /// <param name="_contactidValue">Unique identifier for the contact
 /// associated with the contract line.</param>
 /// <param name="activeon">Enter the date when the contract line
 /// becomes active.</param>
 /// <param name="_accountidValue">Unique identifier of the account with
 /// which the contract is associated.</param>
 /// <param name="productserialnumber">Type the serial number for the
 /// product that is eligible for services on the contract line.</param>
 /// <param name="exchangerate">Shows the conversion rate of the
 /// record's currency. The exchange rate is used to convert all money
 /// fields in the record from the local currency to the system's
 /// default currency.</param>
 /// <param name="_owneridValue">Unique identifier of the user or team
 /// who owns the contract detail.</param>
 /// <param name="statuscode">Select the contract line's status.</param>
 /// <param name="lineitemorder">Type the line item number for the
 /// contract line to easily identify the contract line and make sure
 /// it's listed in the correct order in the parent contract.</param>
 /// <param name="_modifiedbyValue">Shows who last updated the
 /// record.</param>
 /// <param name="_createdonbehalfbyValue">Shows who created the record
 /// on behalf of another user.</param>
 public MicrosoftDynamicsCRMcontractdetail(System.DateTimeOffset?expireson = default(System.DateTimeOffset?), decimal?priceBase = default(decimal?), decimal?rateBase = default(decimal?), decimal?netBase = default(decimal?), int?allotmentsused = default(int?), int?statecode = default(int?), string owningbusinessunit = default(string), string versionnumber = default(string), string _customeridValue = default(string), decimal?discountBase = default(decimal?), int?timezoneruleversionnumber = default(int?), string _createdbyValue = default(string), int?servicecontractunitscode = default(int?), string _modifiedonbehalfbyValue = default(string), int?importsequencenumber = default(int?), string effectivitycalendar = default(string), int?utcconversiontimezonecode = default(int?), string _uomidValue = default(string), string owninguser = default(string), string title = default(string), string _productidValue = default(string), System.DateTimeOffset?modifiedon = default(System.DateTimeOffset?), string _uomscheduleidValue = default(string), decimal?discountpercentage = default(decimal?), string _serviceaddressValue = default(string), int?contractstatecode = default(int?), int?initialquantity = default(int?), System.DateTimeOffset?overriddencreatedon = default(System.DateTimeOffset?), decimal?rate = default(decimal?), decimal?net = default(decimal?), string _contractidValue = default(string), int?allotmentsoverage = default(int?), string contractdetailid = default(string), System.DateTimeOffset?createdon = default(System.DateTimeOffset?), string _transactioncurrencyidValue = default(string), int?allotmentsremaining = default(int?), decimal?discount = default(decimal?), int?totalallotments = default(int?), decimal?price = default(decimal?), string _contactidValue = default(string), System.DateTimeOffset?activeon = default(System.DateTimeOffset?), string _accountidValue = default(string), string productserialnumber = default(string), decimal?exchangerate = default(decimal?), string _owneridValue = default(string), int?statuscode = default(int?), int?lineitemorder = default(int?), string _modifiedbyValue = default(string), string _createdonbehalfbyValue = default(string), MicrosoftDynamicsCRMsystemuser modifiedonbehalfby = default(MicrosoftDynamicsCRMsystemuser), IList <MicrosoftDynamicsCRMbulkdeletefailure> contractDetailBulkDeleteFailures = default(IList <MicrosoftDynamicsCRMbulkdeletefailure>), MicrosoftDynamicsCRMuomschedule uomscheduleid = default(MicrosoftDynamicsCRMuomschedule), MicrosoftDynamicsCRMsystemuser createdonbehalfby = default(MicrosoftDynamicsCRMsystemuser), IList <MicrosoftDynamicsCRMincident> contractDetailCases = default(IList <MicrosoftDynamicsCRMincident>), IList <MicrosoftDynamicsCRMsyncerror> contractDetailSyncErrors = default(IList <MicrosoftDynamicsCRMsyncerror>), MicrosoftDynamicsCRMtransactioncurrency transactioncurrencyid = default(MicrosoftDynamicsCRMtransactioncurrency), MicrosoftDynamicsCRMsystemuser createdby = default(MicrosoftDynamicsCRMsystemuser), MicrosoftDynamicsCRMcustomeraddress serviceaddress = default(MicrosoftDynamicsCRMcustomeraddress), MicrosoftDynamicsCRMcontract contractid = default(MicrosoftDynamicsCRMcontract), IList <MicrosoftDynamicsCRMannotation> contractDetailAnnotation = default(IList <MicrosoftDynamicsCRMannotation>), IList <MicrosoftDynamicsCRMasyncoperation> contractDetailAsyncOperations = default(IList <MicrosoftDynamicsCRMasyncoperation>), MicrosoftDynamicsCRMuom uomid = default(MicrosoftDynamicsCRMuom), MicrosoftDynamicsCRMaccount customeridAccount = default(MicrosoftDynamicsCRMaccount), MicrosoftDynamicsCRMproduct productid = default(MicrosoftDynamicsCRMproduct), MicrosoftDynamicsCRMsystemuser modifiedby = default(MicrosoftDynamicsCRMsystemuser), MicrosoftDynamicsCRMcontact customeridContact = default(MicrosoftDynamicsCRMcontact))
 {
     Expireson                     = expireson;
     PriceBase                     = priceBase;
     RateBase                      = rateBase;
     NetBase                       = netBase;
     Allotmentsused                = allotmentsused;
     Statecode                     = statecode;
     Owningbusinessunit            = owningbusinessunit;
     Versionnumber                 = versionnumber;
     this._customeridValue         = _customeridValue;
     DiscountBase                  = discountBase;
     Timezoneruleversionnumber     = timezoneruleversionnumber;
     this._createdbyValue          = _createdbyValue;
     Servicecontractunitscode      = servicecontractunitscode;
     this._modifiedonbehalfbyValue = _modifiedonbehalfbyValue;
     Importsequencenumber          = importsequencenumber;
     Effectivitycalendar           = effectivitycalendar;
     Utcconversiontimezonecode     = utcconversiontimezonecode;
     this._uomidValue              = _uomidValue;
     Owninguser                    = owninguser;
     Title = title;
     this._productidValue      = _productidValue;
     Modifiedon                = modifiedon;
     this._uomscheduleidValue  = _uomscheduleidValue;
     Discountpercentage        = discountpercentage;
     this._serviceaddressValue = _serviceaddressValue;
     Contractstatecode         = contractstatecode;
     Initialquantity           = initialquantity;
     Overriddencreatedon       = overriddencreatedon;
     Rate = rate;
     Net  = net;
     this._contractidValue            = _contractidValue;
     Allotmentsoverage                = allotmentsoverage;
     Contractdetailid                 = contractdetailid;
     Createdon                        = createdon;
     this._transactioncurrencyidValue = _transactioncurrencyidValue;
     Allotmentsremaining              = allotmentsremaining;
     Discount                         = discount;
     Totalallotments                  = totalallotments;
     Price                            = price;
     this._contactidValue             = _contactidValue;
     Activeon                         = activeon;
     this._accountidValue             = _accountidValue;
     Productserialnumber              = productserialnumber;
     Exchangerate                     = exchangerate;
     this._owneridValue               = _owneridValue;
     Statuscode                       = statuscode;
     Lineitemorder                    = lineitemorder;
     this._modifiedbyValue            = _modifiedbyValue;
     this._createdonbehalfbyValue     = _createdonbehalfbyValue;
     Modifiedonbehalfby               = modifiedonbehalfby;
     ContractDetailBulkDeleteFailures = contractDetailBulkDeleteFailures;
     Uomscheduleid                    = uomscheduleid;
     Createdonbehalfby                = createdonbehalfby;
     ContractDetailCases              = contractDetailCases;
     ContractDetailSyncErrors         = contractDetailSyncErrors;
     Transactioncurrencyid            = transactioncurrencyid;
     Createdby                        = createdby;
     Serviceaddress                   = serviceaddress;
     Contractid                       = contractid;
     ContractDetailAnnotation         = contractDetailAnnotation;
     ContractDetailAsyncOperations    = contractDetailAsyncOperations;
     Uomid                            = uomid;
     CustomeridAccount                = customeridAccount;
     Productid                        = productid;
     Modifiedby                       = modifiedby;
     CustomeridContact                = customeridContact;
     CustomInit();
 }
예제 #4
0
 /// <summary>
 /// Initializes a new instance of the MicrosoftDynamicsCRMproduct
 /// class.
 /// </summary>
 /// <param name="_modifiedbyexternalpartyValue">Shows the external
 /// party who modified the record.</param>
 /// <param name="description">Description of the product.</param>
 /// <param name="productstructure">Product Structure.</param>
 /// <param name="productnumber">User-defined product ID.</param>
 /// <param name="_subjectidValue">Select a category for the
 /// product.</param>
 /// <param name="vendorname">Name of the product vendor.</param>
 /// <param name="entityimage">Shows the default image for the
 /// record.</param>
 /// <param name="quantityonhand">Quantity of the product in
 /// stock.</param>
 /// <param name="_createdonbehalfbyValue">Unique identifier of the
 /// delegate user who created the product.</param>
 /// <param name="validtodate">Date to which this product is
 /// valid.</param>
 /// <param name="_modifiedonbehalfbyValue">Unique identifier of the
 /// delegate user who last modified the product.</param>
 /// <param name="validfromdate">Date from which this product is
 /// valid.</param>
 /// <param name="vendorpartnumber">Unique part identifier in vendor
 /// catalog of this product.</param>
 /// <param name="statecode">Status of the product.</param>
 /// <param name="exchangerate">Exchange rate for the currency
 /// associated with the product with respect to the base
 /// currency.</param>
 /// <param name="modifiedon">Date and time when the product was last
 /// modified.</param>
 /// <param name="productid">Unique identifier of the product.</param>
 /// <param name="vendorid">Unique identifier of vendor supplying the
 /// product.</param>
 /// <param name="utcconversiontimezonecode">Time zone code that was in
 /// use when the record was created.</param>
 /// <param name="quantitydecimal">Number of decimal places that can be
 /// used in monetary amounts for the product.</param>
 /// <param name="_createdbyexternalpartyValue">Shows the external party
 /// who created the record.</param>
 /// <param name="statuscode">Reason for the status of the
 /// product.</param>
 /// <param name="producttypecode">Type of product.</param>
 /// <param name="producturl">URL for the Website associated with the
 /// product.</param>
 /// <param name="_modifiedbyValue">Unique identifier of the user who
 /// last modified the product.</param>
 /// <param name="traversedpath">For internal use only.</param>
 /// <param name="currentcost">Current cost for the product item. Used
 /// in price calculations.</param>
 /// <param name="price">List price of the product.</param>
 /// <param name="_parentproductidValue">Specifies the parent product
 /// family hierarchy.</param>
 /// <param name="_createdbyValue">Unique identifier of the user who
 /// created the product.</param>
 /// <param name="createdon">Date and time when the product was
 /// created.</param>
 /// <param name="isstockitem">Information about whether the product is
 /// a stock item.</param>
 /// <param name="overriddencreatedon">Date and time that the record was
 /// migrated.</param>
 /// <param name="name">Name of the product.</param>
 /// <param name="stockweight">Stock weight of the product.</param>
 /// <param name="suppliername">Name of the product's supplier.</param>
 /// <param name="priceBase">Base currency equivalent of the list price
 /// of the product</param>
 /// <param name="currentcostBase">Base currency equivalent of the
 /// current cost for the product item.</param>
 /// <param name="_defaultuomidValue">Default unit for the
 /// product.</param>
 /// <param name="_organizationidValue">Unique identifier of the
 /// organization associated with the product.</param>
 /// <param name="entityimageid">For internal use only.</param>
 /// <param name="standardcost">Standard cost of the product.</param>
 /// <param name="importsequencenumber">Unique identifier of the data
 /// import or data migration that created this record.</param>
 /// <param name="dmtimportstate">Internal Use Only</param>
 /// <param name="iskit">Information that specifies whether the product
 /// is a kit.</param>
 /// <param name="stageid">Shows the ID of the stage.</param>
 /// <param name="stockvolume">Stock volume of the product.</param>
 /// <param name="size">Product size.</param>
 /// <param name="hierarchypath">Hierarchy path of the product.</param>
 /// <param name="versionnumber">Version number of the product.</param>
 /// <param name="_pricelevelidValue">Select the default price list for
 /// the product.</param>
 /// <param name="_defaultuomscheduleidValue">Default unit group for the
 /// product.</param>
 /// <param name="standardcostBase">Base currency equivalent of the
 /// standard cost of the product.</param>
 /// <param name="processid">Shows the ID of the process.</param>
 /// <param name="_transactioncurrencyidValue">Unique identifier of the
 /// currency associated with the product.</param>
 /// <param name="timezoneruleversionnumber">For internal use
 /// only.</param>
 public MicrosoftDynamicsCRMproduct(string _modifiedbyexternalpartyValue = default(string), string description = default(string), int?productstructure = default(int?), string productnumber = default(string), string _subjectidValue = default(string), string vendorname = default(string), byte[] entityimage = default(byte[]), decimal?quantityonhand = default(decimal?), string _createdonbehalfbyValue = default(string), System.DateTimeOffset?validtodate = default(System.DateTimeOffset?), string _modifiedonbehalfbyValue = default(string), System.DateTimeOffset?validfromdate = default(System.DateTimeOffset?), string vendorpartnumber = default(string), int?statecode = default(int?), decimal?exchangerate = default(decimal?), System.DateTimeOffset?modifiedon = default(System.DateTimeOffset?), string productid = default(string), string vendorid = default(string), int?utcconversiontimezonecode = default(int?), int?quantitydecimal = default(int?), string _createdbyexternalpartyValue = default(string), int?statuscode = default(int?), int?producttypecode = default(int?), long?entityimageTimestamp = default(long?), string producturl = default(string), string _modifiedbyValue = default(string), string traversedpath = default(string), decimal?currentcost = default(decimal?), decimal?price = default(decimal?), string _parentproductidValue = default(string), string _createdbyValue = default(string), System.DateTimeOffset?createdon = default(System.DateTimeOffset?), bool?isstockitem = default(bool?), System.DateTimeOffset?overriddencreatedon = default(System.DateTimeOffset?), string name = default(string), decimal?stockweight = default(decimal?), string suppliername = default(string), decimal?priceBase = default(decimal?), decimal?currentcostBase = default(decimal?), string _defaultuomidValue = default(string), string _organizationidValue = default(string), string entityimageid = default(string), string entityimageUrl = default(string), decimal?standardcost = default(decimal?), int?importsequencenumber = default(int?), int?dmtimportstate = default(int?), bool?iskit = default(bool?), string stageid = default(string), decimal?stockvolume = default(decimal?), string size = default(string), string hierarchypath = default(string), string versionnumber = default(string), string _pricelevelidValue = default(string), string _defaultuomscheduleidValue = default(string), decimal?standardcostBase = default(decimal?), string processid = default(string), string _transactioncurrencyidValue = default(string), int?timezoneruleversionnumber = default(int?), IList <MicrosoftDynamicsCRMcampaign> campaignproductAssociation = default(IList <MicrosoftDynamicsCRMcampaign>), IList <MicrosoftDynamicsCRMlead> leadproductAssociation = default(IList <MicrosoftDynamicsCRMlead>), IList <MicrosoftDynamicsCRMcompetitor> competitorproductAssociation = default(IList <MicrosoftDynamicsCRMcompetitor>), IList <MicrosoftDynamicsCRMsalesliterature> productsalesliteratureAssociation = default(IList <MicrosoftDynamicsCRMsalesliterature>), IList <MicrosoftDynamicsCRMproductassociation> productProductAssociationAssocProd = default(IList <MicrosoftDynamicsCRMproductassociation>), IList <MicrosoftDynamicsCRMproductsubstitute> productProductSubstituteProductid = default(IList <MicrosoftDynamicsCRMproductsubstitute>), IList <MicrosoftDynamicsCRMproductsubstitute> productProductSubstituteSubstitutedproductid = default(IList <MicrosoftDynamicsCRMproductsubstitute>), IList <MicrosoftDynamicsCRMentitlement> productEntitlementAssociation = default(IList <MicrosoftDynamicsCRMentitlement>), IList <MicrosoftDynamicsCRMopportunityproduct> opportunityProducts = default(IList <MicrosoftDynamicsCRMopportunityproduct>), IList <MicrosoftDynamicsCRMsharepointdocumentlocation> productSharepointDocumentLocation = default(IList <MicrosoftDynamicsCRMsharepointdocumentlocation>), IList <MicrosoftDynamicsCRMincident> productIncidents = default(IList <MicrosoftDynamicsCRMincident>), IList <MicrosoftDynamicsCRMquotedetail> productQuoteDetails = default(IList <MicrosoftDynamicsCRMquotedetail>), MicrosoftDynamicsCRMuomschedule defaultuomscheduleid = default(MicrosoftDynamicsCRMuomschedule), IList <MicrosoftDynamicsCRMbulkdeletefailure> productBulkDeleteFailures = default(IList <MicrosoftDynamicsCRMbulkdeletefailure>), IList <MicrosoftDynamicsCRMentitlementtemplate> productEntitlementtemplateAssociation = default(IList <MicrosoftDynamicsCRMentitlementtemplate>), MicrosoftDynamicsCRMsystemuser createdby = default(MicrosoftDynamicsCRMsystemuser), IList <MicrosoftDynamicsCRMinvoicedetail> productInvoiceDetails = default(IList <MicrosoftDynamicsCRMinvoicedetail>), IList <MicrosoftDynamicsCRMproductassociation> productProductAssociationProd = default(IList <MicrosoftDynamicsCRMproductassociation>), MicrosoftDynamicsCRMuom defaultuomid = default(MicrosoftDynamicsCRMuom), IList <MicrosoftDynamicsCRMdynamicproperty> productDynamicProperty = default(IList <MicrosoftDynamicsCRMdynamicproperty>), IList <MicrosoftDynamicsCRMconnection> productConnections2 = default(IList <MicrosoftDynamicsCRMconnection>), MicrosoftDynamicsCRMpricelevel pricelevelid = default(MicrosoftDynamicsCRMpricelevel), MicrosoftDynamicsCRMsystemuser createdonbehalfby = default(MicrosoftDynamicsCRMsystemuser), IList <MicrosoftDynamicsCRMsyncerror> productSyncErrors = default(IList <MicrosoftDynamicsCRMsyncerror>), IList <MicrosoftDynamicsCRMconnection> productConnections1 = default(IList <MicrosoftDynamicsCRMconnection>), IList <MicrosoftDynamicsCRMasyncoperation> productAsyncOperations = default(IList <MicrosoftDynamicsCRMasyncoperation>), MicrosoftDynamicsCRMprocessstage stageidProcessstage = default(MicrosoftDynamicsCRMprocessstage), MicrosoftDynamicsCRMproduct parentproductid = default(MicrosoftDynamicsCRMproduct), IList <MicrosoftDynamicsCRMproduct> productParentProduct = default(IList <MicrosoftDynamicsCRMproduct>), IList <MicrosoftDynamicsCRMcontractdetail> productContractLineItems = default(IList <MicrosoftDynamicsCRMcontractdetail>), MicrosoftDynamicsCRMtransactioncurrency transactioncurrencyid = default(MicrosoftDynamicsCRMtransactioncurrency), IList <MicrosoftDynamicsCRMsalesorderdetail> productOrderDetails = default(IList <MicrosoftDynamicsCRMsalesorderdetail>), IList <MicrosoftDynamicsCRMproductpricelevel> productPriceLevels = default(IList <MicrosoftDynamicsCRMproductpricelevel>), MicrosoftDynamicsCRMsubject subjectid = default(MicrosoftDynamicsCRMsubject), MicrosoftDynamicsCRMsystemuser modifiedby = default(MicrosoftDynamicsCRMsystemuser), IList <MicrosoftDynamicsCRMannotation> productAnnotation = default(IList <MicrosoftDynamicsCRMannotation>), IList <MicrosoftDynamicsCRMdynamicpropertyassociation> productDynamicPropertyAssociation = default(IList <MicrosoftDynamicsCRMdynamicpropertyassociation>), MicrosoftDynamicsCRMorganization organizationid = default(MicrosoftDynamicsCRMorganization), MicrosoftDynamicsCRMsystemuser modifiedonbehalfby = default(MicrosoftDynamicsCRMsystemuser))
 {
     this._modifiedbyexternalpartyValue = _modifiedbyexternalpartyValue;
     Description                   = description;
     Productstructure              = productstructure;
     Productnumber                 = productnumber;
     this._subjectidValue          = _subjectidValue;
     Vendorname                    = vendorname;
     Entityimage                   = entityimage;
     Quantityonhand                = quantityonhand;
     this._createdonbehalfbyValue  = _createdonbehalfbyValue;
     Validtodate                   = validtodate;
     this._modifiedonbehalfbyValue = _modifiedonbehalfbyValue;
     Validfromdate                 = validfromdate;
     Vendorpartnumber              = vendorpartnumber;
     Statecode    = statecode;
     Exchangerate = exchangerate;
     Modifiedon   = modifiedon;
     Productid    = productid;
     Vendorid     = vendorid;
     Utcconversiontimezonecode         = utcconversiontimezonecode;
     Quantitydecimal                   = quantitydecimal;
     this._createdbyexternalpartyValue = _createdbyexternalpartyValue;
     Statuscode            = statuscode;
     Producttypecode       = producttypecode;
     EntityimageTimestamp  = entityimageTimestamp;
     Producturl            = producturl;
     this._modifiedbyValue = _modifiedbyValue;
     Traversedpath         = traversedpath;
     Currentcost           = currentcost;
     Price = price;
     this._parentproductidValue = _parentproductidValue;
     this._createdbyValue       = _createdbyValue;
     Createdon           = createdon;
     Isstockitem         = isstockitem;
     Overriddencreatedon = overriddencreatedon;
     Name                                         = name;
     Stockweight                                  = stockweight;
     Suppliername                                 = suppliername;
     PriceBase                                    = priceBase;
     CurrentcostBase                              = currentcostBase;
     this._defaultuomidValue                      = _defaultuomidValue;
     this._organizationidValue                    = _organizationidValue;
     Entityimageid                                = entityimageid;
     EntityimageUrl                               = entityimageUrl;
     Standardcost                                 = standardcost;
     Importsequencenumber                         = importsequencenumber;
     Dmtimportstate                               = dmtimportstate;
     Iskit                                        = iskit;
     Stageid                                      = stageid;
     Stockvolume                                  = stockvolume;
     Size                                         = size;
     Hierarchypath                                = hierarchypath;
     Versionnumber                                = versionnumber;
     this._pricelevelidValue                      = _pricelevelidValue;
     this._defaultuomscheduleidValue              = _defaultuomscheduleidValue;
     StandardcostBase                             = standardcostBase;
     Processid                                    = processid;
     this._transactioncurrencyidValue             = _transactioncurrencyidValue;
     Timezoneruleversionnumber                    = timezoneruleversionnumber;
     CampaignproductAssociation                   = campaignproductAssociation;
     LeadproductAssociation                       = leadproductAssociation;
     CompetitorproductAssociation                 = competitorproductAssociation;
     ProductsalesliteratureAssociation            = productsalesliteratureAssociation;
     ProductProductAssociationAssocProd           = productProductAssociationAssocProd;
     ProductProductSubstituteProductid            = productProductSubstituteProductid;
     ProductProductSubstituteSubstitutedproductid = productProductSubstituteSubstitutedproductid;
     ProductEntitlementAssociation                = productEntitlementAssociation;
     OpportunityProducts                          = opportunityProducts;
     ProductSharepointDocumentLocation            = productSharepointDocumentLocation;
     ProductIncidents                             = productIncidents;
     ProductQuoteDetails                          = productQuoteDetails;
     Defaultuomscheduleid                         = defaultuomscheduleid;
     ProductBulkDeleteFailures                    = productBulkDeleteFailures;
     ProductEntitlementtemplateAssociation        = productEntitlementtemplateAssociation;
     Createdby                                    = createdby;
     ProductInvoiceDetails                        = productInvoiceDetails;
     ProductProductAssociationProd                = productProductAssociationProd;
     Defaultuomid                                 = defaultuomid;
     ProductDynamicProperty                       = productDynamicProperty;
     ProductConnections2                          = productConnections2;
     Pricelevelid                                 = pricelevelid;
     Createdonbehalfby                            = createdonbehalfby;
     ProductSyncErrors                            = productSyncErrors;
     ProductConnections1                          = productConnections1;
     ProductAsyncOperations                       = productAsyncOperations;
     StageidProcessstage                          = stageidProcessstage;
     Parentproductid                              = parentproductid;
     ProductParentProduct                         = productParentProduct;
     ProductContractLineItems                     = productContractLineItems;
     Transactioncurrencyid                        = transactioncurrencyid;
     ProductOrderDetails                          = productOrderDetails;
     ProductPriceLevels                           = productPriceLevels;
     Subjectid                                    = subjectid;
     Modifiedby                                   = modifiedby;
     ProductAnnotation                            = productAnnotation;
     ProductDynamicPropertyAssociation            = productDynamicPropertyAssociation;
     Organizationid                               = organizationid;
     Modifiedonbehalfby                           = modifiedonbehalfby;
     CustomInit();
 }