Sysadmin & AOL

Embed Size (px)

Citation preview

  • 8/11/2019 Sysadmin & AOL

    1/154

    EASOracle A s

    System Administrator & AOL

    A Presentation by EASOracle Applications

    July 2003

    Oracle Applications 11i

  • 8/11/2019 Sysadmin & AOL

    2/154

    EASOracle A s

    Introduction

    Applications Object Library: Overview

  • 8/11/2019 Sysadmin & AOL

    3/154

    EASOracle A s

    What is Oracle Application Object Library

    Core technology of Oracle Applications

    Extends Oracle Developer 6i functionality

    Guide to implementation of Oracle Applications

    Guide to customization of Oracle Applications

  • 8/11/2019 Sysadmin & AOL

    4/154

    EASOracle A s

    At the end of this lesson, you should be able to

    Explain the funct ion s of Appl icat ions Object Library

    Design and imp lement Descr ipt ive and Key Flexf ields

    Def ine and mod i fy user prof i le op t ions

    Develop and integrate custom appl icat ions and

    concurrent programs

    Run concurrent prog rams using Standard Repo rt

    Submiss ion

    Understand th e basic securi ty features of Oracle

    Appl icat ions

    Objectives

  • 8/11/2019 Sysadmin & AOL

    5/154

    EASOracle A s

    Managing Flexfields

    Configuring User Profile

    Customizing Applications Application Security Features

  • 8/11/2019 Sysadmin & AOL

    6/154

    EASOracle A s

    Managing Flexfields

  • 8/11/2019 Sysadmin & AOL

    7/154

    EASOracle A s

    Objectives

    At theend of this course, you should be able to

    Understand the purpo se and operat ion of Key and

    Desc ript ive Flexf ields

    Recogn ize Key and Desc ript ive Flexf ield in Oracle

    Appl icat ions

    Plan and define Key Flexf ield stru ctu res and

    segments

  • 8/11/2019 Sysadmin & AOL

    8/154

    EASOracle A s

    Plan and define Desc ript ive Flexf ield structu res and

    segments

    Define value sets fo r f lex f ield segments

    Plan and set up c ross val idat ion rules

    Lim i t the values avai lable to the users by def in ing

    secur i ty rules Speed data entry by creat ing shorth and al iases for

    Key Flexf ields

    Objectives...

  • 8/11/2019 Sysadmin & AOL

    9/154

    EASOracle A s

    Key and Descriptive Flexfields

    A f ie ld is made up ofsub f ie lds

    A flexf ield segment is a

    sing le sub f ield of a

    f lexf ield

    Key flexf ields ident i fy

    an enti ty

    Desc ript ive f lexf ieldsadd extra information

  • 8/11/2019 Sysadmin & AOL

    10/154

    EASOracle A s

    Segment Value

    Validation (Validate)

    Value set

    Structure

    Flexfields Terminology

    Flexf ield val idates each segm ent

    against a set of val id values, which are

    mo st ly predef ined

    A segment is a single subf ie ld wi thin

    a f lexf ield. You define the app earance

    and m eaning o f ind iv idual segments

    when custom iz ing a f lexf ield. A

    segment is represented in you r

    database as a single table colum n.

    A f lexf ield st ruc ture is a speci f ic

    conf igu rat ion of segm ent . Same f lexf ield

    can have mult ip le segment st ructure

  • 8/11/2019 Sysadmin & AOL

    11/154EASOracle A s

    Flexfields provide you with the features you need to

    satisfy the following business needs:

    Customize your applications to conform to your current business

    practice for accounting codes, product codes, and other codes.

    Customize your applications to capture data that would not

    otherwise be tracked by your application.

    Have intel l igent fields that are fields comprised of one or more

    segments, where each segment has both a value and a meaning.

    BenefitsofFlexfields

  • 8/11/2019 Sysadmin & AOL

    12/154EASOracle A s

    Rely upon your application to validate the values and thecombination of values that you enter in intelligent fields

    (Cross Validation Rules).

    Have the structure of an intelligent field change depending

    on data in your form or application data.

    Customize data fields to your meet your business needswithout programming.

    Query intelligent fields for very specific information.

    BenefitsofFlexfields ...

  • 8/11/2019 Sysadmin & AOL

    13/154EASOracle A s

    Key Flexfields

  • 8/11/2019 Sysadmin & AOL

    14/154EASOracle A s

    KeyFlexfields

    Intel l igent Key

    An intelligent keyis a

    code made up o f sect ions,wh ere one or more parts

    may have meaning .

    An intelligent keycode

    uniqu ely id ent i f ies an

    object such as an account

    or a part o r a job.

  • 8/11/2019 Sysadmin & AOL

    15/154EASOracle A s

    Combinat ions

    KeyFlexfields

    A combinationis a

    part icu lar complete code,or com binat ion of

    segment v alues that

    makes up th e code, that

    uniqu ely ident i f ies an

    object.

  • 8/11/2019 Sysadmin & AOL

    16/154EASOracle A s

    Each k ey f lexf ie ld has one correspondin g table, known as the

    combinations table, where the f lexf ie ld stores a l ist o f the complete

    codes, wi th one co lumn for each segment of th e code, together

    wi th the co rrespon ding unique ID number (a code com binat ion ID

    num ber or CCID) for th at code.

    Each t im e a key f lexf ield is com pi led the under lying view is

    regenerated to ref lect the latest s truc ture. We can also specify o ur

    own name for the view instead of us ing the default view name that

    is created. We can achieve this by giving a name in the View

    Name field of the Key Flexfield Segments screen.

    Combinat ions Table

    KeyFlexfields

  • 8/11/2019 Sysadmin & AOL

    17/154EASOracle A s

    Flexfield

    qual i f ier

    KeyFlexfields

    A flexfield

    qualifier

    identi f ies a

    part icular

    segment of a

    key flexfield.

  • 8/11/2019 Sysadmin & AOL

    18/154EASOracle A s

    Segment

    qual i f ier

    KeyFlexfields

    A segment qualifier

    identi f ies a

    part icular typ e of

    value in a single

    segment of a key

    flexfield . In the

    Oracle Appl ication s,

    on ly the Account ing

    Flexfield uses

    segment qual i f iers.

  • 8/11/2019 Sysadmin & AOL

    19/154EASOracle A s

    KeyFlexfields Feature

    Mult ip le

    Structures

    A flexfield structureis

    a specif ic

    con f igurat ion of

    segments. If yo u add

    or remove segments,

    or rearrange the order

    of segments in a

    flexfield, you get a

    different structu re.

  • 8/11/2019 Sysadmin & AOL

    20/154EASOracle A s

    KeyFlexfields Feature...

    Dynamic Insert ion

    The insert ion o f a new validcom binat ion into a

    com binat ions table from a

    form other than the

    combinat ions form .

  • 8/11/2019 Sysadmin & AOL

    21/154EASOracle A s

    Key Flexfield Features...

    Flexfield Value Secur ity

    The capabi l i ty to restr ict th e

    set of values a user can use

    du ring d ata entry.

  • 8/11/2019 Sysadmin & AOL

    22/154EASOracle A s

    CrossValidation

    Other Key Flexfield Features...

    Crossval idation rules

    prevent users fromcreat ing n ew key

    f lexf ie ld combinat ions

    that con tain values that

    should not coexis t in

    the same combinat ion.

  • 8/11/2019 Sysadmin & AOL

    23/154EASOracle A s

    Shorth and Flexf ield Entry

    Key Flexfield Features...

    A quick w ay to enter key

    f lexf ie ld data using sho rthand

    aliases

  • 8/11/2019 Sysadmin & AOL

    24/154

  • 8/11/2019 Sysadmin & AOL

    25/154EASOracle A s

    KeyFlexfield Forms...

    Comb inat ion Form

  • 8/11/2019 Sysadmin & AOL

    26/154EASOracle A s

    Foreign Key Form

    KeyFlexfield Forms...

    A form w hose under ly ing

    base table has a foreign

    key reference to th e Key

    f lexf ie ld c ombinat ion

    table

  • 8/11/2019 Sysadmin & AOL

    27/154EASOracle A s

    KeyFlexfield Forms...

    Foreign Key Form

  • 8/11/2019 Sysadmin & AOL

    28/154EASOracle A s

    Range Form

    KeyFlexfield Forms...

    Displays a range flexfield,

    wh ich is a special popup

    window that conta ins two

    com plete sets of key

    flexfield segments.

  • 8/11/2019 Sysadmin & AOL

    29/154

  • 8/11/2019 Sysadmin & AOL

    30/154

    EASOracle A s

    DefineKey Flexfields

    Defining Key Flexf ield Database Columns

    Register ing Key Flexf ield w i th Oracle Apps

    Defining Key Flexf ield Form Fields

    Create Flexfield Definit ion

    Invo king Key Flexf ield Rou t ines

  • 8/11/2019 Sysadmin & AOL

    31/154

    EASOracle A s

    Define Key Flexfield.

    Defining Key Flexf ield Database Columns

    An ID colum n to u niquely ident i fy a row in your d atabase table (type

    NUMBER, leng th 15, NOT NULL )

    Add SEGMENT1 throug h SEGMENTn colum ns in the under ly ing

    com binat ions table

    Define SUMMARY_FLAG and ENABLED_FLAG (type VARCHAR2, length

    1, NOT NULL)

    Defin e START_DATE_ACTIVE and END_DATE_ACTIVE (type DATE,

    NULL).

    Define a structure def in ing co lumn (structure ID column)

    Define a uniqu e index on the unique ID colum n

  • 8/11/2019 Sysadmin & AOL

    32/154

    EASOracle A s

    Define Key Flexfield.

    Register ing Key Flexf ield w i th Oracle Apps

    Register com binat ion table with Oracle App l icat ion Ob ject L ibrary

    us ing the Table Registration Form

    Register you r key f lexf ie ld with Oracle Appl icat ion Object Library

  • 8/11/2019 Sysadmin & AOL

    33/154

    EASOracle A s

    Define Key Flexfield.

    Defining Key Flexf ield Form Fields fo r

    Comb inat ion form

    A hidden ID form field correspondin g to the ID column in the under ly ing

    prim ary table

    SUMMARY_FLAG and ENABLED_FLAG - database fields that represent th eSUMMARY_FLAG and ENABLED_FLAG co lumns in the under ly ing

    com binat ions table

    SEGMENT1 throu gh SEGMENTn hidd en form field co rresponding to

    SEGMENT1 throug h SEGMENTn columns in the under ly ing combinat ionstable

    A disp layed, non-database Concatenated segment values field

    A disp layed, non-database, non-enterable Concatenated descript ion s field

  • 8/11/2019 Sysadmin & AOL

    34/154

    EASOracle A s

    Define Key Flexfield.

    Concatenated Segment Values

    Concatenated Descr ipt ion

  • 8/11/2019 Sysadmin & AOL

    35/154

    EASOracle A s

    Defining Key Flexf ield Form Fields fo r Foreign keyform

    Define Key Flexfield.

    A hidden ID form field correspondin g to the ID column in the under ly ing

    prim ary table

    A disp layed, non-database Concatenated segment values field

    A disp layed, non-database, non-enterable Concatenated desc ript io ns field

    SEGMENT1 through SEGMENTn - non -database fields that represent

    SEGMENT1 throug h SEGMENTn column s in the com binat ions table

  • 8/11/2019 Sysadmin & AOL

    36/154

    EASOracle A s

    Define Key Flexfield.

    Conc atenated Segment Values

    Concatenated Descr ipt ion

  • 8/11/2019 Sysadmin & AOL

    37/154

    EASOracle A s

    Create Flexfield Defin it ion

    Define Key Flexfield.

  • 8/11/2019 Sysadmin & AOL

    38/154

    EASOracle A s

    Define Key Flexfield.

    Invoking Key Flexf ie ld Rout ines

  • 8/11/2019 Sysadmin & AOL

    39/154

  • 8/11/2019 Sysadmin & AOL

    40/154

    EASOracle A s

    Value Set

    Use value set to Determ ine which values users can enter into f lexf ie ld

    segments

    Provide a l ist of val id values us ing l ist o f values feature

  • 8/11/2019 Sysadmin & AOL

    41/154

    EASOracle A s

    Value Set

    Validation Type fo r Value Set

    None (no t val idated at al l)

    Independent

    Dependent

    Table

    Special (advanced )

    Pair (advanced )

  • 8/11/2019 Sysadmin & AOL

    42/154

    EASOracle A s

    Value Set

    Validation Type for Value Set

    None

    Independent

    Table

  • 8/11/2019 Sysadmin & AOL

    43/154

    EASOracle A s

    Value Set

    Validation Type for Value Set

    Dependent

  • 8/11/2019 Sysadmin & AOL

    44/154

    EASOracle A s

    Value Set

    Validation Type for Value Set

    Special

    Pair

  • 8/11/2019 Sysadmin & AOL

    45/154

    EASOracle A s

    Value Set Options

  • 8/11/2019 Sysadmin & AOL

    46/154

    EASOracle A s

    Relationship Between Independent and Dependent Values

  • 8/11/2019 Sysadmin & AOL

    47/154

    EASOracle A s

    Independent/Dependent Value Sets

    Create you r ind ependent v alue set f i rs t

    Create you r dependent value set, speci fy ing a

    default value

    Define you r independent values

    Define you r dependent values

  • 8/11/2019 Sysadmin & AOL

    48/154

    EASOracle A s

    Independent/Dependent Value Sets...

  • 8/11/2019 Sysadmin & AOL

    49/154

    EASOracle A s

    Table validated Value Sets

    Create a val idat ion table in your d atabase

    Register your table with Oracle App l icat ion Object

    Library (as a tab le)

    Create the necessary grants and synonyms

    Define a value set that uses your val idat ion table

    Define you r f lexf ie ld struc ture to u se that value setfor a segment.

    i S

  • 8/11/2019 Sysadmin & AOL

    50/154

    EASOracle A s

    Table validated Value Sets

  • 8/11/2019 Sysadmin & AOL

    51/154

    EASOracle A s

    Descriptive Flexfields

  • 8/11/2019 Sysadmin & AOL

    52/154

    EASOracle A s

    Descriptive Flexfield Terminology

    Desc r ipt ive f lexf ie ld segments

    Global segments

    a segment that always appears in the descriptive

    flexfield popup window, regardless of context (any

    other information in your form).

    Contextsensitive segment

    a segment that may or may not appear depending

    upon what other information is present in your form.

  • 8/11/2019 Sysadmin & AOL

    53/154

    EASOracle A s

    Descriptive Flexfield Terminology...

    Global

    Segments

    Context-

    Sensitive

    Segments

    Context

    Field

  • 8/11/2019 Sysadmin & AOL

    54/154

    EASOracle A s

    Descriptive Flexfield Terminology...

    Mult ip le Struc ture

    Reference field /Co lumn

    Structure Column

    Descrip t ive flexf ield segments ...

  • 8/11/2019 Sysadmin & AOL

    55/154

    EASOracle A s

    Implementing Descriptive Flexfields

    Define DFF columns into database (ATTRIBUTE1Nco lumns of the table are used to store DFF data)

    Register the table with Oracle App l icat ion Object

    L ibrary

    Def ine descr ipt ive f lexf ie ld f ields into the form

    Register DFF w ith Oracle app l icat ion Object Lib rary

    Def ine desc r ipt ive segments

    Invo ke DFF rou t ines from you r form and register the form

    w ith Oracle Appl icat ion Object Library

  • 8/11/2019 Sysadmin & AOL

    56/154

    EASOracle A s

    Define DFF co lumns into database

    Define ATTRIBUTE1 to ATTRIBUTEn segment co lumns

    into your database

    Add DFF structure /context column

    (ATTRIBUTE_CATEGORY) int o th e database

    Implementing Descriptive Flexfields...

  • 8/11/2019 Sysadmin & AOL

    57/154

    EASOracle A s

    Regis ter the table with Oracle App l icat ion

    Object Library

    Register the table w ith Oracle Appl icat ion Object Lib rary usin g

    Table registration API / Form

    The Table registration API is AD_DD (This is a database

    Package)

    Implementing Descriptive Flexfields...

  • 8/11/2019 Sysadmin & AOL

    58/154

    EASOracle A s

    Define descrip t ive f lexf ie ld f ie lds into the form

    Add a text i tem in the required bloc k of th e form and attach the

    property class TEXT_ITEM_DESC_FLEX

    Add non dis played database field ATTRIBUTE1 to ATTRIBUTEn

    Add non disp layed con text f ie ld ATTRIBUTE_CATEGORY

    Implementing Descriptive Flexfields...

  • 8/11/2019 Sysadmin & AOL

    59/154

    EASOracle A s

    Regis ter DFF with Oracle app l icat ion Object

    L ibrary

    Navigate to Register DFF form

    mention the stru ctu re co lum n ( ATTRIBUTE_CATEGORY)

    Enter referenced form fields name in the reference fields zone

    (optional)

    Specify ATTRIBUTEn co lumns in the co lumn zone.

    Implementing Descriptive Flexfields...

  • 8/11/2019 Sysadmin & AOL

    60/154

    EASOracle A s

    Implementing Descriptive Flexfields...

    Regis ter DFF with Oracle app l icat ion Object L ibrary ...

  • 8/11/2019 Sysadmin & AOL

    61/154

  • 8/11/2019 Sysadmin & AOL

    62/154

    EASOracle A s

    Different Arrangements of Segments

  • 8/11/2019 Sysadmin & AOL

    63/154

    EASOracle A s

    Different Arrangements of Segments...

  • 8/11/2019 Sysadmin & AOL

    64/154

    EASOracle A s

    Different Arrangements of Segments...

  • 8/11/2019 Sysadmin & AOL

    65/154

    EASOracle A s

    Different Arrangements of Segments...

    More than one structure

  • 8/11/2019 Sysadmin & AOL

    66/154

    EASOracle A s

    Configuring User Profile

  • 8/11/2019 Sysadmin & AOL

    67/154

    EASOracle A s

    Objective

    At the end of this lesson, you should be able to

    Understand the ut i l i ty of us er p rof i les

    Set user p ro fi le at d ifferent level

    Define new u ser pro f i le as and when required

    User Profile

  • 8/11/2019 Sysadmin & AOL

    68/154

    EASOracle A s

    User Profile

    A set of changeable opt ions that affects theway you r app l icat ion runs

    System Prof i le Options

    Personal Prof i le Options

    U P fil

  • 8/11/2019 Sysadmin & AOL

    69/154

    EASOracle A s

    User Profile

    System Prof i le Opt ions

    Set by the System adm inistrator

    User can not access

    Any change in the sys tem prof i le becomes ef fect ive only

    when the user logs on again or change respon sib i l ity

    User Profile

  • 8/11/2019 Sysadmin & AOL

    70/154

    EASOracle A s

    User Profile

    Personal Prof i le Opt ions

    Set by the System Adm inist rator

    User can change the opt ion values An y changes become effect ive imm ediately

    User Profile

  • 8/11/2019 Sysadmin & AOL

    71/154

    EASOracle A s

    User Profile

    User Prof i le Levels

    User -1

    Responsibility - 2

    Application - 3

    Site - 4

    Level Hierarch y

    A value set at the higher level

    overr ides the one set at the lower

    level. User is the highest level.

    After imp lementat ion System

    Adm inistrator sets the default

    pro fi le values at the site level

    Option v alues are dynamic al ly set

    at the run t ime

    Using Profile values in Code

  • 8/11/2019 Sysadmin & AOL

    72/154

    EASOracle A s

    Using Profile values in Code

    A pro f i le op t ion value can be passed as a parameter to AOL

    user exi t

    A prof i le opt ion value can be referred to bui ld appl icat ion

    log ic

    It can be used a default value for a concurrent prog ram

    parameter

    Syntax of referr ing a pro f i le op tion value

    :$PROFILE$.option_name

    U i P fil l i C d

  • 8/11/2019 Sysadmin & AOL

    73/154

    EASOracle A s

    Using Profile values in Code...

    Example

    Requirement

    A form has a secure zone with restr icted user access

    Implementat ion

    Define a new user profile option VIEW_SECURE_INFO

    Pass value Y/N to this profile option

    Use th is prof i le opt ion to develop appl ication log ic

    IF :$PROFILE$.VIEW_SECURE_INFO = Y

    User Profile Ro tines

  • 8/11/2019 Sysadmin & AOL

    74/154

    EASOracle A s

    User Profile Routines

    Use User Prof i le rou t ines to

    Retr ieve opt ion values

    User Prof i le rou t ines are

    FND_PROFILE.GET

    FND_PROFILE.VALUE

  • 8/11/2019 Sysadmin & AOL

    75/154

  • 8/11/2019 Sysadmin & AOL

    76/154

  • 8/11/2019 Sysadmin & AOL

    77/154

    EASOracle A s

    Internally Generated Profile Options

    Predef ined in Oracle Ap pl icat ion Object Library

    Can o nly be accessed through u ser prof i le rout ines

    Not updateable and vis ib le to user and System

    Administ ra tor

    Values generated internally at run time

    Example

    USERNAME

    USER_ID

    RESP_ID

    User Profile Forms

  • 8/11/2019 Sysadmin & AOL

    78/154

    EASOracle A s

    User Profile Forms

    Define Pro f i le Options

    System Prof i le

    Personal p rof i le

    User Profile Forms

  • 8/11/2019 Sysadmin & AOL

    79/154

    EASOracle A s

    User Profile Forms...

    Define Prof i le Optio ns

    User Profile Forms

  • 8/11/2019 Sysadmin & AOL

    80/154

    EASOracle A s

    User Profile Forms...

    Define Profi le Opt ions...

    Define new us er prof i le opt io n at the t ime of developing a

    new appl icat ion

    Prof ile names mu st be un ique

    A pro f i le op t ion can not b e deleted

    User Profile Forms

  • 8/11/2019 Sysadmin & AOL

    81/154

    EASOracle A s

    User Profile Forms...

    System Prof i le

    User Profile Forms

  • 8/11/2019 Sysadmin & AOL

    82/154

    EASOracle A s

    User Profile Forms...

    Personal Prof i le

  • 8/11/2019 Sysadmin & AOL

    83/154

    EASOracle A s

    Customizing Applications

    Application

  • 8/11/2019 Sysadmin & AOL

    84/154

    EASOracle A s

    Application

    An Appl icat ion is a col lect ion o f Form s,Repo rts and

    PL/SQL objects to meet a part icular bu siness

    object ives

    Oracle Applications is a collection of predefined

    inter l inked appl icat ions

    A cus tom appl ication can be designed and integrated

    with Oracle Appl icat ions

    Any custom appl icat ion has to be regis tered w i th

    Oracle App l icat ions

    Register Application

  • 8/11/2019 Sysadmin & AOL

    85/154

    EASOracle A s

    Register Application

    Components of an Application

  • 8/11/2019 Sysadmin & AOL

    86/154

    EASOracle A s

    Components of an Application

    Forms

    Funct ion

    Menu

    Concu rrent program

    Request Group

    Request Set

    Standard Repo r t Subm iss ion

    Forms

  • 8/11/2019 Sysadmin & AOL

    87/154

    EASOracle A s

    Forms

    A form is a user interface to insert ,update and deletedata into and from database

    While developing Oracle Appl ications form , we

    fol low some development standard

    After development , a form must b e registered w ith

    Oracle App l icat ion Object Library

    Coding Standards

  • 8/11/2019 Sysadmin & AOL

    88/154

    EASOracle A s

    Coding Standards

    Start new development with the TEMPLATE form

    which inh er i ts the standard Form object

    Inc lude standard Oracle Appl icat ion l ibrar ies -

    APPCORE, FNDSQF, APPDAYPK in the fo rm

    Place al l tr igger codes in th e central ized Packages.

    Call the package pro cedu re from th e form level

    tr iggers.

    Any cu stom izat ion to be done on a standard form can

    usual ly be ach ieved by coding into the CUSTOM.pl l

    CUSTOM pll

  • 8/11/2019 Sysadmin & AOL

    89/154

    EASOracle A s

    CUSTOM.pll

    By using the custom.pll we can alter Oracle Forms functionality without

    modifying Oracle Forms source code

    It is mostly used to meet various client specific business needs which are

    not met by the standard Oracle Applications modules.

    Custom Library(Contd )

  • 8/11/2019 Sysadmin & AOL

    90/154

    EASOracle A s

    Custom Library(Contd..)

    This library is located in the $AU_TOP/resource directory.

    The custom library you modify must replace the default custom library

    in this directory in order for your code to take effect. subsequent

    invocations of Oracle Apps will then run this new code

    Register Form

  • 8/11/2019 Sysadmin & AOL

    91/154

    EASOracle A s

    g

    After registrat ion a form execu table should be placed under the

    prop er appl icat ion top directory (XXX_TOP/form s/US where XXX

    is the appl icat ion short name for a given appl icat ion)

    Function

  • 8/11/2019 Sysadmin & AOL

    92/154

    EASOracle A s

    Function

    A funct ion is a part of an appl icat ion funct ion al i ty that isregistered under a unique name for the purpose of

    assigning /excluding i t from a responsib i l i ty

    Form Funct ion

    Sub funct ion

  • 8/11/2019 Sysadmin & AOL

    93/154

    Register Function

  • 8/11/2019 Sysadmin & AOL

    94/154

    EASOracle A s

    Register Function

    App l icat ion developers register funct ion when th ey develop form

  • 8/11/2019 Sysadmin & AOL

    95/154

    Function Menus and Navigator Window

  • 8/11/2019 Sysadmin & AOL

    96/154

    EASOracle A s

    Function Menus and Navigator Window

    Form fu nct ion are selected and navigated to using Navigator

    w indow

    Responsibility

    What you see here depends on the menu

    That is attached to this responsibility

    Navigator Prompt

    Define Menu

  • 8/11/2019 Sysadmin & AOL

    97/154

    EASOracle A s

    Why Concurrent Processing

  • 8/11/2019 Sysadmin & AOL

    98/154

    EASOracle A s

    Why Concurrent Processing

    Does not interfere with the interactive work you perform at your

    computer

    Use the Standard Request Submission (SRS) interface to run

    reports and programs View the Status / Output / Log information

    Schedule reports and programs

    Control access to different reports and programs

    Alert on completion

    Fully use the capacity of your hardware by executing many

    application tasks at once.

    Using Concurrent Manager

  • 8/11/2019 Sysadmin & AOL

    99/154

    EASOracle A s

    Using Concurrent Manager

    Enter information

    Parameter values

    Define schedule

    Define completion

    Click Submit

    Record request ID

    Submit request

    May be required

    Optional

    Optional

    Using Concurrent Manager

  • 8/11/2019 Sysadmin & AOL

    100/154

    EASOracle A s

    Inactive

    Completed

    Running

    Pending

    Phases/Stages Of a Concurrent Request

    Disabled|On Hold|No Manager

    Normal|Waiting|Standby|Scheduled

    Normal|Paused|Resuming|Terminating

    Normal|Warning|Error|Terminated|

    Canceled

    Using Concurrent Manager

  • 8/11/2019 Sysadmin & AOL

    101/154

    EASOracle A s

    g g

    FND_ CONC_REQUEST_ARGUMENTS

    FND_RUN_REQUESTS

    FND_CONCURRENT

    _REQUESTS

    FND_DUAL

    FND_CONCURRENT_PROCESSES

    Database Tables Operating System Files

    Product_TOP

    LOG OUT

    IrequestID.req Username.requestIDIrequestID.req Username.requestIDIrequestID.req Username.requestID

    Purge Request Results

    Using Concurrent Manager

  • 8/11/2019 Sysadmin & AOL

    102/154

    EASOracle A s

    g g

    Enter Request Set Name

    Define a Stage

    Enter Requests for Stage

    Enter Request Parameter

    Link Stages

    Save Changes

    Request Set

    Administering Concurrent Managers

  • 8/11/2019 Sysadmin & AOL

    103/154

    EASOracle A s

    g g

    Define Managers and their work shifts

    Specialize managers to run only certain programs

    Classify a program as a request type

    Monitor concurrent processing using Oracle Enterprise Manager

    Administering Concurrent Managers

  • 8/11/2019 Sysadmin & AOL

    104/154

    EASOracle A s

    g g

    6 AM

    06:00

    12 PM

    12:00

    6 PM

    18:00

    11:59

    23:5912 AM

    00:00

    Day work shiftthree processes

    Night work shift

    six processes

    Graveyard

    work shift

    six processes

    Balancing Process Workload Over Time

  • 8/11/2019 Sysadmin & AOL

    105/154

  • 8/11/2019 Sysadmin & AOL

    106/154

    Administering Concurrent Managers

  • 8/11/2019 Sysadmin & AOL

    107/154

    EASOracle A s

    g g

    The OracleApplications Managerapplet allowsadministrators to

    perform all ConcurrentManageradministration tasksfrom the EnterpriseManager console.

    Applications Manager features the same tree and

    detail view as other Enterprise Manager tools.

    Management Pack for Oracle Applications

    Administering Concurrent Managers

  • 8/11/2019 Sysadmin & AOL

    108/154

    EASOracle A s

    g g

    Oracle

    Performance

    Manager allows

    administrators

    to monitor

    performance

    statistics for

    OracleApplications

    Concurrent Managers and

    host operating systems. Administrators can

    display this data in different chart formats.

    Oracle Performance Manager

    Administering Concurrent Managers

  • 8/11/2019 Sysadmin & AOL

    109/154

    EASOracle A s

    g g

    Oracle Capacity

    Planner allows

    administratorsto collect and

    analyze

    historical

    performance

    statistics from

    Oracle

    Applications

    Concurrent Managers and host operating systems

    to estimate future capacity requirements.

    Oracle Capacity Planner

    Concurrent Program

  • 8/11/2019 Sysadmin & AOL

    110/154

    EASOracle A s

    A concu rrent p rog ram is an executable f ile that runs

    simu l taneously w i th other concurrent programs and

    w ith on l ine operat ions.

    g

    Any long running data intensive program

    Operat ing sy stem scr ip t

    Oracle Reports

    Concurrent Program Execution

  • 8/11/2019 Sysadmin & AOL

    111/154

    EASOracle A s

    When subm i t ted through a Standard Submiss ion

    form a concu rrent program generates a concurrent

    request

    A con current manager interprets a concu rrent

    request and s tar ts the process

    Define Concurrent Program

  • 8/11/2019 Sysadmin & AOL

    112/154

    EASOracle A s

    g

    Define concurrent prog ram executable

    Def ine concu rrent p rogram

    Run con cur rent program through subm i t requestfo rm

    Concurrent program Parameters

  • 8/11/2019 Sysadmin & AOL

    113/154

    EASOracle A s

    The parameters are the placeholders for the input values to a concurrent

    program.

    If the execution method of a concurrent program is Oracle Reportsthen

    each parameter is linked to the actual report parameter via the Token

    field in the parameters window

  • 8/11/2019 Sysadmin & AOL

    114/154

    Define Concurrent Program Executable

  • 8/11/2019 Sysadmin & AOL

    115/154

    EASOracle A s

    Locations of the Executables

  • 8/11/2019 Sysadmin & AOL

    116/154

    EASOracle A s

    The executable files should be moved to the proper location on the server.

    Ex: .sql file should be moved to the XXX_TOP/sql, .fmb should be movedto XXX_TOP/forms/US etc.

    Forms, reports should be moved to the server in binary mode and sql files

    in ASCII mode

    Define Concurrent Program

  • 8/11/2019 Sysadmin & AOL

    117/154

    EASOracle A s

    Why Concurrent Processing

  • 8/11/2019 Sysadmin & AOL

    118/154

    EASOracle A s

    Does not interfere with the interactive work you perform at your

    computer

    Use the Standard Request Submission (SRS) interface to run

    reports and programs View the Status / Output / Log information

    Schedule reports and programs

    Control access to different reports and programs

    Alert on completion

    Fully use the capacity of your hardware by executing many

    application tasks at once.

    Define Concurrent Parameters

  • 8/11/2019 Sysadmin & AOL

    119/154

    EASOracle A s

    For a report this is mandatory if the report

    accepts any parameters

    Define Incompatibility Rules

  • 8/11/2019 Sysadmin & AOL

    120/154

    EASOracle A s

    Request Group

  • 8/11/2019 Sysadmin & AOL

    121/154

    EASOracle A s

    A request gro up is a col lect ion o f repo rts and

    concurrent programs

    A system adm inistrator def ines request group in

    order to con tro l user access to reports and

    concurrent programs

    Only a sys tem administrator can define a request

    group

    Define Request Group

  • 8/11/2019 Sysadmin & AOL

    122/154

    EASOracle A s

    Request Set

  • 8/11/2019 Sysadmin & AOL

    123/154

    EASOracle A s

    Request Sets are a method of grouping multiple

    reports and/or concurrent programs by business

    function with common run and print options.

    The various tasks of the request set are linked

    together to determine the execution order,

    whether the tasks execute sequentially or in

    parallel.

    Stage

  • 8/11/2019 Sysadmin & AOL

    124/154

    EASOracle A s

    Stage is a component of a request set used to group requests within the set. All

    requests in a stage are run in parallel, while stages themselves are run sequentiallyin the set.

    Tasks that must operate separately are created in different stages.

    After defining the initial stage for execution, all subsequent stages are defined

    under the three completion status codes for the previous stage.

    Request Set

  • 8/11/2019 Sysadmin & AOL

    125/154

    EASOracle A s

    grant users of a responsibi l i ty the abi li ty to run s elected

    reports and concu rrent programs that are outside their

    report secur i ty group.

    grant access to requests and o ther concu rrent programs

    on a userbyuser basis.

    guarantee that repo rts in the request set run w ith pr int

    op t ions and parameter values that canno t be edi ted by

    end u sers.

    Benefi ts Of Request Set

    Define Request Set

  • 8/11/2019 Sysadmin & AOL

    126/154

    EASOracle A s

    Define Request Set...

  • 8/11/2019 Sysadmin & AOL

    127/154

    EASOracle A s

    Request set lets you run mult ip le reports w i thpredef ined pr int and run op t ions

    A part icular repo rt can be includ ed more than once

    in a request set

    When a user defines a request set , he/she becomes

    the owner of the request set

    Standard Request Submission

  • 8/11/2019 Sysadmin & AOL

    128/154

    EASOracle A s

    Benef i ts o f SRS SRS Provides a standard interface for runn ing and

    monitoring your applications report

    Lets users view reports o nl ine

    Lets user run reports /con current prog ram at speci f ic t ime

    interval

    Lets user speci fy run and p r int opt ions and parameter

    value for reports and concu rrent programs

    SRS Form

  • 8/11/2019 Sysadmin & AOL

    129/154

    EASOracle A s

    Message Dictionary

  • 8/11/2019 Sysadmin & AOL

    130/154

    EASOracle A s

    Objective is to understand :

    Implementing Hard coded Messages

    Implementing Message Dictionary

  • 8/11/2019 Sysadmin & AOL

    131/154

    Message Dictionary (Contd..)

  • 8/11/2019 Sysadmin & AOL

    132/154

    EASOracle A s

    ERROR - Displays an error message in a forms modal window or a concurrent

    program log file. (Example: Invalid value entered.) SHOW - Displays an informational message in a forms modal window or a

    concurrent program log file. (Example: To complete this function, please

    enter the following... )

    HINT - Displays a message in the forms status line

    Message Dictionary (Contd..)

  • 8/11/2019 Sysadmin & AOL

    133/154

    EASOracle A s

    WARN - Displays a warning message in a forms modal window and allows the user to

    either accept or cancel the current operation. (Example: Do you wish to proceedwith the current operation?)

    QUESTION - Displays a message and up to three buttons in a forms modal window.

    (Example: Please choose one of the following actions.)

    Messages form

  • 8/11/2019 Sysadmin & AOL

    134/154

    EASOracle A s

  • 8/11/2019 Sysadmin & AOL

    135/154

    EASOracle A s

    Application Security

    Responsibility

  • 8/11/2019 Sysadmin & AOL

    136/154

    EASOracle A s

    A responsib i l i ty is a set of author i ty in Oracle

    Appl icat ions that lets users access only those

    func t ional ity o f the appl ication app ropr iate to th eir

    roles in the organizat ion

    Responsibility...

  • 8/11/2019 Sysadmin & AOL

    137/154

    EASOracle A s

    Responsibi l i ty Determ ines

    How much of an applications functionality a user

    can use

    What reports and concurrent prog ram a user can

    access

    Which appl icat ion data these reports and

    con current programs can access.

  • 8/11/2019 Sysadmin & AOL

    138/154

    Data Group

  • 8/11/2019 Sysadmin & AOL

    139/154

    EASOracle A s

    A data group def ines th e mapping between OracleAppl ication p rodu ct and Oracle ID

    An Oracle username and passwo rd al low access to an

    applications table in an Oracle database.

    Each Oracle username in a data-group determ ines the

    database table and priv i leges accessible by the

    correspond ing appl icat ion

    Purpose Of Data Group

  • 8/11/2019 Sysadmin & AOL

    140/154

    EASOracle A s

    It ident i f ies the Oracle username that forms connect to

    when you select the responsibi l i ty.

    Concurrent managers use a data group to match the

    appl ication that owns a report or concurrent program

    (subm itted by a user of the responsibi l i ty) w ith a

    un ique Oracle username.

    Define Data Group

  • 8/11/2019 Sysadmin & AOL

    141/154

    EASOracle A s

    Request Group

  • 8/11/2019 Sysadmin & AOL

    142/154

    EASOracle A s

    A request group def ines the set of concurrentprog rams that may be run by an appl icat ion user

    under a part icular responsib i l i ty

    Request group can inc lude

    Ind iv idual Repor t and con current program

    Request Set

    Types Of Request Group

  • 8/11/2019 Sysadmin & AOL

    143/154

    EASOracle A s

    Respon sibi l i ty Level

    Form Level

  • 8/11/2019 Sysadmin & AOL

    144/154

    Define Request Group

  • 8/11/2019 Sysadmin & AOL

    145/154

    EASOracle A s

    Define Responsibility

  • 8/11/2019 Sysadmin & AOL

    146/154

    EASOracle A s

  • 8/11/2019 Sysadmin & AOL

    147/154

    Auditing

  • 8/11/2019 Sysadmin & AOL

    148/154

    EASOracle A s

    Auditing user activity (Sign On Audit)

    Auditing database row changes (Audit Trail)

    Audit TableDatabase Table

    Auditing User

    Si O A dit N

  • 8/11/2019 Sysadmin & AOL

    149/154

    EASOracle A s

    Sign On Audit

    profile option

    Sign On Audit reports

    Monitor Users form

    Sign On Audit: None

    Sign On Audit: User

    Sign On Audit: ResponsibilitySign On Audit: Form

    Sign On Audit Forms Report

    Sign On Audit Users Report

    Sign On Audit ResponsibilitiesSign On Audit Concurrent

    Requests Report

    Sign On Audit Unsuccessful

    Logins Report

    User Monitor

    Auditing: Data

  • 8/11/2019 Sysadmin & AOL

    150/154

    EASOracle A s

    Database Table Audit Table

    INSERT

    UPDATE

    DELETE

    Steps for Setting Up Audit-Trail

    1. Identify tables and columns to be audited.2. Create audit group.

    3. Specify columns for auditing.

    4. Identify Oracle IDs to be audited.

    5. Run Audit Trail Update Tables Report.

    6. Develop auditing reports.

    Auditing: Data

  • 8/11/2019 Sysadmin & AOL

    151/154

    EASOracle A s

    Base Table Base Table_A

    SQL> DESC AR_Adjustments_ALL_A;

    NAME NULL? TYPE

    AUDIT_TIMESTAMP NOT NULL DATE

    AUDIT_TRANSACTION_TYPE NOT NULL VARCHAR2(1)

    AUDIT_USER_NAME NOT NULL VARCHAR2(100)

    AUDIT_TRUE_NULLS VARCHAR2(250)PRIMARY KEY NUMBER

    CUSTOMER_TRX_ID NUMBER

    APPROVED BY NUMBER

    CREATED BY NUMBER

    ACCTD_AMOUNT NUMBER

    Auditing Shadow Tables

    Auditing: Data

  • 8/11/2019 Sysadmin & AOL

    152/154

    EASOracle A s

    Auditing: Data

    Shadow_Table_Name_Avn Shadow_Table_Name_Acn

    Shadow_Table_Name_A

    Basic table view Table changes view

    Shadow Table Views

  • 8/11/2019 Sysadmin & AOL

    153/154

  • 8/11/2019 Sysadmin & AOL

    154/154