Incorrect items values reaching database

When I submit this form, I call an anonymous block to perform the update. I have only one after-submit process that calls this PL/SQL:
if (:REQUEST='SAVE') then
update hr.tree_menu t set
t.parent_item_id=:P8_PARENT_ITEM_ID,
t.item_target=P8:_ITEM_TARGET,
t.item_menu=:P8_ITEM_MENU,
t.item_owner=:P8_ITEM_OWNER,
t.item_creator=:P8_ITEM_CREATOR,
t.item_text=:P8_ITEM_TEXT,
t.item_image=:P8_ITEM_IMAGE,
t.item_active=:P8_ITEM_ACTIVE
where t.item_id=P8_ITEM_ID;
end if;
But the database sees this SQL in the v$sql table:
UPDATE HR.TREE_MENU T SET T.PARENT_ITEM_ID=:B8 , T.ITEM_TARGET=:B7 , T.ITEM_MENU=:B6 ,
T.ITEM_OWNER=:B5 , T.ITEM_CREATOR=:B4 , T.ITEM_TEXT=:B3 , T.ITEM_IMAGE=:B2 ,
T.ITEM_ACTIVE=:B1 WHERE T.ITEM_ID=:B9
I have no idea where the ":B#" values are comming from. There are no processes that I can see that are setting this. I have a single after header fetch row process that seems to be bringing back the correct values from the table.

Ok...I assume that the ":B#" values are bind variables that HTML DB is using temporarily. The reason my PL/SQL would not work was because the item on the web form that was holding my PK (:P8_ITEM_ID) had the HTML attribute "DISABLED" set. So...I guess the item did not exist to HTML DB processing.
Who knew?

