Click or drag to resize

Discount Class

Price reduction made from the list price of a product or service based on the quantity purchased.
Inheritance Hierarchy
SystemObject
  Entity
    Novalys.VisualGuard.Security.CRM.SdkDiscount

Namespace:  Novalys.VisualGuard.Security.CRM.Sdk
Assembly:  Novalys.VisualGuard.Security.CRM (in Novalys.VisualGuard.Security.CRM.dll) Version: 2019.0.101.19 (2019.0.0101.19)
Syntax
public class Discount : Entity, INotifyPropertyChanging, 
	INotifyPropertyChanged

The Discount type exposes the following members.

Constructors
  NameDescription
Public methodDiscount
Default Constructor.
Top
Properties
  NameDescription
Public propertyAmount
Amount of the discount, specified either as a percentage or as a monetary amount.
Public propertyAmount_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.
Public propertyAttributes (Inherited from Entity.)
Public propertyCreatedBy
Unique identifier of the user who created the discount.
Public propertyCreatedOn
Date and time when the discount was created.
Public propertyCreatedOnBehalfBy
Unique identifier of the delegate user who created the discount.
Public propertyDiscount_AsyncOperations
1:N Discount_AsyncOperations
Public propertyDiscount_BulkDeleteFailures
1:N Discount_BulkDeleteFailures
Public propertyDiscount_ProcessSessions
1:N Discount_ProcessSessions
Public propertydiscount_type_discounts
N:1 discount_type_discounts
Public propertyDiscountId
Unique identifier of the discount.
Public propertyDiscountTypeId
Unique identifier of the discount list associated with the discount.
Public propertyEntityState (Inherited from Entity.)
Public propertyExchangeRate
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.
Public propertyExtensionData (Inherited from Entity.)
Public propertyFormattedValues (Inherited from Entity.)
Public propertyHighQuantity
Upper boundary for the quantity range to which a particular discount can be applied.
Public propertyId (Overrides Entity.Id.)
Public propertyImportSequenceNumber
Unique identifier of the data import or data migration that created this record.
Public propertyIsAmountType
Specifies whether the discount is specified as a monetary amount or a percentage.
Public propertyItem (Inherited from Entity.)
Public propertylk_discount_createdonbehalfby
N:1 lk_discount_createdonbehalfby
Public propertylk_discount_modifiedonbehalfby
N:1 lk_discount_modifiedonbehalfby
Public propertylk_discountbase_createdby
N:1 lk_discountbase_createdby
Public propertylk_discountbase_modifiedby
N:1 lk_discountbase_modifiedby
Public propertyLogicalName (Inherited from Entity.)
Public propertyLowQuantity
Lower boundary for the quantity range to which a particular discount is applied.
Public propertyModifiedBy
Unique identifier of the user who last modified the discount.
Public propertyModifiedOn
Date and time when the discount was last modified.
Public propertyModifiedOnBehalfBy
Unique identifier of the delegate user who last modified the discount.
Public propertyOrganizationId
Unique identifier of the organization associated with the discount.
Public propertyOverriddenCreatedOn
Date and time that the record was migrated.
Public propertyPercentage
Percentage discount value.
Public propertyRelatedEntities (Inherited from Entity.)
Public propertyStatusCode Obsolete.
Select the discount's status.
Public propertytransactioncurrency_discount
N:1 transactioncurrency_discount
Public propertyTransactionCurrencyId
Choose the local currency for the record to make sure budgets are reported in the correct currency.
Public propertyuserentityinstancedata_discount
1:N userentityinstancedata_discount
Public propertyVersionNumber
Version number of the discount.
Top
Methods
  NameDescription
Public methodContains (Inherited from Entity.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetAttributeValue``1 (Inherited from Entity.)
Protected methodGetFormattedAttributeValue (Inherited from Entity.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Protected methodGetRelatedEntities``1 (Inherited from Entity.)
Protected methodGetRelatedEntity``1 (Inherited from Entity.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodSetAttributeValue (Inherited from Entity.)
Protected methodSetRelatedEntities``1 (Inherited from Entity.)
Protected methodSetRelatedEntity``1 (Inherited from Entity.)
Public methodToEntity``1 (Inherited from Entity.)
Public methodToEntityReference (Inherited from Entity.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
Fields
See Also