Fixed stock quantity checks to block transactions which would result in negative...
[fa-stable.git] / manufacturing / work_order_issue.php
index 071bf3c5856f0b1c865aa3685bec1ff3ca66bcf4..cfd4d19761fb49d3e7d841b78c1155906c5bcb64 100644 (file)
@@ -101,8 +101,7 @@ function can_process()
        $failed_item = $_SESSION['issue_items']->check_qoh($_POST['Location'], $_POST['date_'], !$_POST['IssueType']);
        if ($failed_item != -1) 
        {
-       display_error( _("The issue cannot be processed because an entered item would cause a negative inventory balance :") .
-               " " . $failed_item->stock_id . " - " .  $failed_item->item_description);
+               display_error(_("The issue cannot be processed because it would cause negative inventory balance for marked items as of document date or later."));
                return false;
        }