Requery form data block is empty after updating notification attributes

Hello,
we build a form to approve/reject open WF notifications.
The form data block is based on wf_notifications,
wf_local_user_roles, wf_notification_attributes and wf_comments and some additional PSB tables.
We use the following API's to perform the update:
wf_notification.SetAttrText( nid => l_notification_id
, aname => 'RESULT'
, avalue => l_result);
wf_notification.respond(nid => l_notification_id
,responder => name_in('FORM_GLOBALS.USER_NAME')
,respond_comment => name_in('FORM_GLOBALS.REDEN_AFWIJZING') );
First the query shows 3 notifications and after updating one notification as shown above a requery is performed on the datablock and no records are shown anymore.
If I remove the code wf_notification.SetAttrText then the 2 remaining notifications are shown.
It looks like the wf_notification.SetAttrText is conflicting with my view.
This is my view:
     SELECT distinct 'B'||pbr.budget_revision_id mutatienummer
, pbr.budget_revision_id
, xp.dienst
, pbr.justification mutatiereden
, pbr.requestor aanvrager_id
, nvl(fu_req.DESCRIPTION, fu_req.USER_NAME) aanvrager
, pbr.CREATION_DATE aanvraag_datum
, wlur.USER_ORIG_SYSTEM_ID user_id
, wlur.user_name user_name
, wn.notification_id notification_id
, wn.subject subject
, wn.message_type wf_item_type
, pbr.ATTRIBUTE2 transactiesoort
, pbr.ATTRIBUTE4 categorie
, pbr.ATTRIBUTE5 raadsvoorstel
, SUBSTR(pbr.attribute1, 4) begrotingsstuk
, SUBSTR(pbr.attribute3, 4) status
, SUBSTR(pbr.attribute6, 4) dienstgroep
, SUBSTR(pbr.attribute7, 4) concerngroep
, decode(SUBSTR(pbr.attribute3, 4),'Bij D.C.',null,nvl(fu_from.DESCRIPTION, fu_from.USER_NAME)) Fiatteur_bij_DC
, decode(nvl(pbr.attribute9,'X'),nvl(pbr.attribute10,'Z'),'J','N') initiele_structuur_wijz
, decode(pbr.ATTRIBUTE2,'Structuurwijziging','J','N') structuurwijziging
     , pbr.budget_group_id budget_group_id
     , xrb.bedrijf aangevraagd_door_dienst
     , wn.begin_date datum_melding
     , pbr.attribute8 te_wijzigen_kst_dr_prod
     , pbr.attribute9 oude_structuur
     , pbr.attribute10 nieuwe_structuur
     , pbr.attribute11 ingangsjaar_struct_wijz
     , to_date(fnd_date.canonical_to_date(pbr.attribute12)) ingangsdatum_struct_wijz
     , pbr.attribute13 looptijd_mutatie
from wf_notifications wn
, wf_local_user_roles wlur
, wf_notification_attributes wna
, psb_budget_revisions pbr
, fnd_user fu_req
, fnd_user fu_from
, wf_comments wc
, psb_budget_revision_lines pbl
, psb_budget_revision_accounts pbra
, gl_code_combinations gcc
, xxpsb_parameters_vw xp
, psb_budget_group_resp bgr
     , xxpsb_respons_bedrijf_vw xrb
where wn.message_type = 'PSBBR'
and wn.message_name = 'NOTIFY_APPROVERS_OF_SUBMISSION'
and wn.status = 'OPEN'
and wlur.role_name = wn.recipient_role
and wna.notification_id = wn.notification_id
and wna.NAME = 'BUDGET_REVISION_ID'
and pbr.BUDGET_REVISION_ID = to_number(wna.number_value)
and wlur.USER_NAME = fnd_profile.value('USERNAME')
and fu_req.user_id = pbr.requestor
and fu_from.user_name(+) = wc.from_user
and wc.notification_id(+) = wn.notification_id
and pbr.budget_revision_id = pbl.budget_revision_id
and pbl.budget_revision_acct_line_id = pbra.budget_revision_acct_line_id
and pbra.code_combination_id = gcc.code_combination_id
and gcc.segment1 like xp.code||'%'
and bgr.budget_group_id = pbr.budget_group_id
and bgr.responsibility_id(+) = xrb.responsibility_id
and bgr.responsibility_type = 'R'

