Discount Class |
The Discount type exposes the following members.
| Name | Description | |
|---|---|---|
| Amount | Amount of the discount, specified either as a percentage or as a monetary amount. | |
| Amount_Base | 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. | |
| Attributes | (Inherited from Entity) | |
| CreatedBy | Unique identifier of the user who created the discount. | |
| CreatedOn | Date and time when the discount was created. | |
| CreatedOnBehalfBy | Unique identifier of the delegate user who created the discount. | |
| Discount_AsyncOperations | 1:N Discount_AsyncOperations | |
| Discount_BulkDeleteFailures | 1:N Discount_BulkDeleteFailures | |
| Discount_ProcessSessions | 1:N Discount_ProcessSessions | |
| Discount_SyncErrors | 1:N Discount_SyncErrors | |
| discount_type_discounts | N:1 discount_type_discounts | |
| DiscountId | Unique identifier of the discount. | |
| DiscountTypeId | Unique identifier of the discount list associated with the discount. | |
| EntityState | (Inherited from Entity) | |
| 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. | |
| ExtensionData | (Inherited from Entity) | |
| FormattedValues | (Inherited from Entity) | |
| HasLazyFileAttribute | (Inherited from Entity) | |
| HighQuantity | Upper boundary for the quantity range to which a particular discount can be applied. | |
| Id | (Overrides Entity.Id) | |
| ImportSequenceNumber | Unique identifier of the data import or data migration that created this record. | |
| IsAmountType | Specifies whether the discount is specified as a monetary amount or a percentage. | |
| Item | (Inherited from Entity) | |
| KeyAttributes | (Inherited from Entity) | |
| LazyFileAttributeKey | (Inherited from Entity) | |
| LazyFileAttributeValue | (Inherited from Entity) | |
| LazyFileSizeAttributeKey | (Inherited from Entity) | |
| LazyFileSizeAttributeValue | (Inherited from Entity) | |
| lk_discount_createdonbehalfby | N:1 lk_discount_createdonbehalfby | |
| lk_discount_modifiedonbehalfby | N:1 lk_discount_modifiedonbehalfby | |
| lk_discountbase_createdby | N:1 lk_discountbase_createdby | |
| lk_discountbase_modifiedby | N:1 lk_discountbase_modifiedby | |
| LogicalName | (Inherited from Entity) | |
| LowQuantity | Lower boundary for the quantity range to which a particular discount is applied. | |
| ModifiedBy | Unique identifier of the user who last modified the discount. | |
| ModifiedOn | Date and time when the discount was last modified. | |
| ModifiedOnBehalfBy | Unique identifier of the delegate user who last modified the discount. | |
| OrganizationId | Unique identifier of the organization associated with the discount. | |
| OverriddenCreatedOn | Date and time that the record was migrated. | |
| Percentage | Percentage discount value. | |
| RelatedEntities | (Inherited from Entity) | |
| RowVersion | (Inherited from Entity) | |
| StatusCode | Obsolete. Select the discount's status. | |
| transactioncurrency_discount | N:1 transactioncurrency_discount | |
| TransactionCurrencyId | Choose the local currency for the record to make sure budgets are reported in the correct currency. | |
| userentityinstancedata_discount | 1:N userentityinstancedata_discount | |
| VersionNumber | Version number of the discount. |
| Name | Description | |
|---|---|---|
| Contains | (Inherited from Entity) | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
| GetAttributeValue``1 | (Inherited from Entity) | |
| GetFormattedAttributeValue | (Inherited from Entity) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetRelatedEntities``1 | (Inherited from Entity) | |
| GetRelatedEntity``1 | (Inherited from Entity) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| SetAttributeValue | (Inherited from Entity) | |
| SetRelatedEntities``1 | (Inherited from Entity) | |
| SetRelatedEntity``1 | (Inherited from Entity) | |
| ToEntity``1 | (Inherited from Entity) | |
| ToEntityReference | (Inherited from Entity) | |
| ToString | Returns a string that represents the current object. (Inherited from Object) | |
| TryGetAttributeValue``1 | (Inherited from Entity) |
| Name | Description | |
|---|---|---|
| PropertyChanged | ||
| PropertyChanging |
| Name | Description | |
|---|---|---|
| EntityLogicalName | ||
| EntityTypeCode |