Populating AP Invoice Approval History

Hi,
We have requirement where we need to send notifications up-to two escalations in Invoice Approval Workflow (IAW).
We were able to do so, but we are not able to populate the approval history correctly.
The approval history is getting populated till the second escalation correctly and once he approves it. It is not getting reflected in the approval history.
For populating the approval history we are using the standard API ap_workflow_pkg.insert_history_table .
Action Person
Sent A
Escalated B
Escalated C
Future B
When C approves the invoice. It shows like below
Action Person
Sent A
Escalated B
Escalated C
Approved B
It will be great if someone can shed some light on it.
Thanks,
Manoj

Hi,
I did not find any notes or bugs that address this specific error. I see that the AP_WORKFLOW_PKG.Get_ALL_Approvers procedure calls the AME_API2.getAllApprovers1.
I can certainly look at your versions and see if there are any existing code bugs that address this. You would need to provide the versions of those procedures by running the following:
select text from all_source
where name = 'AP_WORKFLOW_PKG'
and line = 2;
select text from all_source
where name= 'AME_API2'
and line = 2;
It might also help to get an FND Log or wfstatus.sql script output for review, but it might be best to log an SR to get this reviewed in more detail.
Regards,
Cheryl

Similar Messages

  • Invoice Approval History encounter errors while viewing in r12

    hi all,
    would like to seek your help, a certain approver of AP invoice encountered error in viewing his invoice approval history.
    also, his worklist is not updated, new invoices is no longer reflected on this worklist...
    this the error when he view the invoice approval history:
    app-sqlap-10000: ORA-06502: PL/SQL: nuberic or value error: Bulk Bind: Truncated Bind occured in AP_WORKFLOW_PKG.Get_ALL_Approvers <-APKAWHS with parameters (&Parameters) while performing the following operation: set variables from workflow
    this is the version of ERP r12:
    RDBMS : 11.2.0.3.0
    Oracle Applications : 12.1.3
    hope your favorable response..

    Hi,
    I did not find any notes or bugs that address this specific error. I see that the AP_WORKFLOW_PKG.Get_ALL_Approvers procedure calls the AME_API2.getAllApprovers1.
    I can certainly look at your versions and see if there are any existing code bugs that address this. You would need to provide the versions of those procedures by running the following:
    select text from all_source
    where name = 'AP_WORKFLOW_PKG'
    and line = 2;
    select text from all_source
    where name= 'AME_API2'
    and line = 2;
    It might also help to get an FND Log or wfstatus.sql script output for review, but it might be best to log an SR to get this reviewed in more detail.
    Regards,
    Cheryl

  • View Invoice Approval History Error

    Hi,
    After Initiate Invoice i went > Report > View Invoice Approval History. Its showing a below error message.
    Any one aware of this issue plz revert back.
    Error Message:
    APP-SQLAP-10000: ORA-20202:NO rate exits between the two currencies for the given date and conversion type. the from currency was OMR. The to Currency was INR. The conversion type was. The conversion date was 01-MAR-13. occurred in     AP_WORKFLOW_PKG.Get_All_Approvers <-APXIAWHS with parameters (&PARAMETERS) while performing the following operation: set variables from workflow     
    Regards,
    senthil
    Edited by: Senthilkumar Chellamuthu on Mar 1, 2013 4:10 PM

    Hi,
    I also facing the same issue, after Define the daily rates for both the currencies from GL Responsibility .
    Plz Revert back, The Issue is very urgent.
    Regards,
    senthil

  • Invoice Approval History

    Hi to All,
    I was trying to look at action history for an invocie. The following navigation was taken.
    Invoices-->Tools-->View Invoice Approval History. Once clicking on Invoice Approval History...I get the Invoice Approval History form. But this form does not display any information.
    Is there a profile option that must be enabled to see this information or is it that we have automatic approval on invoices and thus no information is entered.
    Thanks for any help on this question.

    Hi
    If invoice approval workflow is not enabled it will store any approval history. Or if approval workflow data has purged in that case also it will not display any approval history.
    To store the approval history invoice approval workflow need to be enabled.
    Gyanendra Singh Rana

  • AP Invoice Approval workflow not starting

         I have a raised an AP invoice for approval. (APINV) But the approval status is still in “Initiated” status and we could see the Invoice records in “processed” status in AQ$wf_deferred table too. There is data in wf_deferred tables but no data in wf_items table.
         Also in the invoice approval history form, value for ACTION field against an approver is “FUTURE”. All the agent listeners are up and running. No duplicate event_subscriptions. I have used apache bounce and executed “workflow background process” too. Am I missing something?
         Your quick responses will be highly helpful.
    Thanks,
    Vicky

    Hi,
    Using the Sysadmin responsibility, please submit "Workflow Background Process" with the below parameters and see if it helps:
    Process Deferred: Y
    Process Timeout: Y
    Please also see the following notes;
    How to Manually Process the Events from Workflow Queues When The Deferred Agent Listener Won't Start [ID 953103.1]
    Workflow Background Process Does Not Progress Shipped Lines: Stuck in Fulfill - Deferred [ID 804133.1]
    Hope this helps!
    Best Regards

  • Error Implementing Invoice Approval

    Dear All,
    Can anyone help me out. I have implemented invoice approval, but getting error while trying to view the Report --> View Invoice Approval History
    APP-SQL-1000: ORA-20001: No rate exists between the two currencies for the given date and conversion type. The from currency was USD. The GBP. The conversion type was Corporate. The conversion date was 18-JUL-2011. occurred in AP_WORKFLOW_PKG.Get_ALL_APPROVER<-APXIAWHS with parameters (&PARAMETERS) while performing the following operation: set variables from workflow
    Note that, this setup is being done in Vision R12.1.1 for a POC.
    Please advise
    Thanks and Regards,
    Rajiv

    Hi,
    I also facing the same issue, after Define the daily rates for both the currencies from GL Responsibility .
    Plz Revert back, The Issue is very urgent.
    Regards,
    senthil

  • From_User not populated for AP Invoice Approval Workflow

    Hello,
    We are using the AP Invoice Approval and Requisition Approval workflows. When a supervisor grants their worklist authority to a requestor of a requisition the requestor is not allowed to approve their Req. This appears to be the correct action.
    However when the same circumstances arise with AP Invoice Approvals the requestor of the invoice is allowed to approve their own invoice through the worklist delagation of their manager (these requestors do not have workflow admin privs.). We have noticed that the "From_user" is null on the wf_notifications table for APINV message types but not for REQAPPR message types.
    Does anyone have insight into this difference in functionality?
    Thanks,
    Dan

    Hi,
    Using the Sysadmin responsibility, please submit "Workflow Background Process" with the below parameters and see if it helps:
    Process Deferred: Y
    Process Timeout: Y
    Please also see the following notes;
    How to Manually Process the Events from Workflow Queues When The Deferred Agent Listener Won't Start [ID 953103.1]
    Workflow Background Process Does Not Progress Shipped Lines: Stuck in Fulfill - Deferred [ID 804133.1]
    Hope this helps!
    Best Regards

  • R11:RECEIVED ERROR MESSAGES FOR AP INVOICE APPROVAL IN ORACLE WORKFLOW

    Hi All,
    We have this error:
    ### Detailed Problem Statement ###
    Received the following error messages in sysadmin notifications:
    Event Error Name: 100
    Event Error Message: ORA-01403: no data found
    Event Error Stack: HZ_DQM_SYNC>REALTIME_SYNCH(oracle.apps.ar.hz.DQM.realtimesync,
    30665979B704AE043C0A81404B04A)
    Event Error Name: WFE_DISPATCH_RULE_ERR
    Event Error Message: [WFE_DISPATCH_RULE_ERR] ENAME=oracle.apps.ap.payment EKEY=10001
    RULE=ap_payment_event_wf_pfg.rule_function SQLCODE=100 SQLERRM=ORA-01403: no
    data found
    Event Error Stack: WF_Event.dispatch_internal()
    In addition, during the set-up of Oracle Approvals Management, there was no available list of
    values in the Notification Style in the workflow configurator page.
    Action Plan
    =======
    1) Confirm if the workflow is customized in any way.
    2) Confirm whether you are able to select global preferences for the other invoices approval, meaning are you
    getting the list of values for the other invoices.
    There are no workflow customizations. We are trying to implement it to AP invoice
    approval only.
    Can you instruct me on how to test this one? I thought I could only select the global preferences from the workflow configuration window. And there are no distinction as to which invoice approval
    process it is applicable. Where could I select the global preferences for other
    invoices approval?
    Thanks a lot

    thanks hussein , but still we can not see LOV values even if we inserted data manually...:(
    But it has improved and we moved on to another error which is:
    *****received the error message:3120: Activity 'APINV/52822' has no performer
    ### Problem description or inquiry details ###
    Received the following error message:
    Error Message
    3120: Activity 'APINV/52822' has no performer.
    Error Stack
    Wf_Engine_Util.Notification_Send(APINV, 115191_1, 52822, APINV:APINV_MRA) Wf_Engine_Util.Notification(APINV, 115191_1, 52822, RUN)
    Encountered the following:
    No list of values in the notification style field in the global configuration region in the Workflow Configuration Page
    Please note that we could not update the workflow configuration page using the forms because there
    is no list of values to select in the above-mentioned field. We just recently
    changed the workflow administrator role from SYSADMIN to KCAALIM to reduce
    changing of user log-in. We have previously used the sysadmin user log-in to
    access the workflow configuration page. there was still no list of values for
    the notification style. we changed the wf admin role to kcaalim using the sql:
    udpate wf_resources set text = 'KCAALIM' where name like 'WF_ADMIN_ROLE';
    Commit;
    Hence, changing of wf admin role and user log-in (to sysadmin) won't help (just in case you would advise me to do so) since we tried it
    already.
    ### Responsibility and navigational paths to reproduce ###
    1. set-up the AME for ap invoice approval.
    2. test an actual transaction.
    3. when the list is generated, set-up workflow for AP approval.
    when setting up the configuration page, there is no list of values available for the notification style. hence the workflow
    configuration could not be updated.
    4. Run the required programs (i.e., synchronizations)
    5. run the approval workflow from the developer studio page.
    6. review the status from the Status Monitor page.
    7. The error message appears
    8. payables, create a sample invoice.
    9. validate and initiate approval.
    10. review the approval history to find out the required approver. (the approver's name appears with 0 amount of approval)
    11. check the notifications in the required approver's worklist.
    12. there are no notifications sent.
    Text continued in next action...
    **** screen shots availble >http://rapidshare.com/files/176008682/error_-noperformer.doc.html
    Thanks again...

  • Invoice Approval Status Table/Column in AP (R12)

    Hi,
    I need to add Invoice Approval Status column to AP Trial Balance report in (R12).
    Please let me know which table has this information.
    Also, i need to add another field where:
    If Invoice Approval Status <> Approved, then what is the name of the person which we are waiting approval (Last Name, First Name)
    Could you let me know this information.
    Thanks
    Pravin

    Hi Kashif,
    Thanks for your response.
    For the Invoice Approver question:-
    Ques:- if the Invoice is Not-Approved (or) if it needs Re-approval, If Invoice Approval Status <> Approved, then what is the name of the person which we are waiting for approval..
    As you said the ap_wfapproval_history_v table , I'm not sure whether this table has history data (or) can i get Next Approver from this table.
    I tried to do in this scenario :- For one invoice_id which needs Re-approval, when i looked into ap_wfapproval_history_v table with this invoice_id there are 4 Approver names ,against each of these approvers the Response column shows either SENT or APPROVED. So, how will i know by which Approver this Invoice needs
    Re-Approval.
    please could you clarify.
    Thanks
    Pravin
    Edited by: 855902 on Oct 9, 2011 8:28 AM
    Edited by: 855902 on Oct 9, 2011 8:34 AM
    Edited by: 855902 on Oct 9, 2011 8:36 AM

  • AME Payables Invoice Approval

    Hi,
    I'm new to AP module and AME. Currently working on setting up a rule in AME for Payables Invoice approval. Here is the rule - If Invoice amount is greater than $50 it needs an approval from manager level1. I'm getting this
    Error : "This transaction's requestor lacks a person ID, so AME cannot locate the requestor's supervisor to begin the chain of authority."
    So I found out that I have to use attribute TRANSACTION_REQUESTOR_PERSON_ID which needs requester ID.
    1. How do I populate the REQUESTER_ID in AP_INVOICES_ALL.
    2. How to I stop the approval to only one job level.
    Please let me know.
    Thanks in advance.

    Follow the following steps to do the personlization:
    Open the AP Invoice window. Go to Help --> Diagnostics --> Custom Code --> Personalize
    Enter a sequence and description as desired.
    Condition tab:
    Trigger Event: WHEN-VALIDATE-RECORD
    Trigger Object: INV_SUM_FOLDER
    Condition: :INV_SUM_FOLDER.REQUESTER_ID is null
    Actions Tab:
    Seq: 1
    Type: Property
    Object_type: Item
    Target Object: INV_SUM_FOLDER.REQUESTER_NAME
    Property Name: Value
    Value: =select full_name from per_all_people_f
    where person_id = (select employee_id from FND_USER
    where user_id = :INV_SUM_FOLDER.CREATED_BY)
    and sysdate between effective_start_date and effective_end_date
    Seq: 2
    Type: Property
    Object_type: Item
    Target Object: INV_SUM_FOLDER.REQUESTER_ID
    Property Name: Value
    Value: =select to_char(person_id) from per_all_people_f
    where person_id = (select employee_id from FND_USER
    where user_id = :INV_SUM_FOLDER.CREATED_BY)
    and sysdate between effective_start_date and effective_end_date
    Save and validate the personalization. Close all window, open the invoice window again and enter the invoice details. Upon saving the invoice header, the person name and id will be populated automatically.
    Ensure that an employee is attached to the person entering the transaction (in the user definition screen).
    Hope this helps
    Vinit

  • Error in Invoice Approval API

    Hi,
    We are facing the below error while using standard API (ap_approval_pkg.approve) to approve an Invoice in R12.
    The API is a part of custom workflow, which is used for the invoice approval process.
    DECLARE
    ERROR at line 1:
    ORA-20001: APP-SQLAP-10000: ORA-06502: PL/SQL: numeric or value error: NULL
    index table key value occurred
    in
    AP_APPROVAL_PKG.Approval_Init<-AP_APPROVAL_PKG.Approval<-APXAPRVL
    with parameters (&PARAMETERS)
    while performing the following operation:
    Set Options from Cache
    ORA-06512: at "APPS.APP_EXCEPTION", line 72
    ORA-06512: at "APPS.AP_APPROVAL_PKG", line 1698
    ORA-06512: at line 22
    If any one has faced similar issue please let us know.
    Regards,
    Syed

    Hi,
    I am facing the same error. Do anyone knows the solution?
    Regards,
    Hatim Ali Asgher

  • Accounts payable invoice approval

    Hello All,
    I am working on AP invoice approval workflow, i wanted to know whether there is any standard workflow for this.
    Cheers
    Manish

    Hi Manish,
    For Non-Po Invoices(Which uses Business Object FIPP) please check workflow templates WS00400004 and WS10000051.
    However for PO Invoices(Which uses Business Object BUS2081), i did not find any standard workflow templates.
    However you can build your own workflows based on the requirement you have.
    You can check workflow templates  and event linkages in transaction SWETYPV.
    Hope this helps.
    Please reward points if the hint is found useful.
    Thanks & Regards,
    Venkat

  • Possible values for AP Invoice Approval Status  in fnd_lookups

    Hi,
    I have a EBS system deployed which is currently like a black box for me and iam doing some reporting on the top of it.
    i need to find out the possible values of AP Invoice Approval Status in fnd_lookups , fnd_lookup_values or some other tables Defined in that system.
    Something like the below is use for employee expense status
    SELECT LOOKUP_CODE FROM FND_LOOKUP_VALUES WHERE FND_LOOKUP_VALUES.LOOKUP_TYPE= 'EXPENSE REPORT STATUS' AND FND_LOOKUP_VALUES.LANGUAGE = USERENV('LANG')

    Please see if Oracle Payables Guides available at http://www.oracle.com/technetwork/documentation/applications-167706.html helps.
    Thanks,
    Hussein

  • How to track the invoice approval in Apps?

    Hi Gurus,
    I have a scenario, that one invoice is entered, then it was approved and then paid. Now i want to track, who approved the invoice. AP invoice approval workflow is not used.
    Is it possible to achieve the same? if yes then how.
    A quick help is what is needed as this issue is most urgent.
    Thanks in advance!
    Regards,
    A.B.

    Hi.
    As far as i know, there is no standard functionality to suit your needs. Even if you use a query to find the invoice status how would you know who approved it? The field LAST_UPDATED_BY will contain the user id of the user who made the last update. But how would you know that the last updated field was the approval status?
    About space consuming perhaps it will not be so relevant as you would only be looking at a table and a few fields.
    Just my two cent...
    Octavio

  • SAP Report of Invoice Approver

    Our company has recently implemented SAP, and not many people are familiar with the system and how to run reports.  I would like to run a report that consists of the following fields:
    Invoice Number
    Invoice Date
    Invoice Amount
    Vendor Number
    Vendor Name
    Invoice Approver (ID)
    Invoice Approver (Name)
    Approval Date
    Can anyone help determine which SAP transaction code I can use?  Or can someone give me a tip on how to obtain such a report from SAP?
    Thanks in advance!

    Hi
       Check for transaction MIRO. Also you need to create a report program getting fields from different tables such as BS
    BSAD BSAK BSAS.
    Hope it helps!
    Viquar Iqbal

Maybe you are looking for

  • Retrieve latest revision of a file from perforce using web url

    Hello, I am trying to retrieve the latest revision of a file from perforce using the web url and powershell. e.g. $Pforce = "perforce.test.com/@md=d&cd=//music/Database/DBA%20Scripts/&cdf=//msc/Database/DBA%20Scripts/20scrub%20script.sql&c=don@//musi

  • How to parse flat file

    What I have is a tab delineated file. Example - ACP     047     047     047     09072011     600058          MIX35     T6          097     429097068158900300     PLUS     12312011     TEST      JAMIE     1397090     0000000     000     001     000000

  • Has anyone else experienced persistent "iPhoto unexpectedly quit" since last weeks upgrade to Lion 10.7.3?

    I am getting persistent "iPhoto unexpectedly quit" since last weeks upgrade to Lion 10.7.3? It is usually preceded by a warning that the library is corrupted and needs to be repaired. I can still see the supposedly bad photos in Aperture without prob

  • Authorised new 2nd Comp but cant play downloaded tunes from itunes store

    Having just bought a new laptop as my old comp died I am having great difficulty getting my music that I have bought from itunes onto this comp. I am getting a message saying authorised comp successful however when i click on one of the songs on itun

  • Adobe Photo Shop

    Does anyone around here use Adobe Photo Shop?? I just got it and im trying to learn it!!! It's hard, just looking for some tips and trick on how to use it. Thanks!!