Hi Mat,
the attribute is only set for those notifications which are selected in the form.
l_notification_id is filled with the notification_id of the selected record.
This is the piece of code within the process loop:
l_notification_id := name_in('WERKLIJST.NOTIFICATION_ID');
l_result := name_in('FORM_GLOBALS.NOTIFICATION_ACTION');
wf_notification.SetAttrText( nid => l_notification_id
, aname => 'RESULT'
, avalue => l_result);
wf_notification.respond(nid => l_notification_id
,responder => name_in('FORM_GLOBALS.USER_NAME')
,respond_comment => name_in('FORM_GLOBALS.REDEN_AFWIJZING')
Regards
Rinus

Similar Messages

  • My iPhone 5s on ios 8.1.2 is stuck at Apple logo or recovery mode.. To fix this issue, i need to update it to ios 8.2 through itunes.. I want to ask that my data i.e. Photos and other personal data would be removed after updating it or not..?

    My iPhone 5s on ios 8.1.2 is stuck at Apple logo or recovery mode.. To fix this issue, i need to update it to ios 8.2 through itunes.. I want to ask that my data i.e. Photos and other personal data would be removed after updating it or not..?
    if yes then how can i save my data or get out of recovery mode.. Is there any safe mode or something like that on which i could access my data..
    P.S. I have not taken any backup of my iPhone on itunes..
    Please help me sort out this issue..

    Recovery mode doesn't mean that all your data is already lost. You only lose your data if you restore it.
    When you plug the phone is into iTunes hold down the home button. iTunes may then give you the option JUST to update the software first. This should not get rid of any data.
    However, if iTunes is only giving you the option to RESTORE and update, then you will lose your data I'm afraid.
    Hope that helps!

  • Merge Data to Spreadsheet Problem after Update

    After updating Acrobat X to version 10.1.12 and 10.1.11 from 10.0.0 when merging Live-cycle form data to a spreadsheet Acrobat is including image data. Our company logos at the top of the form is exported to the spreadsheet causing a huge amount of data representing the image. This problem did not exist in version 10.0.0. Is there a way for me to back-up to 10.0.0? Is there a fix for this problem?

    I noticed the same thing. "add a file" has behaved that way for a while. I suspect someone changed "add a folder" to do the same thing with the new version.
    It is really annoying. I assume from the lack of postings about it no one knows how to fix it.
    Oh well.

  • [SOLVED] Gnome 3.2 - Applications Menu empty after update

    After updating all my boxes from 3.0 to 3.2, one of them got the Applications Menu wiped. The .desktop files are all there but none show up in the Menu, it's just empty.
    Apart from that everything seems to work just fine, did anyone came across a similiar problem or knows a solution ? I tried to google how to regenerate the Menu but failed to find anything useful and/or gnome3 related.
    Last edited by Votan (2011-10-05 10:03:09)

    Votan wrote:
    After updating all my boxes from 3.0 to 3.2, one of them got the Applications Menu wiped. The .desktop files are all there but none show up in the Menu, it's just empty.
    Apart from that everything seems to work just fine, did anyone came across a similiar problem or knows a solution ? I tried to google how to regenerate the Menu but failed to find anything useful and/or gnome3 related.
    Have you rebooted? Mine regenerated after a power on/off

  • Forms Data-Block based on stored procedures - REF CURSOR feature NOT FUNCTIONING

    This topic is related to another topic in this forum titled "FORMS HOW TO SET QUERY SOURCE ARGUMENTS??" I posted my message there as well. I am posting as a NEW TOPIC so that it catches the attention of Oracle Support.
    I built a data form based on a stored procedure and REF CURSOR IN OUT parameter.
    My procedure takes a IN parameter to fill in the criteria for the OPEN <cursor_variable> select ... where ... statement.
    In the Value setting of the Query source Arguments , I set the VALUE to ":BLOCK_NAME.ITEM_NAME" at design time to supply the input value to the procedure. this works to the extent of making available the form item value to the stored procedure parameter. I verified this by doing an insert into some debug table , of the incoming parameter value inside my stored procedure.
    The cursor gets opened properly into the REF cursor variable. I verified this by fetching a record into a local variable and inserting the value into a debug table again in the stored procedure.
    (I took care to close and re-open the REF cursor variable again - so that the front-end can continue to fetch it from the first record. )
    ***** PROBLEM **************
    But the front end forms runtime is giving me a FRM-40301 - query returned no records even though the REF cursor is returned properly opened.
    Did anybody else face the same problem ??
    Please post what you found.
    Thanks,
    Shankaran
    null

    This topic is discussed at length in another thread "How Set Value For Query DataSource Arguments?"
    But I am posting the findings here as well.
    THIS TOPIC IS CLOSED.
    My Bad. The problem Cause : I did not include all columns in the
    cursor rowtype in the Data-block. In the wizard for the data block , I selected ONLY the columns that I needed. But I was doing a Select * from <my_table> in my open cursor <Cursor-Variable> .... The <Cursor Variable>
    itself was declared <my_table>%rowtype
    FIX : The Data Block structure (columns included as items) should match the cursor record Structure. One may or may not
    display all the columns in the LAYOUT though.
    But I don't understand why it gives such a misleading message like FRM-40301 Query retrieved no records. Oracle Team fix it.
    Hope this helps people who face the same problem.
    Thanks,

  • HELP: library empty after update 11.02.26

    Hi,
    I just installed the new iTunes version 11.02.26. After I opened iTunes my whole library was empty, playlists, music, video's... It's all gone.
    I restarted my laptop (windows 8) to see if that would fix te problem but it didn't work. I als got the error -42110 and I fixed it by deleting the 'SC Info' folder.Than I restarted my laptop again, but still no sign of my old library with all the playlists.
    Than I installed the old version of iTunes back to what it was, (11.01) but my library was still missing.
    Please HELP if anyone knows how to fix this. I have had days of work to organize my playlists! And I need to synchonize my iPhone for my work as soon as possible without losing any of my settings, music, agenda, etc.
    Thank you VERY much!

    Hello, ahansen1990!
    The following article may help you retrieve your library.
    No content shows up in iTunes after updating
    http://support.apple.com/kb/TS1967
    Best regards,
    Allen

  • Payment terms and Due date field gets emptied after residual clearing

    Hi
    There is advance of Rs.50000 in Vendor ledger and Invoice of Rs.200000 (with payment term - G019)
    I cleared these two line items (residual clearing). One new line item got created of Rs.150000. When i saw that line item, i saw that there payment term field and due date field got emptied. My requirement is that the original payment term entered in initial invoice document (of Rs.200000) should automatically get populated in new line item of Rs.150000.
    How to fulfill this requirement?

    Thanks for the prompt reply.
    I wanted to ask one more thing. Same way when i do partial clearing (not residual), is it possible to populate the invoice's due date in advance line item. One link is that my invoice reference gets populated advance line item. So i want due date (not payment term) also to get populated in advance line item.
    Please help.
    Edited by: Deepak Agrawal on Jul 29, 2011 11:43 AM

  • Forms Personalization: FRM-41017- Cannot set UPDATE ALLOWED attribute error

    Hey All,
    I have a requirement in Projects > Allocation > Allocation Rules which needs a few mandatory columns to be greyed out.
    I think that the form is not getting query-able because of the “FRM-41017- Cannot set UPDATE ALLOWED attribute of non-enabled item RULE.OFFSET_METHOD” error when we open the form.
    I was trying to set the required property to false for personalization’s done on mandatory columns and see if that can work in suppressing that error. But it did not.
    Can anyone help me by telling how to avoid this and make the form query-able?
    Any help is much appreciated.
    Thanks !

    Please post the details of the application release, database version and OS.
    Please see if (Capital Projects Form Personalizations Error- FRM-41017 [ID 1072660.1]) helps.
    Thanks,
    Hussein

  • Outlook is empty after update - Many fixes tried already - Advance help needed

    Hello there,
    First of all, I've scoured many forums and tried many fixes, so this is not a first-look question, I've really tried my best for the past 12 hours.
    Yesterday my MacBook froze with Excel and Outlook and I had to do a hard shutdown, which was more complicated to do than expected. Right after that, I did a disk repair and a permissions repair. After a new restart, I figured I should also download the most recent Office update (14.4.2 I think, though I don't know where to check). Then I went to bed. When I opened my computer this morning, my Outlook was empty of all emails. The folders and accounts were there, but no emails at all. So I looked in forums and saw that I should do a Main Identity rebuild. So I did that, it took about 3 hours (way too long, right?) and it blocked at Step 4, "Impossible to rebuild database". The forums said if that doesn't work, created a new identity, migrate the Microsoft User Data for Outlook into the new identity and do a new rebuild. I migrated all of the data and did a new rebuilt, stuck again. Another forum said to be more selective with the data migrated (only the most important folders, like Messages, Contacts, Folders, etc.). Did that with another new identity and it completed the 5 steps. But when I opened the new Outlook with that new identity, now it was all brand new and empty. So I decided to go back to the root and go back to the original Main identity and do a new rebuild with that one. Now it says that it works with a previous version of Outlook, so I'm thinking the culprit is the update, but from what I can understand, it's impossible to go back on an update without completely uninstalling Office.
    Of course, I restarted the system every time and restarted the system in safe mode for the Outlook try-outs.
    Also of course I wouldn't be in that trouble if I could just TimeMachine a few days back, but I was travelling for the past months and had external drives problems, so my last timemachine dates a few months back (stupid, I know, but that's how it is.)
    So to recap:
    - I still have my Microsoft User Data files (for example through Office 2011 Identities / Main Identity / Messages / OT / OB / OM / Loads of files dating back from 2013 to this morning.)
    - Original Rebuild didn't work.
    - New identity Rebuild didn't work
    - New Identity Rebuild worked but Outlook still empty
    - Return to Main Identity rebuild rejects new Office update.
    What can I try next?
    Thank you so much for your help!
    Stephanie

    Thank you. After posting I started to search for Backflip studios and found this support id. I had meanwhile created a new nickname, very similar to the original one, and requested that they swap the advanced world to the new id. I sent this last Saturday evening. This morning (so effectively on their first workday after my request!) I received a kind response from Rachael that they had swapped the parks. Like your daughter my son couldn't believe his eyes. Thank you for your post, original and reply, I hope others will find it too and that Rachael can keep up such excellent support. It means a lot...

  • Blocked Plug-in after updating Flash

    Mail is now blocking embedded YouTube videos. Have trtied a number of fixes, including deleting the Flash Player.plugin, reinstalling the current version (even though I HAD the current version already), fixing permissions, and doing a deep cache cleaning. Any further help would be appreciated.

    If you're sure you've installed the latest version of Flash, take each of the following steps that you haven't already tried. After each step, relaunch Safari and test. For a "missing plug-in" error, start with Step 4.
    1. If you're getting a "blocked plug-in" error, then from the menu bar select
     ▹ System Preferences… ▹ Flash Player ▹ Advanced
    and click Check Now. Quit and relaunch your browser.
    2. Triple-click the line below to select it:
    /Library/Internet Plug-Ins
    Right-click or control-click the highlighted text and select
    Services ▹ Open
    from the contextual menu. A folder should open. Delete the following item, or anything with a similar name, if present:
    Flash Player (failing).plugin
    You may be prompted for your login password.
    3. Re-download and reinstall Flash. Download it from this page:
    Adobe - Install Adobe Flash Player
    Never download a Flash update from anywhere else.
    4. If you get a "missing plug-in" error, select
    Safari ▹ Preferences... ▹ Security
    from the Safari menu bar and check the box marked Enable plug-ins.
    5. Select
    Safari ▹ Preferences... ▹ Extensions
    from the Safari menu bar. If any extensions are installed, disable them.
    6. In the Safari preference window, select
    Privacy ▹ Remove All Website Data
    Close the window. Then select
     ▹ System Preferences… ▹ Flash Player ▹ Advanced
    and click Delete All. Close the preference pane.

  • Data services stop working after updating to new OS version for Q10

    I am from Qatar, after i updated my device ( Q10 SNQ100-3 ) to new OS ( 10.2.1.537 ), the mobile data services stopped working, but it works everytime I connect to wifi. This is the same with Z10. Please need help.

    Hi and Welcome to the Community!
    With a strong carrier network signal (e.g., not merely WiFi), I suggest the following steps, in order, even if they seem redundant to what you have already tried (step 1 should result in a message coming to your BB...please wait for that before proceeding to the next step):
    1) Register HRT
    KB00510 How to register a BlackBerry smartphone with the wireless network
    Please wait for one "registration" message to arrive
    2) Reboot
    Pre-BB10 Devices ONLY. With power ON, remove the back cover and pull out the battery. Wait about a minute then replace the battery and cover. Power up and wait patiently through the long reboot -- ~5 minutes.
    BB10 Devices. Hold the top button down until the counter reaches zero. Wait for the device to be fully shut down (e.g., nothing at all displayed on the screen, no LED lights, etc.). Hold the top button until the red LED is lit. Wait through the full boot-up process. IF this fails, you can attempt the battery-pull method above, but it is normally NOT recommended unless nothing else works.
    See if things have returned to good operation. Like all computing devices, BB's suffer from memory leaks and such...with a hard reboot being the best cure.
    Hopefully that will get things going again for you! If not, then you should contact your mobile service provider for formal support.
    Good luck!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Windows 8.1 desktop empty after updating and application

    I was at the Windows 8.1 desktop. while updating an application (not Microsoft) all seemed to go well. AT the end the desktop was completely empty. No Taskbar, no desktop picture, or desktop icons.
    The Windows logo key on the keyboard wouldn't take me to the Start Screen. Right clicking on the desktop also did nothing. ALl I could think of was to turn the computer off using the power button. Is there a better way?

    Hi,
    I would like to know the certain name of the application you updated.
    It seems that the updating of the application make the explorer.exe crash or no responding.
    I suggest you press ctrl+alt+del, and click Task manager.
    Then end the process explorer.exe, and click File -> Run New task -> type in explorer.exe.
    See what's going on.
    Kate Li
    TechNet Community Support

  • My cellular data has stopped working after updating to ios 6.1, i need help, urgently...!!!

    This is just crazy, i just updated and now nothing works...whats wrong with apple developers, i m stuck here now! what do i do...such thing is now happening so frequently, i am never goin to get another apple product here after, I just stupid!!!! cant believe this..!

    Have you tried restarting or resetting your iPHone?
    Restart: Press On/Off button until the Slide to Power Off slider appears, select Slide to Power Off and, after the iPhone shuts down, then press the On/Off button until the Apple logo appears.
    Reset: Press the Home and On/Off buttons at the same time and hold them until the Apple logo appears (about 10 seconds). Ignore the "Slide to power off"

  • Form data don't clear after closing

    Hi all,
    I've been happily developing these forms in LCD 8.2 until I got a call from the clients saying that there's a problem when they put the forms on a web page. If they fill out one of these forms directly via IE6 (Acrobat 7) and then close IE when finish, the form is open via IE6 from the same computer all of the previous information remains on form.
    This problem doesn't happen to computers running Acrobat 9. So, it sounds like some an issue of compatibility with Acrobat 7 but can't figure out a way to fix it. No, upgrading is not an option and is not in my control.
    Thanks much for any help or suggestion!
    nh39

    Hi Niall,
    I took your first function and did this:
    // get the first 4 characters of the full path
    var url = event.target.path.toString().substring(0, 4);
    // if the path starts with "http" reset data and initialize form
    if (url == "http")
      xfa.host.resetData();
      xfa.form.execInitialize();
    It seems to do the trick on my test machine and I'm waiting for the customers to test it on theirs.
    Thanks, again, very much for your help!
    nh39

  • Calendar empty after updating to iOS 5

    I downloaded and updated to iOS 5 on my iPhone yesterday. I thought everything was correctly restored, untill I discovered that my calendar was totally empty. The subscribed calendars were in my calendar list but their appointments were gone. Also my manually added appointments were gone. I don't have them saved somewhere else because my iPhone calendar is my main (and only) calendar. Is there a way to get these appointments back?

    I also upgraded my 3gs to ios5 from the ipsw file.  Calendar was showing only Birthdays, but now that's gone.  Only says "All Calendars" but there is no + and no calendar selection buttons on top, completely brain dead.  I use Darwin calendarserver with the addressbook feature.  The contacts app can access all the Cardav addressbooks, but the calendar app doesn't even poll the server.  It's like it never tries to connect to the caldav profiles in preferences.  Preferences, by the way, can re-verify the profiles and I've even deleted and re-entered one of them.  Frustrating.

Maybe you are looking for