Item value on column link is not posted in 3.0

Hi,
I've on page 120 a column link to page 122 with 3 items: P120_X, P120_Y, P120_Z with the values set #P120_X#, #P120_Y#, #P120_Z# . If the value of P120_Z = # , then only P120_X und P120_Y are available at Page 122. P120_Z is NULL. My Version is Apex 3.0 now. This was working in Apex 2.0. Any idea how to solve this issue.
Thanks and Regards
Juergen

Juergen,
I don't know why it worked in 2.0 but if you pass # as the item value in a URL without encoding it it will look like the start of a named anchor reference.
Just another reason not to pass arbitrary character data in URLs; stick with numeric primary keys as much as possible.
Scott

Similar Messages

  • Item value in column link

    Hi,
    I have one interactive report that link to new page thru column link, and assign #COLUMN_NAME# to an ITEM on target page,
    another interactive report has a column link defined the same way and assign #COLUMN_NAME2# from TABLE2 to ITEM 2 on target page 2, after apply change,
    APEX change the #COLUMN_NAME2# in the "Column Link" section to &COLUMN_NAME2.
    when does APPEX assgin the value #COLUMN_NAME#? and when for &COLUMN_NAME2. ?
    Thanks

    problem fixed by changing column_name of table. APEX should isolate their variables from user variables ....
    I link a column to new page, the column_name happens to be #APP_ID#, which is same as an internal variable used by APEX, thus APEX always pass
    application id 101 to new page. (APEX changes the #APP_ID# to &APP_ID. after saved page.)

  • How to set an application item when report column link is clicked?

    I am trying to set the short name of a bread crumb entry when I drill into a detail from an interactive report page.
    The master report has a column link with target = detail - "page in this application"
    I can pass page items through the URL and they are set on the target page.
    How can I set an application item before the target page is called?
    Is there a way to set a process before the link is followed?

    Kenneth,
    I'm not totally sure that I understood the question but, it soounds like you want to set the value of some page items on the page that is opened when you click a link on a column in the master window. Is this right?
    If so, you can achieve what you want by creating hidden page item(s) on the target page. In the master page, on which every column provides the link, go into Report Attributes, click on the link column and scroll down to the section labeled "Column Link" Within this section, set the link text to the current column value, e.g. #MASTER_REPORT_COLUMN_NAME_HERE#. Set the target to "Page in this Application" and pick the page number for the target window.
    Underneath this you will see a section to set set the value for page items. If you click the flashlight, you can search for the hidden page item that you created above. Use the same value to set it as you did the link text, i.e. #MASTER_REPORT_COLUMN_NAME_HERE#. Do this and let APEX take care of passing the values on the URL.
    On the child page, just set whatever control you want to dynamically pick up the value from the hidden field. For example, if you hidden field where named P4_CLEARER_NAME. You could set the title attribute to "Contact Information for &P4_CLEARER_NAME."
    You need the preceeding "&" and terminating "." around the name of you hidden page item to do this.
    -Joe

  • Item value as column name in select

    Hi,
    I have a problem with selecting the columns in the query using items. For example: I have a query:
    select column_a from table; or select column_b from table;
    and I want to do something like this:
    - any item in which I choose the column name
    - query: select column_from_item from tale
    Is it possible?
    My apex version: 4.0.2.00.07
    My oracle db version: oracle 11g

    Unfortunately, it does not work. For example:
    I have a table book (title, themes ...), which is eight rows. When I create a static list of items containing the column names (display name and returns the name) and a report based on select according to your design(select :P5_select from table;), you get eight records in the name of the column.
    item: select list -> static list -> display value: Title, return value: Title, name: P1_title
    select :P1_title from books;
    result which i get:
    Title
    Title
    Title
    Title

  • Column Link is not working on a Manual Tabular Form

    Hello,
    I am having some issues creating a link on a column based on a manual tabular form (I am using Apex 4.1.1.00.27, Oracle DB 10.2.0.5.0):
    On my page 1, I created a process that deletes and creates a collection based on the “emp” table; then, I have a manual tabular form based on that collection; and finally, a link on the “deptno” column of the manual tabular form that points to my Page 2 (department form) and it’s passing the parameter P2_DEPTNO:#DEPTNO#.
    The problem is that when I press the link, the page is not submitting the DEPTNO value. Also, I notice that as soon as I specify the column as a link column, it does not show the value in my tabular form, but if I remove the link, it shows the value correctly.
    I created an example on apex.oracle.com in case some of you want to look into it:
    Workspace: EDIAZJORGE
    Username: test
    Password: test123
    App Name: Sample App
    App Number: 12231
    I appreciate any ideas or suggestions on how to solve this issue.
    Thank you,
    Erick

    Hello,
    Try following code
    SELECT APEX_ITEM.HIDDEN(1,C001) EMPNO,
           APEX_ITEM.TEXT(2,C002) ENAME,
           APEX_ITEM.TEXT(3,C003) JOB,
           APEX_ITEM.TEXT(4,C004) MGR,
           APEX_ITEM.TEXT(5,C005) HIREDATE,
           APEX_ITEM.TEXT(6,C006) SAL,
           APEX_ITEM.TEXT(7,C007) COMM,
           '&lt;a href="f?p=&APP_ID.:2:&APP_SESSION.:::2:P2_DEPTNO:'||C008||'"><img src="/i/ws/small_page.gif"></a>' DEPTNO
    FROM APEX_COLLECTIONS
    WHERE COLLECTION_NAME = 'EMP_COLLECTION'
    UNION ALL
    SELECT APEX_ITEM.HIDDEN(1,NULL) EMPNO,
           APEX_ITEM.TEXT(2,NULL) ENAME,
           APEX_ITEM.TEXT(3,NULL) JOB,
           APEX_ITEM.TEXT(4,NULL) MGR,
           APEX_ITEM.TEXT(5,NULL) HIREDATE,
           APEX_ITEM.TEXT(6,NULL) SAL,
           APEX_ITEM.TEXT(7,NULL) COMM,
           APEX_ITEM.TEXT(8,NULL) DEPTNO      
    FROM DUALFor existing data, it will display as link and for new data, it will still display as text box.
    Please note that you should display DEPTNO as standard column and not as LINK.
    Regards,
    Hari
    Escaped < in tags :)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Page item value set in app process not maintained after page submit

    Hi -- I have a sequence of events that goes like this:
    1) Page 0 region REG_1 is rendered before footer
    - Region REG_1 uses javascript / AJAX to call App process PROC_1
    - PROC_1 sets Page1 item PAGE1_MESSAGE to X
    - After PROC_1 executes successfully, REG_1 does doSubmit()
    2) Page 0 region REG_2 is rendered before footer; this happens
    after the page submit done by REG_1. (Conditions ensure that
    REG_1 is not rendered again)
    - Region REG_2 displays PAGE1_MESSAGE (=X) in an alert.
    - Region REG_2 uses javascript / AJAX to call App process PROC_2
    - PROC_2 sets Page1 item PAGE1_MESSAGE to Y
    - PROC_2 sets Application item DEBUG to PAGE1_MESSAGE (this is for debugging)
    - PROC_2 sets Application item APP_MESSAGE to Y (this is also for debugging)
    - After PROC_2 executes successfully, REG_2 does doSubmit()
    3) After REG_2 submits the page, here's what I have:
    - Application item APP_MESSAGE = Y. Good. This is what it was set to in PROC_2.
    - Page 1 item PAGE1_MESSAGE = X. Bad. This is what it was set to in PROC_1.
    - Application item DEBUG = Y. Good. This at least shows that PAGE1_MESSAGE was
    set to Y within PROC_2... but for some reason that value is not being preserved
    after the app process is done executing.
    - There are several other application items set in PROC_2, and they're all correct.
    Any ideas as to why this is happening? It seems like this should be
    pretty straightforward: set the value, submit the page, the value should be what
    I set it to.
    Thanks,
    Carol

    Hi -- Thanks for the suggestions. First and 3rd (default value, or being overwritten by process or computation) aren't happening. The source for PAGE1_MESSAGE having is Always, Using app item PAGE1_MESSAGE... but I don't see what else could work here. Not sure if that's the problem.
    I've put an example on apex.oracle.com. Workspace is dew_mir_tor. Username is [email protected]. Password is Mir97Dew77!Tor. Application is 22679, RefreshAllTest.
    To reiterate the description in my original posting, but using the real application item/region/process names:
    0) Press Button REFRESH_ALL on Page 1. This branches back to Page 1.
    1) Page 0 region Refresh_All is rendered before footer
    - Region sends up an alert to show you it's working
    - Region Refresh_All uses javascript / AJAX to call App process REFRESH_CZAR (You'll see a "wait" window flash up briefly while the app process is running)
    - REFRESH_CZAR sets Page1 item P1_MESSAGE_1 to X (The text here indicates where
    the value is being set and when it should be displayed)
    - After REFRESH_CZAR executes successfully, region Refresh_All does doSubmit()
    2) Page 0 region Refresh_Non_Czar is rendered before footer; this happens
    after the page submit done by Refresh_Czar. (Conditions ensure that
    Refresh_Czar is not rendered again)
    - Region sends up an alert to show you it's working
    - Region Refresh_Non_Czar displays P1_MESSAGE_1 in an alert.
    - Region Refresh_Non_Czar uses javascript / AJAX to call App process REFRESH_NON_CZAR (You'll see a "wait" window flash up briefly while the app process is running)
    - REFRESH_NON_CZAR sets Page1 item P1_MESSAGE_1 to Y (The text here indicates where
    the value is being set and when it should be displayed
    - REFRESH_NON_CZAR sets Application item TEST_VALUE2 to P1_MESSAGE_1 (this just shows that P1_MESSAGE_1 was indeed set to Y in this process...)
    - After process REFRESH_NON_CZAR executes successfully, region Refresh_Non_Czar does doSubmit()
    3) After Refresh_Non_Czar submits the page, Page 0 region Display_Messages is rendered.
    It sends up an alert so you can see it's working, and then it displays the value in P1_MESSAGE_1.
    The value is still the one that was set in REFRESH_CZAR, not the one set in REFRESH_NON_CZAR.
    Note that Display_Messages sets P1_MESSAGE_1 back to null, so you won't see it in session state after it's displayed in the alert. But you can see that TEST_VALUE2 is set to the message from REFRESH_NON_CZAR.
    Hope this helps solve the problem!
    Thanks,
    Carol

  • Creating a column link and using a date/time field as one of the Items

    I have created an Interactive Report and set up a column link to another page. One of the Items in the column link is a Date field. When I click on the link I receive 'ORA-01403: no data found' for the linked page. In the Session attributes only DD-MON-YYYY HH24 passed and MI (minutes) was truncated... causing the error. I have created the same link on a Non-Interactive Report, DD-MON-YYYY HH24MI gets passed and the link works. Anyone have any clues on why the full date/time format is not being passed?
    The Item on the linked page has been set to Date Picker (DD-MON-YYYY HH24MI)
    Application Date Format is DD-MON-YYYY HH24:MI

    Hi,
    As David says colon is separator in URL for parameters.
    This is same kind of post about problem about comma. Values are separated by comma in URL. It might help you
    value truncation while printing page field in HTML
    Regards,
    Jari

  • Column Link URL - passing items as args

    Hi, probably a syntax problem here but can't seem to pass the items properly. I've got a column with a URL link to an external app which I need to pass htmldb item values to. Currently the hardcoded url for the column looks like:
    http://1.1.1.1:8888/app/servlet/MyServlet?action=init&d_id=1&e_id=186 " target="_blank
    the d_id and e_id have values contained in HTMLDB items. I tried the &ITEM. and #ITEM# but the url does not include them at runtime.

    Sorry, probabaly not too clear before. The url itself is not obtained from a query but is hardcoded in the column data link of a column 'Location' in a report. It displays an image for the column value with a url link to run our external mapping app:
    http://1.1.1.1:8888/app/servlet/MyServlet?action=init&d_id=1&e_id=186
    d_id's value is stored in the item P34_D_ID
    e_id's value is stored in the item P34_E_ID
    I'm trying to use a report rows' values for those items and format the url to use those.
    so column link url:
    http://1.1.1.1:8888/app/servlet/MyServlet?action=init&d_id="&P34_D_ID."&e_id="&P34_E_ID.
    results in
    http://1.1.1.1:8888/app/servlet/MyServlet?action=init&d_id=
    http://1.1.1.1:8888/app/servlet/MyServlet?action=init&d_id='&P34_D_ID.'&e_id='&P34_E_ID.'
    results in
    http://1.1.1.1:8888/app/servlet/MyServlet?action=init&d_id=''&e_id=''
    Pretty sure I just don't understand how/when htmldb uses the items values when generating links.

  • Excise duty for some line item of material document is not posted

    Dear CIN Exerts,
    In my Scenario user is Posting Excise invoice for every GR (105) by J1IEX to generate Excise invoice.
    In some Past cases, if there are more then one line item in a GR then Excise value for some material is not showing (May be that time user not Did J1ID (Excise rate maintenance ).
    Now the problem is that we wants to post excise Duty for those material WRT  material document for whom it was not posted.
    Please let me know that how can we do so (excise posting against Material document) so that it get reflected (for those line items for which Excise deuty is not posted)   in MIGO > Document Display> Excise items tab .
    Regards,
    Ashutosh

    Excise posting is not recommended by sap for movements 103 or 105.
    Refer or search for SAP notes with subject CIN Limited functionalities.

  • Partial Refresh from column link

    Hello,
    I am working on a page with two classic reports.
    Report A is always displayed and has a column link which sets item Z with a value from a column in report A and then redirects the page to itself.
    Report B uses item Z in his where clause and is only shown when Z is filled. This all works fine.
    However I want to use Partial Page Refresh to only reload Report B instead of the whole page.
    Because report A is a heavy report it can't and it won't get lighter.
    So my question is how does this partial page refresh stuff work and does it improve preformance?
    I think it would help if Ii don't have to load report A everytime I reload Report B.
    I have found this:
    Link
    But it uses a selectlist and I use a hidden item and a column link. The column link does not set session state so it won't work...
    Hope someone could help me out.

    Robert Hantink
    Robert Hantink wrote:
    Yes, thank you that was what i was looking for!!!
    2. Report B is only shown when item Z is filled. But we use javascript:$S('Z',#column#) tot set is and thus the condition stays false.Report B has to be rendered on page load.
    Play with the show and hide dynamic action to show report B to the user at the appropriate time.
    Use CSS to hide the report on page load. Using the hide dynamic action will show the report before the dynamic action is fired. Causing a slight flicker.
    As for
    1. The title of the region is based on the value of item Z. Now that the session state is not updated and &Z. remains null it show null.You'll need some javascript for that. I have seen a forum post before of someone doing used that. So have a look around
    Nicolette

  • SD Staticall Condition Not Posting Into Accounting

    Dear All,
    Need your help. Urgent...
    My business requirement is to post Staticall condition value in G/L count. For that I did the following config.
    1. V/06: Configured new condition type ZCRL,with Cond. class :Discount or surcharge ,Calculat.type :Percentage and activated for 'Accruals'
    2. Assigned this ZCRL to Pricing procedure with account key and accruls.
    3. Maintian G/L accounts for both account keys and accruls in VK0A.
    However in billing document  I can see ZCRL condition type at Item level with account keys , but not posting in accounting.
    Pricing condition PR00 is posting into account.
    Could some body please help on this.
    Much appreciated your help.
    Thanks a lot.
    Regards,
    Jai

    Hi All,
    Many thanks for your prompt responce.
    In my further invistigation I found this is b'c of  IS-Oil. My client recently upgraded to IS-Oil and SD and IS-Oil table got corrupted.
    In sales order item condition 'New filed get updated i.e Invoice
    Cycle’ , which is coming from IS-oIL table.
    Pls check the below attachment.
    To reslove this issue, need to activate Split invoice cycle at Is-Oil billing document type.
    Much appreciated your help.
    Thanks a lot.
    Regards,
    Jai

  • ABAW not posted into GL after AFAB

    Dear Experts,
    I am exploring the asset revaluation function (ABAW).  Have configured the integration point between AA-GL(AO90).  After posting revaluation via ABAW, I have executed AFAB but the values from the revaluation is not posted/generated from the depreciation run, hence my GL is not updated accordingly.
    Hope to hear from you soon...
    Regards,
    MC

    dear
    This revaluation amount will not be posted automatically. Once depreciation run takes place then only the amount gets posted to the GL account. Hence it is advisable to run at the year end.
    Also the depreciation run has to be for the first time in order to get the revalued amount to be posted. Otherwise, the amount will not be posted in the GL account.
    Run the Depreciation for a period in AFAB. If you do a test run you would be able to see the revaluation amount that has to be posted and the same would be reflected in the planned values in asset explorer (AW01N).
    regards
    rohit

  • Items not in session state when column link used and prevpage not submitted

    I have a report on page 2 (cemetery lot info) with a column link to page 3 (burial info).
    There is a process on page 3 that updates billing information using items from page 2, and billing code selected on page 3. The problem is, if the user does not submit page 2, session state is null, or has values from previously submitted page 2. How do I make sure the billing info is correctly updated from items displayed on page 2, if they are not in session state?
    begin
    if :P3_BILLING_CODE = 'OWN' then
    :P3_BILLING_NAME := :P2_OWNER1_FIRSTNAME||' '||:P2_OWNER1_LASTNAME;
    :P3_BILLING_ADDRESS1 := :P2_OWNER_ADDRESS1;
    :P3_BILLING_ADDRESS2 := :P2_OWNER_ADDRESS2;
    :P3_BILLING_CITY := :P2_OWNER_CITY;
    :P3_BILLING_STATE := :P2_OWNER_STATE;
    :P3_BILLING_ZIP := :P2_OWNER_ZIP;
    :P3_BILLING_PHONE := :P2_OWNER_PHONE_AC||'-'||:P2_OWNER_PHONE_EX||'-'||:P2_OWNER_PHONE_SC;
    elsif :P3_BILLING_CODE = 'MGR' then
    :P3_BILLING_NAME := :P2_NEW_MANAGER;
    :P3_BILLING_ADDRESS1 := :P2_NEW_MANAGER_STREET;
    :P3_BILLING_ADDRESS2 := null;
    :P3_BILLING_CITY := :P2_NEW_MANAGER_CITY;
    :P3_BILLING_STATE := :P2_NEW_MANAGER_STATE;
    :P3_BILLING_ZIP := :P2_NEW_MANAGER_ZIP;
    :P3_BILLING_PHONE := :P2_MANAGER_PHONE_AC||'-'||:P2_MANAGER_PHONE_EX||'-'||:P2_MANAGER_PHONE_SC;
    elsif :P3_BILLING_CODE = 'FH' then
    :P3_BILLING_NAME := :P3_FUNERAL_HOME1;
    :P3_BILLING_ADDRESS1 := :P3_FUNERAL_HOME_ADDRESS;
    :P3_BILLING_CITY := :P3_FUNERAL_HOME_CITY;
    :P3_BILLING_STATE := :P3_FUNERAL_HOME_STATE;
    :P3_BILLING_ZIP := :P3_FUNERAL_HOME_ZIP;
    :P3_BILLING_PHONE := :P3_FUNERAL_HOME_TELEPHONE;
    end if;
    update cm_burial set billing_name=:P3_BILLING_NAME, billing_address1=:P3_BILLING_ADDRESS1, billing_address2=:P3_BILLING_ADDRESS2, billing_city=:P3_BILLING_CITY, billing_state=:P3_BILLING_STATE, billing_zip=:P3_BILLING_ZIP, billing_phone=:P3_BILLING_PHONE
    where recordid=:P3_RECORDID;
    end;

    Hello,
    If I understand you correctly, it seems like your page logic is a bit problematic. The scenario I see is that the user is populating the form part, submiting the page, and the report region is being displayed (as the where clause depends on an item from the form region). Now, the situation you are describing, where the billing information is not correct, is possible if the user changed some of the form items on page 2, didn't submit the page – hence didn't update the report region – but still chose to branch to the next page, using the (non-updated) report link column. If I understand it correctly, you should first correct this situation. If the user is changing some details in the form section, the page should be re-submitted. This will resolve your problem, because as part of the page submit process, session state will be set correctly.
    I believe this is the simplest and correct solution. Other options, like updating session state per changed item (using JavaScript) will be much more complicated.
    Regards,
    Arie.

  • Column link - call java script & assign current report column value to item

    Hi,
    How to call java script and assing current report column value to item?
    I have a button column in the report to 'delete' the selected row.
    I want to first show dialog box with message 'Are you sure?'. If yes, process to delete
    will be executed, else no action.
    In order to fire JS, I used Column Link ->Target=URL.
    Problem: The alert is showing but I don't know how to pass selected row's primary
    key value to process (to delete selected row).
    I have a item which can be used to store selected primary key value but don't know how to assign the value
    when button pressed.
    Thanks in advance
    Dip

    Ok. The issue has been resolved by following way.
    PAGE PROCESS: delete_request
    begin
    delete xyz
    where id = :P8_id;
    commit;
    end;BUTTON URL:
    javascript: DelRec(null,'CREATE', 'f?p=&APP_ID.:8:&SESSION.:delete_request:NO::P8_id:#id#');Java Script:
    <script language="JavaScript1.1" type="text/javascript">
    function DelRec(msg, req, url){
    var confDel = msg;
    if(confDel ==null){
    confDel= confirm("Are you sure?");
    }else{
    confDel= confirm(msg);}
    if (confDel== true){
    redirect(url);           }
    </script>

  • How do you pass a column link value into modal dialog

    Hi everyone,
    I've got quite a tricky problem...To spell it out:
    1. I have a calendar with column links.
    2. I have a (popup) report on a separate page that shows detailed information about the record selected in 1.
    3. To eliminate the extra page, I've moved the report region to the calendar page, and created a modal dialog to display the report.
    Here's my dilemma, how do I 'get' the value of the column link (when clicked) so that I can use it when calling the modal report?
    (APEX 4.0)
    Thanks!

    True Andy.
    Combining the two examples then:
    function openModal(pVal1,pVal2)
    var l_Return = null;
    var get = new htmldb_Get(null, $x('pFlowId').value, 'APPLICATION_PROCESS=DUMMY', 14);
    get.add('P14_REPORT_FILTER1', pVal1); // set up page items to receive value
    get.add('P14_REPORT_FILTER2',pval2);
    gReturn = get.get(''); // Calls dummy process to set session state
    var tab = $('#REGION_STATIC_ID'); // grabs the region static id
    var report_id_str=$("div[id^=report_]", tab).attr("id"); // finds the 'report_'
    var report_id=report_id_str.match(/\d+/)[0]; // gets just the numeric id
    $a_report(report_id, '1', '15', '15'); // refreshes the report
    // Call to show modal here
    } You'll need to sub REGION_STATIC_ID for your region_static ID and make sure that it exists in the template.
    You could also just sub out the three lines between gReturn and $a_report with the hardcoded value of the region ID like:
    var report_id='R6974536412746853317'.substring(1);
    but if you and your region numbers change (if you import your app into a different app_id) then you'd have to go back and fix these.
    HTH, Thanks Andy for making me READ (not SCAN) the actual post :)

Maybe you are looking for