Create table taking required columns USING CREATE TABLE STATEMENT
1.Pass the following paramter to the below procedure for register a new table
Procedure REGISTER_TABLE( p_appl_short_name in varchar2, p_tab_name in varchar2, p_tab_type in varchar2, p_next_extent in number default 512, p_pct_free in number default 10, p_pct_used in number default 70);
EXAMPLE
BEGIN AD_DD.REGISTER_TABLE ('FND','TABLE_NAME','T'); END;
2.Pass the following paramter to the below procedure for register columns of a table
Procedure REGISTER_COLUMN(p_appl_short_name in varchar2, p_tab_name in varchar2, p_col_name in varchar2, p_col_seq in number, p_col_type in varchar2, p_col_width in number, p_nullable in varchar2, p_translate in varchar2, p_precision in number default null, p_scale in number default null);
EXAMPLE
BEGIN AD_DD.REGISTER_COLUMN ('FND', 'TABLE_NAME','COLUMN_NAME', 1, 'VARCHAR2', 150, 'Y', 'N'); END;
Finally check in below query,whether it is registerd or not!!!
SELECT * FROM FND_TABLES WHERE TABLE_NAME LIKE'TABLE_NAME'
Select PROFILE_OPTION_VALUE From FND_PROFILE_OPTION_VALUES WHERE PROFILE_OPTION_ID = (SELECT PROFILE_OPTION_ID FROM FND_PROFILE_OPTIONS WHERE PROFILE_OPTION_NAME ='APPS_FRAMEWORK_AGENT') AND LEVEL_VALUE=0;
FND_PROFILE.VALUE :
This is a function which returns a character string. It can be used to retrieve the current value of the specified user profile option. Example: fnd_profile.value(‘PROFILEOPTION’)
Select Frvl.Responsibility_Name, fe.executable_name, frg.request_group_name, User_Concurrent_Program_Name From Apps.Fnd_Concurrent_Programs_Tl fcpt, APPS.FND_REQUEST_GROUP_UNITS frgu, Apps.Fnd_Request_Groups Frg, Apps.Fnd_Responsibility_Vl frvl, Apps.Fnd_Application_Vl fav, Apps.Fnd_Executables fe, Apps.Fnd_Concurrent_Programs fcp Where frvl.Request_Group_Id=frgu.Request_Group_Id And frgu.Request_Unit_Id = fcpt.Concurrent_Program_Id
and executable_name like '&EXECUTABLE_NAME' /*optional*/ and fcp.executable_id = fe.executable_id And User_Concurrent_Program_Name Like '&PROGRAM_NAME' And fcp.Concurrent_Program_Id = fcpt.Concurrent_Program_Id And Frg.Request_Group_Id = Frgu.Request_Group_Id and frvl.request_group_id = frg.request_group_id and frg.application_id = fav.application_id
Here you can find the oracle home.In this home check for FORMS60_PATH; append
the path of your folder
Where all the
libraries and the form is present, prefixed with a semicolon (;)
OR
You can direct set the path using Forms Builder
Right Click on Forms Builder->properties->send menu (shortcut)
->Start in :-> you can put the path of folder where you place your all
PLL and FMB files.
4. Always create a new form with TEMPLATE.fmb file.
Open the Forms Builder tool and connect it
Now open the TEMPLATE.fmb form from your local working
directory
Remove Block “DETAILBLOCK”, Canvas "BLOCKNAME"
Remove Window "BLOCKNAME" and
Create a new window,
rename (Ex: TEST_WIN) and set property Function->primary canvas property to
the newly created canvas.
Create a new canvas,
rename (Ex: TEST_CAN) set property Physical->window property to the newly
created window.
Create your blocks,
items, triggers and relationships as per requirement.
Save your new FORM
as with a different filename. Also rename the module with the same name as the
filename.
Set the Form Module
property
Function->Console
window->Point to the newly created window.
First Navigation
data block->Point to your Data Block.
Save your FORM
frequently!!
5. Apply property classes to each item to ensure the same
look like as the rest of Oracle Apps forms.
For each Module, Canvas, Window etc., apply the Property
Classes that is most appropriate.
6. Changes need to be made in the Triggers and Program Units
Change the code in Pre-Form Trigger
app_window.set_window_position ('TEST_WIN', 'FIRST_WINDOW');
/*Data Block name */
Change the code in APP_CUSTOM Package Body
If (wnd = ‘<first window>’) then/* Window Name */
app_window.close_first_window;
SAVE YOUR WORK.
7. Open the FTP tool (like putty, filezilla, talnet, or
connect the server using the CMD window)
Login to the tool and
Always move your form (.FMB) to the $AU_TOP/forms/US
This issue is related to the data fixed I mean some of transaction are pending..
What I do is that
I took the backup using the below query
create table ap_inv_selection_criteria_all_backup as select * from ap_inv_selection_criteria_all where checkrun_name = '&batch_name' and status != 'CANCELED' And Status != 'CONFIRMED' and status != 'QUICKCHECK';
it will create the table and copy all the payment batch which has a pending transactions
Now check the status of the batch and update the status using below Update statement
and pass the below 3 Parameters from ap_inv_selection_criteria_all_backup table
update ap_inv_selection_criteria_all set status = 'QUICKCHECK' where checkrun_name ='&batch_name' And Bank_Account_Name ='&bank_account_name' and currency_code ='¤cy_code';
SELECT * FROM V$VERSION ;
---------------------------------------
FIND THE RELEASE_NAME :-
SELECT RELEASE_NAME FROM FND_PRODUCT_GROUPS ;
------------------------------------------
FIND THE SCHEMA NAME AND USER CREATED OBJECT DETAILS :
SELECT * FROM ALL_OBJECTS;
OBJECT_NAME :- OBJECT NAME LIKE TABLE/VIEW/INDEX etc.
OWNER : - SCHEMA NAME.
-----------------------------------
OR
RUN THE ANONYMOUS PL/SQL BLOCK TO RETRIEVE THE CURRENT SCHEMA NAME DETAILS:-
BEGIN
DBMS_OUTPUT.PUT_LINE(ora_login_user||' is the current schema .'); --returns current schema name
END;
-----------------------------------
SET THE ENVIRONMENT for MULTIPLE ORGANIZATION :
FIND THE OPERATING UNITS :-
SELECT * FROM HR_OPERATING_UNITS ;
BEGIN FND_CLIENT_INFO.SET_ORG_CONTEXT('ORG_ID'); END;
BEGIN
DBMS_APPLICATION_INFO.SET_CLIENT_INFO('ORGANIZATION_ID');
END;