spool C:\wms_log\WM1ESUN007.txt

INSERT INTO itm2menu (
	application ,
	level_1 ,
	level_2 ,
	level_3 ,
	level_4 ,
	level_5 ,
	win_name ,
	descr ,
	comments ,
	menu_path ,
	icon_path ,
	close_icon ,
	open_icon ,
	obj_type ,
	chg_date ,
	chg_term ,
	chg_user )
VALUES (
	'SFA',
	1,
	8,
	0,
	0,
	0,
	'w_repl_iss',
	'Replenishment Issue',
	'Replenishment Issue',
	'SFA.1.8.0.0.0',
	'e12_logo.gif',
	NULL,
	NULL,
	'W',
	fn_sysdate(),
	'BASE141',
	'Gulzar');
INSERT INTO transetup (
	tran_window ,
	save_flag ,
	val_flag ,
	key_flag ,
	key_string,
	repeate_add ,
	chg_date ,
	chg_user ,
	chg_term ,
	edi_option ,
	confirm_mode ,
	mail_option ,
	garbage_opt ,
	table_name,
	application,
	ref_ser,
	view_mode,
	tran_id_col,
	confirm_col,
	confirm_val)
VALUES (
	'w_repl_iss',
	'2',
	'2',
	'A',
	'seq10',
	'N',
	fn_sysdate(),
	'Gulzar',
	'BASE ',
	'0',
	'0',
	'0',
	'N',
	'repl_iss_hdr',
	'WMS',
	'REPISS',
	'F',
	'TRAN_ID',
	'',
	'');
INSERT INTO obj_actions (
	obj_name ,
	line_no ,
	rights_char ,
	interactive ,
	service_code ,
	description ,
	title ,
	image ,
	action_type ,
	form_no ,
	chg_date ,
	chg_term ,
	chg_user)
VALUES (
	'repl_iss',
	 1,
	'S',
	'',
	'',
	'Saving',
	'Finish',
	'',
	'U',
	'2',
	fn_sysdate(),
	'BASE ',
	'Gulzar');
INSERT INTO obj_forms(
	win_name ,
	title ,
	obj_brow_name ,
	obj_edit_name ,
	cross_update_expr ,
	expr_fld_info ,
	target_fld_info,
	expr_comment ,
	form_no ,
	scr_flag ,
	scan_flag ,
	scan_metadata ,
	auto_accept_scan ,
	property_info ,
	ext_com ,
	ext_metadata ,
	ext_setup ,
	after_save ,
	column_on_save ,
	scan_delimiter ,
	auto_accept_weighdata ,
	form_type ,
	disp_metadata ,
	parent_key_col,
	assisted_mode)
VALUES (
	'w_repl_iss',
	'Replenishment Task',
	NULL,
	NULL,
	NULL,
	NULL,
	NULL,
	NULL,
	'1',
	'F',
	NULL,
	'<SCAN_INFO><INPUT_SCAN ORDER="1"><SCAN_LABEL>Replenishment Task ID</SCAN_LABEL><FIELDS SEPARATOR="" DELIMITER=""><FIELD>repl_order</FIELD></FIELDS></INPUT_SCAN></SCAN_INFO>',
	NULL,
	NULL,
	NULL,
	NULL,
	NULL,
	NULL,
	NULL,
	NULL,
	NULL,
	NULL,
	NULL,
	NULL,
	'E');
INSERT INTO obj_forms (
	win_name ,
	title ,
	obj_brow_name ,
	obj_edit_name ,
	cross_update_expr ,
	expr_fld_info ,
	target_fld_info,
	expr_comment ,
	form_no ,
	scr_flag ,
	scan_flag ,
	scan_metadata ,
	auto_accept_scan ,
	property_info ,
	ext_com ,
	ext_metadata ,
	ext_setup ,
	after_save ,
	column_on_save ,
	scan_delimiter ,
	auto_accept_weighdata ,
	form_type ,
	disp_metadata ,
	parent_key_col,
	assisted_mode)
VALUES (
	'w_repl_iss',
	'Detail',
	NULL,
	NULL,
	NULL,
	NULL,
	NULL,
	NULL,
	'2',
	'T',
	NULL,
	'<SCAN_INFO><MAPPING_SCAN ORDER="1"><SCAN_LABEL>LPN No:</SCAN_LABEL><FIELDS SEPARATOR="" DELIMITER=""><FIELD>lot_sl</FIELD></FIELDS></MAPPING_SCAN><INPUT_SCAN ORDER="1"><SCAN_LABEL>Location Code To:</SCAN_LABEL><FIELDS SEPARATOR="" DELIMITER=""><FIELD>loc_code__to</FIELD></FIELDS></INPUT_SCAN></SCAN_INFO>',
	NULL,
	NULL,
	NULL,
	NULL,
	NULL,
	NULL,
	NULL,
	NULL,
	NULL,
	NULL,
	'<item_descr>(<item_code>), <lot_no>, <lot_sl>, <quantity> <unit> = <loc_code__to>',
	NULL,
	'E');
INSERT INTO system_events (
	obj_name ,
	event_code ,
	event_context,
	service_code ,
	chg_date ,
	chg_user ,
	chg_term ,
	result_handle ,
	overwrite_core ,
	comp_type ,
	comp_name)
VALUES (
	'repl_iss',
	'pre_validate',
	'1',
	'prv_repl_iss',
	fn_sysdate(),
	'Gulzar',
	'BASE',
	'2',
	'0',
	'EJB',
	'ReplIssIC');
INSERT INTO system_events (
	obj_name ,
	event_code ,
	event_context,
	service_code ,
	chg_date ,
	chg_user ,
	chg_term ,
	result_handle ,
	overwrite_core ,
	comp_type ,
	comp_name)
VALUES (
	'repl_iss',
	'pre_navigate',
	'1',
	'prv_repl_iss',
	fn_sysdate(),
	'Gulzar',
	'BASE',
	'2',
	'0',
	'EJB',
	'ReplIssIC');
INSERT INTO system_events (
	obj_name ,
	event_code ,
	event_context,
	service_code ,
	chg_date ,
	chg_user ,
	chg_term ,
	result_handle ,
	overwrite_core ,
	comp_type ,
	comp_name)
VALUES (
	'repl_iss',
	'default_data_wiz',
	'1',
	'repl_iss_default_data',
	fn_sysdate(),
	'Gulzar',
	'BASE',
	'2',
	'0',
	'EJB',
	'ReplIssIC');
INSERT INTO system_events (
	obj_name ,
	event_code ,
	event_context,
	service_code ,
	chg_date ,
	chg_user ,
	chg_term ,
	result_handle ,
	overwrite_core ,
	comp_type ,
	comp_name)
VALUES (
	'repl_iss',
	'pre_save',
	'1',
	'prsr_repl_iss',
	fn_sysdate(),
	'chaitali',
	'BASE',
	'2',
	'0',
	'EJB',
	'ReplIssPrs');
INSERT INTO system_events (
	obj_name ,
	event_code ,
	event_context,
	service_code ,
	chg_date ,
	chg_user ,
	chg_term ,
	result_handle ,
	overwrite_core ,
	comp_type ,
	comp_name)
VALUES (
	'repl_iss',
	'post_save',
	'1',
	'pos_repl_iss',
	fn_sysdate(),
	'chaitali',
	'BASE',
	'2',
	'0',
	'EJB',
	'ReplIssPos');
INSERT INTO system_event_services (
	service_code ,
	service_descr ,
	service_uri ,
	service_provider ,
	method_name ,
	return_value ,
	return_type ,	
	chg_date ,
	chg_user ,
	chg_term) 
VALUES (
	'repl_iss_default_data',
	'Default Data',
	'http://localhost:9090/axis/services/ValidatorService',
	'BASE',
	'itemChanged',
	'String',
	'S',
	fn_sysdate(),
	'Gulzar',
	'BASE');
INSERT INTO system_event_services (
	service_code ,
	service_descr ,
	service_uri ,
	service_provider ,
	method_name ,
	return_value ,
	return_type ,	
	chg_date ,
	chg_user ,
	chg_term) 
VALUES (
	'prv_repl_iss',
	'Validation',
	'http://localhost:9090/axis/services/ValidatorService',
	'BASE',
	'wfValData',
	'String',
	'S',
	fn_sysdate(),
	'Gulzar',
	'BASE');
