Commit 26fd74d2 authored by vkadam's avatar vkadam

Insert gen-validation for Sales Order details, Quantity must be in multiple of...

Insert gen-validation for Sales Order details, Quantity must be in multiple of Integral Quantity from item master Point No:- 22.


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@96832 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 1edc94b0
...@@ -50047,6 +50047,23 @@ values ...@@ -50047,6 +50047,23 @@ values
commit; commit;
--End Changed by Dhanraj Thakare on 04-NOV-14 for rmpm purchase receipt --End Changed by Dhanraj Thakare on 04-NOV-14 for rmpm purchase receipt
----Start chnage by VALLABH KADAM on 18-NOV-14 for Sale Order Form POINT NO:- 22-------
Insert into genmst
(FLD_NAME,MOD_NAME,DESCR,ERROR_CD,BLANK_OPT,FLD_TYPE,
FLD_MIN,FLD_MAX,VAL_TYPE,
CHG_DATE,CHG_USER,CHG_TERM,
SQL_INPUT,FLD_WIDTH)
values ('ITEM_CODE','W_SORDFORM_TR','Qty must be multiple of integral qty','VQTMLINTQT','N','C',
'select case when (mod(?,(select INTEGRAL_QTY from item where ITEM_CODE=?)))=0 then 1 else 0 end from dual','1','Q',
SYSDATE,'BASE','BASE',
':1.qty_1,:1.item_code',10);
Insert into messages (MSG_NO,MSG_STR,MSG_DESCR,
MSG_TYPE,CHG_DATE,CHG_USER,CHG_TERM)
values ('VQTMLINTQT','Required proper Quantity','Entered Quantity in not in multiple of Integral Quantity, hence not allowed.',
'E',SYSDATE,'BASE','BASE');
----END chnage by VALLABH KADAM on 18-NOV-14 for Sale Order Form POINT NO:- 22-------
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment