pass the parameter in PL/SQL on UNIX "such what."

Hello
I need the 4 parameters of Oracle procedure through Unix Shell script...
procedure signature :-
PROCEDURE Builder(csvFileName OUT VARCHAR2,pdfFileName   OUT VARCHAR2, fileId IN NUMBER, csvresult OUT VARCHAR2,pdfresult OUT VARCHAR2);
UNIX Shell script:
BudResult=$(exec_Builder $fileId)  
echo $BudResult | read csvfileName pdfFileName csvresult pdfresult
Problem: 1 suppose pdffile pdfresult has Null values in the procedures of the Oracle, and unix shell will read parameters with spaces so
I am incorrect parameter values in UNIX script.
               
Oracle Procedure result:                   Unix Shell Result
csvfile = ABC.csv                         csvfile = ABC.csv
pdfFile = NULL                            pdfFile = Success
csvresult = Success                       csvresult = 
pdfresult = NULL                          pdfresult = 
               
2. suppose csvresult has value "Userdefined Exception" in oracle procedure but Unix reads it as following

Oracle Procedure result:                 Unix Shell Result
csvfile = ABC.csv                         csvfile = ABC.csv
pdfFile = XYZ.pdf                         pdfFile = XYZ.pdf
csvresult = Userdefined Exception         csvresult = Userdefined
pdfresult = Success                       pdfresult = Exception Success
In nut shell how to pass the parameter "like what" PL/SQL in UNIX...

Thank you
Sandy

So, what kind of problem you know now? What output do you get it?

echo oenResult=$oenResult

Tags: Database

