lookup_latest_price_list_discount_before
Lookup a discount for a specific SKU from a specified pricelist from before a specified date
Example
1
| {{ '123' | lookup_latest_price_list_discount_before: 'sales', 'REF123', '2021-01-01' }} => 100
|
| 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 |
beforeDate |
|
|
Output
| Type |
Description |
| double |
The found price |