Home Discussions Questions & Answers Scheduling Incremental Data Interface using `fnd_concurrent_requests`

Scheduling Incremental Data Interface using `fnd_concurrent_requests`

Avatar photoCustomer November 22, 2020 at 8:21 pm

We need to schedule a Blitz Report to run nightly as an outbound interface, but it should only transfer incremental data changes (records modified since the last successful run). How should I restrict the SQL query to achieve this?

Viewing 6 reply threads
  • Author
    Replies
    • Support November 24, 2020 at 3:51 am  

      You can restrict your query to records modified since the previous scheduled request run by utilizing a parameterized SQL clause that references the execution history of the concurrent program itself. The core logic involves comparing the record’s modification timestamp (e.g., `rctla.last_update_date`) against the start time of the *previous* request run. The required SQL pattern uses self-referencing joins on `fnd_concurrent_requests` to dynamically retrieve the `actual_start_date` of the last completed parent request.

    • Avatar photoCustomer November 25, 2020 at 9:37 pm  

      Can you provide an example of the SQL required to identify the start time of the previous run?

    • Support November 27, 2020 at 6:04 am  

      Certainly. The SQL required, which should be set up as a parameter SQL text, would look similar to this structure: `rctla.last_update_date >= (select fcr0.actual_start_date from fnd_concurrent_requests fcr, fnd_concurrent_requests fcr0 where fcr.request_id = fnd_global.conc_request_id and fcr.parent_request_id = fcr0.request_id)`. This snippet dynamically identifies the current request ID and then looks up its parent request (the previously scheduled job) to retrieve the required `actual_start_date` for filtering.

    • Avatar photoCustomer November 27, 2020 at 7:26 pm  

      Once the report is configured for incremental data, how do we schedule it to use Oracle’s delivery options for file transfer?

    • Support November 29, 2020 at 9:54 am  

      The easiest way to schedule the report is to first run it from the Blitz Report run window with all parameters set correctly, and then copy the resulting submitted concurrent request. You navigate to ‘View > Requests’, find the request, use ‘Copy’, update the schedule frequency, and then configure the Oracle standard delivery options. Oracle’s delivery options natively allow the report output to be sent as an email attachment, uploaded to a WebDAV cloud storage, or sent to an FTP location, which is ideal for an outbound interface.

    • Avatar photoCustomer December 1, 2020 at 4:49 am  

      If I submit a new concurrent request manually instead of copying an old one, how do I map the Blitz Report parameters?

    • Support December 1, 2020 at 1:59 pm  

      If submitting manually, you select the ‘Blitz Report’ concurrent program and must populate arguments 16 onwards with the report parameters. These parameters must be entered in exactly the same order as they appear on the Blitz Report run window. For example, if ‘Operating Unit’ is the third parameter on the form, its value must be entered into Parameter3 of the concurrent request.

Viewing 6 reply threads
  • You must be logged in to reply to this post.

Login with: