go_block(
last_record;
row_count:=:system
set_application_property(cursor_style
exception when others then
display_note(sqlerrm||sqlcode
decode(a
decode(qtyonhand
select * from t_parameter where f_name=
select f_c_value from t_parameter where f_name =
select f_c_value from t_parameter where f_name=
select f_c_value from t_parameter where f_name=
SET_ITEM_PROPERTY(
LIST_VALUES;
n:=populate_group(
populate_list(
:bLK_BUT
DECLARE
pl_id ParamList;
v_string varchar
v_itemname varchar
BEGIN
pl_id := Get_Parameter_List(
IF NOT Id_Null(pl_id) THEN
Destroy_Parameter_List(pl_id);
END IF;
pl_id := Create_Parameter_List(
v_itemname:=:system
v_string:=name_in(v_itemname);
Add_Parameter(pl_id
Call_Form(
copy(:global
END;
set_application_property(cursor_style
SYNCHRONIZE;
first_record;
loop
null;
exit when :system
next_record;
end loop;
set_application_property(cursor_style
bell;
display_note(
IF display_stop(
RETURN;
END IF;
begin
select currencydesc
into v_currencydesc
from t_currency
where currencycode = c
exception when others then v_currencydesc :=
end;
declare
return_value number;
begin
set_alert_property(
return_value := show_alert(
if return_value != alert_button
return;
end if;
end;
DECLARE
return_value number;
BEGIN
return_value := display_stop(
IF return_value = ALERT_BUTTON
COMMIT_FORM;
END IF;
END;
select trunc(sysdate
oldmsg := :System
IF reldef =
Go_Block(detail);
Check_Package_Failure;
:System
Execute_Query;
:System
ELSE
begin
select year
into v_year
from t_accperiod
where sysdate >= startdate
and to_char(sysdate
exception when others then null;
end;
vCan
SET_VIEW_PROPERTY(vCan
vCan
SET_VIEW_PROPERTY(vCan
elsif :top
set_item_property(
else
set_item_property(
end if;
ELSIF :top
SET_ITEM_PROPERTY(
LIST_VALUES;
IF :top
PRTNO_MSI;
END IF;
END IF;
DECLARE
a_value_chosen BOOLEAN;
BEGIN
a_value_chosen := Show_Lov(
IF a_value_chosen THEN
set_block_property(
go_block(
execute_query;
set_block_property(
END IF;
END;
declare
vlpadnum number;
maxno varchar
cursor cerpcode is select sequence
where erpcode=
begin
if :t_purapp
if :SYSTEM
begin
begin
for c
update t_erpcode set sequence=sequence+
end loop;
exception
when others then
display_note(
raise form_trigger_failure;
end;
select sequence
exception
when NO_DATA_FOUND then
select count(*)+
vlpadnum:=
insert into t_erpcode(erpcode
values (
end;
:t_purapp
end if;
end if;
end;
select t_prtstrudef
t_prtbasdef
t_prtbasdef
t_prtstrudef
t_prtbasdef
t_prtstrudef
from t_prtstrudef
where t_prtstrudef
connect by prior t_prtstrudef
start with t_prtstrudef
/*
** Built
** Example: The expression can be a string literal
*/
BEGIN
Forms_DDL(
IF NOT Form_Success THEN
Message (
ELSE
Message (
END IF;
END;
and (exists (select
declare
cursor v_cur
N_INDEX NUMBER :=
begin
DELETE_LIST_ELEMENT(
for c
Add_List_Element(
N_INDEX := N_INDEX +
end loop;
end;
select rpno from t_purtrace group by rpno having count(rpno) >
PROCEDURE GET_PRTNO is
v_sysdate varchar
v_Svdictateno varchar
v_DbodNo varchar
n_count integer;
v_count varchar
n_count
n_count
v_count
n_num number;
v_num varchar
BEGIN
v_DbodNo:=
v_sysdate:=to_char(sysdate
select count(*)+
from bas_prtbasdef
where prtno like v_DbodNo||v_sysdate||
v_num := to_char(n_num);
v_count:=lpad(v_num
v_Svdictateno:=v_DbodNo||v_sysdate||v_count;
select count(*) into n_count from bas_prtbasdef
where prtno=v_Svdictateno;
if n_count=
:parameter
elsif n_count>
n_count
loop
v_count
v_Svdictateno:=v_DbodNo||v_sysdate||v_count
select count(*) into n_count
where prtno=v_Svdictateno;
if n_count
:parameter
exit;
end if;
n_count
end loop;
end if;
exception when others then
display_note(sqlerrm||sqlcode
END;
DECLARE
row_count NUMBER;
row_num number;
V_PRTLOTNO t_srmchkproject
BEGIN
row_num := :system
first_record;
loop
row_count:=:system
V_PRTLOTNO := :t_srmchkproject
GO_RECORD(ROW_COUNT +
loop
if v_prtlotno = :t_srmchkproject
display_note(
go_item(
return;
end if;
exit when :system
next_record;
end loop;
GO_RECORD(ROW_COUNT+
exit when :system
GO_RECORD(ROW_COUNT);
next_record;
end loop;
commit_form;
go_record(row_num);
EXCEPTION WHEN OTHERS THEN NULL;
END;
DECLARE
htree item;
find_node Ftree
begin
htree:= Find_Item(
find_node := FTREE
IF NOT Ftree
FTREE
end if;
end;
select SID
ALTER SYSTEM KILL SESSION
select func
select func
(:GLOBAL
DECLARE
v_n Number;
BEGIN
v_n := populate_group(
populate_list(
END;
set_alert_property(
return_value := show_alert(
DECLARE
v_Count NUMBER;
v_Label VARCHAR
BEGIN
Go_Block(
v_Label := Get_Item_Property(
First_Record;
IF v_Label =
LOOP
/*SELECT COUNT(*)
INTO v_Count
FROM t_Fieldrole
WHERE Table_Name = :User_Col_Comments
AND Column_Name = :User_Col_Comments
AND Role = :t_Fieldrole
:User_Col_Comments
EXIT WHEN :System
NEXT_RECORD;
END LOOP;
First_Record;
Set_Item_Property(
Set_Item_Property(
ELSIF v_Label =
First_Record;
LOOP
:User_Col_Comments
EXIT WHEN :System
NEXT_RECORD;
END LOOP;
First_Record;
Set_Item_Property(
Set_Item_Property(
END IF;
EXCEPTION
WHEN OTHERS THEN
NULL;
END;
From:http://tw.wingwit.com/Article/program/Oracle/201311/18393.html