lookup_price_list_discount
Lookup a descount for a specific SKU from a specific pricelist
Example
1
{{ '123' | lookup_price_list_discount: 'sales', 'REF123', '2021-01-01', 123 }} => 100
Input
| Type | Parameter | Description | Required |
|---|---|---|---|
| string | skuCode | The expiry date to parse. Comes before the | sign. | Required |
| string | priceListScope | Either sales or purchase | |
| string | priceListRef | Reference code of price list | |
| string | asOfDate | ||
| integer | quantity |
Output
| Type | Description |
|---|---|
| double | The found price |