INSERT INTO system_event_services (
	service_code ,
	service_descr ,
	service_uri ,
	service_provider ,
	method_name ,
	return_value ,
	return_type ,	
	chg_date ,
	chg_user ,
	chg_term) 
VALUES (
	'prsr_repl_iss',
	'Validation',
	'http://localhost:9090/axis/services/ValidatorService',
	'BASE',
	'preSave',
	'String',
	'S',
	fn_sysdate(),
	'chaitali',
	'BASE');
INSERT INTO system_event_services (
	service_code ,
	service_descr ,
	service_uri ,
	service_provider ,
	method_name ,
	return_value ,
	return_type ,	
	chg_date ,
	chg_user ,
	chg_term) 
VALUES (
	'pos_repl_iss',
	'Validation',
	'http://localhost:9090/axis/services/ValidatorService',
	'BASE',
	'postSave',
	'String',
	'S',
	fn_sysdate(),
	'chaitali',
	'BASE');
INSERT INTO system_service_args (
	service_code ,
	line_no ,
	arg_name ,
	arg_mode ,
	arg_type ,	
	chg_date ,
	chg_user,
	chg_term ,
	arg_value )
VALUES (
	'prv_repl_iss',
	 1,
	'COMPONENT_TYPE',
	'I',
	'S',
	fn_sysdate(),
	'Gulzar',
	'BASE',
	'EJB');
INSERT INTO system_service_args (
	service_code ,
	line_no ,
	arg_name ,
	arg_mode ,
	arg_type ,	
	chg_date ,
	chg_user,
	chg_term ,
	arg_value)
VALUES (
	'prv_repl_iss',
	2,
	'COMPONENT_NAME',
	'I',
	'S',
	fn_sysdate(),
	'Gulzar',
	'BASE',
	'ReplIssIC');
INSERT INTO system_service_args (
	service_code ,
	line_no ,
	arg_name ,
	arg_mode ,
	arg_type ,	
	chg_date ,
	chg_user,
	chg_term )
VALUES (
	'prv_repl_iss',
	3,
	'XML_DATA',
	'l',
	'S',
	fn_sysdate(),
	'Gulzar',
	'BASE');
INSERT INTO system_service_args (
	service_code ,
	line_no ,
	arg_name ,
	arg_mode ,
	arg_type ,	
	chg_date ,
	chg_user,
	chg_term )
VALUES (
	'prv_repl_iss',
	4,
	'XML_DATA_1',
	'l',
	'S',
	fn_sysdate(),
	'Gulzar',
	'BASE');
INSERT INTO system_service_args (
	service_code ,
	line_no ,
	arg_name ,
	arg_mode ,
	arg_type ,	
	chg_date ,
	chg_user,
	chg_term )
 VALUES (
	'prv_repl_iss',
	5,
	'XML_DATA_ALL',
	'l',	
	'S',	
	fn_sysdate(),
	'Gulzar',
	'BASE');
INSERT INTO system_service_args (
	service_code ,
	line_no ,
	arg_name ,
	arg_mode ,
	arg_type ,	
	chg_date ,
	chg_user,
	chg_term )
VALUES (
	'prv_repl_iss',
	6,
	'OBJ_CONTEXT',
	'l',
	'S',
	fn_sysdate(),
	'Gulzar',
	'BASE');
INSERT INTO system_service_args (
	service_code ,
	line_no ,
	arg_name ,
	arg_mode ,
	arg_type ,	
	chg_date ,
	chg_user,
	chg_term )
VALUES (
	'prv_repl_iss',
	 7,
	'EDIT_FLAG',
	'l',	
	'S',
	fn_sysdate(),
	'Gulzar',
	'BASE');
INSERT INTO system_service_args (
	service_code ,
	line_no ,
	arg_name ,
	arg_mode ,
	arg_type ,	
	chg_date ,
	chg_user,
	chg_term )
VALUES (
	'prv_repl_iss',
	8,
	'XTRA_PARAMS',
	'l',	
	'S',	
	fn_sysdate(),
	'Gulzar',
	'BASE');

INSERT INTO system_service_args (
	service_code ,
	line_no ,
	arg_name ,
	arg_mode ,
	arg_type ,	
	chg_date ,
	chg_user,
	chg_term ,
	arg_value )
