Click or drag to resize
ESDRecordSellUnit Class
Ecommerce Standards Record that holds data for a single sell unit. The unit defines how a product, download, or labour is sold individually.
Inheritance Hierarchy
SystemObject
  EcommerceStandardsDocumentsESDRecordSellUnit

Namespace: EcommerceStandardsDocuments
Assembly: EcommerceStandardsDocuments.Library (in EcommerceStandardsDocuments.Library.dll) Version: 1.2.0.0 (1.0.0.0)

The ESDRecordSellUnit type exposes the following members.

Constructors
  NameDescription
Public methodESDRecordSellUnit
Initializes a new instance of the ESDRecordSellUnit class
Top
Properties
  NameDescription
Public propertybaseQuantity
quantity of the unit that makes up the base unit. If not set then the default would be 1.
Public propertydrop
Data Record OPeration. Denotes an operation that may need to be performed on the record when it is being processed. Set null, or set it to one of the ESD_RECORD_OPERATION constants in the ESDocumentConstants class to allow the record to be inserted, updated, deleted, or ignored.
Public propertyinternalID
Stores an identifier that is relevant only to the system referencing and storing the record for its own needs.
Public propertyisBaseUnit
Either
  • N - No
  • Y - Yes
If 'Y' then indicates that the selling unit is the base selling unit. The base selling unit may be the unit stored in the system that all other units reference off. Typically only one sell unit would be set as the base.
Public propertyisPricedOffBaseUnit
Either
  • N - No
  • Y - Yes
If 'Y' then indicates that the pricing of the sell unit should occur off the base sell unit. This could be set if a sell unit is assigned to a product for a given quantity, and all the pricing of the product is set in the base sell unit, not the assigned sell unit.
Public propertykeySellUnitID
Key that allows the sell unit record to be uniquely identified and linked to.
Public propertykeySellUnitParentID
Key of the sell unit linked as a parent. This allows the parentQuantity to be related to another unit.
Public propertyparentQuantity
quantity of the unit that makes up its parent unit. If not set then the default would be 1.
Public propertysellUnitCode
Code of the sell unit. May or may not be a unqiue identifier.
Public propertysellUnitLabel
Label of the sell unit.
Top
See Also