Beruflich Dokumente
Kultur Dokumente
Ans:- pl/sql uses early binding , so we cant execute DDL statements in pl/sql. To over come this situation we have two options
1> we can use EXECUTE IMMIDIATE statement 2> we can use DBMS_SQL package
GL_JE_HEADERS GL_JE_LINES GL_JE_BATCHES GL_SETS_OF_BOOKS GL_CODE_COMBINATIONS GL_PERIODS GL_BUDGETS 3. What are User Exits
A user exit is a 3GL program where it can be linked to the report builder executable There are 3 types of user interfaces
ORACLE user interfaces OCI (Oracle Caller Interface) None-Oracle user exit
5. how many interfaces in GL, AP what are they? 3 interfaces in GL. 6. Is it possible to use User Exits in Reportbuilder?how. yes,
procedure is called as pl/sql statement function is called as an expression and it can called from SELECT statement.
8. diff between ap_invoice_all and ap_invoice The _all tables are sharable in multi oraganization environment
Place holder is a column for which you set the data type and value in PL/SQL that u define.
This can be used in BEFORE REPORT trigger, if the place holder is a report level trigger. A report level formulae column, if the place holder is a report_level column A formula in the placeholder's group or a group below it(The value is set only once for each record of the group).
A summary column can be either report level or group level is used to get the value of built in function on a single column.
A formulae column can be either report level or group level is used to get the values from one or more columns.
It is a serverside enhancement where multiple business units can use a single installation of oracle product.
ORG_ID is stored in operation units and ORGANIZATION_ID is stored in inventories.There is one-to-many relationship between them.
statement, it is preceded by & (ampersand). For this we need to create user parameter,It should be character and
intialised. We need to pass the values at runtime for this lexical parameter.
Bind parameter is
a replacement of
select statement. It is preceded by colon(:). It can be number,date, or character data type.It cannot be used in FROM clause.
Using SRW.DO_SQL we can execute the DDL and DML queries. This procedure executes the specified SQL statement from within Report Builder. The SQL statement can be DDL, or DML (statements that manipulate data).
BEFORE PARAMETER FORM AFTER PARAMETER FORM BEFORE REPORT TRIGGER BETWEEN PAGES AFTER REPORT TRIGGER
Key flex fields captures the unique information, and descriptive flexfields captures the more information. The key flex field in GL is Accounting Flex Field. The KFF in AR are Territory and Sales tax.
The FND SRWINIT in BEFOR REPORT trigger and the FND SRWEXIT in AFTER REPORT trigger.
17.what is mutating table. A trigger is trying to modify the triggering table. To overcome this we need to use temporary table and views.
A table in transition then we called that table is mutating. 18. what are Retcode, and Errbuff
These are mandatory parameters when we write concurrent program using stored procedures.
RETCODE contains 3 values 0-for sucess,1-sucess with warnings, 2-errors. ERRBUFF contains error message. Concurrent manager will fill the values for these parameters.
19.request group?
Collection of requests, request sets and concurrent programs that a user can operate under a given responsibility.
P_conc_REQ_ID. P_ORG_ID.
A data group is a collection of Oracle Applications and the user names assigned to each application. Generally the user name is apps schema.
A short name is used to identify menus,forms, concurrent programs, and other application components. A base pathe is top directory in applications directory tree.
No, but when ever we use flex fields and alerts then it is mandatory.
24. What are the procedures used for registration and deletion of tables in apps?
AD_DD.REGISTER_TABLES(appl short name, table name, table type, pct. Next extent, pct. tree, pct. used) AD_DD.REGISTER_COLUMN(appl short name, table name, column name, column seq, data type, witdth, nullable, transferable); and optional precission. AD_DD.DELETE_COLUMN(appl short name, table name, column name) AD_DD.DELETE_TABLE(appl short name, table name)
26. what are the components of form registration? form, funciton, menu.
User Form Name will appear on the form window. and User Function Name will appear on the Top 10 list of the Navigator window.
28. What are the parameters of the parameter column of the Function window?
1> QUERY_ONLY = YES 2> HELP_TARGET = "Alternative form_name" 3> TITLE = "appl_shortname.menu name"
Monitor db information and notify you when the condition we specified is found. Automates and streamlines business processes contained within enterprises and between enterprises.
30. What are the executable methods ? Oracle Reports, PL/SQL Stored Procedures, SQL* LOADER, SQL PLUS.
FND_REQUEST.SUBMIT_REQUEST
A user profile is a set of changable options that affects the way ur application looks and behaves.
4> User
34. What are validation types? 1> Dependent 2> Independent 3> None 4> Pair 5> Special 6> Table 7> Translatable Dependent 8> Translatable Independent
These can be convered from one to other. (<-> both sides, -> single side)
Dependent Dependent
:$PROFILE$.Profile Name
36. How do give the parameter values which are based on the previous parameter values? :$FLEX$.parameter name
DELETE FROM EMP A WHERE ROWID > (SELECT MIN(ROWID) FROM EMP B WHERE A.ENAME = B.ENAME)
41. What is GL_CODE_COMBINATIONS and GL_SETS_OF_BOOKS? GL_CODE_COMBINATIONS stores valid account combinations for each Accounting FF in GL. GL_SETS_OF_BOOKS sotres the sets of books information in GL.
42. What is pre_payment ? Advance payment paid to the supplier for future purchases. There are two types of pre_payments 1> Temporary - which is adjustable towards the invoice 2> Permanant - which is not adjustable towards the invoice but can be convertable to temporary pre_payment. 43. What are purchase orders?
45. What is auto accounting? Transfering the receivable amount to the GL.
AP- 1> Paybles Open Interface Import 2> Credit card transaction interface 3> Invoice Import Interface 4> Purchase Order Matching
47. What is the diff between SPO and BPO? SPO contains all item,quantity,price,delivery shedule,distribution set,and ship to location.
BPO contains all except delivery sheduled for this we need to release blanket purchase order.
ORA - 00054 : Resource busy and acquire with NO WAIT ORA - 12154 : TNS : Could not resolve service name 49. How many files you are using in Interface ?
1> flat file 2> Control file 3> Bad file 4> Discard file (Rejected file) 5> Log file
50. What is control file ? It contains set of instructions for transfering data from flat file to database tables through SQL *LOADER.
Bad file is generated with the data erros in the flat file. Discard file is generated the cotrol file. Log file contains the detail information about the data processing. No of sucessfully loaded records No of rows not loaded due to data errors. No of rows not loaded due to when clause failed. for the when clause failed records of
APPEND adds the records at the end of the table. Before using INSERT data in the table should be empty.
53. What is the purpose of TRAILING NULLCOLS ? Columns must be configured relative to their positioning.
CONCATINATE ?
56. what is charts of accounts ? charts of accounts is a accounting structure of the organization.
57. what
58. what are the 6Ms ? 1> Retained Earnings 2> Suspense account 3> Translation Adjustments 4> Reserve for Encumbrance 5> Net Income 6> Rounding of Numbers 59. what are the types of recurring journals? 1> Standard 2> Formula 3> Skelton
60.what are the topics in GL? 1> Journals 2> Recurring Journals 3> Mass Allocation 4> Translation
5> Revaluation 6> Budgeting a. Planning Budget b. Funding Budget c. Mass Budget 7> FSG(Financial Statement Generator) 8> Global Consolidation 9> MRC (Multiple Report Currencies)
62. what is the Purchase Order ? 1> Requistion 2> RFQ 3> Quotation 4> Approved Quotation 5> PO
Requistion is of two types, 1> Internal Requition (Requirement is with in organization) 2>Purchase Requition (Buying from 3rd party) RFQ cand be created in two types, 1> Manual Create 2> Auto Create Type of RFQ's are a> Standard (contains items,quantity,price,delivery shedule,distribution set) b> Catalog (provides catalog means of items and its price) c> Bid (which are not frequently used) 62. What are the types of the POs? 1> Standard 2> Blanket 3> Contract 4> Planned
Standard PO contains all the information about item,qty,price,delivery sheduled, ship to location and also distribution set. Blanket PO contains all the informaion except the delivery sheduled, for this we
need to release the BPO by giving delivery sheduled. Contract Purchase Order, for this we need to create SPO against CPO. Planned PO contains tentive delivery sheduled. 63. what are the important tables in PO? 1>PO_VENDORS 2>PO_VENDOR_CONTACTS 3>PO_VENDOR_SITES 4>PO_LINE_LOCATIONS 5>PO_DISTRIBUTIONS 6>PO_HEADERS 7>PO_LINES 64. what are the types of invoices in AP?
1> Standard 2> Debit/Credit memo 3> Recurring 4> Pre payment 5> PO default 6> Quick match 7> Mixed 65. What are the matching types?
PO+INVOICE PO+INVOICE+RECEIPT
c> 4-way
PO+INVOICE+RECEIPT+INSPECTION
66.what is hold? If the invoice and the PO does not match then system raises Holds on Invoice. For these we need to release the holds.There are two types of holds. 1> System holds 2> User defined holds. 67.what are the important tables in AP?
AP_INVOICES AP_INVOICE_DISTRIBUTIONS AP_AE_HEADERS AP_AE_LINES AP_BATCHES AP_TERMS AP_ACCOUNTING_EVENTS AP_LOOKUP_CODES AP_BANK_ACCOUNTS AP_BANK_BRANCHES Ap_INVOICE_PAYMENTS
1> Summery/Detail Budget Report 2> Master/Detail Budget Report 3> Summery Trail Balance 4> Future Payment Maturity Date Report 5> Invoice Register 6> Item Detail Report 7> PO detail Report 8> Vendor Quality Performance Analysis Report 9> General Ledger Reconcillation Report 10> PO Details by vendor and item report 11> Purchase value report
A function should return a value through RETURN statement. Function calling can be done in DML statements.
A procedure may or may not return a value through OUT parameter. Procedure calling can not be done in DML statements. With in the procedure we can use RETURN statement,but with out any argument after it.
A package is stored in database. A package is having information hiding and overloading facilities. With pacakges we can declare global variables. Procedures in packages must be foward declared.
A procedure can not provide information hiding. A procedure can not declare global variables.
71. what are the diff between PL/SQL tables and Nested Tables.
Tables: 1> Tables can have Non-Sequential keys. 2> They can be negattive. 3> It can not be stored in the data base.
Nested Tables: 1> Nested tables have Sequential and positive keys. 2> It can be stored as data base object.
72. What are the diff between triggers and procedures? 1> Triggers are database objects. 2> In Triggers we can't use transactional control statements.
73. what is Native Dynamic SQL? EXECUTE IMMEDIATE key word is used to run the DDL,DML and PL/SQL blocks at runtime.
1> Information hiding 2> Procedure Overloading 3> Modularity 4> Easier Application Design
75. How can you know that whether multi_org enabled or not?
76. Where are triggers stored ? user_triggers. 77. What is mutating table error ?
A trigger is trying to access the triggering table is called mutating table error. This situation can be over come using Temporary tables and views.
78. what happens when we use RAISE? It reraise the same exception, but the control goes to the immediate outer block.
79. which implementation methdologh you are using? AIM (Application Implementation Method).
1> PRAGMA EXCEPTION_INIT 2> PRAGMA AUTONOMOUSE_TRANSACTION 3> PRAGMA RESTRICT_REFERENCES 4> PRAGMA SERIALLY_REUSABLE
Set 'yes' to the 'Design in character units' of the report propery, and 'character' to the 'Intial Value' of the MODE system parameter.
1> %ISOPEN 2> %FOUND 3> %NOTFOUND 4> %ROWCOUNT 83. What is the sequence of text triggers in Forms?
1> PRE_TEXT_ITEM 2> WHEN_NEW_ITEM_INSTANCE 3> KEY_NEXT_ITEM 4> WHEN_VALIDATE_ITEM 5> POST_TEXT_ITEM
Using ref.Cursor we can manage multiple work areas programatically with a cursor.
It tell the compiler to associate an exception name with oracle error number.
It is a fully independent transaction started by the parent transaction. It doesn't share any resources with the parent transaction. The autonoumous transaction should end with either ROLLBACK or cOMMIT. Generally in triggers we should not use transaction control statements,but, with autonoumous trigger we should use transaction contrl statements.
88. what is
RAISE_APPLICATION_ERROR ?
Is used to issue user defined error message from the stored procedure.
syntax : RAISE_APPLICATON_ERROR(error_number,message,[,{true/false}]);
1> DBMS_TRANSACTION 2> DBMS_SQL 3> DBMS_ALERT 4> DBMS_ALERT 5> DBMS_PIPE 6> DBMS_OUTPUT.
1> DML triggers 2> DDL triggers 3> System Triggers 12 Types of DML triggers. 3 statements X 2 level X 2 timing
SQLCODE returns the error number. SQLERRM returns the error message.
93. What are PL/SQL variables ? %TYPE and %ROWTYPE are the pl/sql variables.
%TYPE associates a variable with the table's field datatype. %ROWTYPE associates a variable with the table's row datatype.
94. Where are the procedures, functions, and packages are stored ?
1> USER_OBJECTS (Procedures,functions and package body) 2> USER_SOURCE 3> USER_ERRORS
95. what are Materialized views ? Materialized views are reduced sets of information used to precompute, replicate, and distribute data. These are used in distribute environment, data warehousing and DSS.
Application short name, program name, description, start time, sub request, argument1 to argument100.
CP windows?
In CP window, it is the name of the ORACLE user name your program runs and where to place the log and output files.
DBMS_APPLICATION_INFO.SET_CLIENT_INFO(ORG_ID);