Questions and Answers
Questions and Answers
OE_ORDER_HEADERS_ALL header_id
OE_ORDER_LINES_ALL header_id
WSH_DELIVERY_DETAILS
WSH_DELIVERY_ASSINGNMENTS
WSH_NEW_DELIVERIES
OE_ORDERS_HOLDS_ALL
PO_REQUISITION_HEADERS_ALL
PO_REQUISISTION_LINES_ALL
PO_REQ_DISTRIBUTIONS_ALL
PO_HADERS_ALL
PO_LINES_ALL
PO_LINE_LOCATIONS_ALL
PO_DISTRIBUTIONS_ALL
RCV_SHIPMENT_HEDERS
RCV_SHIPMENT_LINES
RCV_TRANSACTIONS
AP_INVOICES_ALL
AP_INVOICE_LINES_ALL
AP_INVOICE_DISTRIBUTIONS_ALL
AP_CHECKS_ALL
AP_PAYMENT_SCHEDULES_ALL
XLA_EVENTS
XLA_AE_HEADERS
XLA_AE_LINES
GL_JE_BATCHES
GL_JE_HEADERS
GL_JE_LINES
2.RFQ
3.QUOTATION
4.QUOTE ANALYSIS
5.PO
6.RECEIPT
7.INVOICE
8.PAYMENTS
9.JOURNAL ENTRY
10.POSTING TO JOURNAL
4. How will you analyse based on which column tables should be joined.?
Based on primary key ,foreign key relationship and based on matching data between two table
columns.
5. The tables are oe_order_headers_all, oe_order_lines_all, oe_drop_ship_sourec,
po_headers_all,po_lines_all. Write join conditions for these tables.?
SELECT *
7. In the above query I want the order that got cancelled in headers table only.
SELECT *
8. In the above query I want the order that got approved in headers table and cancelled in lines
table.
SELECT *
Owner car_colour
A RED
B BLUE
C WHITE
B RED
B BLUE
D RED
E RED
E BLUE
E WHITE
F BLUE
F BLUE
IN this I want the query to find who have more than 1 car.
SELECT OWNER
FROM CAR_MASTERS
GROUP BY (OWNER)
10. In this I want the query to find more than one car and who is having same colour should not be
shown in output.
SELECT *
FROM CAR_MASTERS
(SELECT OWNER,CAR_COLOUR
FROM CAR_MASTERS
GROUP BY (owner,car_colour)
HAVING COUNT(*)>1)
AND OWNER IN
(SELECT OWNER
FROM EMPLOYEES
GROUP BY OWNER
11. Your procedure is having parameters, can we initialize the values to the parameters inside the
procedure.
We can’t initialize a value for the in parameters inside the procedure and function.
Only while executing we can pass values to the parameters.
12. In for loop I am processing some rows and outside loop some statements are there suppose inside
loop 3rows processed 4 row got error, it should not end the program it should come out of the
th
loop and process remaining statements, How will you handle it?
We need to use nested block inside loop and handle exception in the block and come out of the
block then process the remaining statement’s.
EXAMPLE.
COMMIT;
DECLARE
V_NAME VARCHAR2(30);
BEGIN
begin
COMMIT;
EXCEPTION
DBMS_OUTPUT.PUT_LINE(SQLERRM);
end;
end loop;
DBMS_OUTPUT.PUT_LINE(V_NAME);
UPDATE T1 SET SALARY = 20000;
END;
OE_ORDER_HOLDS_ALL
OE_HOLD_SOURCE_ALL
OE_HOLD_DEFINITIONS
OE_HOLD_AUTHORIZATION
Whenever we are using a nested table and VARRAY, we need to initialize values to these
datatypes. Otherwise, we will get this error.
15. How will you initialize values to the collection with constructs?
T11 T1 := T1(Values);
No when is not mandatory, if we didn’t give when condition then it will loop for only one time
and it will exit.
17. After exit can we use any other command than when?
No, we can’t use any other command other than when after the EXIT.
21. I am having one package whenever I run that package it wants to run concurrent program how
will you do?
22. You had created requisition then which concurrent program you will run to create po?
NO_DATA_FOUND
TOO_MANY_ROWS
DUP_VAL_ON_INDEX
ZERO_DIVIDE
INVALID_CURSOR
CURSOR_ALREADY_OPEN
INVALID_NUMBER
VALUE_ERROR
25. When cursor is open error will come, when we will go for open fetch cursor and when we will
go for, for loop cursor and what is the difference?
WHEN WE KNOW THE ITERATIONS WE WILL GO WITH THE FOR LOOP OTHERWISE
WE NEED TO GO WITH OPEN FETCH
26. Write a query to find out the released status that got released, what are the released status you
know.
SELECT released_status
We cannot perform commit inside triggers ,To perform commit we will go for
----------------------------------- person 2
Shashikanth
1. what are the areas you know Oracle and plsql?
2. what topics you will feel you are confident?
3. Based on the sicario write a procedure by using parameter as colur and by using simple
loop you need to insert data into car_log table which is having 2 columns
1.owner,2.car_colour?
Scenario
Table name : car_masters
------------------------------------------------------
Owner car_colour
A RED
B BLUE
C WHITE
B RED
B BLUE
D RED
E RED
E BLUE
E WHITE
F BLUE
F BLUE
----------------------------------------------------
Destination table is car_log which is having two columns Those are owner,car_colour.
(we need to insert into this table.)
14. In this code (ref question no 3) after insert statement exit when condition will come? its
before insert statement.? or after a insert statement?
15. what is bulk collect why we will use bulk collect? write a bulk collect code for the same
loop((ref question no 3) condition?
16. what is p2p and how many ways you can generate po ?
ans:- Manually, using the Requisition Expeditor program (P43E060).
Automatically, using the Batch Requisition Consolidation program (R43E060).
20. what is auto invoice in o2c what are the affecting source table and target tables while
creating auto invoice?
UTL_FILE.FOPEN(‘d/…’,file_name,operation_mode(R,W,A));
UTL_FILE.FCLOSE