/*Update sales_order_details for the new quantity received and the standard cost used for postings to GL and recorded in the stock movements for FIFO/LIFO stocks valuations*/
//------------------- update average material cost ------------------------------------------ Joe Hunt Mar-03-2008
if (is_inventory_item($order_line->stock_id))
/*Update sales_order_details for the new quantity received and the standard cost used for postings to GL and recorded in the stock movements for FIFO/LIFO stocks valuations*/
//------------------- update average material cost ------------------------------------------ Joe Hunt Mar-03-2008