lookup_latest_price_list_price_before

Lookup a price for a specific SKU from a specified pricelist from before a specified date

Example

1
{{ '123' | lookup_latest_price_list_price_before: 'sales', 'REF123', '2021-01-01' }} => 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 beforeDate    

Output

Type Description
double The found price