{
  "name": "st/stock_event_by_type_and_product.json",
  "database": "4d",
  "parameter": {
    "target_date": "",
    "product_arr": [],
    "type_arr": ["LI"]
  },
  "query": [
    ["st_date_", "<=", "target_date" ],
    "and",
    ["st_product_id", "in", "product_arr"],
    "and",
    ["st_type_", "in", "type_arr" ]
  ],
  "order": ["st_date_", "<", "st_time_", "<", "st_record_id", "<"],
  "field": [
    "st_product_id",
    "st_date_",
    "st_amount__unit",
    "st_type_",
    "st_purchase_price__unit",
    "st_cost_price__unit",
    "st_currency_id",
    "st_foreign_purchase_price"
  ]
}