Similar Questions

  • pass the parameter in pl/sql block

    Hello

    I have to call anonymous pl/block block with the shell script parameter. It works fine as indicated below, the problem is - generated email after the creation of the table in step contains
    list of all directories and files, instead of "select * from". When I change * to the values of columns, everything works well, but I need to use ' * ' in select statement.
    Please let me know which remedy.
    set serveroutput on
    @${CREATE_STAGE_SQL} ${i}
    COMMIT;
    QUIT;
    EOF
    CREATE_STAGE_SQL. SQL
    declare
    begin
    ### some other processing###
     execute immediate 'create table T1_&1._STG as select * from t1_rpt_tmt where 1=2';
    end 
     
    Thank you
    Sandy

    Sandy310 wrote:

    Question - how to select * on my application, how to use * (special character) bulk pl/sql call?
    I used & 1. (dot) to pass parameter.

    Example:

    // the script
    /home/billy/sql> cat show-employees.sql
    --// usage: show-employees.sql 
    --//
    --// where:     sql-projection = comma delimited column list
    
    set verify off
    set define on
    define PROJECTION=&1
    
    select &PROJECTION from emp order by 1;
    
    exit
    
    // running script for single column
    /home/billy/sql> sqlplus scott/tiger @show-employees.sql ename
    
    SQL*Plus: Release 11.2.0.2.0 Production on Thu Apr 18 08:01:10 2013
    
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    With the Partitioning, Real Application Clusters, Automatic Storage Management, Oracle Label Security,
    OLAP, Data Mining, Oracle Database Vault and Real Application Testing options
    
    ENAME
    ----------
    ADAMS
    ALLEN
    BLAKE
    CLARK
    FORD
    JAMES
    JONES
    KING
    MARTIN
    MILLER
    SCOTT
    SMITH
    TURNER
    WARD
    
    14 rows selected.
    
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    With the Partitioning, Real Application Clusters, Automatic Storage Management, Oracle Label Security,
    OLAP, Data Mining, Oracle Database Vault and Real Application Testing options
    
    // running script for all columns using asterisk - and to prevent bash from processing
    // the asterisk as a file/dir listing parameter, we escape the character using a slash
    /home/billy/sql> sqlplus scott/tiger @show-employees.sql \*
    
    SQL*Plus: Release 11.2.0.2.0 Production on Thu Apr 18 08:01:17 2013
    
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    With the Partitioning, Real Application Clusters, Automatic Storage Management, Oracle Label Security,
    OLAP, Data Mining, Oracle Database Vault and Real Application Testing options
    
         EMPNO ENAME      JOB              MGR HIREDATE                   SAL       COMM     DEPTNO
    ---------- ---------- --------- ---------- ------------------- ---------- ---------- ----------
          7369 SMITH      CLERK           7902 1980/12/17 00:00:00        800                    20
          7499 ALLEN      SALESMAN        7698 1981/02/20 00:00:00       1600        300         30
          7521 WARD       SALESMAN        7698 1981/02/22 00:00:00       1250        500         30
          7566 JONES      MANAGER         7839 1981/04/02 00:00:00       2975                    20
          7654 MARTIN     SALESMAN        7698 1981/09/28 00:00:00       1250       1400         30
          7698 BLAKE      MANAGER         7839 1981/05/01 00:00:00       2850                    30
          7782 CLARK      MANAGER         7839 1981/06/09 00:00:00       2450                    10
          7788 SCOTT      ANALYST         7566 1987/04/19 00:00:00       3000                    20
          7839 KING       PRESIDENT            1981/11/17 00:00:00       5000                    10
          7844 TURNER     SALESMAN        7698 1981/09/08 00:00:00       1500          0         30
          7876 ADAMS      CLERK           7788 1987/05/23 00:00:00       1100                    20
          7900 JAMES      CLERK           7698 1981/12/03 00:00:00        950                    30
          7902 FORD       ANALYST         7566 1981/12/03 00:00:00       3000                    20
          7934 MILLER     CLERK           7782 1982/01/23 00:00:00       1300                    10
    
    14 rows selected.
    
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    With the Partitioning, Real Application Clusters, Automatic Storage Management, Oracle Label Security,
    OLAP, Data Mining, Oracle Database Vault and Real Application Testing options
    
  • passing the parameter through links page (navigation)

    Hello

    suggest me the way to pass the parameter through links in the page navigation.

    I tried it in EL, I'm not able to get on the page.

    is it a right approach or any other.

    Thank you

    A

    After showing the steps in the similar thread, I found this thread then re-post here.

    Pass the connection parameter to connected in portal Builder page


    Here are the steps to pass the parameter in a URL to another page:

    OR

    Sign in to your personalized Portal (say MyPortal1)

    http://127.0.0.1:8888 / webcenter/Portal/MyPortal1

    Click the settings (e.g. Pages & portals Actions)-> manage-> all settings

    It will take you to the page view of all of the current portal (i.e. MyPortal1).

    Then click attributes in the left pane, and you can create/edit/delete the custom attributes for the current portal on the right side.

    • Click Add an attribute and specify the following information:

    Attribute name = myvar

    This is the attribute that we will refer to any page using the EL "MyVar".

    Attribute value = #{param.myvarval}

    "Myvarval" is the name of the query parameter (i.e. suffix query param & myvarval = TestSuccess will be passed as part of the URL later)

    • Now, create a new page "TestPage" and add the element of HTML markup on the page using the composer.
    • In the Properties window, change the HTML markup element.

    Replace the existing value

    #{componentExtensionBundle.OUTPUT_TEXT_TEXT}

    with

    #{spaceContext.currentSpace.metadata.customAttributes ['myvar']}

    • Click apply and then click OK to close the pop-up window.
    • Click on save and view Portal


    • CHECK: Replace/change the URL the following OR open in a new tab in the browser

    Http://127.0.0.1:8888 / webcenter, portal, MyPortal1, TestPage ? myvarval = TestSuccess

    and you will see "TestSuccess' message in the"TestPage"rendered using the HTML markup component.

    This confirms passing the parameter to a page URL works as expected.

    Now, to add a link to the "TestPage" passing a parameter in the URL of the page in another page (Home Page say).

    • Now goto homepage, correct it in composer and add the hyperlink element. Click change to set the hyperlink in the Properties window.
    1. Set the title to display (i.e. the value of the title TestPage)
    2. Set the Destination URL by clicking on the search icon and choose "TestPage".

    Destination is defined with values that resembles

    /faces/Oracle/WebCenter/page/scopedMD/sf5926dd1_9e6a_45ab_a99c_d79fabb362c0/Page1.JSPX

    Add a suffix '& myvarval = TestWorks' to him.

    • Click apply & OK.
    • Click on save and view Portal
    • CHECK: Since your home portal or the home page, click on the link "TestPage" which brings you to the TestPage and you will see "TestWorks' message in the"TestPage"rendered using the HTML markup component.

    I hope it helps.

    References:

    How to pass a parameter of argument the query URL to a parameter input workflow? (Doc ID 1545808.1)

    https://mosemp.us.Oracle.com/epmos/faces/DocumentDisplay?ID=1545808.1

    Works with the global attributes in portals

    http://docs.Oracle.com/CD/E29542_01/WebCenter.1111/e27738/wcadm_ps_attrib.htm#WCADM11701

  • Pass the parameter page fragment in a dynamic region

    Hello.

    I use Jdeveloper 11.1.1.3.

    Can someone explain to me how to pass the parameter page fragment in a dynamic region?

    My situation is:

    I have only 1 page: index.jspx.

    This page includes 2 items:
    1. < af:tree >
    < af:tree id = "t1" var = 'node' rowSelection = 'single '.
    value = "#{bindings." Rendering FpsrVO1.treeModel}"="true"expandAllEnabled ="true ".
    contentDelivery = "lazy" initiallyExpanded = "false".
    contextMenuSelect = 'false' fetchSize '-1' = >
    < f: facet name = "nodeStamp" >
    < af:commandLink id = "cl1" rendered = 'true '.
    actionListener = "#{backingBeanScope.RegionDynamicBean.treeClick}" >
    < af:outputFormatted id = "outForm' value = ' #{node." Name}' has made = "true" / >
    < name f: attribute = "Flash" value = "#{node." Code} "/ >"
    < / af:commandLink >
    < / f: facet >
    < / af:tree >
    2. < af:region >:
    < af:region value = "#{bindings.dynamicRegion1.regionModel} '"
    ID = "r1" / >
    region could be changed to 3 delimited taskFows who have just a fragment of page.

    Can someone explain to me how I can send < name f: attribute = "Flash" value = "#{node." Code} "/ > element tree to page fragment that will appear on the screen?"

    You can move a card to the dynamic region that would take the parameters of workflow task in the form of key-value pairs.


    taskFlowId = "${backingBeanScope.TestPageBean.dynamicTaskFlowId}" "
    Activation = "deferred."
    xmlns = "http://xmlns.oracle.com/adf/controller/binding."
    parametersMap="#{backingBeanScope.TestPageBean.parameters}"/ >

    When reloading the taskflow, ensure that the settings are loaded into the taskflow.

    See this example from exactly your use case:
    http://adfsampleapplications.googlecode.com/svn/trunk/TaskflowParamSampleApp.zip

    Thank you
    Nini

  • How to pass the parameter one form to another form?

    Hello

    I want to pass the parameter one form to another form called.

    What are the steps I want to do.

    Please guide me

    Iqbal

    Published by: Sabrina on July 21, 2010 23:38

    You want to see this link...

    sheikyerbouti.developpez.com/forms/Forms_Parameters.doc

  • screen saver; have a screen saver password photos. As he passes, the screen goes black and stays black. What can I do?

    have a screen saver password photos.  As he passes, the screen goes black and stays black.  What can I do?

    have a screen saver password photos.  As he passes, the screen goes black and stays black.  What can I do?

    ===============================
    I don't know what is causing this problem but would be
    suspicious, it is related to a corrupted or obsolete
    video driver.

    Might be interesting to try to reduce your graphics
    Hardware acceleration instructions
    in the following article.

    How to put in back of graphics hardware acceleration
    http://www.pptfaq.com/FAQ00129_How_to_set_graphics_hardware_acceleration_back.htm
    (scroll down to: "If you are using Windows 2000 or XP")

    If they improve the question, you should look for the
    site Web of MFG. your video card
    a updated driver Win XP compatible video. Or...
    If your computer is a laptop... Search support
    site of the manufacturer of your computer.

    If you do not know the make and model of your
    Video adapter, see the documentation that
    supplied with the computer.

    Also you can find info on your video by driver
    go to Device Manager: you can launch
    By clicking Device Manager on... Start/run and
    type or copy / paste:
    devmgmt.msc
    And then press ENTER.

    Expand "Graphics cards" and right click
    the name of your graphics... then
    choose... Properties / tab pilot... FYI.

    You should find the make and model of your
    adapter display as well as the version of the driver.

    If the driver on the Web site is no longer
    current than you run...
    Download and install it. In addition, installation
    instructions that should be followed closely
    should be available on the support site.

    Once installed the new video driver... you
    can restore your full acceleration.

    Good luck...

  • Pass the parameter to the functions called from a dll

    Hi all

    I am interfacing a motor controller for PMC - 100 through the Protocol of Performax using labwindows.

    I need to explicitly link the PerformaxCom.dll and call functions with him. I'm calling this function

    BOOL fnPerformaxComOpen (DWORD IN dwDeviceNum, OUT HANDLE * pHandle);

    Faithful:

    If you want to link explicitly, you can consult this article: http://zone.ni.com/devzone/cda/tut/p/id/8503

    It has a code snippet that shows passing two parameters to a DLL function.

    But as for your statement that "I don't know how to pass parameter to him", in the example, you reference, you pass a parameter: it's just a constant string rather than a variable.

  • How to pass the parameter to the script for interface/Package in ODI

    Hello

    Yesterday I asked a question how to pass a parameter to run the script interface or the procedure?

    I don't know if it's possible.

    Any clarification will help you.

    Kind regards

    Mahesh

    Mahesh, why not try this in your machine? This will give you more clarity and confidence.

    ODI has always check if there is any variable used inside an object regardless of the interface or procedure or package. So whenever you generate the script, you will be asked to select the boot parameters. She's. Whenever you use this scenario, make sure you that you add the variables in the additional variables section of the Properties tab.

    So answer is that it is possible.

    Bravo!

  • Passing the parameter when pageloads as processRequest in OFA

    Hi friends,

    I developed a page (EmpDetailPG) to view the details of the employees. The data appearing on the EmpDetailPG uses a ViewObject that is based on a query. The query lists the details of all employees.

    However, I have to include this page with EBS. The usercontext is available now in the EBS, and when the user loads the page the usercontext of EBS should be taken and passed this ViewObject on loading the page. This will ensure that the page displays the details of the only employee who is logged. How this can be in the ADF page. Ideas please let me know.

    JDeveloper version is 11.1.2.4.0. EBS is 12.1.3

    Thank you

    Hello

    (1) you must pass the username as a parameter of workflow. And then, you will need to filter your from vo of this username. You can do it on the loading of the page. See the blog post very useful for this http://tompeez.wordpress.com/2014/08/20/jdev-12-1-3-use-default-action-instead-of-invoke-action/

    (2) you need to access the user name of the context and value as a workflow parameter. There might be some expressionLanguage which will return the username you see directions to the user of the present session in EBS

    / Context parameter that provides you with the user name, you need to workflow parameter. Refer

    http://docs.Oracle.com/CD/E14571_01/Web.1111/b31974/taskflows_parameters.htm#CHDIAIJJ

    Thank you

  • passing the parameter to bounded taskflow

    jdev 11.1.1.7

    I call a taskflow 1 with parameters as:

    < taskFlow id = "OrgRegistrationTF1".

    taskFlowId="/WEB-INF/OrgRegistrationTF.xml#OrgRegistrationTF".

    Activation = "deferred."

                  xmlns=" http://xmlns.Oracle.com/ADF/controller/binding "> "

    < Parameters >

    < parameter id = "OrgId" value = "#{pageFlowScope.OrgId}" / >

    < / Parameter >

    < / taskFlow >

    Now this taskflow calls internally the taskflow(taskflow 2) another and I need to pass the same parameter that I got while watching taskflow1.

    How can I change the setting to a taskflow which is called from a taskflow?

    Sorry for this question!

    It's simple

    When you set the parameters of taskflow were suppased to be be designated as:

    /Web-INF/OrgRegSubTF.XML

    OrgRegSubTF

    OrgId

    #{pageFlowScope.OrgId}

  • Passing the parameter of workflow with shows the http 404 error pages

    Hello

    I have a parent workflow with fragments of page deleted as a region on a page. The fragment of a page in the parent workflow displays the read-only table employees. The service Id of the table appears as a link. When you click this link, the following is provided:

    • action listener is called which calls the managed bean that retrieves this Department Id and defines in the pageFlowScope.
    • Pass this value as an input to the child workflow parameter. Child workflow contains its display type is inline-popup page.

    The problem is that when there is no parameter passed to the child workflow the popup is fine. But if the parameter is passed it gives the following error:

    ADF_FACES - 60105:HTTP error state Code: 401.

    Parameters passed from parent to child, such as:

    #{pageFlowScope.DepartmentIdBean.value}

    (DepartmentIdBean is the bean class that gets and sets the Id selected Department)

    Parameter received in the child as workflows:

    #{pageFlowScope.pdeptId}

    Can someone please help me solve this problem? Is that the path parameter is spent creating problem? The same scenario works very well if the child workflow is invoked with fragments of page and like exterior window. I use JDev 12 c.

    I looked at the code and modify it to make it work. There were a few errors. the way main reason you got the error was that you tried to read the non-existing parameter values.

    Download the app from work OTNempDeptTaskFlow.zip | JDev & amp; Goodies ADF

    After downloading the doc you rename to zip and can then decompress.

    Timo

  • How to pass the parameter in where clause contained in the custom file?

    I have the tracking query

    Blue are the parameters

    I paste this to a custom folder

    and

    Select last_update_date, creation_date

    of ra_customer_trx_all

    "where trunc (last_update_date) = 29-SEP-2012."

    and customer_trx_id = 1109

    in another folder custom return 1 row only and create a different worksheet in the same workbook and create

    3 setting and 2 of them pointing to the 1 row to query and create a calcualtion

    SET_CONTEXT ("Date_From", TO_CHAR(:Date From)) and SET_CONTEXT ('Date_TO', TO_CHAR(:Date To))

    and 1 condition 1 = SET_PARAM3(:Period)

    but this does not work for me, no data back please help

    Select m.party_name TENANT_NAME

    b.interface_line_attribute10 lease_num

    -, b.interface_line_attribute12 «PPS Number.

    b.interface_line_attribute2 LOCATION_CODE

    flexv.description property_name

    INVOICE_NUMBER a2.trx_number

    -, t.nom "Type of Transaction".

    -, e.attribute15 "AS400 Key."

    , b2.description 'BILL_ITEM_INVOCIE_DESCRIPTION '.

    , case when gcc.segment5 like 6% ' then ' P/L '.

    When gcc.segment5 like 7% ' then ' P/L '.

    When gcc.segment5 as 8% ' then ' P/L '.

    When gcc.segment5 like 9% ' then ' P/L '.

    else "B/S".

    end as account_nature

    -, gcc.concatenated_segments as 'account of burden '.

    gcc.segment1 company_code

    gcc.segment2 department_code

    gcc.segment3 property_code

    gcc.segment4 business_segment

    gcc.segment5 account_code

    gcc.segment6 project_code

    gcc.segment7 intercom_code

    gcc.segment8 spare1

    gcc.segment9 spare2

    b2.extended_amount BILL_ITEM_INVOICE_AMOUNT

    to_char (substr(ps.gl_date,4,8)) gl_period

    b.interface_line_attribute11 bill_start_date

    b.interface_line_attribute14 bill_end_date

    decode (a2.invoicing_rule_id, '-2',

    DECODE (TO_CHAR ("b.RULE_START_DATE, ' YYYYMM"), to_char (to_date (to_char (TRUNC (to_date (SETPARAM.) GET_PARAM3, "YYYYMM"), 'Month')-1), "MON-DD-YYYY"), "YYYYMM"), "Current", "Forward").

    'In progress' Bill_nature)

    , to_char (a2.trx_date, ' MON-DD-YYYY "") invoice_date

    pal.lease_commencement_date

    pal.lease_termination_date

    h.user_name created_by

    -, NULL as remarks

    of ra_customer_trx_all one

    ra_customer_trx_lines_all b

    pn_leases_all d

    e pn_tenancies_all

    hz_cust_accounts l

    hz_parties m

    fnd_user h

    ar_payment_schedules_all ps

    RA_CUST_TRX_LINE_GL_DIST_ALL dist

    gl_code_combinations_kfv gcc

    AR_RECEIVABLE_APPLICATIONS_all app

    ra_customer_trx_all a2

    ra_customer_trx_lines_all b2

    RA_CUST_TRX_TYPES_all t

    fnd_flex_values_vl flexv

    pn_lease_details_all pal

    where

    App. APPLICATION_TYPE = "CM".

    and flexv.flex_value = gcc.segment3

    and flexv. FLEX_VALUE_SET_ID = 1014916

    and pal.lease_id = d.lease_id

    and app.applied_customer_trx_id = a.customer_trx_id

    and app.customer_trx_id = a2.customer_trx_id

    and a2.cust_trx_type_id = t.cust_trx_type_id (+)

    and a2.org_id = t.org_id (+)

    and b.customer_trx_line_id = b2.previous_customer_trx_line_id

    and dist. CUSTOMER_TRX_LINE_ID = b2. CUSTOMER_TRX_LINE_ID

    and dist.account_class = 'REV '.

    and dist.account_set_flag = DECODE (NVL(a2.invoicing_rule_id,1)-2, 'Y', 'n')

    and gcc. CODE_COMBINATION_ID (+) is Dist. CODE_COMBINATION_ID

    and b.interface_line_attribute10 = d.lease_num

    and d.lease_id = e.lease_id

    and e.primary_flag = 'Y '.

    and b2.customer_trx_id = a2.customer_trx_id

    and a2.bill_to_customer_id = l.cust_account_id

    and l.party_id = m.party_id

    and a2.created_by = h.user_id

    and ps.customer_trx_id = app.customer_trx_id

    and ps.gl_date between trunc (trunc (TO_DATE (SYS_CONTEXT ('DISCO_CONTEXT', 'Date_From')), 'MM')-1, 'MM') and trunc (TO_DATE (SYS_CONTEXT ('DISCO_CONTEXT', 'Date_To')), 'MM')-1

    What exactly is the problem with the results? Can you do the report include the gl_date, so that you can see exactly what is included?

    The only way to solve this is back to basics. You must be certain that the setting and calculations for the date work 100%. You have granted the Execute permission on the function to your landlord EUL - Yes? I did create the function in a package belonged to EUL_US, then I got no problem with permissions or grant.

    Also, gl_date is a DATE string and not a right? I ask because if it is not a date, but a string then a few dates could be left out.

    Assuming that you are 100% some of the building blocks, you should start by including only the gl_date and the primary key of the table you are using. Once you are sure you have found the right data, you can start adding in addition to fields.

    I note that you use the E-Business Suite objects. I copied the code in my system where I don't use rental. So I put comment references to tables 3 PN. I had 150 lines of data when I asked for it by using the parameter, and then when I hard coded the BETWEEN operator for the gl_date. You don't have to make sure that your landlord EUL got right SELECT all tables and views used in your code and, if you want to share this code with someone else, you must also have LICENSING rights.

    Try your code in a SQL like TOAD tool and see what happens. Are you absolutely sure that each of your transactions has an entry in the tables PN? Maybe it's why you don't get the results you expect. You can try, as I did, to comment these lines out and then see what happens.

    Hopefully this has given you enough to solve your problem

    Michael

    PS. It would be nice to know your name. You have not used once it in your thread.

  • passing the parameter having the place of hyperlink 11.1.1.64

    Hi all

    I use the hyperlink in rtf report spend the detailed report parameter. 11.1.5.0 editor bi version, the setting was correctly, however, in 11.1.6.4, the parameter if it has spaces such as district of Columbia, it is extra 25 value which is passed (% 2520 instead of 20). Everyone has faced this problem in 11.1.6.4 version and it's a known bug or a patch for it.

    Thank you

    Sushil

    20 https://ABX.com...final.XDO? & PV_REGION = 03 & PV_STATE = district %25%2520Columbia

    OK:https://abx.com...Final.xdo/? & PV_REGION = 03 & PV_STATE = District % 20of % 20Columbia

    Since you are passing to encode as below

    https://ABX.com...final.XDO?&PV_REGION=03&PV_STATE=district%20Of%20Columbia

    you have found

    https://ABX.com...final.XDO?&PV_REGION=03&PV_STATE=district%2520of%2520Columbia

    Try to pass the actual url without encoding for spaces in URLs

    ~ http://cool-bi.com

  • How to pass the parameter of column in a table of trinidad to the next page?

    Hello
    In fact, we work with trinidad tables and forms on our pages snce we will deploy to mobile.
    I saw a video shared by Shay, parameter passing between pages with adf components - the column was converted to create a link, then it a setProperty earphone is placed on the table to catch the parameter.
    How can do us same with paintings of the Trinity? I do not see any place to convert the column link, but in vain.
    I tried to use a radio button select with the table, but I do not know how to extract the value of this.
    Please provide your valuable suggestions on this.

    Concerning

    Hello

    If you go to the source of table view you see something like

    TR:column containing--> tr:outputText

    You would simply change the tr:outputText to tr:commandLink

    Frank

  • Form of Oracle 10 g by passing the parameter of the forms to reports

    Hi all

    I work in 10g AS and have a form which is called a Menu. When we run the form he asks that the connection information. and once it is successful, then it opens a menu.
    Here in the menu, I ask a report before a form of parameter. In this setting, I have 3 userid startDate and endDate fields.

    It's the part of my code that executes the report.

    ADD_PARAMETER (PARAM_ID, 'Hogshead', TEXT_PARAMETER, USER);
    ADD_PARAMETER (PARAM_ID, 'start_date', TEXT_PARAMETER, TO_CHAR(SYSDATE,'DD-MON-YYYY'));
    ADD_PARAMETER (PARAM_ID, 'end_date', TEXT_PARAMETER, TO_CHAR(SYSDATE,'DD-MON-YYYY'));

    Rep: = find_report_object ('MyReport');
    vc_reportserver: = 'rep_prothonotary5_FRHome1 ';

    SET_REPORT_OBJECT_PROPERTY (REPID, REPORT_COMM_MODE, SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY (REPID, REPORT_DESTYPE, cache);
    SET_REPORT_OBJECT_PROPERTY (REPID, REPORT_DESFORMAT, 'HTMLCSS');
    SET_REPORT_OBJECT_PROPERTY(REPID,REPORT_OTHER,*'paramform=yes'*);

    v_rep: = RUN_REPORT_OBJECT (repid, PARAM_ID);

    Here I am able to get the report when I speak of paramform = no. As the parameters are passed directly to the form. Start date and end Date will be SYSDATE as it is in the code above.
    But I need to be as paramform = yes, so that the form of the parameter appears before the report and, I can change the settings for Start Date and End Date . When I put paramform = yes in my code, the parameter form appers, but this form of parameter, there is a button submit Querry and Reset and when to drop querry button is pressed, the page Web site can not display the page .

    How should I make it work?

    a possible solution is to create a simple form to let the user enter its parameters, and then call the report itself with paramform = no

Maybe you are looking for