projects
/
xtuple
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5d8fed
)
Issue #23571:fix value posted to inventory
author
garyhgohoos
<gary@xtuple.com>
Mon, 19 May 2014 21:06:44 +0000
(17:06 -0400)
committer
garyhgohoos
<gary@xtuple.com>
Mon, 19 May 2014 21:06:44 +0000
(17:06 -0400)
foundation-database/public/functions/postcreditmemo.sql
patch
|
blob
|
history
diff --git
a/foundation-database/public/functions/postcreditmemo.sql
b/foundation-database/public/functions/postcreditmemo.sql
index
ef0ee19
..
268bdee
100644
(file)
--- a/
foundation-database/public/functions/postcreditmemo.sql
+++ b/
foundation-database/public/functions/postcreditmemo.sql
@@
-444,7
+444,7
@@
BEGIN
('Credit Return ' || _r.item_number),
costcat_asset_accnt_id,
getPrjAccntId(_r.cmhead_prj_id, resolveCOSAccount(itemsite_id, _r.cust_id, _r.saletype_id, _r.shipzone_id)),
- _itemlocSeries, _glDate,
_r.std_cost
) INTO _invhistid
+ _itemlocSeries, _glDate,
(_r.std_cost * _r.qty)
) INTO _invhistid
FROM itemsite, costcat
WHERE ((itemsite_costcat_id=costcat_id)
AND (itemsite_id=_r.itemsite_id));