<?php defined('BASEPATH') OR exit('No direct script access allowed'); ?>

ERROR - 2023-04-19 13:55:45 --> Query error: Unknown column 'idod' in 'field list' - Invalid query: SELECT `idod`, `purchase_id`, `transfer_id`, `quantity`, `quantity_balance`, `net_unit_cost`, `unit_cost`, `item_tax`, `base_unit_cost`
FROM `sma_purchase_items`
WHERE `product_id` = '8'
AND `warehouse_id` = '1'
AND `quantity_balance` != 0
AND   (
`option_id` IS NULL
OR `option_id` = 0
 )
AND   (
`status` = 'received'
OR `status` = 'partial'
 )
GROUP BY `id`
ORDER BY `date` ASC, `purchase_id` ASC
ERROR - 2023-04-19 13:55:47 --> Query error: Unknown column 'idod' in 'field list' - Invalid query: SELECT `idod`, `purchase_id`, `transfer_id`, `quantity`, `quantity_balance`, `net_unit_cost`, `unit_cost`, `item_tax`, `base_unit_cost`
FROM `sma_purchase_items`
WHERE `product_id` = '8'
AND `warehouse_id` = '1'
AND `quantity_balance` != 0
AND   (
`option_id` IS NULL
OR `option_id` = 0
 )
AND   (
`status` = 'received'
OR `status` = 'partial'
 )
GROUP BY `id`
ORDER BY `date` ASC, `purchase_id` ASC
ERROR - 2023-04-19 13:55:48 --> Query error: Unknown column 'idod' in 'field list' - Invalid query: SELECT `idod`, `purchase_id`, `transfer_id`, `quantity`, `quantity_balance`, `net_unit_cost`, `unit_cost`, `item_tax`, `base_unit_cost`
FROM `sma_purchase_items`
WHERE `product_id` = '8'
AND `warehouse_id` = '1'
AND `quantity_balance` != 0
AND   (
`option_id` IS NULL
OR `option_id` = 0
 )
AND   (
`status` = 'received'
OR `status` = 'partial'
 )
GROUP BY `id`
ORDER BY `date` ASC, `purchase_id` ASC
ERROR - 2023-04-19 13:55:48 --> Query error: Unknown column 'idod' in 'field list' - Invalid query: SELECT `idod`, `purchase_id`, `transfer_id`, `quantity`, `quantity_balance`, `net_unit_cost`, `unit_cost`, `item_tax`, `base_unit_cost`
FROM `sma_purchase_items`
WHERE `product_id` = '8'
AND `warehouse_id` = '1'
AND `quantity_balance` != 0
AND   (
`option_id` IS NULL
OR `option_id` = 0
 )
AND   (
`status` = 'received'
OR `status` = 'partial'
 )
GROUP BY `id`
ORDER BY `date` ASC, `purchase_id` ASC
ERROR - 2023-04-19 13:55:50 --> Query error: Unknown column 'idod' in 'field list' - Invalid query: SELECT `idod`, `purchase_id`, `transfer_id`, `quantity`, `quantity_balance`, `net_unit_cost`, `unit_cost`, `item_tax`, `base_unit_cost`
FROM `sma_purchase_items`
WHERE `product_id` = '8'
AND `warehouse_id` = '1'
AND `quantity_balance` != 0
AND   (
`option_id` IS NULL
OR `option_id` = 0
 )
AND   (
`status` = 'received'
OR `status` = 'partial'
 )
GROUP BY `id`
ORDER BY `date` ASC, `purchase_id` ASC
ERROR - 2023-04-19 13:55:58 --> Query error: Unknown column 'idod' in 'field list' - Invalid query: SELECT `idod`, `purchase_id`, `transfer_id`, `quantity`, `quantity_balance`, `net_unit_cost`, `unit_cost`, `item_tax`, `base_unit_cost`
FROM `sma_purchase_items`
WHERE `product_id` = '8'
AND `warehouse_id` = '1'
AND `quantity_balance` != 0
AND   (
`option_id` IS NULL
OR `option_id` = 0
 )
AND   (
`status` = 'received'
OR `status` = 'partial'
 )
GROUP BY `id`
ORDER BY `date` ASC, `purchase_id` ASC
