Open Form Template
Open Form Template
Open Form Template
Go to Datablock
It will open Data Block Wizard.
Fre-Form trigger
Remove the window name and give our window name
Compile it.
Go to program units:
Modify the package body
PRE-INSERT
Insert the id /sequence to the column
SELECT sequence.nextval
INTO block_name.item
FROM dual;
FND_STANDARD.SET_WHO(); This is the API we want to call
Connect putty
Or if it is windows CTL+K
Go to Function
Function name and User function name is same name as above
In the form tab, here we have to give the user form name
Save the task and add this function to Menu
Menu >
Menu name <New name>
Sequence = 1
Prompt : Demo