Thursday, December 15, 2011

Oracle Apps Reports

Oracle Apps Reports
Objects of Reports builder6i
Object Navigator
Data Model
Layout Model
Parameter Form
Report Triggers
Property palette
Overview of Reports Styles
Tabular
Form like
Mailing label
Form letter
Group left
Group above
Matrix
Matrix with group
Creating Reports
Wizard
Manual
Data model objects
Group
Summary column
Formula column
Placeholder column
Data Link
Cross Product
Layout Model objects
Fields
Repeating Frame
Frame
Text
Anchor
Button
Layout Sections
1. Header Section
2. Main section
3. Trailer section
Parameters Reports
System Parameters
User Parameters
1. Bind parameter Report
2. Lexical parameter Report\
Different Triggers in Report6i
Validation Trigger
Format Trigger
Group Filter Trigger
Action Trigger
Report Trigger
Oracle Reports 6i
In this tutorial you will learn about Introduction to Oracle Reports Builder, Report file storage formats, Oracle Reports Builder Tools, Report Wizard, Triggers in Reports, Types of Triggers and Case Study - Creating a Tabular report.
Introduction to Oracle Reports Builder
Oracle Reports Builder is a powerful enterprise reporting tool used to build reports that dynamically retrieve data from the database, format, display and print quality reports.Reports can be stored in File or Database (Report Builder Tables).
Report file storage formats
.rdf Report
Binary File Full report definition (includes source code and comments)
Modifiable through Builder. Binary, executable Portable if transferred as binary.
PL/SQL recompiles on Open/Run
.rep Report
Binary Run-Only File
No source code or comments. Not modifiable binary, executable.
Report Executables
RWBLD60 Report Builder
RWRUN60 Report Runtime
RWCON60 Report Converter/Compiler [File => Administration => Compile (rdf to rep)/Convert]
Oracle Reports Builder Tools
Oracle Reports Builder comes with the following components
Object Navigator
Property Palette
Data Model Editor
Layout Model Editor
Parameter Form Editor
Object Navigator
The Object Navigator shows a hierarchical view of objects in the report. Each item listed is called a node and represents an object or type of object the report can contain or reference.
Property Palette
A Property Palette is a window that displays the settings for defining an Oracle reportsobject.
Data Model Editor
To specify data for a report, a data model should be defined. A data model is composed of some or all of the following data definition objects.
Queries
Queries are SQL Select statements that fetch data from the oracle database. These statements are fired each time the report is run.
Groups
Groups determine the hierarchy of data appearing in the report and are primarily used to group columns selected in the query. Oracle report automatically creates a group for each query.
Data Columns
Data columns contain the data values for a report. Default data columns, corresponding to the table columns included in each query’s SELECT list are automatically created byoracle reports. Each column is placed in the group associated with the query that selected the column.
Formula Columns
Formulas can be entered in formula columns to create computed columns. Formulas can be written using PL/SQL syntax. Formula columns are generally preceded by CF_ to distinguish from other columns.
Summary Columns
Summary columns are used for calculating summary information like sum, average etc. This column uses a set of predefined oracle aggregate functions. Summary columns are generally preceded by CS_ to distinguish them from other columns.
Data Links
Data links are used to establish parent-child relationships between queries and groups via column matching.
Layout Model Editor
A report layout editor contains the following layout objects
Frames
Frames surround other layout objects, enabling control of multiple objects simultaneously
Repeating Frames
Repeating frames acts as placeholders for groups (I.e repeating values) and present rows of data retrieved from the database. Repeating frames repeat as often as the number of rows retrieved.
Fields
Fields acts as placeholders for columns values. They define the formatting attributes for all columns displayed in the report.
Boilerplate
Boilerplate consists of text (label of the column) and graphics that appear in a report each time it is run.
Parameter Form Editor
Parameter form is a runtime form used to accept inputs from the user.
Parameters
Parameters are variables for a report that accept input from the user at runtime. These parameter values can then be used in the SQL select statements to retrieve data conditionally. Oracle reports creates a set of system parameters at runtime namely report destination type, number of copies etc.
Report Wizard
When we create a default Tabular Report using report wizard, the wizard will take you through the below mentioned pages
Report Style Tabular, Form-Like, Mailing Label, Form Letter, Group Left, Group Above, Matrix, Matrix with Group
Query Type Choose whether to build a SQL query or an Express query.
Data Enter a SELECT statement to retrieve the report data
Displayed Fields Select the fields that you want to display in the output.
Fields to Total Select the fields that you want to summarize.
Labels for Fields Alter the labels that appear for each field and the width of each field.
Template Select the template that you want to use for this report. A template contains standard information such as company logo, date, and so on.
Note: The above steps are different for each report style.
Group Left & Have an additional page: ‘Groups’
Group Above styles
Matrix Reports styles Have 3 additional pages: ‘Matrix Rows’ ‘Columns’ ‘Cells’
Mailing Label & Have 4 pages: ‘Report Style’ ‘Data’
Form Letter styles ‘Text’ ‘Template’
The difference between Mailing Labels and Form Letters is, Mailing Label shows multiple records on one page while Form Letter shows one record on each page.
Triggers in Reports
Types of Triggers
Formula Triggers: Formula triggers are PL/SQL functions that populate columns of type Formula.
Format Triggers:
Format triggers are PL/SQL functions executed before the object is formatted. These triggers are used to dynamically change the formatting attributes and used to conditionally print and not to print a report column value. These triggers return Boolean values TRUE or FALSE. If the return value of the format trigger is FALSE, the value is not displayed.
Action Triggers: Action triggers are used to perform user-defined action. These triggers do not return any value.
Validation Triggers: Validation triggers are PL/SQL functions that are executed when a parameter value is entered and the cursor moves to the next parameter. These triggers return Boolean value TRUE / FALSE.
Report Triggers: Report triggers enable execution of PL/SQL functions at specific time during execution and formatting of report.
Before Parameter Form
Fires before the Runtime Parameter Form are displayed. Can access the PL/SQL global variables, report level columns and manipulate accordingly.
After Parameter Form
Fires after the Runtime Parameter form are displayed. Used to validate the parameter values.
Before Report
Fires before the report is executed but after the queries is parsed and date is fetched.
Between Pages
Fires before each page of the report are formatted, except the very first page. This page is used to customize page formatting.
After Report
Fires after the report previewer are exited, or after report output is sent to a specified destination.
Case Study - Create a Tabular report
After invoking the report builder and connecting to the database invoke Report wizard.
Click on Tools… Report Wizard… to start the report wizard for a new report. Report wizard shows the following tab pages to enter information required for report.
Style Totals Data
Labels Fields Template
In the Style tab select ‘Tabular’ as the report style and Click Next
The Data tab allows creation of an SQL statement using Query Builder or to enter the SQL statement in the multi line edit box provided in the Data tab.
Click Next
This will take you to the next tab if your SQL statement syntax is correct.
Fields tab is used to specify the fields that must be displayed in tabular format. Select all fields by clicking on >> icon.
Click Next
The Totals tab is displayed that allows creation of Summary columns using aggregate functions.
This report does not include totals for the selected fields and thus Click Next.
The Labels tab is displayed that enable us to change the labels of the columns.
Click Next
The Templates tab is displayed that enable us to create report from templates. There are number of pre-determined templates available in Oracle Reports Builder.
Select Corporate 1 as the template. Click Finish
Click on File. Save to save the report, specify the report name and click OK.
Run the report!!
1.What is SRW Package?
Ans: The Report builder Built in package know as SRW Package (Sql Report Writer) This package extends reports, Control report execution, output message at runtime, Initialize layout fields, Perform DDL statements used to create or Drop temporary table, Call User Exit, to format width of the columns, to page break the column, to set the colors
Ex: SRW.DO_SQL, It’s like DDL command, we can create table, views , etc.,
SRW.SET_FIELD_NUM
SRW. SET_FIELD_CHAR
SRW. SET FIELD _DATE
2.What are Lexical Parameters and bind parameters?
Lexical Parameter is a Simple text string that to replace any part of a SELECT statement. Column names, the from clause, where clause or the order by clause. To create a lexical reference in a query we prefix the parameter name with an ampersand (ex. &.dname,)
3. What is User Parameters?
A parameter, which is created by user. For to restrict values with where clause in select statement.
Data type, width, input mask, initial value, validation trigger, list of values
We can use Lovs in use in user parameter with static and Dynamic Select Statement.
4. What is System Parameters: These are built-in parameters by corporation.
BACKGROUND: Is whether the report should run in the foreground or the background.
COPIES Is the number of report copies that should be made when the report is printed.
CURRENCY Is the symbol for the currency indicator (e.g., "$").
DECIMAL Is the symbol for the decimal indicator (e.g., ".").
DESFORMAT Is the definition of the output device's format (e.g., landscape mode for a printer). This
parameter is used when running a report in a character-mode environment, and when
sending a bitmap report to a file (e.g. to create PDF or HTML output).
DESNAME Is the name of the output device (e.g., the file name, printer's name, mail userid).
DESTYPE Is the type of device to which to send the report output (screen, file, mail, printer, or
screen using PostScript format).
MODE Is whether the report should run in character mode or bitmap.
ORIENTATION Is the print direction for the report (landscape, portrait, default).
PRINTJOB Is whether the Print Job dialog box should appear before the report is run.
THOUSANDS Is the symbol for the thousand's indicator (e.g., ",").
5. How many Types of Reports available in Reports
Tabular form-like form – letter Group left
Group above matrix Matrix with group Mailing label
Matrix Report: Simple, Group above, Nested
Simple Matrix Report required 4 groups
1.Cross Product Group
2. Row and Column Group
3. Cell Group
4. Cell column is the source of a cross product summary that becomes the cell content.
Frames: 1.Repeating frame for rows (down direction)
2.Repeating frame for columns (Across)
3.Matrix object the intersection of the two repeating frames
6.What Types of Triggers are Available in Reports.
  • Report level Triggers
  • Data Model Triggers
  • Layout Model Triggers
Report Level Triggers
Before parameter form: If u want take parameters passed to the report and manipulate them so that they appear differently in the parameter form., this is where modification can be done for ex: when u want pass a deptno but show the dname selected , use a before parameter form trigger.
After parameter form & Before Report: These two triggers are fired one after the other. No event occurs in between them. However the way the way that the reports product behaves when the triggers fail is quite different. If the After Parameter trigger fails the report will be put back into the parameter form. It’s useful to place code here to check whether values in your parameter form are valid. Even though the Before Report trigger is executed before the query runs, if this trigger fails it won’t fail until reports tries to display the first page of the report. This means that even if something goes wrong in the before report trigger (meaning that you may not want to run the query at all) It will run anyway
Between pages: This Trigger fires before all pages except first page one. It will not fire after the last page of a report. If a report only has one page it will not fire at all. You can use this trigger to send specific control to the change the paper orientation or to do double sided printing
After report: This trigger fires the report has printed or in the case of a screen report, after the report is closed following viewing. This trigger can be used to update a global variable if u r returning the number of pages in a report. It is also used to delete temporary table used to print the report
Data Model Triggers
Formula Column, Group Filter, Parameter values
Layout Model Triggers
7. What is Format triggers.
Format triggers enable you to modify the display of objects dynamically at run time or to suppress display altogether
For Headings, for repeating frames, for field, for boilerplate object
To format a column based on certain criteria for example
i) To format the max(Sal) for particular department.
ii) To format the Sal column with a Dollar($) prefix.
iii) To format Date formats….etc
8. What is Data Model?
Data Model is logically group of the Report Objects through query and Data model tools . Once query is compiled report automatically generates group. The queries build the groups ant then Groups are used to populate the report. The only function of queries in report is to create the groups.The Report Editor's Data Model view enables you to define and modify the data model objects for a report. In this view, objects and their property settings are represented symbolically to highlight their types and relationships. To create the query objects for your data model, you can use the Report Wizard, Data Wizard, or the Query tools in the tool palette.
9. What is Layout model?
Layout Model is to Physically arrange Data model group objects on the Report. The Report Editor's Layout Model view enables you to define and modify the layout model objects for a report. In this view, objects and their property settings are represented symbolically to highlight their types and relationships.
10 What is Livepreviewer?
Ans: The Live Previewer is a work area in which you can preview your report and manipulate the actual, or live data at the same time. In the Live Previewer you can customize reports interactively, meaning that you can see the results immediately as you make each change.
To activate buttons in the Live Previewer, you must display the report output in the Runtime Previewer. In order to edit your report, such as changing column size ,move columns, align columns insert page numbers, edit text, change colors, change fonts set format masks, insert field the Live Previewer must be in Flex Mode.
Access
Title
Viewing region
Rulers
Grid
Toolbar
Style bar
Tool palette
Status bar
11. What is Parameter Form
Ans: Parameters are variables for report that users can change at runtime immediately prior to the execution of the report. You can use system parameters to specify aspects of report execution, such as the output format, printer name , mailed or number of copies. We can also create own parameters through sql or Pl/sql at runtime.
The Parameter Form view is the work area in which you define the format of the report's Runtime Parameter Form. To do this, you define and modify parameter form objects (fields and boilerplate).
When you run a report, Report Builder uses the Parameter Form view as a template for the Runtime Parameter Form. Fields and boilerplate appear in the Runtime Parameter Form exactly as they appear in the Parameter Form view. If you do not define a Runtime Parameter Form in the Parameter Form view, Report Builder displays a default Parameter Form for you at runtime.
12. What is Query?
The first thing in data model is the query. Through query we access database objects with sql query. Compiled query creates groups. We can create query through query builder, sql query and import query from o/s file or database.
13. What is Group?
Ans: Groups are created to organize the columns in your report. When you create a query, Report Builder automatically creates a group that contains the columns selected by the query. You create additional groups to produce break levels in the report, either manually or by using the Report Wizard to create a group above or group left report.
14 What is Repeating Frame?
Ans: Repeating frames surround all of the fields that are created for a group’s columns.
Repeating frames correspond to groups in the data model. Each repeating frame must to be associated with a group of data model The repeating frame prints (is fired) once for each record of the group.
15. What is Reference Cursor?
A ref cursor query uses PL/SQL to fetch data. Each ref cursor query is associated with a PL/SQL function that returns a strongly typed ref cursor.The function must ensure that the ref cursor is opened and associated with a SELECT statement that has a SELECT list that matches the type of the ref cursor.
You base a query on a ref cursor when you want to:
n more easily administer SQL
n avoid the use of lexical parameters in your reports
n share datasources with other applications, such as Form Builder
n increase control and security
n encapsulate logic within a subprogram
Furthermore, if you use a stored program unit to implement ref cursors, you receive the added benefits that go along with storing your program units in the Oracle database.
16. What is Template?
Ans: Templates define common characteristics and objects that you want to apply to multiple reports. For example, you can define a template that includes the company logo and sets fonts and colors for selected areas of a report. And properties of the objects also
Creation of Template: In Report editor , open a existing Template or Create a new Template and save it concerned directory. Then Edit CAGPREFS.ORA File , and Specify which type of Template are u going to develop.
Ex. Tabular, form, matrix Then give your developed template *.tdf file name.
Develop Report with Newly developed Template.
17 what is Flex mode and Confine mode?

