Bills of the AP - query gives output in the editor, but no data found when run from a workflow

Hello

I am working on a custom workflow related to invoices from the AP and I came across this very odd situation where the below query works perfectly well by operating in any PL/SQL as Toad/SQL Developer editor but when run in an Oracle Workflow custom, the query raises an exception NO_DATA_FOUND.

I set debugging instructions to capture the values of the parameters (lv_invoice_id and lv_hold_id being retrieved workflow attributes) before and after the SELECT statement and noticed that the values of the parameters are set correctly.

SELECT type

IN lv_match_type

DE ap_invoices_all aia , ap_invoice_lines_all Arnaud , ap_holds_all aha

ail . invoice_id = lv_invoice_id

ET line_type_lookup_code = "ITEM"

ET AIA . invoice_id = garlic . invoice_id

ET AHA . invoice_id = AIA . invoice_id

ET AHA . hold_id = lv_hold_id

ET ROWNUM = 1 ;

Can anyone suggest what could be wrong with that? Having spent 2 days trying to debug this but without success.

Any help would be greatly appreciated.

I added a function of the WorkflowTimeout JOB just before function which becomes the flag Match, and it worked. It appears like the workflow engine is somehow unable to assign values to the query. Putting a WAIT, he probably gave the workflow a second to assign variables with values. Seems very strange, but seems to have solved the problem. Do thorough tests to confirm that it does not break something else. Mike - appreciate all your help with this post until now. You were very prompt in answering my questions. Appreciate it.

Tags: Database

Similar Questions

  • I have an Apple Tv 4 and I can't download netflix, I got the app, but I uninstall and when I try to install new process full of does ' t one appears a message saying cannot download app. Any suggestion on what to do?

    I have an Apple Tv 4 and I can't download netflix, I got the app, but I uninstall and when I try to install new process full of does ' t one appears a message saying cannot download app. Any suggestion on what to do?

    Have you tried a reset or reboot of the ATV?

  • The embedded controller (EC) data returned when none was requested. (T420s)

    Everyone sees this warring newspaper system running Windows 8 or Windows Server 2012?

    : The embedded controller (EC) data returned when none was requested. The BIOS may try to access the European Community without synchronization with the operating system. These data will be ignored. No further action is necessary; However, you should check with the manufacturer of your computer for an updated BIOS.

    Should I just ignore it?

    Concerning

    Anders Jensen

    This message normally appears permanently, if TPFanControl or PFControl is installed and the start-programs-TPFanControl-optional-acpiecnl was not used to disable logging these events...

  • How do I get the width of a numeric field when running

    Hi, everyone :D
    There is a built-in function that allow me to get the width of a numeric field when running? The SRW bulit in only has the SWR. Built-in GET_PAGE_NUM. is there something like the Get_item_property of report forms?

    Thank you

    Published by: user12422762 on 07/ene/2010 14:16

    Published by: user12422762 on 07/ene/2010 14:30

    Published by: user12422762 on ene / 08/2010 04:40

    Published by: user12422762 on ene / 08/2010 04:50

    Why did you adjust the mask format?, just use one that is long enough to fit the longest value. use something like "FM999G999G999G999", the FM will remove the leading spaces.

  • Query of the region gets no data found

    Hi all

    I have a region that is of type "SQL query". This area is also a button 'apply update '. There is a validation of the page that looks up a value in a shuttle that goes off when you press 'Apply update'. Sometimes, when the button is pressed and the validation fails the region return that the no data found message as defined in the attribute for the region, other times reports page when the failure of the validation of data which has been in the region until the button is pressed just stay there, as it should.

    Why I get such different results when validation fails? Why do I sometimes get "no data found" and other times I get the data in the array returned by the SQL query?

    A couple of things to point out,

    (1) the table gave in, the sql query will always return Row (s)

    (2) the sql query is NOT dependent on the values of page defined level.

    (3) the sql query is simple, similar to...

    Select *.
    of my_custom_table
    my_column asc order

    Is a global temporary table... but it is defined as "on commit preserve rows", my data must therefore be kept for my entire session, even if it wasn't, it still does not explain the sporadic "no data found", unless the APEX is somehow sometimes change the session and I'm not aware of it...

    Exactly what APEX - and any other web technology using connection pooling- done.

    Replace the TWG with a collection of the APEX. You can define a view of the collection to match the name of the existing table, the column names and data types.

  • Firefox shows upwards on the taskbar but will not maximize when clicking on window

    I tried re installation, but when I click the icon it will appear on the taskbar but will not maximize.

    It is a more detailed explanation of the above.

    Sometimes, a window is "off the screen" somehow. Often, you can force it to appear on the screen by right clicking on the thumbnail image just above the taskbar and choose expand. Does it work?

    A possible cause for this is that the file that stores the positions and sizes of window is corrupt.

    #1 method: If you can get a zoomed window:

    Open the settings folder (AKA Firefox profile) current Firefox help

    • button "3-bar" menu > "?" button > troubleshooting information
    • (menu bar) Help > troubleshooting information
    • type or paste everything: in the address bar and press Enter

    In the first table of the page, click on the view file"" button. This should launch a new window that lists the various files and folders in Windows Explorer.

    Leave this window open, switch back to Firefox and output, either:

    • "3-bar" menu button > button "power".
    • (menu bar) File > Exit

    Pause while Firefox finishing its cleanup, then rename xulstore.json to something like xulstore.old. If you see a file named localstore.rdf, rename this to localstore.old.

    Launch Firefox back up again. Windows normally appear again?

    #2 method: If you can not get a Firefox window for all:

    Close Firefox by right clicking the icon in the taskbar > close all windows.

    Using the Run dialog box (windows key + R) or the search for the start bar menu (or Windows 8.1 may bar charms bar research?) type or paste the following and press ENTER to drill down to the profiles folder:

    %APPDATA%\Mozilla\Firefox\Profiles
    

    Here you can see a folder - in this case, double-click that - or more than one case - in this case, double-click on in what looks like the most recently updated.

    Scroll down and rename xulstore.json to something like xulstore.old. If you see a file named localstore.rdf, rename this to localstore.old.

    Launch Firefox back up again. Windows normally appear again?

  • How to change the user interface of the entity object indicators / Validation msg when running?

    Hello

    I use JDeveloper with version 11.1.1.6.3. Given my requirment details below.

    Suppose I have a (say 'EMPLOYEE_RATING') table in DB with the following structure.

    Columns:

    1 EmployeeId (Employee Id)

    2 RatingType (values can be in Stock or Bonus)

    3 RatingLevel (values can be 1, 2, and 3)

    Constraint:

    EmployeeId, RatingType and RatingLevel all together must be unique.

    Requirement:

    The customer's requirement is to have two screens of rating (one for Bonus another stock) and display different user interface boards and validations as follows.

    1 RatingType is a hidden field, are defined with the default (Bonus or Stock) based on the screen that the user opens.

    1. for the Stock screen, RatingLevel label should be "Stock note.

    2. for the Bonus screen, the label should be 'Bonus Rating'.

    3. for validation, the message must be 'Bonus note level must be unique' or 'Level of Stock of notes must be unique' ADB on the user screen opens.

    Implementation:

    I have a def EO (for example "RatingEO") and VO (for example ' RatingVO') def. Tips UI (Label) are given at the level of the OS. Also the unique constraint validation is made to EO with the message ' {0} and {1} must be unique, where {0} is source.hints.EmployeeId.label "and {1} is source.hints.RatingLevel.label.  I also did the shuttle two different instances of the VO (EmployeeRatingBonusVO and EmployeeRatingStockVO) in the request form (although BonusTaskFlow and StockTaskFlow are set to open with the new transaction, Intension of the two shuttle different named instances is to have the common code in VO. impl class but can run different business logic code by checking the name of the instance of VO)

    Question:

    Since I have two different pages, I can define two different labels in the jsff, but I can't change the commit message defined at the level of object entity based on open display. At the opening of the screen, depending on the type of screen, I should be able to change the label specified at the level of the entity object. (It should not affect the definition but only the instance). As this entity object cannot be distinguished (if it belongs to Bonus or Stock), I have problem on how to change the indicators of UI during execution.

    Any help on this would be appreciated! Thank you.

    Rami

    Post edited by: rami

    I tried your script.

    I created the secondary key with EmployId and rating level. I added validation of Unique key. In failure handling handling section of the validator, I gave the error message like: {0} must be unique. For token 0: I gave RatingType (here RatingType is the name of the attribute in OT).

    We give the default for RatingType as Stock Bonus in VO. kind RatingType get its value or Stock Bonus based on the original Version that we use.

    I hope this helps.

  • hide the button if no data found in the report

    Hello

    I use the apex of oracle 10g 3.2
    I display a report with the "print" key.
    I want it if the report shows not all data that is no data found then I want to hide the "print" key.

    How to do this.
    Thank you
    Olivier

    Hi Olivier,.

    In the "print" key condition, select the condition type as "EXIST (SQL query returns at least one row) ' copy and paste the SQL report in expression1.

    Kind regards
    Sagay

  • Get "no data found" when I download the report

    Hai...

    In my application, I created a region of reports where the data are displayed... I gave 'Download' format csv... when I try to download, I could not the data in the spreadsheet "excel" his coming as no data found...


    What could be the problem...

    Please help me...


    David

    Hi David,

    I've always found preferable to set the value of the element on a page using a calculation when I want him to have a starting value that does not rely on a database column.

    On your two fields, set the static allocation Type of Source and remove source.

    Now, on your page, click on the button create (icon +) in the section of the Page rendering calculations. Then enter the following settings:

    Geographical area: item on this page
    Point calculation: select your P1_STARTDATE
    Calculation Point: Before header
    Calculation type: SQL query
    Calculation: Select TO_CHAR(SYSDATE-1,'MM/DD/YYYY') from Dual
    Condition Type: Article 1 of the Expression value is NULL
    Expression 1: P1_STARTDATE

    Repeat this for your usng P1_ENDDATE Select TO_CHAR(SYSDATE,'MM/DD/YYYY') from Dual to the query

    Now, when the page is loaded first, the calculation conditions are checked. As the two fields are empty, the calculations are made and items get their start values. Your application should then work ok for export.

    Andy

  • Can save the configuration when running VI, but not file not when running EXE

    Hello

    I have attached a file zip containing a LabVIEW project as well as a built EXE.

    The program will load up the numerical value of the file config in both cases, but it will only write the configuration file when it is executed as a VI, not as an executable file. If I don't use the computer of JKI State, I do not think I see this problem, so I think it's the order in which the program quits? I tried to disable the Panel before closing, but that did not always help.

    Reading configuration file is made in the case of "Data - initialize" and the config file for writing in the case of 'Cleaning up' -.

    It seems that the difference between the run-time and development environment behavior is the Close event of front panel. It's in Dev mode, you do not go to the front > close State, but you don't have at run time. Try to run your cleanup command before the command close to see if that fixes it. If you close the front panel, the values could be recovered, VI OpenG has not all the values to get more because they have left the memory.

    If the Panel should be closed more quickly, but you need to hide the front panel without the closing, you can use the FP. Open invoke node with a contribution of the State of "hidden". This will hide the front panel while keeping open and then the Panel will always close end when your application terminates.

  • power battery but laptop will stop when disconnected from the mains

    My laptop is using vista, there's a lot of power in the battery, but when I unplug AC power to run off battery, after a few minutes, the laptop stops right then re - not start wirhout power even if the battery is still almost full.

    Hello

    Did you change your computer?

    I suggest you to follow the links and check out them.

    Battery saver

    http://Windows.Microsoft.com/en-us/Windows-Vista/conserving-battery-power

    The problems of power consumption and extend laptop battery life

    http://support.Microsoft.com/mats/windows_battery_power_settings/en-us

    Solve battery problems

    http://Windows.Microsoft.com/en-us/Windows-Vista/troubleshoot-battery-problems

  • Query regarding different refreshing data from the grid when returned from a workflow

    Hi Experts,

    JDEV version is: 11.1.1.5

    Our application uses dynamic tabs the user interface shell.

    Whenever the user connects, it is taken in A TAB.

    Since the TAB A, the user navigates to TAB B.

    TAB B has a GRID B(table with a few records).

    Column A on TAB B has a hyperlink which, once clicked on will open a stream of different tasks in a different tab.

    Click on the column of hyperlink for the different lines will open different tf (under certain conditions).

    By clicking on the hyperlink, that the method _launchActivity(String title, String taskflowId, boolean newTab) is used, which the TF open in a new tab.

    The user works on the TF (in a new tab) which opened on click of a hyperlink in the column is and click on SAVE.

    Click to save some operation and removeCurrentTab method is called which will close the current tab, and control passes to the first tab (TAB A).

    The problem:

    Once the user tries to click or to return to the TAB B the WHAT GRID B is never updated that we cannot get the descriptor to refresh the data in the grid.

    Any suggestions would be much appreciated.

    Thank you

    Jean Claude

    huh, I thought it was another library in question.

    In all cases, you can use contextual event (when you close the current tab).

    The second option is to navigate to the method executeQuery by code call activities:

    https://blogs.Oracle.com/jdevotnharvest/entry/how-to_navigate_in_bounded_task_flows

  • The CPU usage goes to 100% when running any application.

    Hi all

    Please help me with this problem. I recently updated my system from windows xp service pack 3 for windows 7 Professional. But I'm having a problem with my CPU usage. My PC starts normally and continue to operate with a processor of 2-3%, but when I run an application or process as a copy, extract, play videos or MP3s etc... He spent almost at 100%. If I quit the application, it will return to normal with 2-3% of CPU usage. I searched the whole windows forums and have seen a lot of answers about the same topic, but none of them relates to the problems of mines.  o please help me with it...
    My system configuration:
    Intel processor Dual Core
    2 GB RAM DDR2
    320 hard drive
    8129 Intel chip-set

    Hi Arun,

     

    Thanks for posting your query in Microsoft Community.

    From your description, it seems that you receive 100% CPU usage when using any application on your computer.

    I'll be happy to help you. This problem could be caused due to the performance and maintenance of the computer system.

    I suggest to follow the steps below and we update on the State of the question.

    Method 1:

    To optimize the performance of Windows, try to use the resolution of Performance problems to automatically find and fix problems.

     

    Open the troubleshooter of Performance:

    http://Windows.Microsoft.com/is-is/Windows7/open-the-performance-Troubleshooter

     

    Method 2:

    To perform common maintenance tasks in Windows, such as cleaning shortcuts and unused files, try to use the resolution of the problems of Maintenance of the system automatically find and solve problems.

     

    Open the troubleshooting of System Maintenance Utility:

    http://Windows.Microsoft.com/is-is/Windows7/open-the-system-maintenance-Troubleshooter 

     

    Method 3:

     

    Follow the steps in the link below.

     

    Optimize Windows 7 for better performance:

    http://Windows.Microsoft.com/en-us/Windows7/optimize-Windows-7-for-better-performance

    Important: Running chkdsk on the drive if bad sectors are found on the disk hard when chkdsk attempts to repair this area if all available on which data can be lost.

    Note: The data files that are infected must be cleaned only by removing the file completely, which means that there is a risk of data loss.

    Method 4:

     

    Follow the steps in the link below.

     

    Ways to improve your computer's performance:

    http://Windows.Microsoft.com/is-is/Windows7/ways-to-improve-your-computers-performance

    Important: Running chkdsk on the drive if bad sectors are found on the disk hard when chkdsk attempts to repair this area if all available on which data can be lost.

    Note: When you restore the system to a previous state, programs and updates installed later will be deleted.

     

    For all windows questions do not hesitate to contact us and we will be happy to help you.

  • How to keep the titles and names of events when importing from iPhoto?

    I have 17,000 photos and you want to migrate from iPhoto to LR. Some of them have titles I assigned in iPhoto. Other events, which I'd love to keep the names. This information is really important for me, because it contains a lot of travel since the origins of the photos.

    I already tried import with the CAP, folders and albums are perfectly converted to collections.

    Is not that someone has an idea what to do, maybe before hand in iPhoto to keep information?

    Any hint is appreciated!

    I had assumed that iPhoto metadata has been imported as with info opening panel that corresponds to the IPTC data fields. The link below gives more information.

    https://helpx.Adobe.com/Lightroom/KB/aperture-import-plug-in-Lightroom-FAQ.html

  • How can I eliminate the 5 643 errors/warnings found in Run/Eventvwr?

    Microsoft Service Center/India contacted me. Said that I had serious problems, that Run/Eventvwr revealed, and that my machine would break soon. Said that they would be any repair. It was three days ago. Problems remain, and machine works hard.

    Hello

    First... You can export to Internet Explorer Favorites for those who are not lost. In addition, you can save documents, images, music, etc. on an external hard drive, DVD or USB Stick according to the number and size of the files.

    Restore you a computer OEM (Dell, HP, Gateway, Emachines, etc.) provided the factory with disks that came with the computer (or maybe you can) or with a restore partition that is on the hard drive. The computer manufacturer's support Web site must have the instructions.

    Let me know if you have any additional questions. In another forum, we'll ask them if they have a better fit there.

    Don

Maybe you are looking for

  • Weird problem with Firefox 6.

    Let me explain, when I open a Web page with lots of images like for example an official thread about a game in a forum, the connection in Firefox is stuck, I mean it loads the web but not the images and saying "connection with...» «and it does not lo

  • 15 - an051dx: special speaker and backlit keyboard questions about Star War Edition

    Hi guys, I just bought Star War Special Edition laptop with B & O speakers. Is there anyway can I change that in order to get better sound quality on my laptop? In addition, the laptop comes with backlit keyboard, therefore is anyway can I adjust the

  • Re: Partitioning is a problem with the Toshiba recovery system?

    I'm french, so don't be afraid of mistakes. I wonder if I can I repartition my HARD drive I want First, I explain what I realized with the FAQ:If Vista wouldn't boot, Toshiba Recovery in WinRE (eisa configuration) hidden partition offer we have to fi

  • Memory RAM in Elitebook 8560w

    I was thinking about upgrading the RAM in my Elitebook 8650w. I know that the type of memory, I need (PC-10600 1333 Mhz DDR3), but I was wondering how many bands are already built in? I had four hearts version so my laptop has 4 slots, of which 2 are

  • After installing windows update that I am unable to access e-mail on icewarp.

    Original title: CONFLICT of EMAIL I USE ICEWARP WEBMAIL TO MY BUSINESS EMAIL ADDRESS. I REINSTALLED MY OS (VISTA BUSINESS) AND MY EMAIL has WORKED very WELL, BUT after DOWNLOADING THE UPDATES, I can't ACCESS it FROM MY COMPUTER. What'S CAUSED this PR