VALUES (
	'repl_iss_default_data',
	 1,
	'COMPONENT_TYPE',
	'I',
	'S',
	fn_sysdate(),
	'Gulzar',
	'BASE',
	'EJB');
INSERT INTO system_service_args (
	service_code ,
	line_no ,
	arg_name ,
	arg_mode ,
	arg_type ,	
	chg_date ,
	chg_user,
	chg_term ,
	arg_value )
VALUES (
	'repl_iss_default_data',
	 2,
	'COMPONENT_NAME',
	'I',	
	'S',	
	fn_sysdate(),
	'Gulzar ',
	'BASE',
	'ReplIssIC');
INSERT INTO system_service_args (
	service_code ,
	line_no ,
	arg_name ,
	arg_mode ,
	arg_type ,	
	chg_date ,
	chg_user,
	chg_term )
VALUES (
	'repl_iss_default_data',
	3,
	'XML_DATA',
	'I',
	'S',
	fn_sysdate(),
	'Gulzar ',
	'BASE');
INSERT INTO system_service_args (
	service_code ,
	line_no ,
	arg_name ,
	arg_mode ,
	arg_type ,	
	chg_date ,
	chg_user,
	chg_term )
VALUES (
	'repl_iss_default_data',
	4,
	'XML_DATA_1',
	'I',
	'S',
	fn_sysdate(),
	'Gulzar ',
	'BASE');
INSERT INTO system_service_args (
	service_code ,
	line_no ,
	arg_name ,
	arg_mode ,
	arg_type ,	
	chg_date ,
	chg_user,
	chg_term )
VALUES (
	'repl_iss_default_data',
	5,
	'XML_DATA_ALL',
	'I',	
	'S',
	fn_sysdate(),
	'Gulzar ',
	'BASE');
INSERT INTO system_service_args (
	service_code ,
	line_no ,
	arg_name ,
	arg_mode ,
	arg_type ,	
	chg_date ,
	chg_user,
	chg_term )
VALUES (
	'repl_iss_default_data',
	6,
	'OBJ_CONTEXT',
	'I',
	'S',	
	fn_sysdate(),
	'Gulzar ',
	'BASE');
INSERT INTO system_service_args (
	service_code ,
	line_no ,
	arg_name ,
	arg_mode ,
	arg_type ,	
	chg_date ,
	chg_user,
	chg_term )
VALUES (
	'repl_iss_default_data',
	 7,
	'FOCUSED_COLUMN',
	'I',	
	'S',
	fn_sysdate(),
	'Gulzar ',
	'BASE');
INSERT INTO system_service_args (
	service_code ,
	line_no ,
	arg_name ,
	arg_mode ,
	arg_type ,	
	chg_date ,
	chg_user,
	chg_term )
VALUES (
	'repl_iss_default_data',
	8,
	'EDIT_FLAG',
	'I',
	'S',	
	fn_sysdate(),
	'Gulzar ',
	'BASE');
INSERT INTO system_service_args (
	service_code ,
	line_no ,
	arg_name ,
	arg_mode ,
	arg_type ,	
	chg_date ,
	chg_user,
	chg_term )
VALUES(
	'repl_iss_default_data',
	9,
	'XTRA_PARAMS',
	'I',
	'S',	
	fn_sysdate(),
	'Gulzar',
	'BASE');
INSERT INTO system_event_services (
	service_code,
	service_descr,
	service_uri,
	service_provider,
	method_name,
	return_value,
	return_type,
	return_descr,
	return_xfrm,
	chg_date,
	chg_user ,
	chg_term)
 VALUES (
	'prcm_repl_iss',
	'Confirming replenishment',
	'http://localhost:9090/axis/services/ActionHandlerService',
	NULL,
	'confirm',
	'String',
	'S',
	NULL,
	NULL,
	fn_sysdate(),
	'Gulzar',
	'Gulzar');
INSERT INTO System_service_args (
	service_code ,
	line_no ,
	arg_name ,
	arg_mode ,
	descr ,
	arg_type ,
	arg_xfrm ,
	chg_date ,
	chg_user ,
	chg_term ,
	arg_value)
VALUES (
	'prcm_repl_iss',
	1,
	'COMPONENT_TYPE',
	'I',
	'COMPONENT_TYPE',
	'C.String',
	NULL,
	fn_sysdate(),
	'BASE',
	'BASE',
	'EJB');
