Draft
This is a preliminary version of the VDM documentation.
DiscountValueType
- entity type: AggregateRoot
- id:
4ff6644b-b84f-48f5-8d70-65514fb9d3b4 - code:
DiscountValueType - name: DiscountValueType
- description: according to which value on the document the discount will be allocated (values: quantity on the item, amount on the item, total amount on the document)
- notes: see MetaModel definition
- dependencies:
Properties
| Name | Type | Published to Lookups | Is Nullable | Is Collection | Is Localized | Description | |
|---|---|---|---|---|---|---|---|
| Code | Text | ✔ | ✘ | ✘ | ✘ | discount status code | |
| Description | MultilineText | ✘ | ✔ | ✘ | ✔ | localized discount status description | |
| Name | Text | ✘ | ✘ | ✘ | ✔ | discount status name |
Unified data
| Code | Name | Description | ExternalId | |
|---|---|---|---|---|
| AmountOnItem | Amount on the item | the discount will be applied if the amount on the item is equal to or higher than the "Valid from value" value in the discount definition | AmountOnItem.DiscountValueType.00000000-0000-0000-0000-000000000000 | |
| QuantityOnItem | Quantity on the item | the discount will be applied if the quantity on the item is equal to or greater than the "Valid from value" value in the discount definition | QuantityOnItem.DiscountValueType.00000000-0000-0000-0000-000000000000 | |
| TotalAmountOnDocument | Total amount on the document | the discount will be applied if the total amount on the document is equal to or higher than the "Valid from value" value in the discount definition | TotalAmountOnDocument.DiscountValueType.00000000-0000-0000-0000-000000000000 |
Properties or their values can be marked with:
- 🆕 - signifies about new property or value
- ❗ - signifies that property or its values have been changed during month
- ❌ - signifies that property or its value has been deleted
- if property appears with ❗ and no change is listed, then the changes have been made to values which are not documented here