GL Approval Action History from Workflow tables

Hi All,
I have prepared the query to retrieve the Journal Approval Action History from Workflow tables. Below is the Query. This is the Form Personalization. In the Journal Screen i have attached the Menu Action History and placed this query for form personalization.
Now the problem is in GL_JE_BATCHES i have 80 thousand records. In the query which i have written i am getting only 1000 records. How can i achieve all the records.
SELECT DISTINCT gjb.NAME batch, default_period_name period,
                   wn.recipient_role approver,
                   DECODE (gjb.approval_status_code,
                           'A', 'Approved',
                           'I', 'In Process',
                           'J', 'Rejected',
                           'R', 'Required',
                           'V', 'Validation Failed',
                           'Z', 'N/A'
                          ) status,
                   wn.begin_date approval_start_date,
                   wn.end_date approval_end_date,
                   wn.due_date approval_due_date
              FROM wf_notifications wn, wf_items wi, gl_je_batches gjb
             WHERE wn.CONTEXT LIKE
                         'GLBATCH%'
                      || (SELECT item_key
                            FROM wf_items a
                           WHERE a.user_key = wi.user_key
                             AND a.item_type = 'GLBATCH'
                             AND ROWNUM = 1)
                      || '%'
               AND wi.item_type = wn.MESSAGE_TYPE
               AND wi.user_key = gjb.NAME;
Can any one please suggest me how to proceed on this issue ASAP?
Regards,
Anjan.

Hi Anjan,
You can try to set the FND: View Object Max Fetch Size to a value that would allow more data to be returned. However, be aware that this can cause performance issues.
Cheryl

