Components of Oracle Workflow :

Workflow Builder
Workflow Engine
Workflow Definitions Loader
Notification Systems
Workflow Monitor
Notification systems
Business Event System’s
Workflow XML Loader

Directory Service’s.


Workflow Builder :Work Flow builder is a Graphical interface to create and modify a business process with simple drag and drop operations.
It has two components –

* Navigator Window
* Process Window
A workflow builder would be used by a person to design and modify a workflow. It is more of a designer’s tool rather than an end-user’s tool.

Workflow Engine : The Workflow Engine embedded in the Oracle8 server monitors workflow states and coordinates the routing of activities for a process.Changes in workflow state, such as the completion of workflow activities, are signaled to the engine via a PL/SQL API or a Java API. Based on flexibly–defined workflow rules, the engine determines which activities are eligible to run, and then runs them. The Workflow Engine supports sophisticated workflow rules, including looping, branching,parallel flows, and sub-flows.

Workflow Definitions Loader :The Workflow Definitions Loader is a utility program that moves workflow definitions between database and corresponding flat file representations.It allows opening and saving workflow definitions in both a database and file.

Notification System : Each notification includes a message that contains all the information a user needs to make a decision.

Workflow Monitor : The Workflow Monitor displays an annotated view of the process diagram for a particular instance of a workflow process.Users can get a graphical depiction of their work item status. It also displays a separate status summary for the work item, the process, and each activity in the process.

Setting the Password for PDF File sent through XML Publisher

Open the rtf for which you want to set password and do the following things

1) Open the .rtf
2) Go to File – > Properties
Create a new custom property
a) Name : xdo-pdf-open-password
Type : text
Value : Either Hard Code the value / or get the value for xml data
b) Name : xdo-pdf-security
Type : text
Value : true

Note : property name should always start with xdo- .

Following script and get all the packages related to API in Oracle applications, from which you can select APIs that pertain to AP. You can change the name like to PA or AR and can check for different modules

select substr(a.OWNER,1,20)
, substr(a.NAME,1,30)
, substr(a.TYPE,1,20)
, substr(u.status,1,10) Stat
, u.last_ddl_time
, substr(text,1,80) Description
from dba_source a, dba_objects u
WHERE 2=2
and u.object_name = a.name
and a.text like ‘%Header%’
and a.type = u.object_type
and a.name like ‘PA_%API%’
order by
a.owner, a.name;

  1. What is Concurrent Programming?
Concurrent Processing in Oracle Apps simultaneously executes programs running in the Background with online operations to fully utilize your hardware capacity.
Use Concurrent Programming for
Long Running – Data intensive tasks such as Posting a Journal or generating a report.
  1. What is the Role of Concurrent Managers?
A Concurrent Manager is a component of Concurrent processing that monitors and runs tasks without tying up your computer.
  1. What is AOL?
Oracle Applications are constructed and maintained using the Application Object Library (AOL).
The Three main areas of AOL are
    • Applications Security
    • Operating Profile
    • Concurrent Processing
    •  
  1. Define Interfaces. What are the different types of Interfaces?
Interfaces are used to integrate external systems and data conversion in Oracle Applications.
These can be used to either transfer data from Oracle Applications to a Flat File or Data from Legacy System to Oracle Applications.
There are two types of Interfaces. Inbound and Outbound Interfaces.
Inbound Interfaces are used to transfer data from external system to Oracle Applications.
Outbound Interfaces are used to transfer data from Oracle Applications to External System.
Open Interface is the interface whose interface logic is provided by Oracle.
Custom Interface is an Interface whose logic is developed by implementation team.
  1. What are alerts? What are the different types of alerts? Explain.
Alerts
    • Immediately inform you of the database activity as it happens.
    • Can Periodically trigger off events as and when required
    • Can take predefined actions
    • Allow you to define distribution list
    • Can keep history of the exceptions and actions taken against them.
