Fields documentation for PriceRegulation
Name | Type | Summery | Remarks |
---|---|---|---|
ApplyRegulation | PriceRegulationApplyConditionEnum | The price regulation always applies or only if a condition is met. | |
Direction | PriceRegulationDirectionEnum | Indicates if the priceRegulation regulates the price up or down. | |
DiscountArticle | ArticleListItem | An article that the priceRegulation must be used on the invoice. This can be null. If it is null the priceRegulation is subtracted from the referring articles price. | |
EditState | EditStateEnum | EditState is used to keep track of the edit state of items in list/collection properties. The field is initialized to None. For inbounded DTOs derived from this value is overwritten by the correct value from the service consumer doing deserialization. | |
EntityType | Int32 | This property is used to distinguish datacontract classes that serves as a mapper for more than 1 underlying model class. An example of such a class could be: EmployeeOrGroupListItem. The EmployeeOrGroupListItem datacontract class maps both the Employee and Group model class. An employee and group can share the same IDs and it thus becomes impossible to distinguish the two if they are mapped into the same class. This is solved by overriding this property in the child class. In this case the EmployeeOrGroupListItem class. The EmployeeOrGroupListItem class will have its own "Type" enum property to distinguish what it has mapped. This existing Type property is then mapped into the base class' EntityType property. The client framework will then be able to automatically distinguish the enitities from eachother. | |
ExternalId | Int32 | Temporary server assigned unique Id for each datacontract object created in the server without persistece.. this property will use the fix the references of the all cloned objects. | |
Id | Int32 | OpenAccess identity property. | |
InvoiceLineOption | PriceRegulationInvoiceLineOptionEnum | Use existing invoice line or a separate one. | |
MinMaxCount | UnitMinMax | If ApplyRegulation = Conditional then this property must be filled out and VolumeCount must be 0. The minimum and maximum count of units that this priceRegulation applies to. This can be time unit for rental articles and regular units for other articles. | |
PurchaseDiscountPercentage | Double | The discounted amount from the purchase price in the available currencies. | |
PurchasePrices | Price[] | The discounted amount from the purchase price in the available currencies. | |
SalesDiscountPercentage | Double | The discounted amount from the sales price in the available currencies. | |
SalesPrices | Price[] | The discounted amount from the sales price in the available currencies. | |
Type | PriceRegulationTypeEnum | The type of the priceRegulation. See also PriceRegulationTypeEnum. | |
Version | Int32 | OpenAccess concurrency version property. | |
VolumeCount | Int32 | If ApplyRegulation = ConditionalVolume then this property must be filled with a value greater than 0 and MinMaxCount must be null. |