/// <summary> /// Initializes a new instance of the MicrosoftDynamicsCRMdiscount /// class. /// </summary> /// <param name="amount">Amount of the discount, specified either as a /// percentage or as a monetary amount.</param> /// <param name="importsequencenumber">Unique identifier of the data /// import or data migration that created this record.</param> /// <param name="_modifiedbyValue">Unique identifier of the user who /// last modified the discount.</param> /// <param name="isamounttype">Specifies whether the discount is /// specified as a monetary amount or a percentage.</param> /// <param name="_modifiedonbehalfbyValue">Unique identifier of the /// delegate user who last modified the discount.</param> /// <param name="organizationid">Unique identifier of the organization /// associated with the discount.</param> /// <param name="amountBase">Shows the Amount field converted to the /// system's default base currency, if specified as a fixed amount. The /// calculation uses the exchange rate specified in the Currencies /// area.</param> /// <param name="highquantity">Upper boundary for the quantity range to /// which a particular discount can be applied.</param> /// <param name="createdon">Date and time when the discount was /// created.</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="discountid">Unique identifier of the discount.</param> /// <param name="_createdonbehalfbyValue">Unique identifier of the /// delegate user who created the discount.</param> /// <param name="modifiedon">Date and time when the discount was last /// modified.</param> /// <param name="percentage">Percentage discount value.</param> /// <param name="lowquantity">Lower boundary for the quantity range to /// which a particular discount is applied.</param> /// <param name="_discounttypeidValue">Unique identifier of the /// discount list associated with the discount.</param> /// <param name="_createdbyValue">Unique identifier of the user who /// created the discount.</param> /// <param name="overriddencreatedon">Date and time that the record was /// migrated.</param> /// <param name="versionnumber">Version number of the discount.</param> /// <param name="_transactioncurrencyidValue">Choose the local currency /// for the record to make sure budgets are reported in the correct /// currency.</param> public MicrosoftDynamicsCRMdiscount(decimal?amount = default(decimal?), int?importsequencenumber = default(int?), string _modifiedbyValue = default(string), bool?isamounttype = default(bool?), string _modifiedonbehalfbyValue = default(string), string organizationid = default(string), decimal?amountBase = default(decimal?), decimal?highquantity = default(decimal?), System.DateTimeOffset?createdon = default(System.DateTimeOffset?), decimal?exchangerate = default(decimal?), string discountid = default(string), string _createdonbehalfbyValue = default(string), System.DateTimeOffset?modifiedon = default(System.DateTimeOffset?), decimal?percentage = default(decimal?), decimal?lowquantity = default(decimal?), string _discounttypeidValue = default(string), string _createdbyValue = default(string), System.DateTimeOffset?overriddencreatedon = default(System.DateTimeOffset?), string versionnumber = default(string), string _transactioncurrencyidValue = default(string), IList <MicrosoftDynamicsCRMasyncoperation> discountAsyncOperations = default(IList <MicrosoftDynamicsCRMasyncoperation>), MicrosoftDynamicsCRMsystemuser createdonbehalfby = default(MicrosoftDynamicsCRMsystemuser), MicrosoftDynamicsCRMtransactioncurrency transactioncurrencyid = default(MicrosoftDynamicsCRMtransactioncurrency), IList <MicrosoftDynamicsCRMsyncerror> discountSyncErrors = default(IList <MicrosoftDynamicsCRMsyncerror>), MicrosoftDynamicsCRMsystemuser createdby = default(MicrosoftDynamicsCRMsystemuser), MicrosoftDynamicsCRMdiscounttype discounttypeid = default(MicrosoftDynamicsCRMdiscounttype), IList <MicrosoftDynamicsCRMbulkdeletefailure> discountBulkDeleteFailures = default(IList <MicrosoftDynamicsCRMbulkdeletefailure>), MicrosoftDynamicsCRMsystemuser modifiedonbehalfby = default(MicrosoftDynamicsCRMsystemuser), MicrosoftDynamicsCRMsystemuser modifiedby = default(MicrosoftDynamicsCRMsystemuser)) { Amount = amount; Importsequencenumber = importsequencenumber; this._modifiedbyValue = _modifiedbyValue; Isamounttype = isamounttype; this._modifiedonbehalfbyValue = _modifiedonbehalfbyValue; Organizationid = organizationid; AmountBase = amountBase; Highquantity = highquantity; Createdon = createdon; Exchangerate = exchangerate; Discountid = discountid; this._createdonbehalfbyValue = _createdonbehalfbyValue; Modifiedon = modifiedon; Percentage = percentage; Lowquantity = lowquantity; this._discounttypeidValue = _discounttypeidValue; this._createdbyValue = _createdbyValue; Overriddencreatedon = overriddencreatedon; Versionnumber = versionnumber; this._transactioncurrencyidValue = _transactioncurrencyidValue; DiscountAsyncOperations = discountAsyncOperations; Createdonbehalfby = createdonbehalfby; Transactioncurrencyid = transactioncurrencyid; DiscountSyncErrors = discountSyncErrors; Createdby = createdby; Discounttypeid = discounttypeid; DiscountBulkDeleteFailures = discountBulkDeleteFailures; Modifiedonbehalfby = modifiedonbehalfby; Modifiedby = modifiedby; CustomInit(); }
/// <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(); }