Confine mode

On: child objects cannot be moved outside their enclosing parent objects.
Off: child objects can be moved outside their enclosing parent objects.
Flex mode:
On: parent borders "stretch" when child objects are moved against them.
Off: parent borders remain fixed when child objects are moved against them.
18. What is Page Break?
Ans: To limit the records per page.
19 What is Page Protector?
Ans: The Page Protect property indicates whether to try to keep the entire object and its contents on the same logical page. Setting Page Protect to Yes means that if the contents of the object cannot fit on the current logical page, the object and all of its contents will be moved to the next logical page. Ex: if you set yes, the object information print another page.
Print Condition
The print condition type First, All, All but first, Last, All but last refer to the frequency with which you want to appear based upon the setting of the print condition object. A print condition object of Enclosing Object is whichever object encloses the current object (could be the parent or a frame within the parent), while Anchoring Object is the parent object (unless you have explicitly anchored the object in which case it is the object to which it is anchored). The key here is that this is about the pages on which the Print Condition Object appears, not the current object. Oracle views First as the first page on which any part of the Print Condition Object is printed, likewise Last is the last page on which any part of the Print Condition Object is printed. For objects inside a repeating frame, this condition is re-evaluated for each instance of the frame.
20 What is Print Direction?
Ans: The Print Direction property is the direction in which successive instances of the repeating frame appear.
21 What is Vertical and Horizental Elacity
Ans: The Horizontal Elasticity property is how the horizontal size of the object will change at runtime to accommodate the objects or data within it:
22.What is Place holder Columns?
Ans: A placeholder is a column is an empty container at design time. The placeholder can hold a value at run time has been calculated and placed in to It by pl/sql code from anther object. You can set the value of a placeholder column is in a Before Report trigger , A report level formula column(if the place holder column is at report level) A formula column in the place holder group or a group below it
Uses of place holder columns enables u to populate multiple columns from one piece of code. U can calculate several values in one block of pl/sql code in a formula column and assign each value into a different placeholder column. U therefore create and maintain only program unit instead of many.
Store a Temporary value for future reference. EX. Store the current max salary as records are retrieved.
23 What is Formula Column?
Ans: A formula column performs a user-defined computation on another column(s) data, including placeholder columns.
24 What is Summary columns?
Ans: A summary column performs a computation on another column's data. Using the Report Wizard or Data Wizard, you can create the following summaries: sum, average, count, minimum, maximum, % total. You can also create a summary column manually in the Data Model view, and use the Property Palette to create the following additional summaries: first, last, standard deviation, variance.
25 What is Boilerplate?
Ans: Boilerplate is any text or graphics that appear in a report every time it is run. Report Builder will create one boilerplate object for each label selected in the Report Wizard (it is named B_
Column name). Also, one boilerplate object is sometimes created for each report summary. A boilerplate object is owned by the object surrounding it, unless otherwise noted.

26 What is Data Link

When we join multiple quires in a report the join condition is stored in the data link section
Data links relate the results of multiple queries. A data link (or parent-child relationship) causes the child query to be executed once for each instance of its parent group. When you create a data link in the Data Model view of your report, Report Builder constructs a clause (as specified in the link's Property Palette) that will be added to the child query's SELECT statement at runtime. You can view the SELECT statements for the individual parent and child queries in the Builder, but can not view the SELECT statement that includes the clause created by the data link you define.

27 What is filter and Group Filter

28.What is Query Builder
Ans: it’s a gui tool to build a query in Report Wizard, Data Wizard or Data model.
29 What is Break Column?
Ans: We can break a column through data model , it Display once for a group
30.How do u call Report From form?
Ans: RUN_PRODUCT and RUN_REPORT_OBJECT
40. HOW CAN U CREATE TWO FORMATS
USING DISTRIBUTION WE CAN CREATE DIFFERENT FORMATS
45 HOW TO DISPLY ONE RECORD PER PAGE ( WHICH PROPERTY WE SHOULD SET)
Set Repeating Frame Properties : Maximum records per page=1 And it will override group filter property.
In Data model Layout , Group Property Through Filter Type & No of records to display
Property, Values are First, last, pl/sql
47. What is Header ,Body, Trailer, and Footer in Reports
Header: The header consist of on e or more pages that are printed before report proper. The type of
Information you might want to print title of the page ,company logo and address or chart the
Summarizes the report.
Trailer: The trailer consists of one or more pages that print after the report itself, usually used for nothing more than an end of report blank page, but also used for a report summary or chart.
Body: The body is where all the main report objects are placed
Margin: the report layout only governs the part of the pages designated for the main data portion of the report. The margins are can be used to specify page headers and page footers.
49. what are Executable file definitions in Reports
Report Builder (RWBLD60.EXE)
n Reports Runtime (RWRUN60.EXE)
n Reports Convert (RWCON60.EXE)
n Reports Background Engine (RWRBE60.EXE)
n Reports Server (RWMTS60.EXE)
n Reports Web Cartridge (RWOWS60.DLL)
n Reports CGI (RWCGI60.EXE)
n Reports Queue Manager (RWRQM60.EXE)
n Reports Launcher (RWSXC60.EXE)
n Reports ActiveX Control (RWSXA60.OCX)
What are the Non_query fields?
Aggregated Information, Calculated information, A string Function
Can I highlight and change all the format masks and print conditions of a bunch of fields all at once?
You can. If you highlight a bunch of objects and then right click and select "properties..", Oracle gives you a stacked set of the individual properties forms for each of the selected objects. While this may be useful for some things, it requires changing values individually for each object. However, instead you can select the group of fields and then select "Common properties" from the "Tools" menu which will allow you to set the format mask , print conditions etc. for the whole set of objects at once.
How do I change the printed value of a field at runtime?
Triggers are intended to simply provide a true or false return value to determine whether an object should be printed. It is generally not allowed to change any values held in the cursor, make changes to the database, or change the value of it's objects value.
That being said, there is a highly unpublicized method of doing just that using the SRW.Set_Field_Char procedure.
The syntax is SRW.Set_Field_char (0,) and the output of the object that the current trigger is attached to will be replaced by .
There are also SRW.set_fileld_num and SRW.set_field_date for numeric or date fields.
While these options do work, they should only be used if a suitable NVL or DECODE statement in the original query is not possible as they are much, much slower to run. Also, note that this change of value only applies to the formatted output. It does not change the value held in the cursor and so can not be used for evaluating summary totals
Report Bursting
The capability of producing multiple copies of a given report or portion of it in different output formats is referred to as report bursting.
Additional Layout:
Additional layout created for to different format using same query and groups without modifying default layout created by report wizard., we can use both layouts according to user requirement.
System Variables as Source Field In Layout Editor
Ans: Current date, Page Number, Panel number, Physical Page Number, Total Pages,
Total Panels, Total Physical Pages.
Link File : Is a special type of boilerplate, that doesn’t have to remain constant for each report run
The type of file contents, can be Text, Image, CGM, Oracle drawing format, or image URL
Source filename :the name of the file the u want link to the report Through import Image from

APPS FAQs

1.WHAT IS THE DIFFERENCE BETWEEM APPS SCHEMA AND OTHER SCHEMAS?

ANS: APPS SCHEMA DOESN'T CONTAIN DATABASE OBJECTS, IT CONTAINS ONLY SYNONYMS AND THESE SCHEMA WILL HAVE THE RIGHTS TO ACCESS OTHER SCHEMA DATABASE OBJECTS.


2.WHAT IS MEANT BY CUSTOM TOP? WHATS THE PUPOSE?

ANS: CUSTOM TOP WILL BE CREATED OR DEVELOPED BY CLIENT FOR CUSTOMER DEVELOPMENT AND CUSTOMIZATION.
IF WE DONT HAVE CUSTOM TOP, WE CAN ALSO USE THE PRODUCT TOP FOR DEVELOPMENT AND CUSTOMIZATION.
EVERY CLIENT WILL HAVE ATLEAST ONE CUSTOM TOP OR MULTIPLE CUSTOM TOPS...

3.WHAT THE SIGNIFICANCE OF US FOLDER?

ANS: THIS IS LANGUAGE SPECIFIC FOLDER. WHEN WE ARE USING MULTIPLE LANGUAGES FOR THE CLIENT, WE WILL USE THIS US FOLDER.BY DEFAULT AMERICAN LANGUAGE. US FOLDER IS AVAILABLE ONLY FOR FORMS AND REPORTS, BECAUSE BOTH ARE GUI(GRAPHICAL USER INTERFACE)'S.

4.WHAT ARE THE FOLDERS WE WILL FIND BELOW 11.5.0 FOLDER?

ANS: AVAILABLE FOLDERS
ADMIN,BIN,FORMS,REPORTS,LOG,OUT,SQL........




5.WHAT IS MEANT BY CONCURRENT PROGRAM?

ANS: THIS IS INSTANCE OF EXECUTION FILE ALONG WITH PARAMETERS AND INCOMPATABLE PROGRAMS..
WE CAN REGISTER 11 TYPES OF EXECUTABLE AS CONCURRENT PROGRAMS..
LIKE FORMS,REPORTS,PL/SQL STORED PROCEDURE,SQL *LODER,SQL *PLUS....


6.WHAT ARE THE STEPS WILL FOLLOW TO REGISTER REPORTS AS CONCURRENT PROGRAM?

ANS: 1)DEVELOP THE REPORT(.RDF) AS PER CLIENT REQUIREMENT BY USING REPORTS 6I BUILDER.
2)MOVE THE REPORT FROM LOCAL MACHINE INTO SERVER.
3)SELECT SYSTEM ADMINSTRATOR AND CREATE EXECUTABLE
4)CREATE CONCURRENT PROGRAM AND ATTACH
A)EXECUTABLE
B)PARAMETERS
C)INCOMPATIBILITIES
5)CREATE REQUEST GROUP AND ATTACH CONCURRENT PROGRAM
6)CREATE RESPONSIBILITY AND ATTACH REQUEST GROUP.
7)CREATE USER, ATTACH RESPONSIBILITY TO USER.
8)USER SELECT THE RESPONSIBILITY AND GOTO SRS WINDOW,SUBMIT THE REQUEST