There are two types of alerts.
    • Event Alerts
    • Periodic Alerts
    •  
  1.  What is the Flex field? What are the types of Flex field?
    • Flex Field is “Flexible Field”
    • A Flexfield is made up of Segments.
    • Each segment has a name that can be assigned and has set of valid values.
    • There are two types of Flex field Key Flex Field and Descriptive Flex Fields
    •  
  2. What are the tables related to flex field?
    • FND_FLEX_VALUES
    • FND_FLEX_VALUE_SETS
    • FND_FLEX_VALUES_TL     
  3. What is AD_DD package?
AD_DD Package is used to register the Table, Columns, and Primary Key in Oracle Applications.
            PROCEDURE REGISTER_TABLE
          Arguments: 
    • P_APPL_SHORT_NAME     
    • P_TAB_NAME            
    • P_TAB_TYPE            
    • P_NEXT_EXTENT         
    • P_PCT_FREE            
    • P_PCT_USED            
         PROCEDURE REGISTER_COLUMN
   Arguments
·         P_APPL_SHORT_NAME     
·         P_TAB_NAME            
·         P_COL_NAME            
·         P_COL_SEQ             
·         P_COL_TYPE            
·         P_COL_WIDTH           
·         P_NULLABLE            
·         P_TRANSLATE           
·         P_PRECISION           
·         P_SCALE                
  1. What are the types of Value sets?
·         None
·         Table
·         Special
·         Pair
·         Dependent
·         Independent
·         Translatable Dependent
·         Translatable Independent
  1. What are the Special and Pair Flex Field?
Special – Value Sets uses FlexField itself
Pair – Two Flex Fields together specifies a range of valid values.
  1. What are the Translatable Dependent and Independent Flex Fields?
   Translatable Independent – Input must exist on previously defined set List of        
   Values. Translated value can be used.
   Translatable Dependent means Input is checked against a subset of values  
   Based on a prior value. Translated value can be used.
  1. What is FND_REQUEST.SUBMIT_REQUEST?
Submits a Concurrent Request for Processing by a Concurrent Manager.
Arguments – Application,program,description,start_time,sub_request,arg1..
  1. What is Client Info?
By calling this Program in SQL*PLUS or reports with correct parameters user can achieve concurrent program environment for testing.
FND_CLIENT_INFO.setup_client_info(application_id Number,
                                                                     Responsibility_id Number,
                                                                    User_id  Number,
                                                                     Security_Group_id Number);

  1. Give the Directory structure in apps?
$APPL_TOP  – Product Directory- Version-

  1. What are the steps in Registering Concurrent Program?
    • Go to Programs and Define Executables.
    • Go to Programs and Define Concurrent Program
    • Go to Responsibility and attach the Request group you want.
  2. What are the different types of executable available in Concurrent Programming?
    • Host
    • Oracle Reports
    • PL/SQL Stored Procedures
    • SQL*LOADER
    • SQL*PLUS
    • Spawned
    • JSP
  3. What are Request Sets?
Request set is a collection of Reports/Programs that you group together and can be submitted to run is a single interaction.

  1. What is Standard Request Submission (SRS Feature)?
SRS provides you with a set of windows for running reports and Programs and a set of windows for creating groups of reports and programs to run together.
Features
    • Specify whether reports or programs in a request set run sequentially or simultaneously
    • Specify whether to continue with a request set if a report or program in a sequential set fails
    • View a log file
    • Specify alternative requests based on completion status of previously run requests in a request set.
  1. What are the different API’s for Concurrent Programming?
    • FND_CONCURRENT
    • FND_FILE
    • FND_PROGRAM
    • FND_SET
    • FND_REQUEST
    • FND_REQUEST_INFO
    • FND_SUBMIT
  2. What are the Different PLL’s Used in Forms?
    • CUSTOM.pll
    • FNDSQF.pll
    • APPCORE.pll
    • APPCORE2.pll
    • appdaypk.pll
    • APPSTAND.pll
  3. What are the Steps in Forms Customization?
    • Define the Form Name in FORM Screen
    • Define Form Functions
    • Attach to Menu/Attach to Request group
  4. What are the triggers that can be modified during Forms Customization?
    • Pre-Forms
    • When-New-Form-Instance
    • Query_Find
    • Post-Form
    • Key-Clrfrm
    • Accept
  5. What are the triggers that cannot be modified during Forms Customization?
    • STANDARD_ATTACHMENT
    • ZOOM
    • FOLDER_ACTION
    • KEY-HELP
    • KEY-EXIT
    • KEY-COMMIT
    • WHEN-WINDOW_CLOSED
    • CLOSE_WINDOW
  6. What are the FlexField Qualifiers?
