/** * This function is used by WposPosSale and WposInvoices to decrement/increment sold/voided transaction stock; it does not create a history record * @param $storeditemid * @param $locationid * @param $amount * @param bool $decrement * @return bool */ public function incrementStockLevel($storeditemid, $locationid, $amount, $decrement = false) { if ($this->stockMdl->incrementStockLevel($storeditemid, $locationid, $amount, $decrement) !== false) { return true; } return false; }