7.WHAT IS MEANT BY REQUEST GROUP?

ANS: GROUPS OF CONCURRENT PROGRAMS..

8.WHAT IS USER EXIT?

ANS: THIS ONE OF BUILT-IN PROGRAM IN REPORT 6I, IT WILL BE USED TO TRANFER THE REPORT BUILDER CONTROL TO SOME OTHER 3RD GENERATION LANGUAGE GET SOME INFORMATION COMPLETE THE REMAING EXECUTION PROCESS.

9.TYPES OF USER EXITS?

ANS: TYPES OF USER EXISTS ARE
FND SRWINIT
FND SRWEXIT
FND FLEXSQL
FND FLEXIDVAL
FND FORMATCURRENCY

10.WHAT ARE MANDITORY STEPS WE HAVE TO FOLLOW WHILE REGISTERING THE REPORT?

ANS: 1)DEVELOP THE REPORT(.RDF) AS PER CLIENT REQUIREMENT BY USING REPORTS 6I BUILDER.
2)MOVE THE REPORT FROM LOCAL MACHINE INTO SERVER.
3)SELECT SYSTEM ADMINSTRATOR AND CREATE EXECUTABLE
4)CREATE CONCURRENT PROGRAM AND ATTACH
A)EXECUTABLE

5)CREATE REQUEST GROUP AND ATTACH CONCURRENT PROGRAM
6)USER SELECT THE RESPONSIBILITY AND GOTO SRS WINDOW,SUBMIT THE REQUEST

11.HOW TO PRINT REQUEST_ID IN THE OUTPUT?

ANS: P_CONC_REQUEST_ID CAPTURES CONCURRENT PROGRAM REQUEST ID WHEN EVER WE SUBMIT AT SRS WINDOW.

12.WHAT IS MEANT BY RESPONSIBILITY?

ANS: THIS IS GROUP OF FORMS,CONCURRENT PROGRAMS,USERS. THIS IS USED FOR POSITION REQUIREMENTS.


13.WHAT ARE THE THINGS ARE MANDITORY AT THE TIME CREATING RESPONSIBILITY?

ANS: MANDITORY FIELDS ARE RESPONSIBILITY NAME,APPLICATION,RESPONSIBILITY KEY, DATA GROUP,REQUEST GROUP,MENU

14.WHAT IS MEANT BY DATA GROUP?

ANS: GROUPS OF USERS.

15.CAN WE DELETE THE RESPONSIBILITY?

ANS: NO WE CANN'T DELETE..WE CAN DISABLE AND ENABLE THE RESPONSIBILITY USING EFFECTIVE DATES(FROM AND TO)


16.WHAT IS ERRBUF AND RETCODE?

ANS: ERRBUF:THIS IS ONE OF THE OUT PARAMETER WILL BE USED TO GET ERROR MESSEGES INTO LOG FILE
RETCODE: THIS PARAMETER RETURNS STATUS OF CONCURRENT PROGRAM
'0' FOR NORMAL
'1' FOR WARNING AND '2' FOR ERROR.

17.HOW TO WRITE THE MESSEGE INTO THE OUT PUT FILE FROM PL/SQL PROCEDURE?

ANS:FND_FILE.PUT_LINE()

18.WHAT IS CONTROL FILE? SYNTAX?

ANS: IT IS SQL LOADER PROGRAM,WE WILL DEVELOP AND EXECUTE AT THE TIME OF DEVELOPMENT, WE WILL SPECIFY DATA FILE PATH, DATABASE ABLE NAME AND COLUMN MAPPING, WHEN WE EXECUTE THE CONTROL FILE FOLLOWING 3 FILES WILL BE CREATED AUTOMATICALLY.
3 FILES ARE 1. BAD FILE
DISCARD FILE
LOG FILE
EXTENSION OF CONTROL FILE IS .CTL.
SYNTAX: LOAD DATA
INFILE 'DATA FILE PATH'
INSERT INTO TABLE
FIELDS TERMINATED BY ',' (COLUMN1,COLUMN2....)

19.WHAT IS THE DIFFERENCE BETWEEN BAD FILE AND DISCARD FILE?

ANS: BAD FILE IT CONTAINS RECORDS WHICH ARE REJECTED BY THE SQL LOADER, SQL LOADER WILL REJECT RECORDS IF THERE IS ANY DATA TYPE ISMATCH OR ANY BAD FORMAT. EXTENSION OF BAD FILE IS .BAD

DISCARD FILE CONTAINS THE RECORDS WHICH ARE REJECTED BY CONTROL FILES, CONTROL FILE WILL REJECT THE RECORD IF IT CONTAINS ANY CONDITIONS. EXTENSION OF DISCARD FILE IS .DIS .

20.HOW TO ISSUE COMMIT IN CONTROL FILE?

ANS: WE CANN'T ISSUE THE COMMIT INSIDE OF THE CONTROL FILE, INSTEAD OF THAT WE WILL USE AUTO COMMIT BY USING 'ROWS COMMAND'.
IF WE SPECIFY ROWS=10 FOR EVERY 10 RECORDS COMMIT WILL BE EXECUTED.

21.HOW TO INSERT DATA INTO MULTIPLE TABLES AT A TIME?

ANS: WE ARE CREATING THE TWO OR MORE TABLES.
BASED ON THE POSITIONS WE HAVE TO WRITE THE PROGRAM.

22.HOW TO PASS THE PARAMETERS TO THE CONTROL FILE?

ANS: BY USING THE '&' EX: &1,&2.....UPTO 100. WE CANN'T SKIP THE SEQUENCE, WE CANN'T USE ANOTHER USER DEFINED PARAMETERS. SOME PARAMER VALUES WE CAN USE IN THE MULTIPLE LOCATIONS


23.)WHAT IS THE VALUE SET? TYPES OF VALUE SETS?

ANS: LIST OF VALUES WITH VALIDATION WILL BE USED TO RESTRICT THE USER WITHOUT ENTERING INVALID VALUES.
THERE ARE 8 SET OF VALUES

NONE
INDEPENDENT
DEPENDENT
TABLE
TRANSLATED INDEPENDENT
TRANSLATED DEPENDENT
SPECIAL
PAIR

24.WHAT IS TOKEN?

ANS: CONCURRENT PROGRAM PARAMETERS MAPPING WITH REPORT BUILDER BIND VARIABLES


25.IS TOKEN IS REQUIRED FOR PROCEDURE PARAMETERS?

ANS: NOT REQUIRED. IT IS ONLY USED IN REPORT BUILDER BIND VARIABLES MAPPING. REPORT BUILDER BIND VARIABLE MAY OR MAYNOT BE IN SEQUENCE. WHERE AS IN PROCEDURE PARAMETERS WILL BE IN THE SEQUENCE ORDER, FIRST PARAMETER VALUE WILL BE PASSED TO THE FIRST VARIABLE...

28)CAN WE DEFINE PARAMETERS FOR LEXICAL PARAMETERS?

ANS:

29)WHAT ARE THE DEFAULT TYPES WE HAVE?

ANS: DEFAULT TYPES: CONSTANT,SQL STATEMENT,SEGMENT,CURRENT DATE, CURRENT TIME.

30)HOW TO MAKE THE PARAMETERS AS MANDITORY OR OPTIONAL?

ANS: WHEN WE ARE DEFINING THE PARAMETERS AT THE TIME WE HAVE TO CHECK THE CHECK BOX CALLED 'REQUIRED' FOR MANDITORY, OTHERWISE OPTIONAL.

31)HOW TO DISPLAY THE ONE COLUMN DATA TO THE USER AND PASSWORD OTHER COLUMN DATA INTERNALLY?