A Flex field qualifier identifies a particular segment of a key flex field.
  1. What are the Segment Qualifiers?
A Segment Qualifier identifies a particular type of value in a single segment of a key flex field.
  1. What is a Dynamic Insertion?
Dynamic Insertion is the insertion of new valid combination into a Key Flexfields Combinations Table from a form other than the combinations form.
All Validation rules still will apply during insertion.
  1. What are the different Level of Profiles?
User Profiles are used
    • To set options that affect your applications behavior o your preference.
    • A Collection of changeable options that affect the way your applications run
    • Modify Product Specific variables
    • Gives Control over certain Oracle Applications features.
            Profile Levels
·         Site Level
·         Application Level
·         Responsibility Level
·         User Level
Site Level is the lowest level.
  1. Explain Multi-Organization Structure?

Set of book

A financial reporting entity that uses a particular chart of accounts, functional currency and accounting calendar.
Business Group
This is highest level in the Organization Structure. The Business group secures HR Information. Multiple set of books can share same business group.
Legal Entity
A legal company for which you prepare fiscal or tax reports.
Balancing Entity
Represents an accounting entity for which you prepare financial statements.
This is the segment in Accounting Flexfield.
Operating Unit
An Organization that Uses Oracle Cash Management, Order Management and shipping Execution, Oracle Payables, Oracle Purchasing, Oracle receivables.
It may be a Sales office division or a department. An Operating Unit is associated with legal entity.
Inventory Organization
An Organization for which you track Inventory transactions and balances and/or an Organization that manufactures or distributes products.
HR Organization
HR Organization represents the basic work structure of any enterprise.            They usually represent Functional Management or reporting groups that exists within a business group.
  1. How can u see Multi-Organization is enabled or not from SQL Prompt?
SELECT MULTI_ORG_FLAG FROM fnd_product_groups;
  1. What are the two mandatory parameters required for PL/SQL stored Procedure Concurrent Program?
Errbuf and retcode two OUT Parameters are required while defining PL/SQL stored Procedure Concurrent Program.
Errbuf Returns any error messageand retcode returns completion status.
Retcode returns 0 for success, 1 for warnings and 2 for error.
Oracle Alert FAQ’s
  1. What are the event alerts?
Triggered off when a particular event occurs in the Database.
Event can be Insert or Update.
      What are Alert Action Level?
There are two levels of actions that can be performed
            Detail Action and Summary Action.
  1. What is a Summary Threshold?
Oracle Alerts automatically determine whether to perform a detail action or Summary action based on the number of exceptions in the database.
  1. What are the different actions that can be performed in Alerts?
    • Message Actions
    • Concurrent Program Actions
    • Operating Script Actions
    • SQL Statement Script Actions
  2. What are the steps involved in Creating Periodic alerts?
·         Write a select statement
·         Verify and Run the SQL
·         Specify Alert Inputs
·         Define Alert Outputs
·         Create Periodic alert actions
·         Define Periodic alert message actions
·         Create a periodic alert action set
·         Check your periodic alert.
  1. What is the Distribution List in Alerts?
A Pre-defined set of electronic mail ids and printer Instructions that you can use on message actions instead of re-entering all the recipient names each time.
  1. What are the Advance features available in alerts?
·         Distribution List
·         Periodic sets
·         Summary Thresholds
·         Action Set Checks
  1. What are the four implicit Inputs in Alerts?
Mailid, rowid, org_id, date_last_checked