Similar Messages

  • How to delete routing history from MAPL table ?

    Hi,
    I have one typical case: for one routing entry is available in MAPL table but not in table: PLPO & PLKO. Now user want to change UOM in MM and routing history is restricting him for changing the same.
    I tried to delete the history with Tac: CA98 with correct selection criteria and key date but it's saying no task list exist. Also used ca99 but that also didn't work and say the same thing as above. In CA02 & CA03 also, it's not showing the data.
    I created one more routing for the same material and than deleted with CA98. It worked and entries were deleted from all the three table.
    Can anybody suggest how to delete history from MAPL table ?
    Thanks & regards
    Edited by: VINAY TAILOR on Jan 22, 2008 8:00 AM

    The solution is: there is no T code available for removing the history only from MAPL table. Infact, it's very strange case and we are also not able to find out how it happened.
    When we asked user to repeat the procedure, everything work well and no such repetation of problem.
    Only solution could be, developing special program which can remove the history. This is just for your information and thanks for putting your efforts & time.
    I am rewarding points to you all for the same.
    Vinay.

  • How to approve conent from workflow queue ?

    Any idea how to approve content from workflow queue when user is not reviewer or authorized to take action of current workflow step. ?
    how we can modify the user permission on content for approve/reject content from workflow queue when content is not in workflow queue of current user ?
    Or How can user take workflow action on content when content is not in workflow queue of user ?

    Any idea how to approve content from workflow queue when user is not reviewer or authorized to take action of current workflow step. ?OOTB this is certainly not possible. By installation of a workflow you intend to automate a business process; i.e. the situation you are asking about is exactly what you want to prevent. Therefore, the initial question should be: do we want to automate this process and if so, is WebCenter Content the right tool to do it (note that WebCenter Content is not a BPM system!).
    The world, however, is not black or white - sometimes you have to use the tool that you have. In WebCenter Content, there are certain situations which cannot be meet by the OOTB design, but their customization is relatively easy. Some of them is described in the manual: http://docs.oracle.com/cd/E23943_01/doc.1111/e10978/c05_workflows.htm#CIHCHJEA or http://docs.oracle.com/cd/E23943_01/doc.1111/e10978/c05_workflows.htm#CIHGIDGB
    The basic idea is that will use workflow step events (entry, update, exit) to implement additional logic (like adding a reviewer or auto-jump to an escalation/special treatment step on certain conditions). This might also require GUI changes - e.g. if you want to enable a reviewer to delegate his or her role to a third person.

  • Approval status of PR is in process, but action history show 'Approve'

    Dear all,
    I am on EBS 11.5.10.2 and encountered a problem during the approval process of PR.
    The approval hierarchy with PR is planner -> approver1 -> approver2,
    and approver2 is the final approver.
    Everything of the approval process is OK except that the action performed
    by approver1 shown in Action History is 'Approve', but not the appropriate
    'Forword'.
    Sequence Performed By Action Approval Status
    0 planner Submit
    1 planner Forward In Process
    2 approver1 Approve In Process <---- Here the 'Approve' action should be shown as 'Forward'
    3 approver2 Approve Approved
    Any ideas will be greatly appreciated!
    Regards,
    Henry Huang
    Edited by: user8960428 on 2011-7-7 上午8:13
    Edited by: user8960428 on 2011-7-7 上午8:15

    For requisitions the action taken by the approver is recorded. If they click on Approve, the same is recorded in action history.Shivaraj, for POs with the similar position hierarchy, if the approve1 click on Approve, action history does show 'Forward'.
    Do you mean the action taken by the approver1 is different between Requisitions and POs?
    Edited by: user8960428 on 2011-7-12 上午8:03

  • How to call java method from workflow script?

    Hi
    I have a requirement of updating field value 'Document Status' based on review/approve of content from Workflow and hence need to update the version number. For that I need to call my java method from workflow during submit of review/approve condition. Please let me know how to call java method from workflow?
    Is there any alternative better way to achive this requirement from workflow? Please suggest.
    Thanks,
    Sarang

    OK. So, I think we can all conclude that you don't need to call any Java method, can't we? And, that wfUpdateMetadata is the command that will update your metadata.
    Now, the question is what are its arguments. It has two - the first is the name of a custom metadata field to be updated (let's suppose that one field is called xMinorVersion, and the other xMajorVersion), the other is the new value, e.g. <$wfUpdateMetaData("xMinorVersion", "New value.")$>As for new value - do you insist on using strings? Since you want to increase the value, it would be more convenient to work with numbers. For instance, with integers you could go with <$wfUpdateMetaData("xMinorVersion", xMinorVersion + 1)$>With strings you will need to convert it to numbers and back to strings. Besides, what happens if you have more than 100 minor versions? (you mentioned you want to add 0.01, but that would finally increase the major version, wouldn't it?) So, I think these two numbers are independent (perhaps, with exception that increase on the major version set the minor version to .00).
    If you want to present it, you can use profiles that will construct for you the representation 2.304 out of MajorVersion = 2, MinorVersion = 304
    Solved?

  • Approver & approval date from Requisition & PO Approval workflow tables

    Dear All,
    My req is to create a report that calculates the lead time taken by a Purchase Requisition to be converted into a PO and released. In the output they want the APPROVER NAME, DATE APPROVED against the REQUISITION NUMBER (EBAN-BANFN) and also they want APPROVER NAME, DATE APPROVED against the Purchase Order (so all in all 2 fields of approvers & 2 fields of approval dates). But the thing is they want these APPROVER NAME, DATE APPROVED from the Requisition Approval Workflow tables.
    Please update the table & fields that will have the Approver and date approved from workflow corresponding to the Purchase Requisition Number and Purchase Order. or What is the link between the "Approver, approval date & Purchase Requisition Number" and "Approver, approval date & Purchase Order".
    Thanks in advance. The solution will be rewarded the points.
    Warm Regards,
    Farooq.

    We have HR/Payroll and Purchasing working fine for 6 years with the following schedule settings. 0.1 seems too frequent:
    A. Schedule one concurrent request to process deferred activities:
    1. Item Type :
    2. Min Threshold :
    3. Max Threshold :
    4. Process Deferred : Yes
    5. Process Timeout : No
    6. Process Stuck : No
    (Once every five minutes)
    B. Schedule one concurrent request to process timeout activities:
    1. Item Type :
    2. Min Threshold :
    3. Max Threshold :
    4. Process Deferred : No
    5. Process Timeout : Yes
    6. Process Stuck : No
    (Once every six hours)
    C. Run for stuck activities periodically
    1. Item Type :
    2. Min Threshold :
    3. Max Threshold :
    4. Process Deferred : No
    5. Process Timeout : No
    6. Process Stuck : Yes
    (Once every day)
    D. Run forall three activities periodically
    1. Item Type :
    2. Min Threshold :
    3. Max Threshold :
    4. Process Deferred : Yes
    5. Process Timeout : Yes
    6. Process Stuck : Yes
    (Once every day)
    By the way, we also have Synchronize WF Local Tables run once every 24 hours
    Hope this helps.
    Edited by: DBA115102 on Feb 1, 2011 10:41 AM

  • APINV : Workflow Action History empty for approvers.- WF Note Empty

    I have the invoice approval workflow working in Ebus. When the person (Person A) first receives the customised approval notification they have the WF_NOTE attribute and fill it in accordingly, they submit it to Person B.
    When the next person (Person B) in the approval list gets the notification, there is no entry for the comments that person A has entered in the Action History.
    If we go back to Person A's closed notifications, we can see their comment in their action history.
    The Action history shows for Person A:
    Line 1
    From : Sysadmin
    To : Person A
    Details :
    Line 2
    From : Person A
    To : Workflow System
    Details : COMMENTS Entered.
    Person B Sees
    Line 1
    From : Person A
    To : Person B
    Details :
    is there a way to do this? or Am I missing something?
    I have looked at Metalink and followed the note "Why Action History in APINV (AP Invoice) Approval Notification does not Show Approver's Comments in Details Column ? [ID 804497.1]" but still nothing showing in the approvers list.
    Any Ideas Appreciated.
    Edited by: pburke on 11-May-2010 18:51
    I can see that it is to do with the NID and process ID for the particular notification and it just shows comments relevant to that notification, but nothing in relation to the preceding notifications.

    If the two are different notifications , then there would not be the action history shown from the old notification which has been responded.
    If you still want to show the action history, then you can have a custom action history table in your notification. This can be done using a special message attribute
    with the internal name #HISTORY to replace the default action history table provided by Oracle Workflow with a custom action history region.
    Your custom action history table must be defined as an Oracle Application Framework region, or as a PL/SQL or PL/SQL CLOB document that contains text or HTML. For
    more information about building an Oracle Application Framework region, refer to Oracle Application Framework Developer's Guide, available from OracleMetaLink note
    391554.1.
    Hope that helps !
    Thanks,
    Dilbagh

  • Notification Action History not showing all the approver's details.

    Hi All,
    I have a custom workflow which will require many approvals
    A1 -> A2 -> A3 ->A4 , when the notificatoin come to A2, the action history shows the from as the sender and to as the A2.
    But when it comes to A3, the old entry is not coming, getting only the current user details.
    I have chekced the checkbox "expand roles" .
    How to get all the old approver;s list in the action history.
    Thanks,
    With regards,
    Kali.
    OSSI.

    Hi,
    When the second notification is sent, that is a different one from the first, so it will have no history.
    If you want the history of all the notifications in the flow, then you will need to write something to build this dynamically and include that in the notification - populate the #HISTORY attribute on the message with the history you want to include.
    HTH,
    Matt
    Edited by: Darryl Burke -- advertisement and links removed

  • Workflow step (Approve Action) calling custom Java Service and "passing params"

    Good Afternoon, Fellow Coders!
    Normally I research and do proof of concepts until I find a solution but given super tight deadlines, I just don't have time - so I need your help.
    I am trying to have an Workflow Approve Action (Workflow Exit Event idocScript call) call a Custom Component (Java Service) AND "pass" some kind of parameters (bare minimum dDocName)
    In a perfect world it would be as simple as:    processContentInfo(String dDocName, String xMyCode1, String xMyCode2);
    But since I am calling the Java Service from idocScript (via executeService) I cannot directly pass params via the API.
    Is there a simple way to do this??
    It seems like if you can't directly pass params you could at least set them in the managed container (m_binder) and just know to pick them up on the Java side via some DataBinder like m_binder.getLocal(
    Am I missing a simple idocScript function that will let you do this?
    Note: I am NOT executing the Service from a URL so the normal ?param1&param2 -> m_binder.getLocal  solution is no good.
    Also, Bex's book warns about Service Classes "not easily being able to call other UCM Services"....  My Custom Service needs to do exactly that (as well as JDBC and other stuff). Is this really an issue??
    Seems like as long as I have dDocName I could use RIDC to hit whatever I want as long as I know how to use a binder, etc - is there some mystic nuance that prevents this?  Or was he just saying it's hard UNLESS you know RIDC well??
    Any and all quality advice is appreciated!  And please, try to give me a detailed answer as opposed to something vague like "try a Service Handler", I need something I can quickly digest.
    Thanks in advance!

    You can set parameters for the service call by setting Idoc Script variables before you call executeService.
    <$dDocName="TEST12345"$>
    <$param1="09876"$>
    <$param2="ABCDEFG"$>
    These variables are then available via the service DataBinder.
    Here is information about how to execute a service from a custom component. There should not be any issues doing this.
    http://www.redstonecontentsolutions.com/5/post/2012/05/executing-a-service-from-aservicehandler.html
    http://jonathanhult.com/blog/2012/06/execute-a-service-from-a-java-filter/
    Jonathan
    http://jonathanhult.com

  • Pulling Multiple Approver Names from Workflow Logs for One Work Item

    I have a workflow design which requires multiple approvals per single work item.  I happen to have another functional design that is also pulling data from those same workflow logs.  Assuming I have multiple approvals at various levels for a single work item which table do I need to reference along with which fields to reference the different approvers per level of approval?

    Hello,
    The same tables. The principle is the same, just more agents.
    regards
    Rick Bakker
    Hanabi Technology

  • Workflow Action History  Information

    Hi,
    I have a Workflow in that workflow. The Approver wants some information from some other 3rd person ,so he will Request the information using the Request Information option .
    Can you please let me know where that information(in which workflow table)is stored that whom he has requested and what he has requested .
    Regards
    Tarun

    Hi tarun;
    Pelase review:
    http://docs.oracle.com/cd/B14099_19/integrate.1012/b12161/defcom24.htm
    http://docs.oracle.com/cd/B12037_01/workflow.101/b10283/admmon04.htm
    Regard
    Helios

  • PA Action History or Approval History

    Does oracle have some table to record budget (project) action history or Approval history?

    Hi,
    Thank you for posting in Patching Community,
    This can be addressed quick in the Projects Community,
    Hence created a discussion in the Projects Community, please follow the same.
    PA Action History or Approval History
    Thanks
    Ravi

  • From which table we can find the stuck process in workflow from background

    Hi There,
    from which table we can find the stuck process
    in workflow from background.
    i mean the table which store information about going on process.
    It's Urgent
    Thank's
    Bachan
    Message was edited by:
    Bachan

    You can also run "bde_wf_item.sql" script.
    Note: 187071.1 - bde_wf_item.sql - Runtime Data of a Single Workflow Item
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=187071.1
    "Oracle Workflow Cartridge (WF): Workflow Item Details Data Collection Test" should be also helpful.
    Note: 369576.1 - Oracle Workflow Cartridge Workflow Item Details Data Collection Test
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=369576.1

  • Using  FDM Import Action script to import data from ERPI table "tdataseg_t"

    Hi Experts
    I have extracted data from EBS using ERPI and loaded into the intermediate table "tdataseg_t"
    I am trying to use Import Action script within FDM to extract data from "tdataseg_t" table (where ERPI extract data is stored) as i could not use the normal import script.
    Requirement : I have to restrict the custom 2 dimension based on Account dimension.
    Dim Account
    Account = ???? ( i am struck here)
    If Account = 1000 to 5000 Then
    Custom2 = Right( product , 5)
    End If
    but , I could not find the exact syntax to call the Account dimension from the "tdataseg_t" table.
    Please Advise
    Thanks
    Sak
    Edited by: user12292415 on Feb 26, 2012 1:19 AM

    Hello,
    Importing data via a manual script defeats the purpose of ERPi. As it will not provide you an audit trail, drill-through/drill-back, etc.
    Your best bet is to use the default settings by the software. Just because it returns more records than you want is not a bad thing. You can conditionally change/alter the information either in an EventScript inside of FDM or by mapping the un-needed information to IGNORE.
    Thank you,

  • Moving Data from Normal table to History tables

    Hi All,
    I'm in the process of moving data from normal tables to
    History tables.
    It can be some sort of a procedure which should be a cron job running at night.
    My aim is to move data say 1.5 yrs or 2yrs old data to History tables.
    What aspects i need to check when moving data. And how can i write a procedure for this requirement.
    The schema is same in both the normal table and history table.
    It has to be a procedure based on particular field RCRE_DT.
    If the rcre_dt is above 2 yrs the data needs to be moved to HIS_<table>.
    I have to insert record in to HIS_table and simultaneously delete record from the normal table.
    This is in Production system and the tables are quite big.
    Pls do find enclosed the attached sample schema for Normal table and HIS_<table>.
    If i want to automate this script as a Cron job for similarly other History tables
    how am i to do it in a single procedure assuming the procedure for moving the data is the same procedure.
    Thanks for ur help in advance.
    SQL> DESC PXM_FLT;
    Name Null? Type
    RCRE_USER_ID NOT NULL VARCHAR2(15)
    RCRE_DT NOT NULL DATE
    LCHG_USER_ID VARCHAR2(15)
    LCHG_DT DATE
    AIRLINE_CD NOT NULL VARCHAR2(5)
    REF_ID NOT NULL VARCHAR2(12)
    BATCH_DT NOT NULL DATE
    CPY_NO NOT NULL NUMBER(2)
    ACCRUAL_STATUS NOT NULL VARCHAR2(1)
    FLT_DT NOT NULL DATE
    OPERATING_CARRIER_CD NOT NULL VARCHAR2(3)
    OPERATING_FLT_NO NOT NULL NUMBER(4)
    MKTING_CARRIER_CD VARCHAR2(3)
    MKTING_FLT_NO NUMBER(4)
    BOARD_PT NOT NULL VARCHAR2(5)
    OFF_PT NOT NULL VARCHAR2(5)
    AIR_CD_SHARE_IND VARCHAR2(1)
    UPLOAD_ERR_CD VARCHAR2(5)
    MID_PT1 VARCHAR2(5)
    MID_PT2 VARCHAR2(5)
    MID_PT3 VARCHAR2(5)
    MID_PT4 VARCHAR2(5)
    MID_PT5 VARCHAR2(5)
    PAX_TYPE VARCHAR2(3)
    PAY_PRINCIPLE VARCHAR2(1)
    SQL> DESC HIS_PXM_FLT;
    Name Null? Type
    RCRE_USER_ID NOT NULL VARCHAR2(15)
    RCRE_DT NOT NULL DATE
    LCHG_USER_ID VARCHAR2(15)
    LCHG_DT DATE
    AIRLINE_CD NOT NULL VARCHAR2(5)
    REF_ID NOT NULL VARCHAR2(12)
    BATCH_DT NOT NULL DATE
    CPY_NO NOT NULL NUMBER(2)
    ACCRUAL_STATUS NOT NULL VARCHAR2(1)
    FLT_DT NOT NULL DATE
    OPERATING_CARRIER_CD NOT NULL VARCHAR2(3)
    OPERATING_FLT_NO NOT NULL NUMBER(4)
    MKTING_CARRIER_CD VARCHAR2(3)
    MKTING_FLT_NO NUMBER(4)
    BOARD_PT NOT NULL VARCHAR2(5)
    OFF_PT NOT NULL VARCHAR2(5)
    AIR_CD_SHARE_IND VARCHAR2(1)
    UPLOAD_ERR_CD VARCHAR2(5)
    MID_PT1 VARCHAR2(5)
    MID_PT2 VARCHAR2(5)
    MID_PT3 VARCHAR2(5)
    MID_PT4 VARCHAR2(5)
    MID_PT5 VARCHAR2(5)
    PAX_TYPE VARCHAR2(3)
    PAY_PRINCIPLE VARCHAR2(1)

    Hi All,
    Thanks for ur valuable suggestion.But can u explain me bit more on this as i'm still confused about switching between partitoned tables and temporary table.Suppose if i have a table called PXM_FLT and an correspoding similar table named HIS_PXM_FLT.How can i do the partitioning shd i do the partitioning on the normal table or HIS_PXM_FLT.i do have a date field for me to partition based on range.Can u pls explain why shd i again create a temp.table.What's the purpose.Now the application is designed in such a way that old records have to be moved to HIS_PXM_FLT.can u pls highlight more on this.Your suggestions are greatly appreciated.As i'm relatively new to this partitioning technique i'm bit confused on how it works.But i came to understand Partitioning is a better operation than the normal insert or delte as it is more data intensive as millions of record need to be moved.Thanks for feedback and ur precious time.

Maybe you are looking for

  • HP LaserJet 1525nw color printer - printing question

    I have blue dashed lines 3/4" long printing horizontally in my left margin every 3"?  Anyone have any idea how to fix this.

  • VCNS product roadmap

    So I see that vCNS 5.5 has been out of GA for over a year with no product that I can see as a replacement, except NSX maybe. It also already had an exception made to extend support to 2016 instead of EOL'ing in 2015 as per VMmware's 2-year EAP lifecy

  • I had a problem to capture The Panasonic AJ-1400HD  to CS5 Premiere

    hi dear every one i had a problem to capture The Panasonic AJ-1400HD  to CS5 Premiere , the time code running but there are no video picture . some one help , please...............

  • Calling Java procedure from PL/SQL (10g)

    Hi. I'm a newbie in Oracle 10g... could you, please, advice any documentation about restrictions put on java code so I could easily load in to 10g DB and call from a PL/SQL procedure? I've only found some books for 8i and 9i :(

  • ActiveX control "could not be loaded"

    G'Day everyone, I'm having a problem with my activeX controls (SHDocVw.IWebBrowser2 for example) - when I load and run a LabVIEW 6i VI with an ActiveX container on the front panel, I get an error 97 (Unknown System Error in Untitled.vi) out of its me