details: https://code.openbravo.com/erp/devel/pi/rev/ecb94735a506
changeset: 22669:ecb94735a506
user: Jon AlegrÃa <jon.alegria <at> openbravo.com>
date: Mon Mar 10 18:02:57 2014 +0100
summary: Fixes issue 0025317: Empty error message when inserting a incorrect
m_transaction line when there is not symbol for the unit of meassure
diffstat:
src-db/database/model/triggers/M_TRANSACTION_TRG2.xml | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 8aa2fba3af35 -r ecb94735a506
src-db/database/model/triggers/M_TRANSACTION_TRG2.xml
--- a/src-db/database/model/triggers/M_TRANSACTION_TRG2.xml Mon Mar 10
17:46:23 2014 +0100
+++ b/src-db/database/model/triggers/M_TRANSACTION_TRG2.xml Mon Mar 10
18:02:57 2014 +0100
@@ -88,7 +88,7 @@
WHERE M_Locator_ID = :NEW.m_locator_id;
END IF;
IF (:NEW.Checkreservedqty='Y') THEN
- RAISE_APPLICATION_ERROR(-20000, '@CannotTakeOutReservedStock@' || '
@of@' || ' @Product@: ' || v_product_value || ', @AttributeSetInstance@: ' ||
COALESCE(v_attr_description, '-') || ', @UOM@: ' || v_uom_value || ' @And@'||'
@StorageBin@: ' || COALESCE(v_locator_value, '-'));
+ RAISE_APPLICATION_ERROR(-20000, '@CannotTakeOutReservedStock@' || '
@of@' || ' @Product@: ' || v_product_value || ', @AttributeSetInstance@: ' ||
COALESCE(v_attr_description, '-') || ', @UOM@: ' || COALESCE(v_uom_value, '-')
|| ' @And@'||' @StorageBin@: ' || COALESCE(v_locator_value, '-'));
END IF;
END IF;
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