+ if ($SysPrefs->loc_notification() == 1 && $line_item->qty < 0)
+ {
+ $chg = $line; $chg->qty = -$chg->qty; // calculate_reorder_level expect positive qty
+ $loc = calculate_reorder_level($location, $line_item, $st_ids, $st_names, $st_num, $st_reorder);
+ }