﻿ PRICE_TYPE_FORMULA Element IDMW 2.0 XML-Schema Dokumentation
PRICE_TYPE_FORMULA Element
 IDMW 2.0 XML-Schema Dokumentation > T_NEW_CATALOG Element > PRICE_DEFINITION Element > PRICE_TYPES Element > PRICE_TYPE Element : PRICE_TYPE_FORMULA Element
Description
 Price calculation formulas can be specified when defining price types (PRICE_TYPE). Formulas must not be specified for standard price types, such as a calculation that relies squares or cubic metres.The following rules apply for the definition of price type formulas:- the parameters b, h and t can be used in formulas. Parameters b, h, t correspond to the parameters b, h and t of the carcase basic shape. Depending on the b, h, t parameters used, the corresponding element WIDTH_Y (P1) (b), DEPTH_Y (P1) (t) or HEIGHT_Z (P1) (h) must be set to "true".- the basic calculation methods addition (+), subtraction (-), multiplication (*) and division (/) can be used;- arithmetic brackets can be used;- +/minus signs must not be used;- only the final result is rounded;- elements BASIC_UNIT (P1), ROUNDING_UNIT (P1) and BASIC_PRICE_DEPENDENT (P1) also apply in conjunction with the price type formula;[SSS_elementpaths_SSS]element paths[EEE_elementpaths_EEE]P1: PRICE_DEFINITION/PRICE_TYPES/PRICE_TYPE/ D   string   P   [\+\-\*/\(\)bhtBHT]{0,}   M   [1:100]
 Namespace (none)
Type
Restriction of xs:string
Diagram Overview PRICE_TYPE_FORMULA optional Restriction of xs:string
 Price calculation formulas can be specified when defining price types (PRICE_TYPE). Formulas must not be specified for standard price types, such as a calculation that relies squares or cubic metres.The following rules apply for the definition of price type formulas:- the parameters b, h and t can be used in formulas. Parameters b, h, t correspond to the parameters b, h and t of the carcase basic shape. Depending on the b, h, t parameters used, the corresponding element WIDTH_Y (P1) (b), DEPTH_Y (P1) (t) or HEIGHT_Z (P1) (h) must be set to "true".- the basic calculation methods addition (+), subtraction (-), multiplication (*) and division (/) can be used;- arithmetic brackets can be used;- +/minus signs must not be used;- only the final result is rounded;- elements BASIC_UNIT (P1), ROUNDING_UNIT (P1) and BASIC_PRICE_DEPENDENT (P1) also apply in conjunction with the price type formula;[SSS_elementpaths_SSS]element paths[EEE_elementpaths_EEE]P1: PRICE_DEFINITION/PRICE_TYPES/PRICE_TYPE/ D   string   P   [\+\-\*/\(\)bhtBHT]{0,}   M   [1:100]
Remarks

Source
 ``` 150--9--Preisart_Formel Version Beta 2.0 Build 0 ```