Merged changes form stabel branch up to the current state (2.3.22+).
[fa-stable.git] / manufacturing / work_order_issue.php
index b5d6e4cc1f0058d6d264f1780b6039a1154fbcaf..d2344f6f76962dcba885ad42232b7d586d08ae6e 100644 (file)
@@ -102,9 +102,7 @@ function can_process()
        $failed_item = $_SESSION['issue_items']->check_qoh($_POST['Location'], $_POST['date_'], !$_POST['IssueType']);
        if ($failed_item != -1) 
        {
-               $item = $_SESSION['issue_items']->line_items[$failed_item];
-       display_error( _("The issue cannot be processed because an entered item would cause a negative inventory balance :") .
-               " " . $item->stock_id . " - " .  $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;
        }