Macro
Macros are bills of codes that using the math engine add existing codes to the list and deposit the result, or the price, in another code. It is a very useful function used by customers of Price-list Server as it allows to create prices through mathematical operations.

Let’s take an example.

A wardrobe with 4 doors in which in the price list are expressed both individual components, right and left sides, shelves, back, bottom, door in finish and handle. To list, therefore they go both the members that the fitted wardrobe with a code ready to the order. The macro in this case will add up automatically at the time of synchronization with EasyCatalog and indesign components and will deposit the result.

The resulting code is a real code in Price-list Server and will have all the active functions like the others, so all the descriptive support, dimensional fields, inheritance, etc.
Macro with codes and prices in a column
The column code with the result is "COLUMN" the desired result is deposited in column 200
Macro with multicoloured codes and prices
Now let’s expand the example further. Let’s say that the price list is multi-column, that is that some items within the bill have more prices and others do not. It is the classic case of the door that depending on the finish/ model has different prices, while the rest of the components do not.

Using the wildcard word "MACRO" in the BOM setup in Price-list Server, the math engine will create all bill of materials prices using the columns declared in the header of the article macro with the word Jolly.

The column code with the result is "COLONNA2" the desired result is deposited in column 200,201,202,210

ANTA code has prices in column 200,201,202,210

The macro is thus declared in Price-list Server
The ANTA code has the following prices:
The result in the panel of easyCatalog in indesign will be a code COLONNA2
Now let’s see a real example.
Thanks LT-FORM for providing the example
This is a LT-FORM price list page that uses macros.
The page is divided into two main sections. The first, above, is the "Best Seller" section of articles. Prices are built thanks to macros. The second section, below, is the list of components that can be used to build the chair. Note that we are in the case of multicolonna.
This is a screenshot of the first macro on the LT-FORM sample page.

The peculiarities of the Macro system are:

• Mathematical operators of sum and subtraction.
• Calculation "on the fly", that is, at each synchronization the macros are always recalculated. This is because, in case of change of the prices of the articles, the totals are always aligned.
• Wildcard operator "MACRO" to take advantage of the multi-column
• Deposit in a completely free code in its construction, also compatible with the encoder