projects
/
fa-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c5b438
)
Issuing stocks in advanced manufacturing caused errors reporting negative stock always.
author
Joe Hunt
<joe.hunt.consulting@gmail.com>
Fri, 3 Apr 2015 17:25:35 +0000
(19:25 +0200)
committer
Joe Hunt
<joe.hunt.consulting@gmail.com>
Fri, 3 Apr 2015 17:25:35 +0000
(19:25 +0200)
manufacturing/work_order_issue.php
patch
|
blob
|
history
diff --git
a/manufacturing/work_order_issue.php
b/manufacturing/work_order_issue.php
index 6aa7f3f22ea08b65ae71dafe3e85f49e49f6fc8d..7054f94a2f86cd2e12de80a1f3f96ff47968dd17 100644
(file)
--- a/
manufacturing/work_order_issue.php
+++ b/
manufacturing/work_order_issue.php
@@
-99,7
+99,7
@@
function can_process()
}
$failed_item = $_SESSION['issue_items']->check_qoh($_POST['Location'], $_POST['date_'], !$_POST['IssueType']);
- if ($failed_item
!= -1
)
+ if ($failed_item)
{
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;