details: https://code.openbravo.com/erp/devel/pi/rev/000a54089250
changeset: 22664:000a54089250
user: Salvador Zapata <salvador.zapata <at> gmail.com>
date: Mon Mar 10 11:25:37 2014 -0300
summary: Fixed db oracle inconsistency
diffstat:
src-db/database/model/functions/M_PROMOTION_ADJUSTMENT.xml | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 8fe053d8c26f -r 000a54089250
src-db/database/model/functions/M_PROMOTION_ADJUSTMENT.xml
--- a/src-db/database/model/functions/M_PROMOTION_ADJUSTMENT.xml Mon Mar
10 18:13:58 2014 +0530
+++ b/src-db/database/model/functions/M_PROMOTION_ADJUSTMENT.xml Mon Mar
10 11:25:37 2014 -0300
@@ -83,7 +83,7 @@
where c_invoiceline_id = p_line_id;
end if;
- if (v_qty_From is not null and v_qty < v_qty_From) or (v_qty_To is not null
and v_qty > v_qty_To) or (v_ismultiple = 'Y' and ((v_multiple is null) or
(v_qty % v_multiple <> 0))) then
+ if (v_qty_From is not null and v_qty < v_qty_From) or (v_qty_To is not null
and v_qty > v_qty_To) or (v_ismultiple = 'Y' and ((v_multiple is null) or
(MOD(v_qty, v_multiple) <> 0))) then
return 'Y'; -- rule not applied, apply next one if present
end if;
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits