Zasady ustalania cen zapisane jako kolumny.
Koszty dostawcy i koszty indeksowe, docelowa marża z polityki firmy, cena katalogowa, rabat programowy i cena netto. Zmiana formuły w modelu powoduje przeliczenie każdego zbudowanego z niego cennika przy jego następnym odświeżeniu.
| Nazwa | Typ | Formuła |
|---|---|---|
| Vendor Cost | Kwota | Z danych |
| Index Cost | Kwota | round('Copper Weight' * lookup(source="datasets", name="Commodity Indexes", result="Index Price", match_by=['Copper Index':'Index Code'], sort_by="-Effective Date", agg="first") + 'Zinc Weight' * lookup(source="datasets", name="Commodity Indexes", result="Index Price", match_by=['Zinc Index':'Index Code'], sort_by="-Effective Date", agg="first") + 'Conversion Cost', 2) |
| Koszt jednostkowy | Kwota | if('Product Group' == "Brass valves", 'Index Cost', 'Vendor Cost') |
| Marża docelowa | Procent | lookup(source="rulesets", name="Margin Corridors", result="Target Margin", match_by=['Customer Segment':'Customer Segment', 'Product Group':'Product Group']) |
| Cena katalogowa | Kwota | round(('Unit Cost' + 'Cost to Serve') / (1 - 'Target Margin'), 2) |
| Rabat programowy | Procent | coalesce(lookup(source="datasets", name="Customer Programs", result="Discount", match_by=['Product Group':'Product Group']), 0) |
| Cena netto | Kwota | round('List Price' * (1 - 'Program Discount') + 'Handling Fee', 2) |