``` js magento.salesOrderInvoice.list({ filters: { 'order_id' : 14, // 'state': [1,2,3] }, }, function (err, rows) { if (err) throw err; console.log(rows); }); ``` ``` bash Magento Error: SQLSTATE[42S22]: Column not found: 1054 Unknown column '0' in 'where clause', query was: SELECT `main_table`.`entity_id`, `main_table`.`order_id`, `main_table`.`increment_id`, `main_table`.`created_at`, `main_table`.`state`, `main_table`.`grand_total`, `main_table`.`order_currency_code` FROM `sales_flat_invoice` AS `main_table` WHERE (((`0` = '14'))) ```
Activity