ANS:

32)HOW TO REGISTER PROGRAM FROM BACKEND?

ANS: FOR EXECUTABLE

BEGIN
FND_PROGRAM.EXECUTABLE('EXECUTABLE NAME','APPLICATION NAME','SHORT NAME','DESCRIPTION','EXECUTION METHOD','EXECUTION FILE NAME','','','US','');
COMMIT;
END;

33)HOW TO SUBMIT CONCURRENT PROGRAM FORM BACKEND?

ANS: DECLARE
L_REQUEST_ID NUMBER(8);
BEGIN
FND_GLOBAL.APPS_INITIALIZE(USER_ID,RESP_ID,RESP_APPL_ID);
L_REQUEST_ID:=FND_REQUEST.SUBMIT_REQUEST('APPLICATION NAME',
'CONCURRENT PROGRAM NAME'
'DESCRIPTION'
'STARTING TIME DEFAULT NULL',
'SUB REQUEST DEFAULT FALSE'
PARAMETER1,PARAMETER2......);
COMMIT;
IF L_REQUEST_ID!=0 THEN
FND_FILE.PUT_LINE(FND_FILE.OUTPUT,'PROGRAM SUCCESSFULLY COMPLETED');
ELSE
FND_FILE.PUT_LINE(FND_FILE.LOG,'PROGRAM NOT SUCCESSFULLY COMPLETED');
END IF;
EXCEPTION
WHEN OTHERS THEN
FND_FILE.PUT_LINE(FND_FILE.LOG,'ERROR OCCURED AT THE TIME OF SUBMISSION');
END;

34)DO U NEED TO ISSUE THE COMMIT STATEMENT AFTER CALLING CONCURRENT PROGRAM?

ANS:

35)WHAT ARE THE TYPES OF PO'S WE HAVE?

ANS: 1.BLANKET PUCHASE AGREEMENT
2.CONTRACT PURCHASE AGREEMENT
3.PLANNED PURCHASE ORDER
4.STANDARD PURCHASE ORDER

36)WHAT ARE THE MATCH APPROVALS WE HAVE?

ANS: AT THE TIME OF CREATING PURCHASE ORDER WE WILL SPECIFY THE MATCH APPROVAL AT SHIPPMENT LEVEL IN THE MORE TAB.
THE MATCH APPORVALS ARE:
2-WAY---PO, INVOICE
3-WAY---PO, RECEIPT,INVOICE
4-WAY---PO, RECEIPT,INSPECTION,INVOICE


37)WHERE THE ITEM NAME WILL BE STORED?

ANS: CREATED ITEM CAN BE AVAILABLE IN THE TABLE 'MTL_SYSTEM_ITEMS_B'.. ITEM NAME WILL BE STORED IN 'SEGMENT1' COLUMN.

38)WHAT ARE THE LEVELS WE HAVE IN PURCHASE ORDERS FORM?

ANS: THERE ARE 4 LEVELS

HEADERS
LINES
SHIPPMENTS
DISTRIBUTIONS

39)WHAT ARE THE PO MAIN TABLES? LIKE REQUISITION,RFQ,PO,RECEIPT,SUPPLIER TABLES?

ANS: PO MAIN TABLES ARE

PO_HEADERS_ALL
PO_VENDORS
PO_VENDOR_SITES_ALL
PO_VENDOR_CONTACTS

REQUISITION,RFQ,PO THESE ROWS WILL APPEARED IN 'SELECT TYPE_LOOKUP_CODE FROM PO_HEADERS_ALL'
SUPPLIERS WILL BE AVAILABLE IN 'SELECT VENDOR_NAME FROM PO_VENDORS'
RECEIPT WILL BE AVILABLE IN 'SELECT RECEIPT_NUM FROM RCV_SHIPMENT_HEADERS'

40)WHAT IS AUTO CREATE?

ANS: THIS IS ONE OF THE PURCHASING APPLICATION FEATURE WILL BE USED TO CREATE RFQ DOCUMENTS AUTOMATICALLY BASED ON REQUISATION NUMBER.

41)WHAT ARE THINGS WE HAVE TO SPECIFY IN TERMS AND CONDITIONS?

ANS: TERMS & CONDITIONS ARE
PAYMENT,FREIGHT,CARRIER,FOB(FOOT ON BOARD),PAY ON

42)WHAT IS THE DIFFERENCE BETWEEN STANDARD AND BLANKET PO?

ANS: STANDARD PURCHASE ORDER TYPE WILL BE CREATED FOR THE MOST OF THE ITEMS.
IT INCLUDES TERMS&CONDITIONS, ITEMS,PRICE AND QUANTITY...

BLANKET AGREEMENT CONTAINS TERMS& CONDITIONS AND GOODS PRICE MAY OR MAYNOT BE AVAILABLE AT THE TIME OF RELEASING THE AGREEMENT WE WILL SPECIFY THE QUANTITY & PRICE OTHER DETAILS.

43)WHERE THE BLANKET PO DATA WILL BE STORED?

ANS: EG: SELECT *FROM PO_HEADERS_ALL WHERE SEGMENT1=501

SELECT *FROM PO_HEADERS_ALL WHERE PO_HEADER_ID=61

44)WHY WHILE CREATION OF EXECUTABLE,WE ARE GIVEN THE APPLICATION NAME AND ALSO AT THE TIME OF CREATING THE CONCURRENT PROGRAM, WE ARE GIVING APPLICATION NAME, WHAT IS THE DIFFERENCE BETWEEN THESE TWO?

ANS: AT THE TIME OF CREATING CONCURRENT PROGRAM, WE HAVE COPY THE EXECUTABLE FILE INTO THE APPLICATION TOP LIKE PO,INV. THATS WHY WE HAVE TO GIVE APPLICATION NAME IN EXECUTABLE,CONCURRENT PROGRAM CREATION.


45)HOW TO FIND THE RECEIPT NUMBER, WE GIVE PO NUMBER?

ANS: SELECT RECEIPT_NUM
FROM RCV_SHIPMENT_HEADERS
WHERE SHIPMENT_HEADER_ID
IN
(SELECT SHIPMENT_HEADER_ID
FROM RCV_SHIPMENT_LINES
WHERE PO_HEADER_ID
IN
(SELECT PO_HEADER_ID
FROM PO_HEADERS_ALL
WHERE SEGMENT1='3482'))

46)WHAT ARE THE RECEIPT TABLES AND AS WELL AS RECEIPT TYPES?

ANS: RECEIPT TABLES ARE

RCV_SHIPMENT_HEADERS
RCV_SHIPMENT_LINES
RCV_TRANSACTIONS




47)IN THE SAME TABLE RFQ,QUOTATIONS,PO DATA WILL BE STORED.THEN HOW TO IDENTIFY THE INFORMATION WETHER IT IS RFQ DATA OR QUOTAION DATA OR PO DATA?

ANS: WE HAVE TO FIND THE ABOVE DATA THROUGH 'TYPE_LOOKUP_CODE' COLUMN IN PO_HEADERS_ALL TABLE.


48)IS ITEM FIELD IS MANDITORY IN PO FORM?

ANS: MANDITARY...WITH OUT ITEM NAME WE WILL NOT SPECIFY THE CATEGORY...

49.WHERE SHIPTO BILL TO DATA WILL BE STORED?

ANS: HR_LOCATIONS

=======================================================

Topic: Purchasing

1.What are different documents that can be created by using ‘Auto create’ based on Requisition?
The 4 types of documents are created by using auto create based on requisition.
The following documents are
  1. Standard Purchase order
  2. Blanket release
  3. Planned Purchase order
  4. RFQ
