When a price is shown in the BoxUp selected window or in one of the lists, a new calculation is made.
BoxUp will for any component selected and all its sub-components, look for the special attribute names – zbu_cost – zbu_material – zbu_minute, and add up the values found. The attributes names must be exact.
BoxUp provide three special DC functions for easy calculation of sheet, linear components as well as a system to lookup a cost in the Component cost list.
Keep in mind that the value of the attribute should reflect the cost of the component only, any cost of sub-components should be put on the sub-component, so you don’t include a cost twice.
Components and sub-components that are hidden by the dynamic component Hidden attribute, are OMITTED.
The value must be a currency value. You can input the value as number ‘58,75’ which can be edited by the user, or you can make a formula.
This attribute works exactly the same way as zbu_cost. The only difference is that they can be assigned different markup percentages in Extension preferences.
The value must be minutes, and is used to calculate time estimated for the project. In Extension preferences a cost per minute of labor can be assigned, this will include the cost of labor in the price calculation. If you want to keep track of time, but do not want to include the cost in price calculation, set the value to 0.
If you want to work with a Catalog price list, you can use ‘zbu_price’ attribute to set a fixed sales price for a component. When this attribute is found on a component the automatic markup calculations SKIPPED. The value must be a currency value. You can input the value as number ‘122,50’ which can be edited by the user, or you can make a formula.