Closed jorgearj closed 11 years ago
The price formula could be given in plain text by the business people. It would be translated into a formula by an engineer.
Other options:
The plain text formula can be specified in a new attribute. We could also impose that if a Spin:function exists a for price calculation it should have a textual description. However, the opposite may not be true. A textual description may not have a Spin:Funtion.
A new property hasTextFunction has been added to the model. This new property has the textual description of the price function that can then be implemented with a spin:function or not.
This way the business man can specify how the price is calculated (in natural language) and then a proper function can be implemented based on this description.
How can we present the price formulas to the customer in a suitable way? Should we introduce some examples that can be defined by the providers? Or simply explain the price formula in the Description?