2.What are different types of Requisitions? Explain each in brief.
Internal Requisitions
Unlike purchase requisitions, which are supplied from purchase orders, internal requisitions are supplied from internal sales orders. Internal requisitions are not picked up when you Auto Create RFQs or purchase orders, nor can they be assigned to a buyer in the Assign Requisitions window
Purchase Requisitions
Use the Requisitions window to create requisitions. You must choose the requisition type (internal or purchase). You can also provide a description, unlimited notes, and defaults for requisition lines. For each requisition line, you choose the item you want to order along with the quantity and delivery location. You can get sourced pricing from catalog quotations or open blanket purchase agreements. You can also choose a price from a list of historical purchase order prices. In the Distributions window, you can charge the item to the appropriate accounts, or you can let the Account Generator create the accounts for you. Once you complete the requisition, you send it through the approval process.
3.What are different types of RFQ’s? Explain each in Brief.
There are three types of RFQs that come with Purchasing by default:
• Catalog: Used for high–volume items or items for which your supplier sends you information regularly. A Catalog or RFQ also includes price breaks at different quantity levels.
• Standard: Used for items you’ll need only once or not very often, but not necessarily for a specific, fixed quantity, location, and date. For example, you could use a Catalog RFQ for office supplies, but use a Standard RFQ for a special type of pen you don’t order very often. A Standard RFQ also includes price breaks at different quantity levels.
• Bid: Used for a specific, fixed quantity, location, and date. For example, a Bid would be used for a large or expensive piece of equipment that you’ve never ordered before, or for an item that incurs transportation or other special costs. You cannot specify price breaks for a Bid RFQ.
4.What are different types of purchase orders? Explain each in brief.

Purchase Order Types

Purchasing provides the following purchase order types: Standard Purchase Order, Planned Purchase Order, Blanket Purchase Agreement, and Contract Purchase agreement. you can use the Document Name field in the Document Types window to change the names of these documents. For example, if you enter Regular Purchase Order in the Document Name field for the Standard Purchase Order type, your choices in the Type field in the Purchase Orders window will be Regular Purchase Order, Planned Purchase Order, Blanket Purchase Agreement, and Contract Purchase Agreement.
Standard Purchase Orders
You generally create standard purchase orders for one–time purchase of various items. You create standard purchase orders when you know the details of the goods or services you require, estimated costs, quantities, delivery schedules, and accounting distributions. If you use encumbrance accounting, the purchase order may be encumbered since the required information is known.
Blanket Purchase Agreements
You create blanket purchase agreements when you know the detail of the goods or services you plan to buy from a specific supplier in a period, but you do not yet know the detail of your delivery schedules. You can use blanket purchase agreements to specify negotiated prices for your items before actually purchasing them.
Blanket Releases
You can issue a blanket release against a blanket purchase agreement to place the actual order (as long as the release is within the blanket agreement affectivity dates). If you use encumbrance accounting, you can encumber each release.
Contract Purchase Agreements
You create contract purchase agreements with your suppliers to agree on specific terms and conditions without indicating the goods and services that you will be purchasing. You can later issue standard purchase orders referencing your contracts, and you can encumber these purchase orders if you use encumbrance accounting. 4 – 5 Purchase Orders
Planned Purchase Orders
A planned purchase order is a long–term agreement committing to buy items or services from a single source. You must specify tentative delivery schedules and all details for goods or services that you want to buy, including charge account, quantities, and estimated cost.
Scheduled Releases
You can issue scheduled releases against a planned purchase order to place the actual orders. If you use encumbrance accounting, you can use the planned purchase order to reserve funds for long term agreements. You can also change the accounting distributions on each release and the system will reverse the encumbrance for the planned purchase order and create a new encumbrance for the release.
5.What are five different Tax defaults in Purchasing options?
  1. Financial options
  2. Ship-to location
  3. Item
  4. Supplier site
  5. Supplier
6.What is the difference between Contract purchase Agreement and Planned purchase Agreement?
Contract Purchase Agreement:
You create contract purchase agreements with your suppliers to agree on specific terms and conditions without indicating the goods and services that you will be purchasing. You can later issue standard purchase orders referencing your contracts, and you can encumber these purchase orders if you use encumbrance accounting.
Planned Purchase Agreement:
A planned purchase order is a long–term agreement committing to buy items or services from a single source. You must specify tentative delivery schedules and all details for goods or services that you want to buy, including charge account, quantities, and estimated cost. You can later issue schedule release.
7.What do you mean by requisition Template? How to copy a requisition template to requisition?
A feature that lets you define a list of commonly purchased items from which a requestor can create a requisition. You can define the list of items by referencing an existing purchase order. Requestors use the requisition template to create simple, pre–sourced requisitions.
The requisition template are selected in requisition form click (B) catalog. In this form we are given requisition template number.
8.What is the difference between standard Purchase order and Blanket release?
Standard Purchase order:
You generally create standard purchase orders for one–time purchase of various items. You create standard purchase orders when you know the details of the goods or services you require, estimated costs, quantities, delivery schedules, and accounting distributions. If you use encumbrance accounting, the purchase order ay be encumbered since the required information is known.
Blanket release:
You can issue a blanket release against a blanket purchase agreement to place the actual order (as long as the release is within the blanket agreement affectivity dates). If you use encumbrance accounting, you
can encumber each release.
9.Explain the different match approval levels?
Two–Way: Purchase order and invoice quantities must match within tolerance before the corresponding invoice can be paid.
Three–Way: Purchase order, receipt, and invoice quantities must match within tolerance before the corresponding invoice can be paid.
Four–Way: Purchase order, receipt, inspection, and invoice quantities must match within tolerance before the corresponding invoice can be paid.
10.What do you mean by Receiving Controls?
11.What are different statuses of RFQ?
  1. Active
  2. Closed
  3. In process
12.What type of RFQ’ s can be auto-created based on Requisition?
  1. Standard
  2. Catalog
  3. Bid
13.What are different invoice match Options?
  1. Purchase order
  2. Receipt
14.List the different types of Quotations that can be auto-copied from RFQ?
This is depends on base document. If we are select the standard RFQ then it will create Standard (or) Catalog Quotations. Otherwise we are selected Bid RFQ it will create only Bid Quotation.
15.At what level below things are specific in Multi-Org structure:
  1. Category codes : Global
  2. Category sets : Inventory Org
  3. Approval Assignment : Inventory Org
  4. Location : Global
  5. Approved Supplier : Inventory Org
  6. Approval Group : Inventory Org
  7. Supplier Site : Operating Unit
  8. Bank : Global
  9. Master Item : Inventory Org
  10. Supplier List : Operating Unit
1.What are different types of invoices?

  1. Credit Memo. An negative amount invoice you receive from a supplier representing a credit for goods or services purchased.
  2. Debit Memo. A negative amount invoice you send to notify a supplier of a credit you recorded for goods or services purchased.
  3. Interest. An invoice that Payables automatically creates invoices to pay interest for overdue invoices if you enable automatic interest calculation for a supplier, and if you pay an overdue invoice for the supplier in a payment batch or with a Quick payment.
  4. Expense Report. An invoice you enter to record business–related employee expenses.
  5. Mixed. A Standard or Credit/Debit Memo invoice for which you can enter both positive and negative amounts and perform both positive and negative matching.
  6. PO Default. A trade invoice you want to automatically match to a specified purchase order and then manually match to the individual shipments on the purchase order. After you use this invoice type to complete the match, the invoice will become a Standard type invoice.
  7. Prepayment. An advance payment you make to a supplier or employee. If you enter Temporary for the Prepayment Type field, then you can later apply prepayment to an invoice.
  8. QuickMatch. A trade invoice you want to automatically match to all the shipments of a specified purchase order.
  9. Standard. A trade invoice you receive from a supplier.
  10. Withholding Tax. An invoice you have generated to pay a tax authority.
2.What is Pre-payment invoice? What are the different types of Pre-payment invoice? What is the accounting entry for Pre-payment at different stages?
Prepayment. An advance payment you make to a supplier or employee. If you enter Temporary for the Prepayment Type field, then you can later apply prepayment to an invoice.
Two types of prepayments are there, namely, Temporary and Permanent. In case of earlier one, it is treated as advance to the supplier and will be adjusted against any invoice on or after the settlement date but in case of later one, it is treated as deposit with the supplier.
4.Explain the concept of ‘Pay Group”. Brief the steps to define and assign ‘Pay Group’.
Pay Group you want to assign to any suppliers that you create from employees during Invoice Import. You can define additional values for Pay Group in the Purchasing Lookups window.
Purchasing Lookups
Note that in the Oracle Public Sector Purchasing Lookups window you can add values for the following lookups that Payables uses:
  1. FOB
  2. Freight Terms.
  3. Minority Group
  4. Pay Group. Groups invoices in payment batches.
  5. Supplier Type.