INSERT INTO System_service_args (
	service_code ,
	line_no ,
	arg_name ,
	arg_mode ,
	descr ,
	arg_type ,
	arg_xfrm ,
	chg_date ,
	chg_user ,
	chg_term ,
	arg_value)
VALUES (
	'prcm_repl_iss',
	2,
	'COMPONENT_NAME',
	'I',
	'COMPONENT_NAME',
	'C.String',
	NULL,
	fn_sysdate(),
	'BASE',
	'BASE',
	'ReplIssConf');
INSERT INTO System_service_args (
	service_code ,
	line_no ,
	arg_name ,
	arg_mode ,
	descr ,
	arg_type ,
	arg_xfrm ,
	chg_date ,
	chg_user ,
	chg_term ,
	arg_value)
VALUES (
	'prcm_repl_iss',
	3,
	'<tran_id>',
	'I',
	'Tran id or replenishment',
	'C.String',
	NULL,
	fn_sysdate(),
	'BASE',
	'BASE',
	NULL);
INSERT INTO System_service_args (
	service_code ,
	line_no ,
	arg_name ,
	arg_mode ,
	descr ,
	arg_type ,
	arg_xfrm ,
	chg_date ,
	chg_user ,
	chg_term ,
	arg_value)
VALUES (
	'prcm_repl_iss',
	4,
	'XTRA_PARAMS',
	'I',
	'XTRA_PARAMS',
	'S',
	NULL,
	fn_sysdate(),
	'BASE',
	'BASE',
	NULL);
INSERT INTO System_service_args (
	service_code ,
	line_no ,
	arg_name ,
	arg_mode ,
	descr ,
	arg_type ,
	arg_xfrm ,
	chg_date ,
	chg_user ,
	chg_term ,
	arg_value)
VALUES (
	'prcm_repl_iss',
	5,
	'FORCED_FLAG',
	'I',
	'FORCED_FLAG',
	'S',
	NULL,
	fn_sysdate(),
	'BASE',
	'BASE',
	NULL);

INSERT INTO system_service_args (
	service_code ,
	line_no ,
	arg_name ,
	arg_mode ,
	descr ,
	arg_type ,
	arg_xfrm ,
	chg_date ,
	chg_user ,
	chg_term ,
	arg_value )
values (
	'prsr_repl_iss',
	1,
	'COMPONENT_TYPE',
	'I',
	NULL,
	'C.String',
	NULL,
	fn_sysdate(),
	'chaitali',
	'chaitali',
	'EJB');
INSERT INTO system_service_args (
	service_code ,
	line_no ,
	arg_name ,
	arg_mode ,
	descr ,
	arg_type ,
	arg_xfrm ,
	chg_date ,
	chg_user ,
	chg_term ,
	arg_value )
values (
	'prsr_repl_iss',
	2,
	'COMPONENT_NAME',
	'I',
	NULL,
	'C.String',
	NULL,
	fn_sysdate(),
	'chaitali',
	'chaitali',
	'ReplIssPrs');
INSERT INTO system_service_args (
	service_code ,
	line_no ,
	arg_name ,
	arg_mode ,
	descr ,
	arg_type ,
	arg_xfrm ,
	chg_date ,
	chg_user ,
	chg_term ,
	arg_value )
values (
	'prsr_repl_iss',
	3,
	'XML_DATA_ALL',
	'I',
	NULL,
	'S',
	NULL,
	fn_sysdate(),
	'chaitali',
	'chaitali',
	NULL);
INSERT INTO system_service_args (
	service_code ,
	line_no ,
	arg_name ,
	arg_mode ,
	descr ,
	arg_type ,
	arg_xfrm ,
	chg_date ,
	chg_user ,
	chg_term ,
	arg_value )
values (
	'prsr_repl_iss',
	4,
	'EDIT_FLAG',
	'I',
	NULL,
	'S',
	NULL,
	fn_sysdate(),
	'chaitali',
	'chaitali',
	NULL);
INSERT INTO system_service_args (
	service_code ,
	line_no ,
	arg_name ,
	arg_mode ,
	descr ,
	arg_type ,
	arg_xfrm ,
	chg_date ,
	chg_user ,
	chg_term ,
	arg_value )
