Basics of Value Sets in Oracle Applications

download Basics of Value Sets in Oracle Applications

of 24

Transcript of Basics of Value Sets in Oracle Applications

  • 8/9/2019 Basics of Value Sets in Oracle Applications

    1/24

    Basics of Value Sets in Oracle Applications

    Explained below is the basic of Value Set.

    What is a value set and where is it used?

    Value set is primarily the List of Values (LOV) to restrict and mantain consistenciesin enterin or selectin the !alues. "t is also the place holders to allow user enter a

    !alue. Oracle Application Ob#ect Library uses !alue sets as important components of 

    $ey %ex&elds' descripti!e %ex&elds' and oncurrent e*uest Submission.

    What are the Format Types the value set have?

    + haracter

    + ,umber

    + -ime

    + Standard ate' Standard ate -ime

    + ate' ate -ime

    ,ote that ate and ate -ime !alue set formats are obsolete and are pro!ided forbac$ward compatibility only. /or new !alue sets' use the the format types Standard

    ate and Standard ate -ime.

    What are the validation types?

    ,one0

    + -here is no !alidation done for this type of !alue set' hence allows user to enter

    any !alue.

    "ndependent0

    + "t pro!ides a list of pre1de&ned !alues. -he prede&ned !alues are entered

    separately.

    ependent0

    + Same li$e "ndependent Value Set' except the List of Values shown to you will

    depend on which the "ndependent !alue you ha!e selected in the 2rior Sement.

    + 3ust de&ne your independent !alue set before you de&ne the dependent !alue set

    that depends on it.

    + 3ust create at least one dependent !alue for each independent !alue.

     -able0

    + -he list of !alue is created based on database tables

    http://sureshvaishya.blogspot.in/2008/06/value-sets-in-oracle.htmlhttp://sureshvaishya.blogspot.in/2008/06/value-sets-in-oracle.html

  • 8/9/2019 Basics of Value Sets in Oracle Applications

    2/24

    + Allows to write simple *ueries' #oins' order by etc

    + -he !alue' meanin and " can be used to display a !alue' description to the !alue

    but return " to the callin proram or screen.

    + Additional columns can also be displayed. -he syntax is column 4column title

    (si5e)6' e.. order type 4SO Order -ype (78)4

    + an also create dependent !alues to &lter LOV data based on parameter !alueselected earlier. -his can be done usin0 9/LE:0 .!alue;set;name in the where

    clause.

    Special < 2air0

    2air !alidation !alue set allows to select a rane of concatenated /lex &eld

    sements as parameters to the report. -he special !alue set is used to perform

    special !alidation. -his is used to enter the entire $ey %ex&eld sement in the sinle

    parameter of the report=callin entity.

     -ranslatable "ndependent < -ranslatable ependent0

    + -his is similar to "ndependent and ependent !alue set except that translated

    !alues can be displayed to the user.

    APIs to create value set

     -he /,;/LE:;VAL;A2" pac$ae can be used to create di>erent types of !alue sets.

    + VAL?ESE-;E:"S-S 1 -o chec$ if !alue set exists

    + ELE-E;VAL?ESE- 1 -o delete !alue set. -he !alue set can only be deleted if it is

    not bein referenced by any proram or entity.

    + EA-E;VAL?ESE-;,O,E+ EA-E;VAL?ESE-;",E2E,E,-

    + EA-E;VAL?ESE-;E2E,E,-

    + EA-E;VAL?ESE-;-ABLE

    + EA-E;VAL?ESE-;S2E"AL

    + EA-E;VAL?ESE-;2A"

    what are the oracle tables that store value set information?

    + /,;/LE:;VAL?E;SE-S

    + /,;";/LE:;SE@3E,-S

    + /,;/LE:;VAL?E

    + /,;/LE:;VAL"A-"O,;EVE,-S

    + /,;/LE:;VAL?E;?LE;L",ES

    + /,;/LE:;VAL?E;?LE

    + /,;/LE:;VAL?E;?LE;?SA@E

    + /,;/LE:;VAL"A-"O,;-ABLES

  • 8/9/2019 Basics of Value Sets in Oracle Applications

    3/24

    1.

     What is the Di between APP chema and other chemas?Apps schema contains only Synonyms we cant create tables in apps schema' where

    as other schemas contains tables' < all the ob#ects. ere only we will create the

    tables and i!in rants on created tables. Almost all e!ery time we will connect to

    apps schema only.

    !.

     What is meant by "ustom Top and what is the Purpose?

    ustom -op is nothin but ustomer -op' which is created for customer only. Ce can

    ha!e multiple custom

    tops based on client re*uirement. "t is used to store de!eloped < customi5ed

    components. Chene!er oracle

    corp applin patches it will o!er ride on all the modules except custom top. -hatDs

    why we will use custom top.

     

    #.

     What is the i$ni%cancy of & Folder?

    "t is nothin but lanuae speci&cation by default it is in american lanuae. Ce can

    ha!e multiple lanuaes folders based on installed lanuaes. from bac$end we

    can et it from

    /,;LA,@?A@ES 11 OL 11",S-ALLE;/LA@ "'B'

      "11",S-ALLE'

      B11BASE'

      11"SABLE

      select lanuae;code'nls;lanuae from fnd;lanuaes whereinstalled;%a li$e B

    '.

  • 8/9/2019 Basics of Value Sets in Oracle Applications

    4/24

     Where did & %nd the Applcation short name and basepath names?

    select basepath'application;short;name from fnd;application from the bac$end.

    /rom the from end we can et it ,a!iation Application e!eloper.11111

    Application1111eister -he application name we will et from

    /,;A22L"A-"O,;-L

    (.

     Where can & %nd the release version from bac)end?

    SELE- release;name from /,;2O?-;@O?2SF 111GG.H.G8.I .

    *.

     What are the Folders we will %nd below the 11+(+, Folder?

    eports'forms's*l'lib'lo'out'bin'admin'html'xml'ms'def' etc

    -.

     "an we create Tables in the Apps chema?

    ,o.

    ..

     "an we have custom schema when it it re/uired?

    yes' we can ha!e custom schema' when we want to create a new table we re*uired

    custom schema.

    0.

     What is meant by concurrent Pro$ram?

    "t is nothin but "nstance of the execution alon with parameters < "ncompatables.

    ere "ncompatables nothin but if we are submitin cc prorams if any one can be

  • 8/9/2019 Basics of Value Sets in Oracle Applications

    5/24

    execute in those proram ' which prorams r not imp yet this time we will mention

    those prorams in incompatables tab.

    1,.

     

    What are the steps we will follow to re$ister eports as "oncurrent

    Pro$ram?

     /irst de!elop the report < sa!e it in local machine. upload into

    custom;top=GG.H.8=reports=us= o to system administrator open executable form

    create executable by mentionin executable method as reports 'executable as

    report name which was created. o to cc proram form create ccproram by attach

    executable name in executable section. then attach this ccproram to re*uestroup' e*uest roup to esponsibility.esponsibility to ?ser.

    11.

     What is meant by e/uest $roup?

    "t is nothin but collection of cc prorams.

    1!.

     What is Application Top? What are the types and Purpose?

     

    A) Chen we connect to the ser!er we will &nd the top called application top. ?nder

    application top we ha!e

    1#.

     2roduct top.

     ustom top

     

    2roduct top is the default top built by the

    manufacturer. ustom top is used to select the

    lient for his business purposes. ustomi5ations

    are done with the ustom top.

  • 8/9/2019 Basics of Value Sets in Oracle Applications

    6/24

     What is & folder in the "ustom Top?

      "t is a lanuae speci&c folder used to store the @.?." li$e reports and forms.

    1'.

     What are mandatory parameters of Procedures and what the use of

    those? 

    1(

     What is Apps chema and chema? 

    1*.

     What is To)en?

      a) ?se to transfer !alues to report builder and it is not case sensiti!e.

    1-.

     Dierence between F234 Function and 3enu?

     Errorbuf0 "t is used to returns the error

    messaes and sent it to the lo &le.

     etcode0 "t is used to show the status of the 2rocedure with 8' G' and I 8 for

    ompleted ,ormal

     G for ompleted Carnin

    I for ompleted Error

     Schema0 Schema is the location in

    database contains database ob#ects li$e

    !iews' tables' and synonyms.

     Apps Schema0 "t is used to connect the all schemas to et the information

    from -he database.

    a) A menu is a hierarchical arranement

    of functions and menus. Each

    responsibility has a menu assined to it. A

    function is a part of an application that is

    reistered under a uni*ue name for the

    purpose of assinin it to be includin it

    from a menu.

  • 8/9/2019 Basics of Value Sets in Oracle Applications

    7/24

    1..

     -ell me somethin about SJL1LOAE.

    10.

     What is 5T62F67228?

     

    !,.

     

    S*l + loader is a bul$ loader utility used

    for mo!in data from external &les into

    the oracle database.

    S*l+ loader supports !arious load formats'

    selecti!e loadin' and multi1tables loads.

    G) on!entional 11-he con!entional path

    loader essentially loads the data by usin

    standard KinsertD statement.

    I) irect 11 -he direct path loader (direct

    true) by possess of loic in!ol!ed with

    that' and loads directly in to the oracle

    data &les.E:01 3y data.cs! &le

    G88G' Mscott tier6'G888'78

    G88I'6!reddy6'IN7H'H8

    Load data

    "n&le Kc0datamydata.cs!D

    insert "nto table emp /ields terminated by

    M'6 optionally enclosed byK6D

    (empno' empname'sal'deptno)

    s*lldr scott=tierP!is controlloader.ctl

    lo !lo.lo bad!bad.bad

    discard!dis.dsc .

     

    ollection of hart of Accounts and

    urrency and alendars is called SOB

  • 8/9/2019 Basics of Value Sets in Oracle Applications

    8/24

     Tell me what r the 7ase tables in the A?

     

  • 8/9/2019 Basics of Value Sets in Oracle Applications

    9/24

     

    h5;parties (party;id) (store info about or'

    roups and people)

    Q;2A-"ES stores information about

    parties such as orani5ations'

    people' and roups' includin the

    identifyin address information for the

    party.

    h5;cust;accounts (cust;account;id)

    Q;?S-;AO?,-S stores information

    about customer relationships. "f aparty becomes a customer' information

    about the customer account is stored in

    this table. Rou can establish

    multiplecustomer relationships with a

    sinle party' so each party can ha!e

    multiple customer account records in this

    table.

    h5;cust;acct;sites;all (cust;acct;site;id)

    Q;?S-;A-;S"-ES;ALL stores

    information about customer sites. Onecustomer account can ha!e multiple sites.

     -he address is maintained in

    Q;LOA-"O,S.

    h5;cust;site;uses;all (site;use;id)

    Q;?S-;S"-E;?SES;ALL stores

    information about site uses or business

    purposes. A sinle customer site can ha!e

    multiple site uses' such as bill to or ship

    to' and each site use is stored as a record

    in this table.

    h5;party;sites (party;site;id)Q;2A-R;S"-ES stores information about

    the relationship between 2arties

    and Locations. -he same party can ha!e

    multiple party sites. 2hysical addresses

    are stored in Q;LOA-"O,S.

    h5;locations (location;id)

    Q;LOA-"O,S stores information about

    physical locations.

    h5;2erson;2ro&les (person;pro≤id)

    Q;2ESO,;2O/"LES stores detail

    information about people.

    h5;Orani5ation;2ro&les

    (orani5ation;pro≤id)

    Q;O@A,"QA-"O,;2O/"LES stores

    credit ratin' &nancial statistics'

    socioeconomic and corporate lin$ae

    information for business sites. -he

    primary $ey for this table is

    O@A,"QA-"O,;2O/"LE;".

  • 8/9/2019 Basics of Value Sets in Oracle Applications

    10/24

    !1.

     F9D &5 5:IT;6

     

    !!.

     What is

  • 8/9/2019 Basics of Value Sets in Oracle Applications

    11/24

    !#.

     Form development process?

     

     -he !alue set is a collection (or) container

    of !alues.

    Chene!er the !alue set associated with

    any report parameters. "t pro!ides list of

    !alues to the end user to accept one of

    the !alues as report parameter !alue.

    "f the list of !alues needed to be dynamic

    and e!er chanin and de&ne a table

    based !alues set.

    1!= What are the validation types?

    G) ,one 11111111 !alidation is minimal.

    I) "ndependent 111111input must exist on

    pre!iously de&ned list of !aluesN) ependent 111111input is chec$ed

    aainst a subset of !alues based on a

    2rior !alue.

    N) -able 11111 input is chec$ed aainst

    !alues in an application table

    7) Special 111111!alues set uses a %ex &eld

    itself.

    H) 2air 111111 two %ex &elds toether

    specify a rane of !alid !alues.

    ) -ranslatable independent 11111 inputmust exist on pre!iously de&ned list

    of !aluesF translated !alues can be used.

    T) -ranslatable dependent 1111111 input is

    chec$ed aainst a subset of !alues

    based on a prior !aluesF translated !alue

    can be used.

  • 8/9/2019 Basics of Value Sets in Oracle Applications

    12/24

    !'.

     >ow does u customie the eports?

     

    a) Open template form

    b) Sa!e as Uyour form.fmb

    c) hane the form module name as form

    name.

    d) elete the default bloc$s' window' and

    can!ase) reate a window.

    f) Assin the window property class to

    window

    ) reate a can!as (subclass info)

    h) Assin can!as property class to the

    can!as

    ") assin the window to the can!as and

    can!as to the window

     #) reate a data bloc$

    $) 3odify the form le!el properties. (sub

    class item -ext item)

    l) 3odify the app;custom pac$ae. "n the

    proram unit.

    m) 3odify the pre1form trier (form

    le!el)

    n) 3odify the module le!el properties

    ((console window' /irst na!iation

    p) Sa!e and compile the form.

    2lace the .fmx in the ser!er directory.

  • 8/9/2019 Basics of Value Sets in Oracle Applications

    13/24

    !(.

     F@5: FI5@D?

     

    a+ "dentify the Short name of the standard

    report in which module we ha!e

    to customi5e

    Ex0 1 if u wants to customi5e in the A

    module path is

    Appl toparGG.H.8reports?S .rdf b+ Open the .rdf &le in eport builder and

    chane the name of the module.

    c+ Open the data module and modify the

    *uery (what is client re*uirements)

    assin the columns to the attributes.

    d+ @o to report wi5ard and select' what r

    the newly created columns.

    e+ -hen ompile it. -hen u will et a .rep

    &le in the speci&ed module. "f it is

    not in the speci&ed directory then we

    ha!e to put in the ser!er directory.

    f+ -hen eister in the AOL oncurrent

    Executable and

    oncurrent 2roram.

    $+ @o to system administrator Security

    responsibility re*uest.

    h+ Add and assin a concurrent proram

    to a re*uest roup

  • 8/9/2019 Basics of Value Sets in Oracle Applications

    14/24

    !*.

     Dierence between 7ind and @eical parameters?

     

    ?sed to capture the additional business information.

    DFF 8FF

     Additional ?ni*ue "nfo' 3andatory

     aptured in attribute pre&xedcolumns

    Sement pre&xed

     ,ot reported on standard reports "s reported on standard reports

     -o pro!ide expansion space on your

    form Cith the help of W.

    W epresents descripti!e /lex &eld.

     /LE: /"LE 0 ES"2-"VE 0 E@"S-E

    ?sed for enterin and displayin $ey

    information

    /or example Oracle @eneral uses a

    $ey /lex &eld called Accountin /lex

    &eld to uni*uely identify a eneral

    account.

    /LE: /"LE 0 XER 0 E@"S-E

     

    B", VA"ABLE0

    are used to replace a sinle !alue in s*l'

    pl=s*l

    bind !ariable may be used to replace

    expressions in select' where' roup' order

    by' ha!in' connect by' start with cause

    of *ueries.

    bind reference may not be referenced in

    /O3 clause (or) in place of 

    reser!ed words or clauses.

    LE:"AL E/EE,E0

     Rou can use lexical reference to replacethe clauses appearin A/-E select'

    from' roup by' ha!in' connect by' start

    with.

     Rou canDt ma$e lexical reference in pl=s*l

    statements.

  • 8/9/2019 Basics of Value Sets in Oracle Applications

    15/24

    !-.

     what is Fle mode and "on%ne mode?

     

    !..

     What is Place holder "olumns?

     

    !0.

     What is Formula "olumn?

     

    "on%ne mode0

    2n; child ob#ects cannot be mo!ed

    outside their enclosin parent ob#ects.

    2; child ob#ects can be mo!ed outside

    their enclosin parent ob#ects.

    Fle mode;

    2n; parent borders 4stretch4 when child

    ob#ects are mo!ed aainst them.2; parent borders remain &xed when

    child ob#ects are mo!ed aainst

    them.

     

    A placeholder is a column is an empty

    container at desin time. -he placeholder

    can hold a !alue at run time has been

    calculated and placed in to "t by pl=s*l

    code from anther ob#ect.

     Rou can set the !alue of a placeholder

    column is in a Before eport trier.

    Store a -emporary !alue for future

    reference. E:. Store the current max

    salary as records are retrie!ed.

  • 8/9/2019 Basics of Value Sets in Oracle Applications

    16/24

    #,.

     What is a ummary column?

     

    #1.

     What is T"A BTradin$ "ommunity Architecture=?

     

    #!.

     

    A formula column performs a user1de&ned

    computation on another column(s) data'

    includin placeholder columns.

     

    A summary column performs a

    computation on another columns data.

    ?sin the eport Ci5ard or ata Ci5ard'

    you can create the followin summaries0

    sum' a!erae' count' minimum'

    maximum' Y total. Rou can also create asummary column manually in the ata

    3odel !iew' and use the 2roperty 2alette

    to create the followin additional

    summaries0 &rst' last' standard de!iation'

    !ariance.

     

    Ans. Oracle -radin ommunity

    Architecture (-A) is a data model that

    allows you to manae complex

    information about the parties' or

    customers' who belon to your

    commercial community' includin

    orani5ations' locations' and the networ$

    of hierarchical relationships amon them.

     -his information is maintained in the -A

    eistry' which is the sinle source of

    tradin community information for Oracle

    E1Business Suite applications.

  • 8/9/2019 Basics of Value Sets in Oracle Applications

    17/24

     Dierence between Application Developer and ystem Administrator?

     

    ##.

     What are Fle %elds?

     

    Ans+

    ole of -echnical onsultant0

    a. esinin ,ew /orms' 2rorams and

    eports

    b. /orms and eports customi5ation

    c. e!elopin "nterfaces

    d. e!elopin 2L=SJL stored procedures

    e. Cor$%ow automations

    ole of System Administrator0

    a. e&ne Loon ?sers

    b. e&ne ,ew=ustom esponsibility

    c. e&ne ata @roupsd. e&ne oncurrent 3anaers

    e. e&ne 2rinters

    f. -est ,etwor$ 2references

    . e&ne=Add new 3odules

    ole of an Apps BA0

    a. "nstallin of Application

    b. up radation

    c. 3iration

    d. 2atches

    e. outin maintenance of JA

    f. lonin of OA

  • 8/9/2019 Basics of Value Sets in Oracle Applications

    18/24

    #'.

     eport re$istration process?

     

    Ans+

    Ans. A /lex &eld is a customi5able &eld

    that opens in a window from a reular

    Oracle Applications window. e&nin %ex

    &elds enables you to tailor OracleApplications to your own business needs.

    By usin %ex &elds' you can0

    (a) Structure certain identi&ers re*uired

    by oracle applications accordin to your

    own business en!ironment.

    (b) ollect and display additional

    information for your business as needed.

    Xey /lex &elds0 Rou use $ey %ex &elds to

    de&ne your own structure for many of the

    identi&ers re*uired by Oracle

    Applications. 2ro&le Z K/lex&elds0Open XeyCindowD (/,;";/LE:S)

    escripti!e /lex &eld0 Rou use descripti!e

    %ex &elds to ather additional information

    about your business entities beyond the

    information re*uired by Oracle

    Applications. 2ro&le Z /lex &elds0 Open

    escr CindowD (/,;ES"2-"VE;/LE:S)

  • 8/9/2019 Basics of Value Sets in Oracle Applications

    19/24

    #(.

     De%ne e/uest Croup?

     

    #*.

     

  • 8/9/2019 Basics of Value Sets in Oracle Applications

    20/24

    #-.

     erent structures of the same %ex &eld'and e!en sements within the same %ex

    &eld structure. Rou can share !alue sets

    across $ey and descripti!e %ex &elds. Rou

    can also use !alue sets for report

    parameters for your reports that use the

    Standard eport Submission feature.

    ,a!iation 2ath0

    Loin Z Application e!eloper 1

    Application 1 Validation 1 Set

  • 8/9/2019 Basics of Value Sets in Oracle Applications

    21/24

    #..

     Incompatibility in report re$istration and un Alone?

     

    Ans+

    G. ependant

    I. "ndependent

    N. ,one

    7. 2airH. Special

    . -able

    T. -ranslate "ndependent

    [. -ranslate ependent

  • 8/9/2019 Basics of Value Sets in Oracle Applications

    22/24

     

    2racle interview /uestions

     

    1. What are the various types of 5ceptions ?

     ?ser de&ned and 2rede&ned Exceptions.

    !. "an we de%ne eceptions twice in same bloc) ?

     

    Ans+

    "dentify prorams that should not run

    simultaneously with your concurrent

    proram because they miht interfere

    with its execution. Rou can specify yourproram as bein incompatible with itself.

    Application0 Althouh the default for this

    &eld is the application of your concurrent

    proram' you can enter any !alid

    application name.

    ,ame0 -he proram name and application

    you specify must uni*uely identify a

    concurrent proram. Rour list displays the

    user1friendly name of the proram' the

    short name' and the description of the

    proram.Scope0 Enter Set or 2roram Only to

    specify whether your concurrent proram

    is 5incompatible with this proram and all

    its child re*uests (Set) or only with this

    proram (2roram Only).

    un Alone0 "ndicate whether your

    proram should run alone relati!e to all

    other prorams in the same loical

    database. "f the execution of your

    proram interferes with the execution ofall other prorams in the same loical

    database (in other words' if your proram

    is incompatible with all prorams in its

    loical database' includin itself)' it

    should run alone.

  • 8/9/2019 Basics of Value Sets in Oracle Applications

    23/24

    ,o.

     

    #. What is the dierence between a procedure and a function ?

    /unctions return a sinle !ariable by !alue where as procedures do not return any!ariable by !alue. ather they return multiple !ariables by passin !ariables by

    reference throuh their O?- parameter.

     

    '. "an you have two functions with the same name in a P@E@ bloc) ?

     Res.

     

    (. "an you have two stored functions with the same name ?

      Res.

     

    *. "an you call a stored function in the constraint of a table ?

    ,o.

     

    -. What are the various types of parameter modes in a procedure ?

    ",' O?- A, ",O?-.

     

    .. What is 2ver @oadin$ and what are its restrictions ?

    O!erLoadin means an ob#ect performin di>erent functions dependin upon the

    no. of parameters or the data type of the parameters passed to it.

     

    0. "an functions be overloaded ?

     Res.

  • 8/9/2019 Basics of Value Sets in Oracle Applications

    24/24

    1

    ,+

     "an ! functions have same name input parameters but dier only by

    return datatype

    ,o.