projects
/
xtuple
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1f6179
)
Issue #24144:call postItemlocSeries which posts G/L
author
garyhgohoos
<gary@xtuple.com>
Mon, 14 Jul 2014 14:55:58 +0000
(10:55 -0400)
committer
garyhgohoos
<gary@xtuple.com>
Mon, 14 Jul 2014 14:55:58 +0000
(10:55 -0400)
foundation-database/public/functions/balanceitemsite.sql
patch
|
blob
|
history
diff --git
a/foundation-database/public/functions/balanceitemsite.sql
b/foundation-database/public/functions/balanceitemsite.sql
index
8538760
..
3ae61d0
100644
(file)
--- a/
foundation-database/public/functions/balanceitemsite.sql
+++ b/
foundation-database/public/functions/balanceitemsite.sql
@@
-35,10
+35,8
@@
BEGIN
FROM itemsite
WHERE (itemsite_id=pItemsiteid);
--- Post the invtrans records associated with the itemlocdist records
- PERFORM postInvhist(itemlocdist_invhist_id)
- FROM itemlocdist
- WHERE(itemlocdist_series=_itemlocseries);
+-- Post the itemloc series which will postIntoTrialBalance and postInvHist
+ PERFORM postItemlocSeries(_itemlocseries);
-- Kill the resultant distribution records
DELETE FROM itemlocdist