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
Similar Messages
-
Payables Error for Invoice Approval in Oracle Workflow
Hi
Product Oracle Payables
Product Version 11.5.10.2 (VISION Instance)
We need to implement the AP workflow/approvals in Payables,have set-up Approvals Management(AME) for AP invoice approval in the vision instance.
Create a invoice Payables and initiated approval process found the below error in wf_notifications
Error in Workflow APINV/63401_1 ORA-01403: no data found ORA-01403: no data found
checked the notifications in the sysadmin responsibility, do find the errors
An Error occurred in the following Workflow.
Item Type = APINV
Item Key = 63401_1
User Key =
Error Name = 100
Error Message = ORA-01403: no data found
ORA-01403: no data found
Error Stack =
AME_ENGINE.doWeakHeaderRuleEvaluation(12732)
AME_ENGINE.evaluateRules(12733)
AME_ENGINE.updateTransactionState(12734)
AME_API2.getNextApprovers4(12735)
AME_API.getNextApprover(12736)
APINV.Get_Approver(APINV, 63401_1, 536104)
Wf_Engine_Util.Function_Call(AP_WFAPPROVAL_PKG.get_approver, APINV, 63401_1, 536104, RUN)
Activity Id = 536104
Activity Label = APINV_M:APINV_IA
Result Code = #EXCEPTION
Notification Id =
Assigned User =
Regards
YramPlease see these docs.
APINV Errors with Ora-01403 in AP_WFAPPROVAL_PKG.get_approver [ID 413840.1]
Invoices Getting Stuck Intermittently In Invoice Approval Workflow With No Data Found Error [ID 1201053.1]
Intermittent Error "3835: ORA-20002: 2018: Unable to Generate the Notification Xml" when Notification is Reassigned through a Vacation Rule [ID 1305504.1]
Thanks,
Hussein -
Hi,
We were trying to implement Invoice Approval Workflow, but in our version 11.5.8 (on Sun SPARC) there was a bug and it was not sending emails to approving users. Then once we put a SR to Oracle Support they said that 11.5.8 is de-supported and there is no bug fix for this version and asked us to upgrade which is not possible at this moment.
So we are finding a solution to where an Invoice Approval out of Oracle Financials. Is there any API for Oracle Invoice Approvals?
Thanks!
Nilaksha.Hi Nilaksha,
I'd want to know the problem you're encountering to see if it can be solved through other methods. If its a core problem then you'd probably strike the same issue trying to call private APIs around Invoice Approvals. Note that the main logic is in the Workflow APINV, so you could reproduce what it does. This course of action would be unsupported.
Regards,
Gareth -
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,
RajivHi,
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 -
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 lotthanks 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 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 -
Invoice Approval Status report ends up in error
Hello Gurus,
I have submitted "Invoice Approval Status" concurrent request and the output was correct desired one but recieved the below error.
REP-0069: Internal error
REP-57054: In-process job terminated:Finished successfully but output is voided
It runs well all the time, but it appeared once. What might be the reason for this and what can I do to avoid this error.
Thanks
Raj936248 wrote:
Hello Gurus,
I have submitted "Invoice Approval Status" concurrent request and the output was correct desired one but recieved the below error.
REP-0069: Internal error
REP-57054: In-process job terminated:Finished successfully but output is voided
It runs well all the time, but it appeared once. What might be the reason for this and what can I do to avoid this error.
Thanks
RajPlease see these docs.
APXINROH errors with REP-0069:Internal Error REP-57054 In-process job terminated:Finished successfully but output is voided [ID 1351791.1]
APXIIMPT - Payables Open Interface Import In Error [ID 1307261.1]
Thanks,
Hussein -
I logined to sysadmin.
I showed thirty mail.
The mail Title is "Local Event ERROR : oracle.apps.ap.event.invoice.approval / 83099_1"
Perhaps...
May be generated, Because Approvals Management setup changed .
What It mean?
How to settlement?
I can't Matalink.
Help me!
Mail contents is as follows
Notificatio ID : 178154
Event Error Name: WFENG_EVENT_NOTFOUND
Event Error Message: 3142: Process 'APINV/82103_1' has no activities waiting to receive event 'oracle.apps.ap.event.invoice.approval'.
Event Error Stack:
Wf_Engine.Event(APINV, 82103_1, APINV_M, oracle.apps.ap.event.invoice.approval)
Wf_Rule.Default_Rule(oracle.apps.ap.event.invoice.approval, ADE4691FB72F04E1E0340003BA0267DC)
Event Detail List:
Event Name: oracle.apps.ap.event.invoice.approval
Event Key: 82103_1
source Agent: WF_DEFERRED
source System INST816.US.ORACLE.COM
the order of priority: 50
Send date: 29-JAN-2008 15:52:26
receive date 29-JAN-2008 15:53:33
Parameter : SUB_GUID A15D214DADC2507EE034
Parameter : ERROR_NAME WFENG_EVENT_NOTFOUND
Parameter : ERROR_TYPE ERROR
----------------------------------------------------------------------------------------------------------------Please check the following notes:
Note: 330194.1 - APINV - WFENG_EVENT_NOTFOUND Event Error Message: 3142: Process 'APINV/10204_1' has no activities waiting to receive event 'oracle.apps.ap.event.invoice.approval'
https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=330194.1
Note: 305700.1 - Invoice Approval Workflow Troubleshooting Guide
https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=305700.1
Note: 261409.1 - Checklist to see where and why Invoice Approval Workflow gets stuck
https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=261409.1 -
sysadmin으로 로그인하면
"로컬 이벤트 ERROR : oracle.apps.ap.event.invoice.approval / 83099_1"라는
제목을 메일이 30개 정도 와 있습니다.
아무래도
제가 "AME 지원 담당자"에서 approval 내용을 좀 변경해서 온거같은데요..
어떤 내용을 의미하는 것이고 사후 대처를 어떻게 해야할 지몰라서요..
메타링크도 안되고...1월 마감이 이제 거의 끝나가는데
이것 때문에 좀 찝찝합니다.ㅠ.ㅠ
상세 메일 내용은 다음과 같습니다.
발신자
수신인 SYSADMIN
발송됨 29-1월-2008 15:53:42
통지 ID 178154
지역 개인 설정
이벤트 등록 이벤트 등록 에서 오류가 발생했습니다.
이벤트 오류명: WFENG_EVENT_NOTFOUND
이벤트 오류 메시지: 3142: Process 'APINV/82103_1' has no activities waiting to receive event 'oracle.apps.ap.event.invoice.approval'.
이벤트 오류 스택:
Wf_Engine.Event(APINV, 82103_1, APINV_M, oracle.apps.ap.event.invoice.approval)
Wf_Rule.Default_Rule(oracle.apps.ap.event.invoice.approval, ADE4691FB72F04E1E0340003BA0267DC)
이벤트 데이터: 이벤트 데이터 URL
기타 이벤트 상세내역:
이벤트 필드 값
이벤트명 oracle.apps.ap.event.invoice.approval
이벤트 키 82103_1
출처 에이전트 WF_DEFERRED
출처 시스템 INST816.US.ORACLE.COM
대상 에이전트
대상 시스템
우선순위 50
발송 일자 29-JAN-2008 15:52:26
수령 일자 29-JAN-2008 15:53:33
상호 관계 ID
매개변수 : SUB_GUID A15D214DADC2507EE034
매개변수 : ERROR_NAME WFENG_EVENT_NOTFOUND
매개변수 : ERROR_TYPE ERROR
----------------------------------------------------------------------------------------------------------------Please check the following notes:
Note: 330194.1 - APINV - WFENG_EVENT_NOTFOUND Event Error Message: 3142: Process 'APINV/10204_1' has no activities waiting to receive event 'oracle.apps.ap.event.invoice.approval'
https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=330194.1
Note: 305700.1 - Invoice Approval Workflow Troubleshooting Guide
https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=305700.1
Note: 261409.1 - Checklist to see where and why Invoice Approval Workflow gets stuck
https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=261409.1 -
AP Invoice Approval- Approve button gives error
Hi all,
I work on oracle applications 11.5.10 and we have modified the AP Invoice approval workflow APINV to send mail notifications to approver.
The mail is sent to a approver mail address in Microsoft outlook web app as intended. But when the approver clicks on APPROVE or REJECT button, we get an error as below.
I could see all the listener agents are up and running. Could anyone please shed some light on this issue.
Error:
Your request couldn't be completed.
This may have occurred for security reasons or because your session timed out.
Thanks,
VickySurehi,
please open a service request with oracle support to analyze the problem.
in portal 10.1.4 we offer an easy way of doing this with our new CMEF (content management event framework). you can easily check for pending items and send out an email.
find more information here:
http://download-uk.oracle.com/docs/cd/B14099_15/portal.1014/b14135/pdg_cm_cmef.htm
regards,
christian -
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 PMHi,
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 -
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,
ManojHi,
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 -
Hi Sourcing Experts,
I am getting the following error while trying to add the approver through the below code .
log.setLogMessage("------------------ Approver Found------------------");
Logger.info(log);
addApprover(ext_legalgroup.getObjectReference(), new CollaboratorApprovalRuleType(0));
Error:
Exception: com.frictionless.api.common.exception.ApplicationException: Restricted To User is set to true on the Collaborator Role Object, so it can only be used with a user principal.Stack Trace: AssociatedAttribute.
Stack Trace: AssociatedAttribute=COLLABORATORS - SourceBo=1577058305:1004:ZMR_DCD_01 - ValidatingParent=1577058305:1004:ZMR_DCD_01 - com.frictionless.api.common.exception.ApplicationException: At least one of the items above is invalid. Mouse over the highlighted area for more details.
at com.frictionless.api.common.exception.ChainedExceptionFactory.createApplicationException(ChainedExceptionFactory.java:90)
at com.frictionless.common.db.PersistentBo.createApplicationException(PersistentBo.java:3160)
at com.frictionless.doc.collection.GeneralCollnBo.createApplicationException(GeneralCollnBo.java:324)
at com.frictionless.doc.collection.GeneralCollnBo.createApplicationException(GeneralCollnBo.java:336)
at com.frictionless.doc.collection.SubCollnBo.validateCollection(SubCollnBo.java:1264)
at com.frictionless.doc.ContainerBo.execValidate(ContainerBo.java:3737)
at com.frictionless.doc.BizDocBo.execValidate(BizDocBo.java:1965)
at com.frictionless.doc.ContainerBo.validate(ContainerBo.ja...
Thanks,
RitikHi Ritik,
I would check the Approver Collaborator Role Definition and make sure Restrict to User checkbox is unchecked.
Collaborator Role Definition can be accessed from Setup --> Document Setup tab.
Regards,
Vikram -
Hi
I need to customize the payable invoices approval method for the legacy data (data migration)
Approach
Get the API which the Workflow is using to approve the Invoices... and customize it... create a concurrent program and submit the concurrent program...
after the data migration is completed enable the workflow...
Can you pls let me know the API name which does the approval opeartion..
I do not want to customize the workflow as it is a one time job...
If there is any changes which can be done in the interface table pls let me know.. if i can do a manual update on to the tables, if possible pls let me know the tables for same.
Regards
YramHi,
We have done an extension on the approval workflow here.
Basically, if you set the WF_APPROVAL_STATUS status of the invoice and corresponding invoice line to ‘WFAPPROVED’ then the invoice is approved. -
Facing error while invoice creation in AR.
Facing error while invoice creation in AR as Please complete your tax accounting flexfield. We are creating invoice through API.
Regards
SridharHi,
Please go through the below Note ID.
Autoinvoice Error On Tax Codes - Please Complete Your Tax Accounting Flexfield [ID 1469285.1]
Regards,
Raju.
Maybe you are looking for
-
My Dad still uses his circa 1998 iMac Rev. D tray loader, since I've kept it alive and up to date by replacing its dead CD-ROM drive from one I bought on eBay, installing more memory (256 MB I think), and OS updates through Panther. He's a cheapskate
-
Can CS5 export *.MTS files?
I use a Panasonic TM700, which records videos in the MTS format. I've had no trouble importing these into Premiere Pro, and the format works really well for me. But I'd like to take my projects, and _export_ them to MTS fils which I can then load ont
-
hi all, question to clarify my understanding of signed applets. got a bog-standard applet. nothing clever or special. got myself a bog-standard cert from thawte. signed the applet and put it on a webserver. displays the correct security notice on fir
-
Next-gen Applet is completely blank on Mac OS X
Hi. I am experiencing a strange behavior on Mac OS X with Java Applets deployed though the JNLP mechanism (i.e., exploiting the next-generation Java Plug-in). For testing purposes, I have developed a VERY SIMPLE applet, just setting a BorderLayout on
-
Data Management Guide and ALE Monitoring Guide
Hi All, I'm looking for two SAP documents (pdf) that have been available in the past. Data Management Guide and ALE Monitoring Guide. Have scoured the net and sap.service.com, but can't find them anywhere. Does anyone know where the latest versions l