Similar Messages

  • How to validate the line item values in OFR - quantity , unit price and UOM

    Hi All,
    Is there any possibility to validate the line items like quantity, unit price and UOM against the DB and stops those invoices at verifier (1 batch =10 invoices) level  if yes could you please let me know the process how to proceed further.
    due to this some the invoices are coming to OFR is with incorrect quantity, UOM and unit price different from PO lines information like quantity , UOM and unit price and those invoices are not validating from the DB and these are processed to EBS and it's effecting the GL and reporting.
    Regards,
    Anil

    Hi ,
    I did not get the exact requirement.Let me bit:
    In standard AP project lines validation will try to compare the quantity , unit price and UOM of line against the database for match which actually performed on export.
    So even if match fails batch will be exported.Now if you want to correct it before EBS,i think you can do it in the business process easily that you are consuming whether BPEL/BPM process.
    We have done this in several projects
    =========================
    But If you want that to be done from OFR side i think we need to code  UserExitPONumberValidate event to  compare the line items values against database.I need to test this also.

  • Incorrect data value selected when clicking on slicer entry in Excel Services

    We have uploaded various Excel 2013 files containing pivot tables to Sharepoint 2013 and viewed the pivot tables in a browser. The referenced pivot table data is normally a SSAS tabular model. This has been working fine for over 12 months apart
    from one irritating feature.
    Sometimes a clicked slicer entry does not result in the correct slicer value being selected. This typically occurs after using the mouse scroll button to scroll down a list of entries in a slicer. When using the keyboard arrow keys to highlight a slicer
    value and pressing Return to select an entry, the correct value does always seem to be selected - so it appears to point to a mouse scrollwheel issue. Also, after scrolling through slicer entries using the mouse scroll wheel, there appears to be some sort
    of slicer refresh problem that results in a blank entry/entries being displayed either at the top or bottom of a slicer. However, sometimes the correct 'tooltip' is shown for this blank slicer entry. One other point - when using the slicer scrollbar the scroll
    down a list of slicer entries using Firefox, the problem does not seem to occur. IE does not seem to display the same type of slicer scrollbars (only active when the mouse hovers over the slicer) and so this is more difficult to replicate in Ie.
    The worrying factor is that the user is often unaware that the incorrect slicer value has been selected. The problem can be replicated in both IE11 and Firefox. Also our client systems accessed via Citrix display the same problems.
    Any help greatly appreciated. Thanks.
    Graham Goodwin Email: [email protected]

    Hi Graham,
    i built the same version, please correct me if should your environment, is sharepoint 2013 with march 2013 update and your office also the same update. in my labbox seems the issue is not re-producible.
    after some discussion with my colleague, seems there was issue similar like this back in 2010 Excel and the remedy is to update the excel services and to re-install the power pivot at SQL server. back then the issue is because when we scroll the selection,
    it should be locked, so then when we scroll it may have the position to update and refresh the data. one of the workaround is by clicking the item and press enter, by doing this it will refresh the page correctly. the link was:http://www.microsoft.com/en-us/download/details.aspx?id=29074
    i tried to look at our update for the excel services 2013, there are updates in every cumulative updates but there is no particlular update regarding this issue, perhaps you may try this to check in your development environment, if should it may fix the
    issue.
    to re-install the power pivot, you may need to do this on your sql side. 
    http://technet.microsoft.com/en-us/library/ee210708.aspx
    http://technet.microsoft.com/en-us/library/ee210671.aspxi may suggest you to check the ULS log, if should there are issues with powerpivot also, to make sure if should there are no issue
    regarding power pivot. if there is no issues on the powerpivot, then you may need to open a ticket to report this issue, so that we can have a detailed checking to your environment remotely.
    Regards,
    Aries
    Microsoft Online Community Support
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • SelectOneChoice not showing all values from database

    Hi!
    I have to put a list of values in my select one choice. When I do the query in database, all the values are selected. But, with the same query on JPQL, the select on choice do not show all values in database. Anyone can help me, please?
    P.S.: I am using SelectOneChoice with SelectItems, in JDeveloper 11g
    Code:
    <af:selectOneChoice id="selAction" value="#{row.idCmd}"
    unselectedLabel="&lt;Selecione>">
    <af:forEach var="alertTypeNode"
    items="#{bindings.actionFindAll.iteratorBinding.allRowsInRange}">
    <af:selectItem value="#{alertTypeNode.dataProvider.idCmd}"
    label="#{alertTypeNode.dataProvider.nmCmd}"
    id="si1"/>
    </af:forEach>
    </af:selectOneChoice>

    In your page binding check the rangesize setting for the executable you use - set it to -1.

  • Contract Release value is not updated with Limit item value

    We have SRM 4.0 with ECS scenario.
    Contract are created in SRM and replicated to ERP.
    If we create PO with Service line and Limit line using contract in both of these line items, contract Release value is getting updated only with Service line item value.
    But the contract Total value is the addition of Service and Limit value of PO.
    Why Contract Release value is not getting updated with Limit item value. Please help as early as possible.

    Hi Sandeep
    Yes. there are various reasons .upon your contract incorrect status and linkage not establised / or more attachment in SRM GOA.
    what type of contract are you using? GOA or CCTR
    If it is GOA - which version of SRM and service pack ?are you in ?
    If it is a GOA , BLAREL idoc might failed to post the release value in the SRM .
    How contracts are created material / mat group ?
    to fix or understand the issue, you need to recreate the issue.
    what is the ERROR in BLAREL in SRM idoc monitoring ?

  • Can we catch the dynamic item value in Apex?

    Hi All,
    In my application i am using SELECT_LIST_FROM_QUERY_XL Function. The select list will be populated based on some product group id.
    Some times the list will be 2 or 5 based on prgr id. Now how to catch the dynamic list item name. Is it possible?
    Thanks,
    Anoo..

    Not directly. You can have two items and then dynamically switch between those two items. This can lead to other issues of cause. For example if the item value should be stored in the database, you have to decide which item to store and how to do that.
    The field type itself should not be changed. There are a lot of other things that depend on that. Possible ? Yes. Advisable? No. Check the page source text to see the difference between a select item and a normal text field. Then think if you want to set all this dynamically.
    Maybe a popup list would be better suited?
    One more point: In my experience adding too many dynamic stuff onto a page will not improve the user experience, but will decrease it. So you should carefully consider if this is something. Dynamic actions are great, but they are not always the best tool for the job.

  • How to create a view in sql workshop depending on an application item value

    Hello,
    How coud I create a view in SQL worshop based on an application item value? For example select id, name
    from gg_provider
    where user = ' || :USER
    So basically each user would have it's own view. But it does not work like that. I think when I use :USER then the database takes database user not the user logged in to apex application. How would be possible to use application user to create the view?
    Thank you very much.

    Instead of
    :APP_USER
    use
    v('APP_USER')
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

  • Is there a way to read All UI Item Values through XML?

    We do a lot of validations before adding or updating AR documents in SAP 2007 (soon to be 8.8). Since these updates have not yet been sent to the database, we are reading the UI item values one by one off of the form, and this is slow to write and not much faster to run.
    Is there a way to get the entire form, a Sales Order for example, as an XML document with the item values? The best we can find is by going to the File menu and choosing Export Form to XML. It gives a relatively concise XML file that includes the values for each item on the form. The only problem is that it saves it as a physical file on the file system.
    So, is there any way to get the equivalent result of Export Form XML programmatically through the UI-API?
    Thank you,
    Mike

    Hi Michael,
    You can use the  GetAsXML method of the form object:
    e.g
    SAPbouiCOM.Form F = SBO_Application.Forms.ActiveForm;
    String XMLString = f.GetAsXML();
    System.Xml.XmlDocument XmlDoc = new XmlDocument();
    XmlDoc.LoadXml(XMLString);
    Regards, Lita

  • Handling of pictures changed? Item values not properly updated in Beta 3?

    I had created an application which allows to upload an image for a row, basically based on what's done in the demo app for the products table.
    Today, I exported the app and then uninstalled Beta 2 and installed Beta 3. Installation finished without any problems - so far so good, but after I recreated my tables etc. and then imported the application, the image handling just didn't work any more...
    I took a look at the demo app in Beta 3 and saw that unlike before, it looks like the blob content is no longer being inserted into the DEMO_IMAGES table, but instead remains in wwv_flow_files (now called htmldb_application_files?). This feels wrong somehow, IMO the former approach moving the file content into the custom table was much safer and cleaner.
    Also, I noticed when I open an edit page from a report link and look at the session state then, the page item values don't get updated properly (in fact nothing gets updated except for the PK value I clicked on the report page) - this feels totally wrong as well (and I suspect some kind of coincidence here why the picture upload or display doesn't work any more like before)...strange enough, the items on the page show the expected values, but in session state display they are all empty (R).
    Is it intended to leave it this way? Why did it have to be changed at all?
    Somehow frustrated,
    Holger

    Holger,
    You are witnessing a couple things here.
    One - for Production XE, the configuration of the Database Access Descriptor for the embedded PL/SQL Gateway makes use of the request-validation-function. This is a function which validates the procedures being invoked from the URL. Out of the box, only those suitable for running XE are enabled. Otherwise, any publicly executable procedure in the database could be invoked directly from the URL, and for security reasons, this needed to be locked down. Search for "Restricting Access to Oracle Database XE" in the online help and you'll see instructions how to open up this validation function for your custom procedures which are invoked directly from the URL.
    Two - you are correct, the Demonstration Application was modified to use the global upload table instead of the custom upload table in your schema. Given the security decision (mentioned above), it was a choice between not locking down the procedures which could be invoked from the URL, or providing a demonstration application which would work for all customers out of the box. Obviously, we chose the latter. From a security standpoint, I highly recommend you to use your own table as you were before.
    As far as your comments about session state and the report link, nothing has changed in this regard. This is consistent and expected behavior. I confirmed this is consistent with HTML DB 2.0 and XE Beta. Scott discussed this on the OTN Application Express forum in a number of places, including here: Re: Automated Row Fetch, when does the value hit the session state?
    Thank you for your feedback. I do appreciate it.
    Joel

  • Very intermittent missing page regions / report rows / page item values

    My goals in making this posting are twofold:
    1. I'm looking to see if anyone else has experienced this type of issue before.
    2. I'm looking for ideas about what can be done to debug such an infrequent bug with serious implications.
    Synopsis
    I'm having a weird problem where very infrequently I will load a page and I'll notice that one or more page regions, report rows, or page item values are missing. If I reload the page the missing parts appear as they normally should.
    By "very infrequently" I would say it happens to me somewhere between 1 in 100 and 1 in 1000 page loads, of course at my last project demonstration in happened twice in 10 minutes to my demo participants. I've attempted to debug this, but most of the techniques I know of involve reloading the page or reposting the form data and (of course) everything looks fine then.
    Environment
    * This has happened on multiple different pages, under ApEx 3.1 (Linux) and 3.2 (Solaris).
    * I believe that so far I've only ever seen this under Firefox 3/3.5 under OSX, but since I do the vast majority of my development with this browser it's not reasonable to conclude that it only happens under Firefox.
    Logs
    * No application errors during this timeframe.
    * Nothing of significance in the database alerts log (just thread notes and log sequences).
    * Nothing of significance in the webserver log (just the usual mod_ossl connection errors).
    Thanks for your attention,
    Jason
    Edited by: Jason G on Jul 24, 2009 12:43 PM

    Well, thanks for reading the post anyway.
    While working through some debugging steps I realized that I was populating some of the regions as the page rendered using AJAX -- this would pause the page rendering until the AJAX request returned. I believe that a hanging AJAX call was the likely culprit of the very intermittent symptoms I was seeing.
    I moved the AJAX calls to the last region of the page and added a javascript function that "watches the page load" by checking for regions by ID and looking at javascript boolean flags to let me know when the page is fully rendered. If this process takes longer than 5 seconds it notifies the user that something happened and offers to reload the page for them in an effort to fix the issue.
    So far, so good -- but it will take a lot of testing to convince me that this case is solved. I hope my documenting this is helpful for others in similar situations.
    Good luck,
    Jason

  • Call print apex_util.get_print_document() with page item values

    Hi all
    I ran into an issue that very frustrated as it sounds so simple.
    I'm in Apex 3.1.
    My database has table TAB_CLASSES, TAB_STUDENT
    My application has page 1 with P1_SID is student_ID
    I had an simple report query name Class_query, show all classes that a student attends
    select * from TAB_CLASSES where SID = :P1_SID;
    I also select option "include application and session information"
    I had report template Class_template
    In my application, I have a process tried to generate report list classes for all students.
    l_report blob;
    for x in (select * from TAB_STUDENT)
    loop
    :P1_SID := x.SID;
    l_report := apex_util.get_print_document (
    p_application_id => :APP_ID,
    p_report_query_name => 'Class_query',
    p_report_layout_name => 'Class_template',
    p_report_layout_type => 'rtf',
    p_document_format => 'pdf'
    insert all the l_report into database with SID as a part of l_report name (*) 
    end loop;
    After this, I got multiple of l_report blob in database, number of report is exactly number of student in the TAB_STUDENT table. The problem is that every report looks the same, and it got the information of only first student
    I guessed it did not pass the item value (P1_SID) every time it call the get_print_document, but it still shows in the report name (*)
    Please help me. Thanks for any idea.
    Teiv
    Edited by: teiviag on Mar 10, 2010 7:16 AM

    This post had the same problem with me
    [ http://forums.oracle.com/forums/thread.jspa?threadID=663186&start=0&tstart=0|http://forums.oracle.com/forums/thread.jspa?threadID=663186&start=0&tstart=0]
    Thanks for the post of Marc, about how variables are binding and calling by process, I changed my app design to have a sp to print and store the pdf file. Then in my app, I just called the sp and passed the P1_SID. It worked.
    Thanks.
    Edited by: teiviag on Mar 10, 2010 10:49 AM
    Edited by: teiviag on Mar 10, 2010 10:50 AM
    Edited by: teiviag on Mar 10, 2010 10:50 AM

  • How to pass ITEM:VALUE pair in ICON view link of Interactive Report

    When Icon View is enabled in an interactive report, you can display graphic images (blob data that are stored in the database) in 3 different views.
    1) View Icons
    2) View Report
    3) View Detail
    When you click on the displayed image in views 1 and 3 you navigate to a form to manage the row data and the image. By default it only passes the PK id of the row.
    How do I pass additional ITEM:VALUE pairs when navigating to the detail form page? I want to pass &APP_PAGE_ID. to the form page as well.
    There is an attribute under ICON VIEW called "Link Column" but if I put the "item:value" pair in the fields for this item's "ColumnLink" attributes, there is no effect.
    Also for bonus points...
    how do you make the ICON VIEW attributes, "HTML ALT Text" and "HTML TITLE Text" dynamic e.g. &ITEM. doesn't work here.
    thanks in advance
    Paul P

    For your link column, parse a link column in your query like so
    apex_util.prepare_url('f?p=M:53:'||:APP_SESSION||'::::P53_IMAGE_ID:'||i.image_id)Scott

  • Item value not showing up in PL/SQL function on another item.

    Basically, I am trying to update a database field based on the vaule of 2 other fields, but the item value dow not seem to get stored. No errors, it just shows up as a null value in the database. Here is the code inside the default area as a FL/SQL Function.
    declare
    P14_TNUM varchar2(255);
    begin
    select concat(mname,id) into P14_TNUM from T1,T2 where mid=:P14_TID;
    return P14_TNUM;
    exception when others then
    return null;
    end;
    Note:
    id is in T1
    mname and mid is in T2
    :P14_TID is the item which points to the pk in table T1

    Anon,
    I'm still a little confused as to what you're trying to do. Could you please take a little bit to better explain?
    Regards,
    Dan
    http://danielmcghan.us
    http://sourceforge.net/projects/tapigen
    http://sourceforge.net/projects/plrecur

  • How to restore session item values

    Hi,
    We have a request form which has more than 50 fields and some hidden items which are calculated depending on other items. We have to implement SAVE request feature so that the user can save their partially filled request. We are storing these fields data in more than two tables and not storing some hidden item values. Our idea is to store that form page current session values and restore them when ever user wants to complete request. Is there any apex views which will have all these data. Please suggest how can we do this.
    Thanks in advance.
    Regards
    Ram

    Hello Ram,
    >> Yes we have seperate SAVE button
    That’s good, as it allows you to use these buttons to condition the PL/SQL processes, differentiates between the temporary and permanent actions.
    >> Our idea is to have temp table to store all the items and their values in the page when the user clicks on the SAVE button
    You are using ‘table’, in a single form, so I assume you refer to a single (temp) table. With careful planning of this temp table, it might be possible.
    To use a single temp table, it must contains details of the item name, value and the application page it defined on (although this information can be derived from the item name, if you are using APEX item name convention). The page items should be defined with a Source Type of ‘Database Columns’, and in this case, you can use the APEX_APPLICATION_PAGE_DB_ITEMS view to track them. Using this view, you can retrieve the relevant items for the current page, and then, dynamically build a PL/SQL insert/update statement to save the items into the temp table; or a PL/SQL select statement to fetch relevant items from the temp table and populate the page items.
    These are not trivial processes to build, and as you are going to use a single (generic) temp table, you will have to code all the temp/permanent DML statement yourself, but it seems doable.
    You might also want to check the WWV_FLOW_DATA table, which holds the session state data, and see how it was defined (for example using CLOB as the item value datatype, to allow you to store different types of APEX item values in a single column).
    Hope this helps,
    Arie.
    Please remember to mark appropriate posts as correct/helpful. For the long run, it will benefit us all.

  • How to popup values from database tables to SelectOneMenu

    Hi friends,
    I am doing a jsf application, in which there is a selectOneMenu
    control and I want that, iwhen this page is loaded after clicking button
    on the previous page, the selectOne Menu should be populated with
    the values from database.
    Also I want , if i will select any menu item from the menu , acccordingly
    another selectOneMenu control should be filled with respective values
    thanx,
    bye

    Oh dear. I don't think anybody can advise you until you are not "kinda" new to Java anymore. Learn Java itself (the language, the platform and the tools), only then should you start considering going into web development.

Maybe you are looking for