values (
	'prsr_repl_iss',
	5,
	'XTRA_PARAMS',
	NULL,
	NULL,
	'S',
	NULL,
	fn_sysdate(),
	'chaitali',
	'chaitali',
	NULL);
INSERT INTO system_service_args (
	service_code ,
	line_no ,
	arg_name ,
	arg_mode ,
	descr ,
	arg_type ,
	arg_xfrm ,
	chg_date ,
	chg_user ,
	chg_term ,
	arg_value )
values (
	'prsr_repl_iss',
	6,
	'DB_CONN',
	NULL,
	NULL,
	'S.Connection',
	NULL,
	fn_sysdate(),
	'chaitali',
	'chaitali',
	NULL);
INSERT INTO system_service_args (
	service_code ,
	line_no ,
	arg_name ,
	arg_mode ,
	descr ,
	arg_type ,
	arg_xfrm ,
	chg_date ,
	chg_user ,
	chg_term ,
	arg_value )
values (
	'pos_repl_iss',
	1,
	'COMPONENT_TYPE',
	'I',
	NULL,
	'S',
	NULL,
	fn_sysdate(),
	'chaitali',
	'chaitali',
	'EJB');
INSERT INTO system_service_args (
	service_code ,
	line_no ,
	arg_name ,
	arg_mode ,
	descr ,
	arg_type ,
	arg_xfrm ,
	chg_date ,
	chg_user ,
	chg_term ,
	arg_value )
values (
	'pos_repl_iss',
	2,
	'COMPONENT_NAME',
	'I',
	NULL,
	'S',
	NULL,
	fn_sysdate(),
	'chaitali',
	'chaitali',
	'ReplIssPos');
INSERT INTO system_service_args (
	service_code ,
	line_no ,
	arg_name ,
	arg_mode ,
	descr ,
	arg_type ,
	arg_xfrm ,
	chg_date ,
	chg_user ,
	chg_term ,
	arg_value )
values (
	'pos_repl_iss',
	3,
	'XML_DATA_ALL',
	'I',
	NULL,
	'S',
	NULL,
	fn_sysdate(),
	'chaitali',
	'chaitali',
	NULL);
INSERT INTO system_service_args (
	service_code ,
	line_no ,
	arg_name ,
	arg_mode ,
	descr ,
	arg_type ,
	arg_xfrm ,
	chg_date ,
	chg_user ,
	chg_term ,
	arg_value )
values (
	'pos_repl_iss',
	4,
	'<tran_id>',
	'I',
	NULL,
	'B.String',
	NULL,
	fn_sysdate(),
	'chaitali',
	'chaitali',
	NULL);
INSERT INTO system_service_args (
	service_code ,
	line_no ,
	arg_name ,
	arg_mode ,
	descr ,
	arg_type ,
	arg_xfrm ,
	chg_date ,
	chg_user ,
	chg_term ,
	arg_value )
values (
	'pos_repl_iss',
	5,
	'EDIT_FLAG',
	'I',
	NULL,
	'S',
	NULL,
	fn_sysdate(),
	'chaitali',
	'chaitali',
	NULL);
INSERT INTO system_service_args (
	service_code ,
	line_no ,
	arg_name ,
	arg_mode ,
	descr ,
	arg_type ,
	arg_xfrm ,
	chg_date ,
	chg_user ,
	chg_term ,
	arg_value )
values (
	'pos_repl_iss',
	6,
	'XTRA_PARAMS',
	'I',
	NULL,
	'S',
	NULL,
	fn_sysdate(),
	'chaitali',
	'chaitali',
	NULL);
INSERT INTO system_service_args (
	service_code ,
	line_no ,
	arg_name ,
	arg_mode ,
	descr ,
	arg_type ,
	arg_xfrm ,
	chg_date ,
	chg_user ,
	chg_term ,
	arg_value )
values (
	'pos_repl_iss',
	7,
	'DB_CONN',
	'I',
	NULL,
	'S.Connection',
	NULL,
	fn_sysdate(),
	'chaitali',
	'chaitali',
	NULL);

INSERT INTO messages (
	msg_no ,
	msg_str,
	msg_descr ,
	msg_type ,
	msg_opt ,
	msg_time ,
	alarm ,
	err_source ,
	chg_date ,
	chg_user ,
	chg_term ,
	override_input ,
	mail_option )
