Commit 46cdce9e authored by smestry's avatar smestry

W15FSUN008, Updated sql file for palletization.


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@99343 ce508802-f39f-4f6c-b175-0d175dae99d5
parent ad39d110
......@@ -3,8 +3,7 @@ create table pallet_hdr
(
tran_id char(10) not null,
tran_date date,
site_code char(5) not null,
tran_type char(3),
site_code char(5) not null,tran_type char(3),
loc_code char(8), -- Location Code to be scan i.e from location stock to be moved to AWMS pallet (Palletization). Optional
pallet_type char(3), -- C - Cage, N - Normal, S - System Cage
inv_stat char(1), -- A - Approved, E - Expired, N - Near Expired, D - Damaged, H - Hold, R - Rejected
......@@ -376,11 +375,31 @@ INSERT INTO MESSAGES (MSG_NO, MSG_STR, MSG_DESCR, MSG_TYPE, MSG_OPT, CHG_DATE, C
update pophelp set sql_str = 'SELECT TRAN_ID,PALLET_NO FROM PALLET_HDR WHERE CONFIRMED = ''N'' AND SITE_CODE = ''?''' where mod_name = 'W_PALLETIZATIONCONFIRM';
----------------------------- Change on 01-12-2015 ----------------------------------------
----------------------------- Change on 01-12-2015 ----------------------------------------
CREATE INDEX STOCK_LOC_SITE ON STOCK ( LOC_CODE, SITE_CODE,INV_STAT );
CREATE INDEX STOCK_LOC_SITE ON STOCK ( LOC_CODE, SITE_CODE,INV_STAT ) ;
CREATE INDEX LOCATION_LOC_SITE ON LOCATION ( LOC_CODE, SITE_CODE,INV_STAT ) ;
CREATE INDEX LOCATION_LOC_SITE ON LOCATION ( LOC_CODE, SITE_CODE,INV_STAT );
UPDATE OBJ_FORMS SET DISP_METADATA = 'checkedImage@img<item_code>,(<item_descr>),<lot_no>,<lot_sl>,<quantity>,<item_unit>' WHERE win_name = 'w_palletization' and form_no = 3;
----------------------------- Change on 02-12-2015 (Changes in the requirement) ----------------------------------------
INSERT INTO MESSAGES (MSG_NO, MSG_STR, MSG_DESCR, MSG_TYPE, CHG_DATE, CHG_USER, CHG_TERM) VALUES ('VTINVQCS', 'Invalid QC order status', 'Scanned item doesnot belong to same QC order pending status', 'E', sysdate, 'BASE', 'BASE');
----------------------------- Change on 03-12-2015 (Changes in the requirement) ----------------------------------------
alter table pallet_det add ALLOC_QTY NUMBER(17,6);
UPDATE MESSAGES SET MSG_STR = 'No records scan found!', MSG_DESCR = 'No records scanned for this transcation.' WHERE msg_no = 'VTINVTID';
UPDATE MESSAGES SET MSG_DESCR = 'Transaction Id cannot be empty' WHERE msg_no = 'VTTRANIDNL';
INSERT INTO MESSAGES (MSG_NO, MSG_STR, MSG_DESCR, MSG_TYPE, MSG_OPT, CHG_DATE, CHG_USER, CHG_TERM) VALUES ('VTINVTRID', 'Transaction ID invalid', 'Transaction Id not found!', 'E', 'Y', sysdate, 'BASE', 'BASE');
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