projects
/
Pman.Xtuple
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f4f64c
)
pgsql/investigations/ar-cash.sql
author
Edward
<edward@roojs.com>
Wed, 5 Feb 2014 06:57:11 +0000
(14:57 +0800)
committer
Edward
<edward@roojs.com>
Wed, 5 Feb 2014 06:57:11 +0000
(14:57 +0800)
pgsql/investigations/ar-cash.sql
patch
|
blob
|
history
diff --git
a/pgsql/investigations/ar-cash.sql
b/pgsql/investigations/ar-cash.sql
index
9f5413f
..
2499242
100644
(file)
--- a/
pgsql/investigations/ar-cash.sql
+++ b/
pgsql/investigations/ar-cash.sql
@@
-113,15
+113,7
@@
BEGIN
gltrans_docnumber = 'I-' || _ar.arapply_target_docnumber
- IF NOT FOUND THEN
-
- IF _ar.arapply_applied = 0.00 THEN
- RAISE NOTICE 'skip arapply, zero dollar';
- RETURN 'SKIP';
- END IF;
- RAISE EXCEPTION 'arapply is missing gltrans in A/R account arapply_ud=%' ,i_arapply_id;
- END IF;
IF (v_gl_misc_id IS NULL) THEN
-- UPDATE gltrans SET gltrans_misc_id = _citem.cashrcpt_id WHERE gltrans_id = v_gl_id;