VALUES (
	'NULREPLORD',
	'Replenishment id is blank!',
	'Replenishment task id can no be blank, please enter or scan valid replenishment task id',
	'E',
	'Y',
	NULL,
	NULL,
	NULL,
	fn_sysdate(),
	'Gulzar',
	'BASE207',
	NULL,
	NULL);
INSERT INTO messages (
	msg_no ,
	msg_str,
	msg_descr ,
	msg_type ,
	msg_opt ,
	msg_time ,
	alarm ,
	err_source ,
	chg_date ,
	chg_user ,
	chg_term ,
	override_input ,
	mail_option )
VALUES (
	'INVREPLORD',
	'Replenishment id not exist!',
	'Scanned or entered replenishment task id does not exist, please enter or scan valid replenishment task id',
	'E',
	'Y',
	NULL,
	NULL,
	NULL,
	fn_sysdate(),
	'Gulzar',
	'BASE207',
	NULL,
	NULL);
INSERT INTO messages (
	msg_no ,
	msg_str,
	msg_descr ,
	msg_type ,
	msg_opt ,
	msg_time ,
	alarm ,
	err_source ,
	chg_date ,
	chg_user ,
	chg_term ,
	override_input ,
	mail_option )
VALUES (
	'REPISSCONF',
	'Replenishment is confirmed!',
	'Replenishment issue already generated and confirmed for Scanned or entered replenishment task id',
	'E',
	'Y',
	NULL,
	NULL,
	NULL,
	fn_sysdate(),
	'Gulzar',
	'BASE207',
	NULL,
	NULL);
INSERT INTO messages (
	msg_no ,
	msg_str,
	msg_descr ,
	msg_type ,
	msg_opt ,
	msg_time ,
	alarm ,
	err_source ,
	chg_date ,
	chg_user ,
	chg_term ,
	override_input ,
	mail_option )
VALUES (
	'INVDSITECD',
	'Site code does not exist!',
	'Site code does not exist in site master, please enter valid site code',
	'E',
	'Y',
	NULL,
	NULL,
	NULL,
	fn_sysdate(),
	'Gulzar',
	'BASE207',
	NULL,
	NULL);
INSERT INTO messages (
	msg_no ,
	msg_str,
	msg_descr ,
	msg_type ,
	msg_opt ,
	msg_time ,
	alarm ,
	err_source ,
	chg_date ,
	chg_user ,
	chg_term ,
	override_input ,
	mail_option )
VALUES (
	'VTLOCCODE7',
	'Invalid dock location!',
	'Entered or scanned location code is not a dock location, please enter or scan valid doc location',
	'E',
	'Y',
	NULL,
	NULL,
	NULL,
	fn_sysdate(),
	'Gulzar',
	'BASE207',
	NULL,
	NULL);
INSERT INTO disparm (
	prd_code ,
	var_name ,
	var_type ,
	var_value ,
	descr ,
	var_subs ,
	chg_date ,
	chg_user ,
	chg_term ,
	min_order_qty )
VALUES (
	'999999',
	'DOCKLOC_INVSTAT',
	'S',
	'DLOC',
	'Dock location',
	0,
	fn_sysdate(),
	'BASE',
	'GULZAR',
	NULL);


UPDATE OBJ_FORMS SET SCR_FLAG = 'T' WHERE WIN_NAME='w_active_repl_iss' and form_no=3;

UPDATE OBJ_FORMS SET 
SCAN_METADATA = '<SCAN_INFO><MAPPING_SCAN ORDER="1"><SCAN_LABEL>LPN:</SCAN_LABEL><FIELDS SEPARATOR="" DELIMITER=""><FIELD>lot_sl</FIELD></FIELDS></MAPPING_SCAN><INPUT_SCAN ORDER="1"><SCAN_LABEL>Active Pick Location :</SCAN_LABEL><FIELDS SEPARATOR="" DELIMITER=""><FIELD>loc_code__to</FIELD></FIELDS></INPUT_SCAN></SCAN_INFO>', 
DISP_METADATA = 'checkedImage@img<loc_code> <item_code>, <lot_no>, <lot_sl>'
WHERE WIN_NAME='w_active_repl_iss' and form_no=3;

spool off