Define pay group ay lookups-purchasing. It can be assigned at payable option - supplier tab page, supplier screen - payment tab page and supplier site - payment tab page.
5.What is the difference between PO default and Quick Match Invoices?
If you know the number and amount of the purchase order to which you want to match, Payables provides you with two invoice types, PO Default and QuickMatch, to help speed up invoice matching.
Enter PO Default as the invoice type if you know the purchase order you want to match to, but you do not know to which purchase order shipments or distributions you want to match. When you enter a PO Default invoice in the Invoice Workbench, Payables prompts you to enter the purchase order number and automatically copies the supplier name, supplier number, supplier site, and currency from that Purchase order to the invoice. When you choose the Match button, Payables will retrieve all purchase order shipments or receipt lines associated with the specified purchase order. You can then match to any shipment, distribution, or receipt line.
Enter Quick Match as the invoice type if you want to match an invoice to all shipments or receipt lines on a purchase order. When you enter a Quick Match invoice in the Invoice Workbench, Payables prompts you to enter the purchase order number and automatically enters the supplier name, supplier number, supplier site, and the purchase order currency for the invoice currency. When you choose the Match button, Payables automatically navigates to the match window, and selects all shipments that have an unbilled quantity. You can choose to complete the match or override the matching information.
6.What do you mean by Mixed Invoice?
Mixed Invoices are invoices or credit/debit memos for which you can perform both positive and negative matching to purchase orders and to other invoices.
For example, you can enter an invoice for –$100 with Invoice Type Mixed. You can match to an invoice for $–200, and match to a purchase order for $100.
To enter a Mixed invoice:
1. Enter the invoice or credit/debit memo in the Invoices window, and enter Mixed as the invoice Type.You can enter either a positive or negative invoice amount.
2. Match to purchase orders, and/or invoices
7.What are the different payment methods?
Payment Method.
Ø Check. Payment in a payment batch, Quick payment, or manual payment.
Ø Electronic. You pay electronic payments either through the e–Commerce Gateway, or by delivering a payment batch file to your bank. For both methods, Payables creates a file during payment batch creation. For e–Commerce Gateway payments, the file is processed through the e–Commerce Gateway and delivered to your bank to create payments. For electronic funds transfers, the file is formatted and delivered to your ap.out directory for you to deliver to your bank.
Ø Wire. A payment method where you pay invoices outside of Payables by notifying your bank that you want to debit your account and credit your supplier’s account with appropriate funds. You provide your bank with your supplier’s bank information, and your bank sends you confirmation of your transaction. Your supplier’s bank sends your supplier confirmation of the payment. You then record the transaction manually.
Ø Clearing. Payment method you use to account for interfund expenses when you do not actually disburse funds through banks. Generally, you do not generate a payment document with the Clearing payment method
8.What is cash clearing account? And when it will be used?
Cash Clearing. If you have enabled the Account for Payment When Payment Clears Payables option, enter the cash clearing account you are associating with a payment document. When you create a payment, Payables creates accounting entries for your unreconciled invoice payments to credit this cash clearing account using this account. After you reconcile your invoice payments using Oracle Cash Management, Payables creates accounting entries to debit this cash clearing account and credit this bank account’s cash account. The account you enter here overrides the Cash Clearing Account you entered in the GL Accounts region of the Bank Accounts window.
For future dated payments, when the payment is recorded as mature, Payables debits the future dated payment account and credits the cash clearing account. When you reconcile the payment, Payables debits the cash clearing account and credits the cash account.
9.What is payment format and what is it used for?
Payment Format. The format you want Payables to use to format payments for a payment document.
If you enable the Use Multiple Currencies Payables option, select your functional currency as your bank currency, and define your bank account as multiple currency, you can select any of the payment formats you defined, whether they are multiple currency or not. If you do not define your bank account as multiple currency, you can only select formats that are defined in the same currency as your bank account.
10.What is distribution hold? Can it be released manually?
Hold In Oracle Payables, an Oracle Applications feature that prevents a transaction from occurring or completing until the hold has been released. You can place a hold on an invoice or an invoice schedule line. All holds in Payables prevent payment; some holds also prevent posting to your general ledger.
Distribution hold arises due to imbalance of distribution total, this can be released only by correcting the distribution total. No, it cant be released manually from action window, as we have to correct the entry.
11.What is the selection criteria for concurrent program ‘payables approval’ to approve the invoices?
Parameters: Option, Invoice Batch Name, From Invoice date, to Invoice date, Supplier Name, Pay Group, Invoice Number, Entered By.
12.List the different ways of payment to invoices.
Through Invoice Work Bench & Payment Workbench
13.What are the different statuses of pre-payment invoice? What is the relevance of settlement date?
  1. Never approved
  2. Unapproved
  3. Unpaid
  4. Available – Temporary
  5. Fully Applied - Temporary
  6. Permanent
  7. Cancelled
Settlement Date The date before which you cannot apply a prepayment to an invoice. Payables prevent you from applying a temporary prepayment to an invoice until on or after the Settlement Date of the prepayment.
14.When I am trying to enter an invoice, ‘NEW’ button is disabled. What could be the reason for that?
If you checked the Use batch control Check box at Invoice tab Page in Payables Option ‘NEW’ button disabled.
15.Can I assign a supplier type of bank account to more than one supplier?
Yes,
Allow Assignment to Multiple Suppliers: Enable this option if your bank account belongs to an organization that receives payments for multiple suppliers (a factor organization). With this option enabled, Payables allows you to enter any combination of suppliers and sites in the Supplier Assignments region. It will make the account always available in the list of values for the fields (Bank) Name and (Bank) Number in the Bank Accounts region of the Suppliers and Suppliers Sites windows.
16.What is the request name to view the list of Credit memos?
The Concurrent program is Credit Memo Matching Report.
Parameters: Supplier From, Supplier To, Begin Credit Memo date and End Credit memo date.
17.List the different bank accounts uses in oracle payables.
1. Internal
2. Customer
3. Supplier
18.Even though I have defined a supplier and supplier site, I am not able to enter an invoice for that. Why?
If you are not checking the circled item in supplier site level.

19.On what basis Oracle payables caution the user while entering a Debit memo/Credit memo, as it is a Duplicate.
Those bases are, namely,

 

  1. Supplier
  2. Supplier site
  3. Currency
  4. Amount

 

JOIN CONDITIONS USED IN ORACLE APPS(GL,AP,AR,INV ETC)

KEY JOINS

GL AND AP
GL_CODE_COMBINATIONS AP_INVOICES_ALL
code_combination_id = acct_pay_code_combination_id
GL_CODE_COMBINATIONS AP_INVOICES_DISTRIBUTIONS_ALL
code_combination_id = dist_code_combination_id
GL_SETS_OF_BOOKS AP_INVOICES_ALL
set_of_books_id = set_of_books_id

GL AND AR
GL_CODE_COMBINATIONS RA_CUST_TRX_LINE__GL_DIST_ALL
code_combination_id = code_combination_id

GL AND INV
GL_CODE_COMBINATIONS MTL_SYSTEM_ITEMS_B
code_combination_id = cost_of_sales_account


GL AND PO
GL_CODE_COMBINATIONS PO_DISTRIBUTIONS_ALL
code_combination_id = code_combination_id


PO AND AP
PO_DISTRIBUTIONS_ALL AP_INVOICE_DISTRIBUTIONS_ALL
Po_distribution_id = po_distribution_id

PO_VENDORS AP_INVOICES_ALL
vendor_id = vendor_id

PO AND SHIPMENTS
PO_HEADERS_ALL RCV_TRANSACTIONS
Po_header_id = po_header_id

PO_DISTRIBUTIONS_ALL RCV_TRANSACTIONS
Po_distribution_id = po_distribution_id

SHIPMENTS AND INVOICE
RCV_TRANSACTIONS AP_INVOICE_DISTRIBUTIONS_ALL
RCV_TRANSACTION_ID = RCV_TRANSACTION_ID


PO AND INV
PO_REQUISITION_LINES_ALL MTL_SYSTEM_ITEMS_B
item_id = inventory_item_id
org_id = organization_id

PO AND HRMS
PO_HEADERS_ALL HR_EMPLOYEES
Agent_id = employee_id

PO AND REQUISITION
PO_DISTRIBUTIONS_ALL PO_REQ_DISTRIBUTIONS_ALL
req_distribution_id = distribution_id


SHIPMENTS AND INV
RCV_TRANSACTIONS MTL_SYSTEM_ITEMS_B
Organization_id = organization_id

INV AND HRMS
MTL_SYSTEM_ITEMS_B HR_EMPLOYEES
buyer_id = employee_id

OM AND AR
OE_ORDER_HEADERS_ALL RA_CUSTOMER_TRX_LINES_ALL
TO_CHAR( Order_number) = interface_line_attribute1
OE_ORDER_LINES_ALL RA_CUSTOMER_TRX_LINES_ALL
TO_CHAR(Line_id) = interface_line_attribute6

OE_ORDER_LINES_ALL RA_CUSTOMER_TRX_LINES_ALL
reference_customer_trx_line_id = customer_trx_line_id

OM AND SHIPPING
OE_ORDER_HEADERS_ALL WSH_DELIVARY_DETAILS

HEADER_ID = SOURCE_HEADER_ID

OE_ORDER_HEADERS_ALL WSH_DELIVARY_DETAILS
LINE_ID = SOURCE_LINE_ID
AP AND AR (BANKS)
AR_CASH_RECEIPTS_ALL AP_BANK_ACCOUNTS
REMITTANCE_BANK_ACCOUNT_ID = ABA.BANK_ACCOUNT_ID
AP AND AR
HZ_PARTIES AP_INVOICES_ALL

PARTY_ID = PARTY_ID

OM AND CRM
OE_ORDER_LINES_ALL CSI_ITEM_INSTANCES(Install Base)

LINE_ID = LAST_OE_ORDER_LINE_ID
Table Name: Po_Requisition_Headers_All A
Column Names Table Name Column Name
A. REQUISITION_HEADER_ID PO_REQUISITION_LINES_ALL REQUISITION_HEADER_ID
A. TYPE_LOOKUP_CODE PO_DOCUMENT_TYPES DOCUMENT_SUBTYPE
A. PREPARER_ID PER_PEOPLE_F PERSON_ID
A. ORG_ID MTL_SYSTEM_ITEMS ORGANIZATION_ID
A. ORG_ID MTL_ORGANIZATIONS ORGANIZATION_ID
Table Name: Po_Requisition_Lines_All B
Column Names Table Name Column Name
B .REQUISITION_HEADER_ID PO_REQUISITION_HEADERS_ALL REQUISITION_HEADER_ID
B .REQUISITION_LINE_ID PO_REQ_DISTRIBUTIONS_ALL REQUISITION_LINE_ID
B .LINE_TYPE_ID PO_LINE_TYPES LINE_TYPE_ID
B .ITEM_ID MTL_SYSTEM_ITEMS INVENTORY_ITEM_ID
B .ORG_ID MTL_SYSTEM_ITEMS ORGANIZATION_ID
Table Name: Po_Requisition_Distributions_All C .
Column Names Table Name Column Name
C .REQUISITION_LINE_ID PO_REQUISITION_LINES_ALL REQUISITION_LINE_ID
C .DISTRIBUTION_ID PO_DISTRIBUTIONS_ALL REQ_DISTRIBUTION_ID
C .SET_OF_BOOKS_ID GL_SETS_OF_BOOKS SET_OF_BOOKS_ID
C .CODE_COMBINATION_ID GL_CODE-COMBINATIONS CODE_COMBINATION_ID
Table Name: Po_Distributions_All D .
Column Names Table Name Column Name
D .PO_LINE_ID PO_LINES PO_LINE_ID
D .REQ_DISTRIBUTION_ID PO_REQ_DISTRIBUTIONS_ALL DISTRIBUTION_ID
D .PO_DISTRIBUTION_ID AP_INVOICE_DISTRIBUTIONS_ALL PO_DISTRIBUTION_ID
Table Name: Po_Headers_All E .
Column Names Table Name Column Name
E .PO_HEADER_ID PO_LINES PO_HEADER_ID
E .PO_HEADER_ID RCV_SHIPMENT_LINES PO_HEADER_ID
E .VENDOR_ID PO_VENDORS VENDOR_ID
E .AGENT_ID PER_PEOPLE PERSON_ID
E .TYPE_LOOK_UP_CODE PO_DOCUMENT_TYPES DOCUMENT_SUBTYPE
Table Name: Po_Lines_All F.
Column Names Table Name Column Name
F.PO_HEADER_ID PO_HEADERS PO_HEADER_ID
F.PO_LINE_ID PO_DISTRIBUTIONS_ALL PO_LINE_ID
F.ITEM_ID MTL_SYSTEM_ITEMS ITEM_ID
Table Name: Rcv_Shipment_Lines G.
Column Names Table Name Column Name
G.PO_HEADER_ID PO_HEADERS PO_HEADER_ID
G.SHIPMENT_HEADER_ID RCV_SHIPMENT_HEADERS SHIPMENT_HEADER_ID
Table Name: Ap_Invoices_All H.
Column Names Table Name Column Name
H. INVOICE_ID AP_INVOICE_DISTRIBUTIONS_ALL INVOICE_ID
Table Name: Oe_Order_Headers_All I.
Column Names Table Name Column Name
I.HEADER_ID OE_ORDER_LINES HEADER_ID
I.SOURCE_HEADER_ID WISH_DELIVERY_DETAILS SOURCE_HEADER_ID
I.PRICE_LIST_ID QP_LIST_HEADERS_TL LIST_HEADER_ID
I.ORG_ID MTL_ORGANIZATIONS ORGANIZATION_ID
I.SALESREP_ID JTF_RS_SALESREPS SALESREP_ID
I.ORDER_TYPE_ID OE_TRANSACTION_TYPES TRANSACTION_TYPE_ID
I.ORDER_SOURCE_ID OE_ORDER_SOURCES ORDER_SOURCE_ID
I.ACCOUNTING_RULE_ID RA_RULES RULE_ID
I.PAYMENT_TERM_ID RA_TERMS TERM_ID
I.SOLD_TO_ORG_ID HZ_CUST_ACCOUNTS CUST_ACCOUNT_ID
I.SHIP_FROM_ORG_ID MTL_PARAMETERS ORGANIZATION_ID
I.SHIP_TO_ORG_ID HZ_CUST_SITE_USES_ALL SITE_USE_ID
Table Name: Oe_Order_Lines_All J.
Column Names Table Name Column Name
J.LINE_TYPE_ID OE_TRANSACTION_TYPES_TL TRANSACTION_TYPE_ID
J.INVOICING_RULE_ID RA_RULES RULE_ID
Table Name: Hz_Parties K.
Column Names Table Name Column Name
K.PATY_ID HZ_CUST_ACCOUNTS PATY_ID
K.CUST_ACCOUNT_ID OE_ORDER_LINES SOLD_TO_ORG_ID
Table Name: Hz_Party_Sites_All L.
Column Names Table Name Column Name
L.PATY_ID HZ_PARTIES PATY_ID
L. LOCATION_ID HZ_LOCATIONS LOCATION_ID
Table Name: Wsh_delivery_details M.
Column Names Table Name Column Name
M.SOURCE_HEADER_ID OE_ORDER_HEADERS SOURCE_HEADER_ID
M.DELIVERY_DETAIL_ID WSH_DELIVERY_ASSIGNMENTS DELIVERY_DETAIL_ID
M.DELIVERY_ID WSH_NEW_DELIVERIES DELIVERY_ID
M.INVENTORY_ITEM_ID MTL_SYSTEM_ITEMS INVENTORY_ITEM_ID
Table Name: RA_CUSTOMER_TRX_ALL N.
Column Names Table Name Column Name
N.CUSTOMER_TRX_ID AR_RECEIVABLE_APPLICATIONS_ALL APPLIED_CUSTOMER_TRX_ID
N.TERM_ID RA_TERMS TERM_ID
N.CUSTOMER_TRX_ID RA_CUST_TRX_LINE_GL_DIST CUSTOMER_TRX_ID
Table Name: AR_CASH_REC EIPTS_ALL O.
Column Names Table Name Column Name
O.CASH_RECEIPT_ID AR_RECEIVABLE_APPLICATIONS_ALL CASH_RECEIPT_ID
O.SET_OF_BOOKS_ID GL_SETS_OF_BOOKS SET_OF_BOOKS_ID