Apps Technical

download Apps Technical

of 86

Transcript of Apps Technical

  • 8/12/2019 Apps Technical

    1/86

    apps technical

    1) what is set-of-books?

    collection of chat of accounts and currency and calendars is called so

    2) how can u call a standard interface program from sql or pl/sql code?

    fnd_request.submit_request (po,executable name,,,,parameters)

    3) apis for customer interface?

    hz_cust_a/c_vzpub.update_cust_a/c

    hz_cust_a/c_vzpub.create_cust_a/c

    fnd_profiles

    fnd_applications

    fnd_globalfnd-file

    fnd_concsub(can submit conc program in host environment)

    4) pl/sql stored procedure parameters? or what are the two parameters that are mandatory for pl/sql

    type concurrent program?

    procedure/function (errbuf out retcode out .)

    errbuf :- used to write the error message to log or request file.

    retcode :- populate log request file with program submission details info.

    5) what is value set?

    --the value set is a collection (or) container of values.

    --when ever the value set associated with any report parameters. it provides list of values to the end

    user to accept one of the values as report parameter value.

    -- if the list of values needed to be dynamic and ever changing and define a table based values set.

    6) what r the validation types?

    1) none -------- validation is minimal.

    2) independent ------input must exist on previously defined list of values

    3) dependent ------input is checked against a subset of values based on a prior value.

    3) table ----- input is checked against values in an application table

    4) special ------values set uses a flex field itself.

    5) pair ------ two flex fields together specify a range of valid values.

    6) translatable independent ----- input must exist on previously defined list

  • 8/12/2019 Apps Technical

    2/86

    of values; translated values can be used.

    7) translatable dependent ------- input is checked against a subset of values

    based on a prior values; translated value can be used.

    7) what is template?

    a) the template form is the required starting point for all development of new forms.

    b) the template form includes platformindependent attachments of several libraries.

    appscore :- it contains package and procedures that are required of all forms to support the menus

    ,toolbars.

    appsdaypk :- it contains packages that control the oracle applications calender features.

    fndsqf :- it contains packages and procedures for message dictonary, flex fields, profiles and concurrent

    processing.

    custom :- it allows extension of oracle applications forms with out modification of oracle applicationcode, you can use the custom library for customization such as zoom ( such as moving to another form

    and querying up specific records)

    8) what are ad-hoc reports?

    ans.: ad-hoc report is made to meet one-time reporting needs. concerned with or formed for a

    particular purpose. for example, ad hoc tax codes or an ad hoc database query

    9) what is responsibility? 3

    is collection of menus, request security groups and data groups

    menus: collection of forms is nothing but menus

    request security groups: collection of programs.

    data groups: is a group of modules to be made accessible by the user through responsibility

    system admin

    10) what are different execution methods of executabls?

    flexrpt the execution file is wrnitten using the flexreport api.

    flexsql the execution file is written using the flexsqlapi.

    host the execution file is a host script.

    oracle reports the execution file is an oracle reportsfile.

    pl/sql stored procedure the execution file is a stored procedure.

    sql*loader the execution file is a sql script.

    sql*plus the execution file is a sql*plusscript.

    sql*report the execution file is a sql*report script.

  • 8/12/2019 Apps Technical

    3/86

    spawned the execution file is a c or pro*cprogram.

    immediate the execution file is a program written to run as a subroutine of the concurrent manager. we

    recommend against defining new immediate concurrent programs, and suggest you use either a pl/sql

    stored procedure or a spawned c program instead.

    composite datatypes :

    pl/sql tables / pl/sql records / nested table / varray

    what is the sequence of functionsgroup by,having,orderby in a select statements ?

    select..group byhavingorderby..

    difference between user and super user?4

    user : login user or front end user

    super user : it has full access of particular module

    11) oracle e-business suite?oracle apps + analytical components software.

    (oracle discover) (oracle sales analyzer) (oracle financial analyzer) (oracle marketing analyzer)

    12) what is multi org?

    legal entity has more than one operating unit is called as multi org

    a) business group --- human resources information is secured by business group

    b) legal entity. --- inter-company and fiscal/tax reporting.

    operating unit.

    c) operating unit --- secures ar, oe, ap, pa and po information.

    d) organizations --- is a specialize unit of work at particular locations

    13) what is erp? architecture of apps?

    a packaged business software system that lets a company automate and integrate the majority of its

    business processes; share common data and practices across the enterprise; [and] produce and access

    information in a real-time environment.

    . 14)what is invoice? send you a request for payment

    15 data link

    - data links relate the results of multiple queries.

    - a data link (parent - child relation ship) causes the child query to be executed once for each instance of

    its parent group.

    16 in which tables ff are stored?

    a) fnd - id - flexs

  • 8/12/2019 Apps Technical

    4/86

    b) fnd-id-flex-structures 5

    17)oracle applications architecture

    - internet computing architecture is a frame work for 3-tired, distributed computing that supports oracle

    applications products.

    - the three tiers are

    1 data base tier

    2 application tier

    3 desk top tier

    - database tier manages oracle 8i database.

    - application tier manages oracle applications and other tools.

    - desktop tier provides the user interface displace.

    - with internet computing architecture, only the presentation layer of oracle applications is on the desktop tier in the form of a plug-in to a standard internet brows

    18) list of some apis

    fnd_program.executable

    fnd_program.register

    fnd_program.parameter

    fnd_program.add_to_group

    fnd_request.submit_request

    fnd_profile.value

    fnd_profile.get

    19)how to get second parameter value based on first parameter?

    $fle x $ value setname.

    20)how to call who columns into the form

    by using fnd_standard apis

    1. fnd_standard.form_info 6

    provides information about the form.

    should be called form when_new_form - instance - instance trigger.

    2. fnd_standard.set_who

    loads who columns with proper user information.

    should be called from pre_updte and pre_insert

    triggers for each block with who fields

  • 8/12/2019 Apps Technical

    5/86

    if this is used fnd-global need not be called. (fnd_global.who)

    3. fnd_standard.system_date

    this is a function which returns date.

    behave exactly like sysdate built-in.

    4. fnid_standard.user

    this is a function which returns varchar2

    behaves exactly like built in user.

    21) appcore apis

    app_combo

    app_date

    app_exception

    app_fieldapp_find

    app_item

    app_item_property

    app_navigate

    app_record

    app_region 7

    app_standard

    app_window

    22)fndsqf apis

    fnd_currency

    fnd_date

    fnd_global

    fnd_org

    fnd_standard

    fnd_utilities.open_url

    fnd_utilities. param_exists

    23)how to call flex fields in the form?

    by using fnd_flex.event (event varchar 2)

    how to register an executable and define a concurrent program through backend?

    by using concurrent processing apis

  • 8/12/2019 Apps Technical

    6/86

    1. fnd_conc_global.reques_data

    .set_request_globals

    2. fnd_concurrent.af_commit

    .af_rollback

    .get_request_status

    .wait_for_request

    .set_completion_status

    3. fnd_file . put. put_line

    .new_name 8

    .put_names

    .close

    4. fnd-program . message. executable

    . register

    . parameter

    . in compatibility

    . executable_exists

    5. fnd_request . set-options

    .set_repeat_options

    .set_print_options

    .submit_request

    .set_mode

    6. fnd_request_info . get_param_number

    . get_param_info

    . get_program

    . get_parameter

    7. fnd_set . message

    .add_program

    .add_stage

    .in compatibility

    8. fnd_submit . set_mode

    .set_request_status

  • 8/12/2019 Apps Technical

    7/86

    .submit_program 9

    .submit_set

    * fnd_program.executable

    - is used to define a concument program executable

    - it takes 8 parameters ( all are in mode )

    syntax procedure fnd_program.executable

    (executable in varchar2,

    (full name)

    description in varchar2 default null

    execution_method in varchar2,

    execution_file_name in varchar2 default null,

    icon_name in varchar2 default null,language_code in varchar2 default (vs)

    * fnd_program.register

    - this procedure no used to define a concument program.

    - it has 30 in paranmeters. out of which 9 are mandatory, the remaining are default.

    (program in varchar2,

    application in varchar2,

    enabled in varchar2,

    short_name in varchar2,

    description in varchar2, default null, 10

    executable_application in varchar2,

    mls_function_shelt_name in varchar2,

    mls_function_application in varchar2,

    inerementor in varhcar2);

    24. how to register a table and columns through back end?

    * by using ad_dd package

    - for registering a table

    -

    - ad_dd bpi doesnt check for the existenceof the registered table or column in the data base schema,

    but only updates the required sql tables.

  • 8/12/2019 Apps Technical

    8/86

    - it should be ensured that, all the tables and columns registered exist actually and have the same

    format as that defined using ad_dd api.

    - views need not be registered.

    25. how to write to a file through concurrent program.

    * by using fnd_file package and it can be used only for log and output files.

    1. fnd_file.put

    - this is used to write text to a file with out a new line character

    - multilane calls to fnd_file.put will produce consummated text.

    procedure fnd_file.put (which in number, buff in varchar2);

    - can be fnd_file.log or fnd_file.output.

    2. fnd_file.put_line

    - this procedure as used to write a line of text to a file followed by a new line character.procedure fnd_file.put_line (which in number, buff in varchar2);

    ex:- fnd_file.put_line( fnd_file.log, find_message_get);

    3. fnd_file.new_line

    - this procedure is used to write line terminators to a file

    procedure fnd_file.new_line (which in number lines in natural:=1);

    ex:- to write two newline characters to a log file

    fnd_file.new_line (fnd_file.log,2);

    4. fnd_file.put_names

    - this procedure as used to set the temporary log file and output filenames and the temporary directory

    to the user specified values.

    - this should be called before calling my other fnd_file procedure and only once per a session.

    26)function fnd_request.submit_request

    ( application in varchar2 default null,

    program in varchar2 default null,

    description in varchar2 default null,

    start-time in varchar2 default null,

    sub_request in bookan default false,

    argument1,

    arguemnt2,

    argument 100) return number;

  • 8/12/2019 Apps Technical

    9/86

    * if this is submitted from oracle forms, all the arguments ( 1 to 100 ) must be specified. 12

    27. how to submit concurrent programs through os?

    - from the operating system the utility .concsub is used to submit is concurrent propgram.

    - this is basically used to test a concurrent program .

    - by using the wait token. the utility checks the request status every 60 seconds and returns the os

    prompt upon completion of the request.

    - concurrent manager doesnot abort, shutdown or start up until the concurrent request completes.

    * if the concurrent program is compatible with it self, it can be checked for data integrity and dead locks

    by submitting it many times so that it runs concurrently with it self.

    *pl/sql procedures can submit a request to run a program as a concurrent process by calling.

    fnd_request. submit_request.

    * before submitting a request, the following functions also should be called optionally.fnd_request.set_options

    fnd_request.set_repeat_options

    fnd_request.set_print_options

    fnd_request.set_mode

    28. how to checks the request states?

    - a pl/sql procedure can check the status of a concurrent request by calling.

    fnd_concurent.get_request_status

    fnd_concurrent.wait_for_request

    - fnd_concurrent.get_request_status

    - this function returns the status of a concurrent request

    - if the request is already computed, it also returns the completion message.

    - this function returns both user friendly (translatable) phase and status values as well as developer

    phase and status vales that can drive program logic. 13

    ( request_id in out number,

    application in varchar2 default null,

    program in varchar2 default null,

    phase out varchar2,

    status out varchar,

    dev_phase out varchar2,

    dev_status out varchar2,

  • 8/12/2019 Apps Technical

    10/86

    message out varchar2) return boolean;

    - when application and program are specified, the request_id of the last request for the specified

    program should be returned to request_id.

    - phase, and status values should be taken from

    fnd_lookups

    dev_phase dev_status

    pending normal, standby, scheduled, paused

    running normal, waiting, resuming, terminating.

    complete normal, error, warning, cancelled, terminated

    inactive disabled, on-hold, no-manager, supended

    - fnd_request.wait_for_request

    - this function waits for request completion, then returns the request phase/status and completionmessage to the caller.

    - goes to sleep between checks for request completion.

    syntax

    ( request_id in number default null,

    interval in number default 60,

    max_wait in numbe default 0, 14

    phase out varchar2,

    status out varchar2,

    dev_phase out varchar2,

    dev_status out varchar2,

    message out varchar2) return boolen;

    * fnd_concurrent.set_completion_status

    - this function should be called from a concurrent program to set its completion states.

    - this function returns true on success, other wise false.

    ent.set_completion_status

    ( status in varchar2,

    message in varchar2) return boolean;

    normal

    status warning

    error

  • 8/12/2019 Apps Technical

    11/86

    29. what is the reason for not getting any data when a multi org view is quired?

    - to get the data correctly, the xxx-all must be referenced and the org_id value should be specified to

    extract portioned data.

    - multiorg views are partitioned by using org_id.

    - so access through multiorg views will not return any roes, as the client_info value is not set

    - use hr_operating units to identify the organization _id of the ou on which query is based.

    - use fnd_client_info package to set the value in client inpo using set_org_contest.

    - execute fnd_client_info. set_org_context ();

    - now qurying of multiorg views can be done. 15

    30. how do you find that muliorg is installed?

    - multi organization architecture is meant to allow muliple companies or subsidiaries to store their

    records with in a single data base.- multiple organization architecture allows this by partitioning data through views in apps schema.

    - implementation of multi org generally includes more than one business group.

    * to know whether multiorg is existing or not

    select multi_org_flag

    form fnd_product_groups)

    - if the result is y means the database is group for multiorg

    31. what are handlers?

    * handler is a group of packaged procedures which is used by oracle applications to organize . pl/sql

    code in forms.

    - handlers provide a way to centralize the code so that it becomes easier to develop, maintain and

    debug.

    - the packaged procedures available in a handler are called form the triggers by passing the name of the

    trigger as an argument for the procedure to process.

    * handlers are types :- 1) item handlers

    2) event handlers

    3) table handlers

    4) business rules

    - handlers reside in program units in the form or in stored packed in the database.

    32)adding table handler logic

    coding logic for window and alternative region control.

  • 8/12/2019 Apps Technical

    12/86

    adding fin-windows and/or row-lovs and enable query-find.

    coding logic for item relations such as dependent fields.

    coding messages to use message dictionary. 16

    adding ff logic if required.

    adding choices to the special mence and logic to modify choices the default menu and tool bar behavior

    is necessary.

    coding any other logic.

    creating a form function for the developed form and registering any sub functions.

    testing the form by it self.

    registering the form with aol.

    adding the form function to a menu or creating custom mence.

    assigning the menu to the responsibility and assigning the responsibility to the user.testing the form within oracle applications.

    33)registering of application, form and a concurrent program through application developer

    responsibility

    application:-

    oper

    form:-

    menu:-

    messages:-

    table:-

    sequence:-

    concurrent programme:-

    17

    application developer (responsibility)

    *flexfield

    +key

    +descriptive

    -test

  • 8/12/2019 Apps Technical

    13/86

    *concurrent

    -program

    -executable

    -library

    *application

    -register

    -form

    -function

    -menu

    -messages

    +database

    +lookups+validation

    *profile

    *attachments

    - document entities 18

    - document categories

    - attachment functions

    *other

    *requests

    - run

    -set

    -profile

    -concurrent

    -change organization

    -running jobs

    +key +descriptive

    -register -register

    -segments -segments

    -aliases -values

    -cross validation

    -values +lookups

  • 8/12/2019 Apps Technical

    14/86

    -groups -application object library

    -accounts -common

    +database +validation

    -table -set

    -view -values

    -sequence 19

    lexical references cannot be made in pl/sql statements.

    bind references can be done in a pl/sql statements.

    lexical parameters can be referenced by entering an ampusand ( ) followed immediately by the column

    name or parameter.

    before creating the query, a column or parameter in the data model should be created for each lexical

    reference in the query.for lexical parameters, initial value must be defined so that report builder uses this value to validate the

    query with a lexical reference.

    token

    if oracle reports are executed by a concurrent program, (for oracle reports program), then a keyword or

    a parameter with the same name as in the report builder, should be defined which for each parameter,

    which is known as taken.

    this is used to pass the parameters to the reports from the application (srs window)

    request set

    request set is the group of requests, that can be submitted regularly using a single transaction.

    incompatibility

    these are the list of programs that can be defined as incompatible with a pertain program.

    if any program is defined as incompatible to a particular program, then that program should not run

    simultaneously with the concurrent program, because they might interfere with its execution.

    application developer responsibility

    various screens

    different executable methods

    1 host

    2 immediate

    3 java stored procedure

    4 java concurrent programme

  • 8/12/2019 Apps Technical

    15/86

    5 multi language function

    6 oracle reports

    7 pl/sql stored procedure

    8 request set stage function

    9 spawned

    10 sql*loader

    11 sql*plus

    concurrent library

    library types transaction library

    user

    access levels extensiblesystem

    list of values

    list types long list of values

    poplist

    no security

    security type hireaxhial security

    non-hireaxhial security

    char

    format type date

    date time

    number 21

    standard date

    standard date time

    time

    validation types respondent

    independent

    none

    pair

    special

  • 8/12/2019 Apps Technical

    16/86

    table

    translatable independent

    translatable dependent

    function

    type form

    report

    34. what is a data group?

    - a data group is a group of oracle applications and the oracle ids of each application

    - oracle id grants access privileges to tables in an oracle database

    - data group determines which oracle data base accounts a responsibilities forms, concurrent programs

    and reports connect to.35. what is a responsibility?

    - responsibility defines applications privileges

    - a responsibility is a level of authority in oracle applications that lets users only those oracle applications

    functions and data appropriate to their roles in an organization.

    - each user has at list one or more responsibilities and several users can share the same responsibility 22

    * each responsibility allows access to

    - a specific application or a set of applications.

    - a set of books

    - a restricted list of windows that an user can navigate

    - reports in a specific application.

    36. what are security attributes?

    - security attributes are used by oracle self service web applications to allow rows of data to be visible to

    specified users responsibilities based on the specific data contained in the row.

    37. what is a profile option?

    - profile options are the set of changeable options that affects how the application looks and behaves.

    - by setting profile options, the applications can be made to react in different ways for different users

    depending on the specific user attributes.

    38. what are steps involved in developing a flex field?

    - designing the table structure

    - creating fields on the form (visible/hidden)

  • 8/12/2019 Apps Technical

    17/86

    - calling appropriate routines

    - registration of the flex field.

    - definition of the flex field.

    39. what is an application /module?

    - application is a collection of forms, function and menus

    40)fnd_program package

    fnd_program.executable:-

    procedure fnd_program. executable is

    (executable in varchar2,

    application in varchar2, (full name)short_name in varchar2, (executable short name)

    description in varchar2 default null,

    execution_method in varchar2,

    execution_file_name in varchar2 default null,

    subrowline_name in varchar2 default null, (only for spawned immediate)

    icon_name in varchar2 default null,

    language_code in varchar2 default us,

    execution_file_path in varchar2 default null);

    for java concurrent program.

    fnd. program. register:-

    procedure fnd_program.register is

    (program in varchar2,

    application in varchar2,

    enabled in varchar2,

    short_name in varchar2,

    description in varchar2, default null,

    executable_short_name in varchar2,

    executable_application in varchar2,

    execution_options in varchar2, default null,

    priority in number default null,

  • 8/12/2019 Apps Technical

    18/86

    save_output in varchar2 default y, 24

    print in varchar2 dafault y,

    cols in varchar2 default null,

    rows in varchar2, default null,

    style in varchar2, default null,

    style_required in varchar2, default n,

    printer in varchar2, default null,

    requets_type in varchar2, default null,

    request_type_application in varchar2 default null,

    use_in_srs in varchar2, default n,

    allow_disabled_valuer in varchar2 default n,

    run_alone in varchar2 default n,output_type in varchar2 default text,

    enable_trace in varchar2 default n,

    restart in varchar2 default y,

    nls_complaint in varchar2 default y,

    icon_name in varchar2 default null,

    language_code in varchar2, default us,

    mls_function_short_name in varchar2 default null,

    mls_function_application in varchar2 default null,

    incrementor in varchar2 default null);

    41) how to submit concurrent program through l/sql

    fnd_request.submit_request(parameters) by using this we can submit the concurrent program thru

    pl/sql.

    fnd_global.apps_initialize (user_id,resp_id, resp_appl_id)

    42) what are the types of concurrent managers 25

    3 master concurrent managers:

    1. internal conccurent manager (icm): this is the one which monitors all other cms

    2. standard manager (sm) : this takes care of report running and batch jobs

    3. conflict resolution manager (crm): checks concurrent program definitions for incompatability checks.

    we cannot delete a concurrent manager... but we can disable it... but it's not recommended.

    43) multi org set up

  • 8/12/2019 Apps Technical

    19/86

    begin dbms_application_info.set_client_info('org_id');

    end;

    44. what is the relation between responsibility, menu and request group?

    responsibility: - a responsibility is a set of authority in oracle apps that lets users access only that

    functionality of the application appropriate to their roles.

    menu: - a menu is a hierarchical arrangement of functions and menus of functions that appears in the

    navigator. each responsibility has a menu assigned to it.

    request group: - it is a collection of reports or concurrent programs. a system administrator defines

    report groups in order to control user access to reports and concurrent programs. only a system

    administrator can create a request group.

    45. what is a function, how to create one?

    a function is apart of an applications functionality that is registered under a unique name for thepurpose of assigning to it to, or excluding it from, a menu (and by extension, responsibility). there are

    several types of functions: - form functions, subfunctions, and

    non-form functions. we often refer to a form function simply as a form.

    46. what is meant by appl_top?

    environment variable

    an operating system variable that describes an aspect of the environment in which your application

    runs. for example, you can define an environment variable to specify a directory path.

    $appl_top: an environment variable that denotes the installation directory for oracle application object

    library and your other oracle applications. $appl_top is usually one directory level above each of the

    product directories (which are often referred to as $prod_top or $product_top or $_top).

    47. explain briefly where are the custom.pll, forms, reports, sql loader control files, shell script source

    code and executables files kept?

    custom.pll - $au_top/resource

    forms - $prod_top/forms/us

    reports - $prod_top/reports/us

    sql control files - $prod_top/bin

    shell scripts - $prod_top/bin

    48. when is custom.pll used?

    custom.pll is used while making new or customizing standard oracle forms in apps. it contains all the

    forms libraries for apps.

  • 8/12/2019 Apps Technical

    20/86

    49. what are profile options; at what levels can these be set?

    a user profile is a set of changeable options that affects the way the applications run. oracle

    applications object library establishes a value for each option in a users profile when the

    user logs on or changes responsibility.

    system profile: - profile option can be set for the user community.

    user profile: - provide oracle apps with standard information which describes a user,

    application, responsibility and site. at each profile level user profile options can be set.

    50. how can you know the form (fmb) name when you open a form in apps?

    help

    51. where do you create a table and sequence in apps? is it apps schema?

    in custom schema and then grant privileges on it to apps schema.

    52. where are views and procedures created?views: - views are to be created only in apps.

    procedures: - in custom schema and the grant it to apps schema.

    53. how can you tell who last updated a particular row in a form?

    54. you have logged onto a responsibility, how do you know what operating unit are you on?

    55) can new profiles be created? if so how?

    yes. application developer.

    56)how do you register a report? explain passing of parameters between a concurrent program

    definition and report?

    after developing the report (.rdf), ftp it to the unix server.

    define executable.

    define concurrent program and attach the executable.

    attach the concurrent program to a request group.

    57) what is the approach to create a new form to be used in oracle apps?

    the template form is the required starting point of all development of new forms. start

    developing each new form by copying the template.fmb file, located in

    $au_top/forms/us(or your language and platform equivalent), to local directory and

    rename it as appropriate.

    58. explain value set? difference between a table validated and independent value set?

    a set of values against which oracle application object library validates values your end

    users enter when running your program. you define your value set by specifying validation

  • 8/12/2019 Apps Technical

    21/86

    rules, format constraints and other properties. for example, you could define a value set to

    contain values that are character strings, validated from a table in your application. you can

    specify that oracle application object library use the same value set to validate different

    report parameters. you can also use value sets that you use in your flex fields to validate

    your report parameters.

    59. how do you create a table validated value set dependent on another value set?

    use :$flex$. in the where condition.

    60. what is difference between a concurrent request and a concurrent request set?

    61. what are the two mandatory parameters required for running a pl/sql procedure based concurrent

    program?

    errbuf, retcode

    62. how can you ensure that only one instance of a concurrent program runs?check the run alone check box in concurrent program registration window.

    63. within a pl/sql procedure which api is to be used to extract a profile value?

    fnd_profile.get

    64. how do you set the operating unit context in a report?

    begin

    dbms_application_info.set-client-info();

    end;

    65. can you submit a concurrent request from the operating system directly?

    write a shellscript.

    login to database

    run the function fnd_request.submit()

    66. explain how to generate a trace file for a pl/sql concurrent program for tuning?

    check theenable trace check box in concurrentprogram registration window.

    67. how do you write to the concurrent request log and output file?

    fnd_file.put(fnd_file.log or fnd_file.output, );

    68. what is the difference between operating unit and inventory organization?

    operating unit :- an organization that uses oracle cash management, order management and shipping

    execution, oracle payables, oracle purchasing, and oracle receivables. it may be a sales office, a division,

    or a dept. an operating unit is associated with a legal entity. information is secured by operating unit for

  • 8/12/2019 Apps Technical

    22/86

    these applications. each user sees information only for their operating unit. to run any of these

    applications, you choose a responsibility associated with an organization classified as an operating unit.

    an organization for which you track inventory transactions and balances, and/or an organization that

    manufactures or distributes products. examples, include (but are not limited to) manufacturing plants,

    warehouses, distribution centers, and sales offices. the following applications secure information by

    inventory organization: oracle inventory, bills of material, engineering, and work in process, master

    scheduling/mrp, capacity, and purchasing receiving functions. to run any of these applications, you must

    choose an organization that has been classified as an inventory organization.

    69. what is set of books?

    a financial reporting entity that uses a particular chart of accounts, functional currency,

    and accounting calendar. oracle general ledger secures transaction information (such as journal entries

    and balances) by set of books. when you use oracle general ledger, you choose a responsibility thatspecifies a set of books. you then see information for that set of books only.

    70. what is item validation organization?

    the organization that contains your master list of items. you define it by setting the om: item validation

    organization parameter. you must define all items and bills in your item validation organization, but you

    also need to maintain your items and bills in separate organizations if you want to ship them from other

    warehouses.

    oe_system_

    71. mention the table or views where inventory org, items, set of books, gl code combinations,

    operating unit, location, customers, vendors, and invoices are stored in apps.

    inventory org: - mtl_parameters/org_organization_definitions

    items: - mtl_system_items_b

    set of books: - gl_sets_of_books

    gl code combinations: - gl_code_combinations

    operating unit: - hr_all_operating_units

    location: - mtl_item_locations

    customers: - ra_customers

    vendors: - po_vendor_contacts

    invoices: - ap_invoices_all

    72. what is the profile to be read to find out what inventory organization and operating unit are you

    on?

  • 8/12/2019 Apps Technical

    23/86

    (mfg_organization_id is the inventory org)

    73)what is inventory master organization?

    items are defined in an inventory master organization.

    74)what is the difference between key flexfield and descriptive flexfield?

    key flexfield is used to describe unique identifiers that will have a better meaning than using number ids.

    e.g a part number, a cost centre etc desc flex is used to just capture extra information. key flexfields

    have qualifiers whereas desc flexfields do not. desc flexfields can have context sensitive segments while

    key flexfields cannot.

    and one more differenct that kff displays like text item but dff displays like [ ] .

    75)which procedure should be called to enable a dff in a form?

    fnd_descr_flex.define (block => 'block_name' ,field => 'form_field_name' ,appl_short_name =>

    'app_name' ,desc_flex_name => 'dff_name' );76)which procedure should be used to make the dff read only at run time?

    fnd_descr_flex.update_definition()

    77)what is the difference between flexfield qualifier and segment qualifier?

    flexfiled qualifier identifies segement in a flexfield and segment qualifier identifies value in a segment.

    there are four types of flexfiled qualifier 1) balancing segment qualifier 2) cost center 3) natural account

    and 4) intercompnay

    segemtn qualifier :- 1) allow budgeting 2) allow posting 3) account type 4) contral account and 5)

    reconciliation flag

    78)where do concurrent request logfiles and output files go?

    the concurrent manager first looks for the environment variable $applcsf if this is set, it creates a path

    using two other environment variables: $appllog and $applout it places log files in $applcsf/$appllog

    output files go in $applcsf/$applout so for example, if you have this environment set: $applcsf =

    /u01/appl/common $appllog = log $applout = out the concurrent manager will place log files in

    /u01/appl/common/log, and output files in /u01/appl/common/out note that $applcsf must be a full,

    absolute path, and the other two are directory names. if $applcsf is not set, it places the files under the

    product top of the application associated with the request. so for example, a po report would go under

    $po_top/$appllog and $po_top/$applout logfiles go to: /u01/appl/po/9.0/log output files to:

    /u01/appl/po/9.0/out of course, all these directories must exist and have the correct permissions. note

    that all concurrent requests produce a log file, but not necessarily an output file.

    79)how do i check if multi-org is installed?

  • 8/12/2019 Apps Technical

    24/86

    select multi_org_flag from fnd_product_groups

    if multi_org_flag is set to 'y', then its multi org.

    80)how do i find out what the currently installed release of applications is? /how do i find the name of

    a form?

    we can also find out through help > about oracle applications

    81)why does help->tools->examine ask for a password?

    navigate to the update system profile screen.

    (\ navigate profile system) 32

    - select level: site

    - query up utilities:diagnostics in the user profile options zone.

    if the profile option utilities:diagnostics is set to no, people with access to the utilities menu must enter

    the password for the oracle id of the current responsibility to use examine. if set to yes, a password willnot be required.

    82)what are the api used in po cancellation ?

    ans. for partial cancellation -> to modify the ordered quantity

    v_return_flag := apps.gems_public_apis_pkg.po_update_po

    ( x_po_number => v_po_number

    , x_release_number => null

    , x_revision_number => v_revision_num

    , x_line_number => v_line_number

    , x_shipment_number => v_shipment_num

    , new_quantity => p_quantity

    , new_price => null

    , new_promised_date => null

    , launch_approvals_flag => 'y'

    , update_source => null

    , x_interface_type => null

    , x_transaction_id => null

    , version => '1.0');

    for full cancellation ->

    apps.gems_public_apis_pkg.po_control_document

    ( p_api_version => v_api_version_number

  • 8/12/2019 Apps Technical

    25/86

    , p_init_msg_list => apps.fnd_api.g_true

    , p_commit => apps.fnd_api.g_false

    , x_return_status => p_return_status

    , p_doc_type => 'po'

    , p_doc_subtype => v_sub_type

    , p_doc_id => v_po_header_id

    , p_doc_num => null

    , p_release_id => null

    , p_release_num => null

    , p_doc_line_id => v_po_line_id

    , p_doc_line_num => null

    , p_doc_line_loc_id => p_line_loc_id, p_doc_shipment_num => null

    , p_action => 'cancel'

    , p_action_date => sysdate

    , p_cancel_reason => 'gpo_warehouse_denial'

    , p_cancel_reqs_flag => 'n'

    , p_print_flag => 'n'

    , p_note_to_vendor => apps.fnd_api.g_miss_char); 33

    83)how an api is initialized ?

    ans. apps.gems_public_apis_pkg.fnd_apps_initialize

    ( user_id => p_user_id

    , resp_id => p_resp_id

    , resp_appl_id => p_resp_appl_id)

    84)what is the name of the api parameter when they are true,false and null ?

    ans. apps.fnd_api.g_true, apps.fnd_api.g_false and apps.fnd_api.g_miss_char respectively.

    85)what are the different steps in sending a mail from pl/sql ?

    ans. procedure glp_send_mail_po_cancel

    ( p_org_id in varchar2

    , p_feeder_source in varchar2

    , p_subject in varchar2

    , p_message_body in varchar2

  • 8/12/2019 Apps Technical

    26/86

    , p_return_status out varchar2

    , p_error_message out varchar2

    )

    v_host_name := utl_inaddr.get_host_name();

    v_host_ip := utl_inaddr.get_host_address(v_host_name);

    v_mailconn := utl_smtp.open_connection(v_host_ip, 25);

    utl_smtp.helo(v_mailconn,v_host_ip);

    utl_smtp.mail(v_mailconn,v_from_email_id);

    utl_smtp.rcpt(v_mailconn,v_to_email_tab(v_addr_cnt));

    v_message := v_message || 'to: ' || v_to_email_tab(v_addr_cnt) || '>' || crlf;

    utl_smtp.data(v_mailconn,v_message); -- calling mail procedure

    utl_smtp.quit(v_mailconn);86)how do u call a mail program from shell program ?

    ans. for file in find . -name "*.com*~$5" -print |cut -c3-120`

    do

    echo $file

    frm=`echo $file | cut -d'~' -f1`

    tom=`echo $file | cut -d'~' -f2 | sed 's/,/ /g'`

    echo $frm

    echo $tom

    echo "sending mail to $tom"

    mailx -r "$frm" -s 'order shipment confirmation' "$tom" < "$file"

    rc=$?

    if [ $rc != 0 ]

    then

    echo 'invalid file name'

    fi 34

    rm -f "$file"

    rc=$?

    if [ $rc != 0 ]

    then

    echo 'invalid file name'

  • 8/12/2019 Apps Technical

    27/86

    fi

    done

    87)how do submit a concurrent program from pl/sql ?

    ans. apps.fnd_global.apps_initialize

    (user_id => p_user_id

    ,resp_id => p_resp_id

    ,resp_appl_id => p_resp_appl_id)

    ;

    */ p_error_message := p_error_message ||'calling receiving transaction processor'||chr(10);

    v_request_id := apps.fnd_request.submit_request

    ('po'

    ,'rvctp',null

    ,null

    ,false

    ,'batch'

    ,p_batch_id

    );

    dbms_output.put_line('request id is :'||v_request_id); commit;

    p_error_message := p_error_message ||'receiving transaction processing request id :'||v_request_id

    ||chr(10) ;

    if (v_request_id > 0) then

    v_complete := fnd_concurrent.wait_for_request ( request_id => v_request_id

    , interval => 10

    , max_wait => 0

    , phase => v_phase

    , status => v_status

    , dev_phase => v_dev_phase 35

    , dev_status => v_dev_status

    , message => v_message);

    88)how do u register a concurrent program from pl/sql ?

    ans. apps.fnd_program.executable_exists -> to check if executable file exists

  • 8/12/2019 Apps Technical

    28/86

    apps.fnd_program.executable -> to make executable file

    fnd_program.program_exists -> to check if program is defined

    apps.fnd_program.register -> to register/define the program

    apps.fnd_program.parameter -> to add parameters

    apps.fnd_program.request_group -> to add to a request group

    89)how do u initialize an api ?

    ans. apps.gems_public_apis_pkg.fnd_apps_initialize

    ( user_id => p_user_id

    , resp_id => p_resp_id

    , resp_appl_id => p_resp_appl_id)

    and u can get the parameters from the following script ->

    select distinct f5.user_id, f4.responsibility_name responsibility_name

    , f4.responsibility_id responsibility_id

    --into

    --v_user_id

    --, v_responsibility_name

    --, v_responsibility_id

    from applsys.fnd_user_resp_groups f6

    , apps.fnd_user f5

    , apps.fnd_profile_options f1

    , apps.fnd_profile_option_values f2

    , apps.fnd_responsibility f3

    , apps.fnd_responsibility_tl f4

    where sysdate between f6.start_date and nvl(f6.end_date,sysdate)

    and f5.user_id = f6.user_id

    and upper(f5.user_name) like '%globalparts%'

    and f6.responsibility_id = f4.responsibility_id

    and f2.profile_option_value = to_char(13) -- putting the org id value

    and f2.profile_option_id = f1.profile_option_id

    and f1.profile_option_name = 'org_id'

    and f3.application_id = 201

  • 8/12/2019 Apps Technical

    29/86

    and f2.level_value = f3.responsibility_id

    and f3.responsibility_id = f4.responsibility_id

    and upper(f4.responsibility_name) like upper('gems%po%manager%') 36

    and rownum = 1;

    90)how do u register a table & a column ?

    ans. execute ad_dd.register_table( 'gemsqa', 'gems_qa_iqa_lookup_codes', 't', 512, 10, 70);

    execute ad_dd.register_column('gemsqa', 'gems_qa_iqa_lookup_codes', 'lookup_code', 1, 'varchar2',

    25, 'n', 'n');

    91) what resources are provided for developing applications which will be

    integrated into oracle applications release 11?

    a. the oracle applications developer's guide release 11 and the oracle

    applications user interface standards release 11.b. the au_top/forms/us/template.fmb for developing a new form.

    c. the au_top/forms/us/appstand.fmb contains standard property classes

    for your runtime platform.

    d. the au_top/resource/fndsqf.pll contains routines for flexfields,

    function security, user profiles, message dictionary.

    e. the au_top/resource/appcore.pll contains standard user interface routines.

    f. the au_top/resource/appdaypk.pll contains the calendar widget routines.

    g. the au_top/resource/custom.pll for adding custom code which affects oracle

    applications forms without changing oracle applications code.

    h. the au_top/resource/globe.pll allows oracle applications developers to

    incorporate global or regional features into oracle applications forms

    without modifying the base oracle applications forms. globe calls routines

    ja, je, and jl libraries.

    i. the au_top/resource/ja.pll called from globe and contains asia/pacific code.

    j. the au_top/resource/je.pll called from globe and contains emea

    (europe/middle east/africa) code.

    k. the au_top/resource/jl.pll called from globe and contains latin america code.

    l. the au_top/resource/vert.pll allows oracle applications developers to

    incorporate vertical industry features (for automotive, consumer packaged

    goods, energy, and other industries) into oracle applications forms

  • 8/12/2019 Apps Technical

    30/86

    without modifying the base oracle applications forms. 37

    m. oracle developer/2000 server release 1.6.1.

    note: all fmb and pll files must be migrated to your desktop if you intend to

    develop and integrate custom applications into oracle applications

    release 11.

    92. what are the supported versions of forms and reports used for developing

    on oracle applications release 11?

    answer------

    a. the following supported versions are provided in developer/2000

    release 1.6.1:

    i. forms 4.5

    ii. reports 2.593. how do i compile and/or generate an oracle applications form?

    answer------

    a. unix

    cd $au_top/forms/us

    f45gen module=fndscaus.fmb userid=apps/apps output_file=

    /appl/v1100000/fnd/11.0.28/forms/us/fndscaus.fmx module_type=form

    batch=no compile_all=special

    b. windows nt

    cd f:\applr11\au\11.0.28\forms\us

    f45gen32 userid=apps/apps module=fndscaus.fmb output_file=

    applr11\fnd\forms\us\fndscaus.fmx module_type=form batch=no

    compile_all=special

    94. how do i open, compile and/or generate a custom oracle applications form on my desktop?

    answer

    ------

    a. to port the au_top/forms/us and au_top/resource files to your windows

    desktop:

    i. make copies of all required files.

    ii. replicate the au_top directory structure on your desktop.

    iii. move the files to their appropriate au_top/forms/us for fmb and

  • 8/12/2019 Apps Technical

    31/86

    au_top/resource for pll.

    iv. include the au_top/forms/us and au_top/resource directories in

    your forms45_path.

    v. open, compile and/or generate forms.

    note: the forms45_path is specified either in your registry or oracle.ini.

    note: it may sometimes be necessary to convert fmb -> fmt and pll -> pld before 38

    porting from a unix platform to your desktop.

    95. how do i add a custom_top to oracle applications?

    answer

    a. replicate an existing oracle applications product directory structure underneath your appl_top:

    appl_top

    |xxcus_top

    |

    bin------forms-----html-----lib-----log-----mesg-----out-----reports

    | |

    us us

    b. make sure all the permissions on the files and directories are the same

    as the other product directories.

    c. add the full path to this custom_top to your applsys.env ( source your

    applsys.env) or your windows nt registry:

    unix: /u01/oracle/apps/vd11/xxcus/11.0.28

    windows nt: d:\oa\appltst\vd11\xxcus\11.0.28

    d. login to oracle applications using the system administrator or application

    developer responsibility.

    e. navigate: application -> register and add your new custom_top to oracle

    applications.

    application short name basepath description

    -------------------------------------------------------------------------------

    custom application xxcus xxcus_top custom application

    f. shutdown and restart your internal concurrent manager (icm) so that the

    concurrent manager will recognize the change to the environment that was

  • 8/12/2019 Apps Technical

    32/86

    made to the applsys.env and registry.

    96. how to get the data from the views in multi_org views ?

    a. using the profiles and client info package.

    eg:

    select * from po_headersthis is multi org view

    if we cant get the data with the above query then we have to write a procedure as shown below.

    declare

    x number:=0; 39

    begin

    x:=fnd_profile.value('org_id');

    fnd_client_info.set_org_context (204);

    end;compile and run the query once again.

    97) what is responsibility / request group?

    ans: responsibility is used for security reason like which responsibility can do what type of jobs etc.

    set of responsibility is attached with a request group. when we attach the request group to a concurrent

    program, that can be perform using all the responsibilities those are attached with request group.

    98) what is dff?

    ans: the descriptive flexi field is a field that we can customize to enter additional information for which

    oracle apps product has not provided a field.

    ex. atp program calculates for those warehouses where inventory org type is dc or warehouse in dff

    attribute11 of mtl_parameters table.

    99) what is value set?

    ans: value sets define and store the valid items of data, which may be entered into a field.

    key flexfields, descriptive flexfields and many standard fields use value sets.

    oracle already comes with hundreds of value sets.

    we define additional value sets to support our own user-defined key and descriptive flexfields (although

    we may use any existing standard value sets if they suit our purpose).

    in defining a new value set, we are defining the physical format of valid data, which can reside in that

    value set.

    data in a value set can be of several types:

    independently loaded into a value set (through a standard form).

  • 8/12/2019 Apps Technical

    33/86

    resident in a table (to which we direct the value set definition).

    there could be no validation (any data can go into the field, but still subject to the formatting rules.)

    dependent on the value of data in a preceding independent segment (loaded through a standard form).

    ex: for supplies & accessories cc in atp, we define gems_gpo_assign_set value set for the assignment set

    associated with that ou.

    100) what is multi-org?

    ans: it is data security functionality in oracle 10.6 and above. applicable user responsibilities are created

    and attached to specific operating unit. user can access the data that belongs to the operating unit they

    login under.

    the benefit is it enables multiple operating units to use a single installation of various modules, while

    keeping transaction data separate and secure by operating unit.

    it has an effect on the following modules:order entry

    receivable

    payable

    purchasing

    project accounting

    101) can you explain the organization structure?

    ans:

    a) business unit / group : it represents the highest level in organization structure and has no accounting

    impact. it determines which employees will be available to set of books and operating units.

    ex: consolidated enterprise / a major division / an operating company.

    b) set of books: it is a financial reporting entity that uses a particular

    chart of accounts,

    functional currency and

    accounting calendar.

    it is the highest level with accounting significance. document sequencing (important in europe) is at the

    set of books level. also period open/close is at the set of books level.

    a set of books is associated with only one business group. a business group may be assigned several sets

    of books i.e multiple sets of books can share the same business group if they share the same business

    group attributes.

    base table: apps.gl_sets_of_books

  • 8/12/2019 Apps Technical

    34/86

    c) legal entity: a legal company for which you prepare fiscal or tax reports.

    each legal entity is associated with only one set of books. a set of books may have multiple legal entities.

    base table: apps.hr_legal_entities

    d) operating unit: an organization that uses oracle order management, cash management, shipping

    execution, payables, purchasing and receivables.

    it may be a sales office, a division, or a department. standard reports are at the operating unit level.

    an operating unit is associated with a legal entity.

    base table: apps.hr_operating_units

    e) inventory organization : an organization for which you track inventory transactions and balances,

    and/or an organization that manufactures or distributes products.

    an operating unit may have multiple inventory organizations.

    ex: manufacturing plants, warehouses, distribution centers, and sales offices. 41base view: apps.org_organization_definitions

    f) subinventory: an inventory organization has a number of subinventories associated with it.

    base table: apps.mtl_secondary_inventories (secondary_inventory_name = subinventory name)

    g) locator : these are the different locations in side a subinventory.

    base table: apps.mtl_item_locations

    105)what are the mandatory parameters in concurrent program?

    ans: errbuf and retcode (in case pl/sql store procedure)

    p_conc_request_id (in case oracle report, it is an user-parameter)

    106)why we use token field for concurrent program?

    ans: the token is used as for binding purpose. the parameter value is passed to the .rdf/procedure

    through this token. the input (user) parameter value passes to the report / stored procedure after

    binding with this token. the concurrent program wont get impact even the user parameter names get

    changed, but got impacted when the token name changed.

    107) what are the mandatory parameters in concurrent programs?

    ans: errbuf

    errcode.

    108)those are in or out parameters.

    ans: out parameters

    109)what is request group?

    ans: responsibility is used for security reason like which responsibility can do what type of jobs etc.

  • 8/12/2019 Apps Technical

    35/86

    set of responsibility is attached with a request group. when we attach the request group to a concurrent

    program, that can be perform using all the responsibilities those are attached with request group.

    110)what is multiorg?

    ans: it is data security functionality in oracle 10.6 and above. applicable user responsibilities are created

    and attached to specific operating unit. user can access the data that belongs to the operating unit they

    login under.

    the benefit is it enables multiple operating units to use a single installation of various modules, while

    keeping transaction data separate and secure by operating unit.

    it has an effect on the following modules:

    order entry

    receivable

    payablepurchasing

    project accounting

    111)there is an object type spawned in concurrent program. what is the use

    ans: it is used for proc*c in executable field

    112)how can we call a report from form in apps?

    thru concurrent prog

    113) what are the setup we need to do before running into oracle apps.

    ans: go to oracle apps > system administraror (responsibility) > create a user using sso > add

    responsibility

    switch to coe dev sys administrator (responsibility) > add the responsibility that is attached to the newly

    created user > menue > exclude / include the function according to the requirement

    114) what is multi_org?

    ans: it is data security functionality in oracle 10.6 and above. applicable user responsibilities are created

    and attached to specific operating unit. user can access the data that belongs to the operating unit they

    login under.

    the benefit is it enables multiple operating units to use a single installation of various modules, while

    keeping transaction data separate and secure by operating unit.

    it has an effect on the following modules:

    order entry

    receivable

  • 8/12/2019 Apps Technical

    36/86

    payable

    purchasing

    project accounting

    115) what is the difference between po_headers & po_headers_all?

    ans: here comes the concept of multi_org. po_headers contains data that is irrespective of multi_org i.e

    any supplier can view all the records. in case of po_headers_all

    116) what is the basic requirement that we need to set before starting a form in oracle apps

    ans:

    a) ftp the templet.fmb from $au_top/bin to local m/c

    b) rename the templet.fmb as user defined name

    c) trigger level change: pre_form : app_window.set_window_position('blk_org', 'first_window'); -- 1st

    window nameset_window_property('blk_org',title,'form name') -- 1st window name, caption

    block level change: rename default_block

    form level change: property panel > navigation > first navigation data block > (set a block name)

    program unit level: app_custom > (set the 1st window name)

    118) what is the api we use to see the message from log file

    ans:

    when we use an api, it automatically stores the error message in a pl/sql table i.e creating a log of the

    errors.

    we can see those error messages thougt fnd_message_pub api

    119)there is a check box called use in srs. what is its use

    srs stands for standard request submit. we can execute concurrent program by directly passing

    parameters. on checking this use in srscheck box, we can independently use the concurrent program.

    120)do you know extension table?

    ans: unlike database table, it store outside the database like bfile (content store outside the db but the

    location store in db like pointer). it contains metadata only. so no dml operation (except select, group

    by, order by) can possible.

    121)why do we call fnd srwinit from before report trigger

    a. fnd srwinit fetches concurrent request information and sets up the profile options. it must be included

    if one is using any oracle application object library features in his report (such as concurrent processing)

    122)why do we call fnd srwexit from after report trigger

  • 8/12/2019 Apps Technical

    37/86

    a. fnd srwexit frees all the memory allocations done in other oracle applications user exits. it must be

    included if one is using any oracle application object library features in his report (such as concurrent

    processing)

    123) why do we call fnd flexsql from the before report trigger?

    a. one need to pass the concatenated segment values from the underlying code combinations table to

    the user exit so that it can display appropriate data and derive any description and values from switched

    value sets as needed. one gets this information by calling the aol user exit fnd flexsql from the before

    report trigger. 44

    124. if u call the user exit fnd flexsql with mode = where from the before report trigger. what will it

    do?

    a. this user exit populates a lexical parameter that you specify with the appropriate sql fragment at run

    time. you include this lexical parameter in the where clause of the report query. this user exit is calledonce for each lexical to be changed.

    125. if u call the user exit fnd flexsql with mode = order by from the before report trigger. what will

    it do?

    a. this user exit populates the lexical parameter that one specifies with the appropriate sql fragment at

    run time. one includes this lexical parameter in the order by clause of the report query. this user exit is

    called once for each lexical to be changed.

    126. how can we display flexfield segment values, descriptions, and prompts on the report?

    a. create a formula column. call the user exit fnd flexidval as the formula for this column. this user exit

    automatically fetches more complicated information such as descriptions and prompts so that one does

    not has to use complicated table joins to the flex field tables.

    127. name some options of the fnd flexsql user exit

    a code, app_short_name, output, mode, display, showdepseg, num or multinum, tablealias, operator,

    operand1, operand2.

    128. describe code option of the fnd flexsql user exit

    a. specify the flex field code for the report (for example, gl#, mcat).

    129. describe the app_short_name option of the fnd flexsql user exit

    a. specifies the short name of the application that owns the flex field (for example: sqlgl, inv)

    130. describe the output option of the fnd flexsql user exit

  • 8/12/2019 Apps Technical

    38/86

    a. specify the name of the lexical parameter to store the sql fragment. one uses this lexical later in the

    report when defining the sql statement that selects the flexfield values. the datatype of this parameter

    should be character.

    131. describe the mode option of the fnd flexsql user exit

    a. specify the mode to use to generate the sql fragment . valid mode are :

    select: retrieves all segments values in an internal (non- displayable format).

    where: restrict the query by specifying constraints on flexfield columns. the fragment returned includes

    the correct decode statement if one specifies multinum. one must also specify an operator and

    operands.

    having: same calling procedures and functionality as where.

    order by: order required information by flexfield columns. the fragment orders your flexfield columns

    and separates them with a comma. the fragment returned includes the correct decode statement, onespecifies in multinum.

    132. describe the display option of the fnd flexsql user exit

    a. one uses the display token with the mode token . the display parameter allows you to specify

    segments that represent specified flexfield qualifiers or specified segments numbers , 45

    where the segment numbers are the order in that the segments appear in the flexfield window, not the

    segment number specified in the define key segments form.

    eg. if your mode is select and you specify display = all then the select statement includes all the

    segments of the flexfield. . similarly, if your mode is where and you specify display = all, then your

    where clause includes all segments.

    133. describe the showdepseg option of the fnd flexsql user exit

    a. showdepseg = n disables automatic addition of depended upon segments to the order criteria. the

    default is y. this token is valid only for mode = oder by in flexsql.

    134. describe the num option of the fnd flexsql user exit

    a. specify the name or lexical or source column that contains the flexfield structure information. if the

    flexfield uses just one structure, specify num only and use a lexical parameter to hold the value. if the

    flexfield uses multiple structures, specify multinum only and use a source column to hold the value. the

    default value is 101.

    135. describe the table alias option of the fnd flexsql user exit

    a. you use table alias if your select joins to other flexfield tables or uses a selfjoin.

    136. describe the operator option of the fnd flexsql user exit

  • 8/12/2019 Apps Technical

    39/86

    a. specify an operator to use in the where clause.

    137. describe the operand1 option of the fnd flexsql user exit

    a. specify an operand to use in the where clause,

    138. describe the operand2 option of the fnd flexsql user exit

    a. specify a second operand to use with operator = between

    139. where is fnd flexidval user exit used

    a. call this user exit to populate fields for display. you pass the key flex fields data retrieved by the query

    into this user exit from the formula column. with this exit you can display values, descriptions and

    prompts by passing appropriate token (any one of value, decription

  • 8/12/2019 Apps Technical

    40/86

    if you are importing an address and a business purpose, you must also populate the following columns:

    primary_site_use_flag (if you are inserting an address)

    location (if you are not using automatic site numbering)

    site_use_code (if you are inserting an address)

    address1

    144) list some of the production tables that customer interface transfers customer data from the

    interface tables into?

    a. ar_customer_profiles

    ar_customer_profile_amounts

    ra_addresses

    ra_contacts

    ra_customersra_customer_relationships

    ra_cust_receipt_methods

    ra_phones

    ra_site_uses

    ap_bank_account_uses

    ap_bank_accounts

    ap_bank_branches

    145). what validation must be given on the customer_number?

    a must be null if you are using automatic customer numbering. must exist if you are not using automatic

    customer numbering. this value must be unique within ra_customers.

    146) what validation must be given on the customer_status?

    a must equal a for active or i for inactive.

    147) name some of the oracle receivables interfaces?

    a) auto invoice

    b) auto lockbox

    c) customer interface

    d) sales tax rate interface

    e) tax vendor extension

    148) give some of the oracle payables interface?

    a. a) credit card transaction interface

  • 8/12/2019 Apps Technical

    41/86

    b) invoice import interface

    c) payables open interface

    d) purchase order matching

    149). name some of the oracle general ledger interface?

    a) budget upload

    b) importing journals

    c) loading daily rates

    150). what are the names of the parameters u pass to the procedure which u register in the apps?

    1) retcode in varchar2

    2) errbuf in varchar2

    151). what is the use of auto lock box?

    a auto lockbox (or lockbox) is a service that commercial banks offer corporate customers to enable themto outsource their accounts receivable payment processing.

    152). auto lockbox is a three-step process, what are those?

    a) import

    b) validation

    c) postquickcash

    153). what is the order in which autolock box searches for the types of the matching number?

    a. 1. transaction number

    2. sales order number

    3. purchase order number

    4. consolidated billing invoice number

    5. other, user-defined number.

    154. what is application short name for general ledger you specify in fnd flexsql user exit?

    a. sqlgl

    155) . what are validations to be done in journal import interface.

    a. batch level: set of books, period name, and batch name

    journal level: set of books, period name, source name, journal entry name, currency code, category

    name, actual flag, encumbrance type id, user conversion type, accounting date, budget version id

    156) what subclass in forms6i

    a specifies module, storage & name information about the source object and source module for a

    referenced objects.

  • 8/12/2019 Apps Technical

    42/86

    157) what is the clause in sql * loader to program to override data intotable

    a. replace

    158). how do you set profile in oracle applications in application developer responsibility?

    a open profile function

    159). what is the syntax for loading data through sql * loader from multiple files simultaneously

    a. sqlldr scott/tiger@orcl control = ctlfile

    parfile -- parameter file: name of file that contains parameter specifications

    parallel -- do parallel load (default false)

    160) what is the table name for items in oracle inventory

    a mtl_system_items, mtl_categories

    161). tell me names of important production tables & their purpose ap, ar, gl, po

    a ap: ap_invoices_all, ap_invoice_lines_allto store invoices

    ar: ra_shipment_headers/ _lines, ra_customers, ra_contacts

    po: po_vendors, po_vendor_sites - for storing vendor data.

    162). name the interface tables used for the lockbox interface

    a interface table : ar_payments_interface_all

    lockbox transfers the receipts that pass validation to the receivables interim tables

    ar_interim_cash_receipts_all and ar_interim_cash_rcpt_lines_all

    when you run post quickcash, the receipt data is transferred from the quickcash tables to the following

    receipt tables:

    ar_cash_receipts_all

    ar_receivables_applications_all

    ar_cash_receipt_history_all

    163) name the interface tables used for the auto invoice interface.

    a auto invoice transfers transaction data from the interface tables

    ra_interface_lines_all,

    ra_interface_salescredits_all, and

    ra_interface_distributions_all

    into the following receivables tables:

    ra_batches_all

    ra_customer_trx _all

  • 8/12/2019 Apps Technical

    43/86

    ra_customer_trx_lines _all

    ra_cust_trx_line_gl_dist_all

    ra_cust_trx_line_salesreps_all

    ar_payment_schedules_all

    ar_receivable_applications_all 49

    ar_adjustments_all

    164). different type of value sets. what is exactly translatable independent and translatable

    dependent value sets (introduced in latest version of 11i).

    ans:- there are 8 types of values sets.

    a. none (non validate at all) (validation is minimal)

    b. independent (input must exist on previous defined list of values)

    c. dependent (input is checked against a subset of values based on prior value)d. table (input is checked against a subset of values in an application table)

    e. special (advanced) (value set uses a flexfield itself)

    f. pair (advanced) (two flexfields together specify a range of valid values)

    g. translatable independent (input must exist on previous defined list of values. translated value can be

    used)

    h. translatable dependent. (input is checked against a subset of values based on a prior value; translated

    value can be used)

    (note:- when you first define your flexfields, you choose how many segments

    you want to use and what order you want them to appear. you also

    choose how you want to validate each of your segments. the decisions

    you make affect how you define your value sets and your values.)

    165) how to run a concurrent program. what all concurrent programs u have

    created.

    ans:- (definition :- a concurrent program is an instance of an execution file, along with

    parameter definitions and incompatibilities. concurrent programs use concurrent program executables

    to locate the correct execution file.)

    oracle tool concurrent program * a concurrent program written in

    oracle reports, pl/sql package procedures,

    sql*loader, sql*plus, host scripting.

    how to run : * write a execution file and place in correct directory.

  • 8/12/2019 Apps Technical

    44/86

    establish executables in oracle apps specify execution file and method.

    define concurrent program (program, parameters and incompatibilities)

    call your program (- thu application form, from other concurrent program.

    - or through standard request submission, you must check the use in srs check box and register your

    program parameters when you define your concurrent program. add your program into the request

    security group for your custom application.)

    i have created reports through concurrent program, load(sql*loader/pl-sql pkg-proc) the file through

    concurrent program.

    166) what is parameter in apps and from where u can create it.

    ans:- parameters only using in report, you can create in defining the report in

    apps (you can create the parameter there only).

    167)what all are the tables used in the modules u have worked on.*in gl i have worked on gl_je_headers(journals header),gl_je_lines(journal lines), gl_je_baches(journal

    batches), gl_set_of_book(set_of_book_id),

    *in po- i have worked on po_header_all..

    168)what is profile? explain different levels of profile.

    ans:- a user profile is a set of changeable options that affects the way your

    applications run. oracle application object library establishes a value

    for each option in a users profile when the user logs on or changes 50

    responsibility. your user can change the value of profile options at any

    time a) to create profile option. ( profile option can created by developer in application developer area)

    b)set the value (values of the profile option , who will have what value at various levels is set by

    sysadmin). oracle application object library provides many options that. (edit profile feature for every

    user is available to set any value to allow the user).your users can set to alter the user interface of your

    applications to satisfy their individual preferences.

    profile optionset at run time likeuser related, responsibility, sequence, printer, security.

    values in 4 levels(hiearchy wise) :-

    a. user

    b. responsibility

    c. application

    d. site

    application developer create the profile.

  • 8/12/2019 Apps Technical

    45/86

    system administrator make profile option.

    (note:- if any change in value, it will active when you re-login or switch

    to the responsibility.)

    ( usage in the multi-tier, the profile is biggest impact)

    169)how to restrict the data for a responsibility as per the org-id

    ans:-through multiorg(mo) u can restrict the data for a responsibility as per the org-id. only in gl- set

    of book id you set the value to restrict the data for a responsibility.

    170) what is flexfield? what is flexfield qualifier and what is segment qualifier?

    ans:- a flexfield is made up a segments (which are actually table columns). each segment has a name

    that can be assigned, and set of valid value.

    purpose and application:-

    * flexibility to implement code structure.* flexibility to capture additional information.

    two types of flexfields in oracle apps.

    1. key flexfields (kff)

    2. descriptive flexfields (dff)

    a key flexfield segment has a name you assign, and set of valid values you specify. each value has a

    meaning which can be specified.

    flexfield qualifier:-a flexfield qualifier identifies a particular segment of a key flexfield..

    usually an application needs some method of identifying a particular

    segment for some application purpose such as security or computations. however, since a key flexfield

    can be customized so that segments appear in any order with any prompts, the application needs a

    mechanism other than the segment name or segment order to

    use for segment identification.

    segment qualifier :- a segment qualifier identifies a particular type of value in a single

    segment of a key flexfield.

    in the oracle applications, only the. accounting flexfield uses segment qualifiers. you can think of a

    segment qualifier as an identification tag for a value. in the accounting flexfield, segment qualifiers

    can identify the account type

    171) which flexfield qualifiers are mandatory?

    ans:- balancing segment flexfield qualifier is mandatory. 51

  • 8/12/2019 Apps Technical

    46/86

    172) difference between versions of apps.(front end & database)

    ans:- in backend- client server architecture (old)/ three tire architecture

    in font end- client server application (old)/ web based application

    173)what is multi-org and what is structure of multi-org.

    ans:- use a single installation of any oracle applications product to support any number of organizations.

    if those organizations use different set of books.

    support any number or legal entities with a single installation of oracle applications.

    secure access to data so that users can access only the information that is relevant to them.

    structure :- business unit

    -hrms(employee)

    -gl(set of books)(currency, calendar, chart of account)

    |balancing segment(you can do multiple balancing segment)

    -operating units (purchase, selling, fixed asset, payable,

    receivables)

    -inventory organizations (storing items, transaction happening,

    ware housing)

    (note:- means if you maintaining gl(set of book id), if u have operating unit, if you

    have inventory then its called multi-org)

    174)what is difference between org_id and organization_id in multi-org.

    at where we can set org_id and organization_id level it comes in the

    structure.

    ans:-a global variable exists in the oracle database called client_info, which is 64 bytes long. the first 10

    bytes are used to store the operating unit id(or org_id) for the multiple organization support feature.

    multi-org views are partitioned by org_id. the org_id value is stored in client_info variable.(it comes in

    ap,po,ar,om level)

    organization_idits for inventory, mfg, & bom.

    what are the default types of parameters. what is the use of each one of it.

    ans:-******

    175)org_id can be set at master levels or transaction level.

    ans:- org_id can be set at transaction level.

    176)differnet type of execution methods in conc.progs. explain each type.

  • 8/12/2019 Apps Technical

    47/86

    ans:- a.oracle reports- you can register your report as executable file type is oracle reports.

    b. pl/sql package procedure - you can register your pl/sql package procedure as executable file type is

    oracle pl/sql package procedure.

    1. sql loader- you can register your sql loader sql loader is your executable file type.(for data loading)

    2. sql*plus :- you can register your sql script as sql*plus executable type.

    3. host scripting:- you can write down unix host scripting and register here.

    177) what is difference between oracle schema and apps schema.

    ans:-database schema-

    the apps schema- is an oracle schema that has access to the

    complete oracle applications data model. this schema is maintained

    by auto install .178)what are the objects apps schema contain.

    ans:- the apps schema contains synonyms to all tables and

    sequences as well as all serverside code (stored procedures, views,

    and database triggers).

    for erp applications, data partitioning is performed by database

    views. these views reside in the apps oracle schema and derive the

    appropriate operating unit context from an rdbms variable.

    179)when will a new version of flint60 be released?

    flint60 is a developer/development tool. since flint60 can change at any time, the most current flint60

    will always obsolete all prior releases. in other words, the development standards implemented in the

    most current flint60 are the standards to which everyone using flint60 must adhere.

    1. how do i register a custom concurrent program?

    step 1: register a concurrent program executable navigate to the define executable form (aol reference

    manual pg 9-84) this determines the type of program being run, ie an oracle report, a c program, a shell

    script etc. fill in the executable name, application and execution method. for the execution file, fill in just

    the filename. the concurrent manager will look in the appropriate directory under the application's top

    directory. for spawned programs, the file must be in the bin directory, for oracle reports the rdf file must

    be in the srw directory. for plsql concurrent programs, put the name of the stored procedure.

  • 8/12/2019 Apps Technical

    48/86

    step 2: define the concurrent program navigate to the define concurrent program form (aol reference

    manual pg 9-87) this form links a concurrent program to the executable you just defined, as well as

    defines the programs parameters, incompatibilities, and other options. enter the concurrent program

    name, application, short name and description. check standard submission if you want to be able to

    submit this program from the standard report submission form. enter the name of the executable you

    defined and any report information if necessary. also define any parameters your program needs here

    and any incompatibilities.

    step 3: add the concurrent program to a report group first you will need to find the name of the report

    group to use. go to security->responsibility and query the responsibility you want to run the program

    with. it should show a report group name. query this name in security->responsibility->report add your

    new program to the list of available programs. now when you go to submit a request with this

    responsibility, you will be able to submit your custom program180)how do i compile a custom c program?

    spawned programs:

    step 1: write the code self-explanatory

    step 2: compile the source you must use the makefile under $fnd_top/usrxit use: make -f

    $fnd_top/usrxit/makefile program.o we do not support using any other makefile

    step 3: link the program this part is a little tricky. you need to create a custom makefile for this step. use

    $fnd_top/lib/sample.mk as a starting point. copy this file to the lib directory under your applications top

    directory. rename it .mk (ie fnd.mk, gl.mk etc) modify this file according to the directions

    in it. basically you need to 53

    add a target and build commands for your executable. next, use adrelink to link the executable: adrelink

    force=y ranlib=y "shortname programname"

    " step 4: register the program as in the above question

    immediate programs: just don't do it.

    181)how do i run a shell script as a concurrent program?

    1: write the script and call it .prog place the script under the bin directory under your

    applications top directory. for example, call the script custom.prog and place it under $custom_top/bin

    bin

    2: make a symbolic link from your script to $fnd_top/bin/fndcpesr for example, if the script is called

    custom.prog use this: ln -s $fnd_top/bin/fndcpesr custom this link should be named the same as your

    script without the .prog extension it should be in the same directory as the script.

  • 8/12/2019 Apps Technical

    49/86

    3: register a concurrent program as described above, using an execution method of 'host' use the name

    of your script without the .prog extension as the name of the executable for the example above, you

    would use custom custom

    4: your script will be passed at least 4 parameters, in $1 through $4 these will be: orauser/pwd, userid,

    username, request_id any other parameters you define will be passed in $5 and higher. make sure your

    script returns an exit status.

    define will be passed in $5 and higher. make sure your script returns an exit status.

    5: if your script returns a failure exit status but the concurrent manager does not report the error (shows

    it as still running normal) apply patch 442824

    182)how will u register rdf file and run it? tell the sequence?

    steps a. save the copy of ur reports in rdf file in ur local directory.

    b. transfer or copy the rdf file to cus_top under reports directory through ftp.c. then go concurrent program under executable menu where u define executable file and program

    name

    d. then go to define the program name (which ur executable file name ) and check the srs box and

    define the parameter and give the parameter name in token

    e. attach the program(request to ur responsibility )

    d run the program and view the out put is srs through ur responsibility

    what are different types of value sets ?

    183)what is translatable independent & dependent ?

    the value set used to support the multilingual value set.

    185))how do i submit a concurrent request from pl/sql?

    ans : using fnd_request.submit_request .

    begin

    v_request_id := fnd_request.submit_request(applicationshortname,

    concurrentprogramshortname,

    description,

    paramers)

    end 54

    commit;

    if v_request_id > 0 then

    dbms_output.put_line('successfully submitted')

  • 8/12/2019 Apps Technical

    50/86

    else

    dbms_output.put_line('not submitted');

    end;

    note : to submit a conc program from unix/shell scrip we use consub

    186) how do i cancel a running concurrent request?

    navigate to the concurrent request summary form select a request the sysadmin responsibility can

    cancel or hold any running request

    187) what is the difference between organization id and org_id ?

    organization_id stores inventory organization id ( like 204 for m1)

    org_id stores the ou id corresponding to a operating unit .

    188) what is the difference between conversion and interfaces ?

    conversion means one time activity interface means periodic activityexample:- to transfer the data old version to new version it is called conversionto transfer the data from

    staging table to interface table it is called interface , it is process on every day or every hour ........

    189) what are the different types of value sets and also explain each briefly ?

    different types of value sets are,

    1) independent- this value set contains list of values which does not depends on any other value

    2) dependant- it contains values which depends on any one of the independant value

    3) pair- combines 2 flex field together to specify range of valid values

    4) special- uses only 1 flex field structure to specify values

    5) table- this value set contains list of values from 1 or more than 1 table columns

    6) translatable dependant- same as dependant value set, only translat