Iexpenses search page - Expense report number li
The standard Iexpenses search page has the following layout in the PG xml file for expense report number.
Its a message styled text item - ReportNumberEnabled, which has no fireaction/firepartialaction against it, and a destination property is provided.
In the UI, it appears as a link and when user clicks on the link, it shows details related to the expense report.
I need to extend the page controller, handle the link click event in PFR and perform some validations.
Since the item is not a link and there is no action assigned to it, how do I handle the link click event.
Thanks,
Arun..
============================================
/oracle/apps/ap/oie/history/webui/ExpenseReportsPG 120.6.12010000.6
<ui:contents>
<oa:switcher id="ReportNumField" regionName="Report Number Switcher" standalone="true" prompt="Report Number" viewName="HistoryReportsVO" viewAttr="ReportNumberField" sortState="descending" userCustomizable="true">
<ui:case id="case11" name="ReportNumberEnabled">
<oa:messageStyledText id="ReportNumberEnabled" prompt="Report Number" viewName="HistoryReportsVO"
destination="OA.jsp?OAFunc=OIEMAINPAGE&startFrom=History&ReportHeaderId={!ReportHeaderId}&&OIERefreshAM=Y&retainAM=Y" shortDesc="Report Number" promptTranslationExpansion="100%"
userCustomizable="true" queryable="false" selectiveSearchCriteria="false" viewAttr="ReportNumber"/>
</ui:case>
<ui:case name="ExpenseLinesOldUrl">
<oa:messageStyledText id="ExpenseLinesOldUrl"
destination="OA.jsp?callType=W&akRegionCode=OIEINQUIRIESMAINPAGE&akRegionApplicationId=200&flowApplicationId=178&flowCode=ICX_INQUIRIES&pageApplicationId=178&pageCode=ICX_AP
_EXP_LINES_D&WPARAMSREPORT_FOREIGN_KEY={@ReportPrimaryKey}&WPARAMSDOCUMENT_TYPE={@DocumentType}&userCustomizable=Y&retainAM=Y&reportNum={@ReportNumber}" dataType="VARCHAR2"
shortDesc="View listing of the expense lines" viewAttr="ReportNumber"/>
</ui:case>
</oa:switcher>
</ui:contents>
==============================================
OAF no api as such for this kind of customization. Rather try developing some web service or something similar which can be invoked from the custom link to do the job.
--Shiv
Similar Messages
-
Create Folder with the name of expense report number in SHAREPOINT ?
Hi All,
iExpence - In expense report confirmation page. There is custom link.
Requirement
When user click on link, system should create folder with the name of expense report number in SHAREPOINT and copy copies of expense receipts in the created folder in SHAREPOINT.
Please suggest.
Thanks,OAF no api as such for this kind of customization. Rather try developing some web service or something similar which can be invoked from the custom link to do the job.
--Shiv -
Sort by Expense Report Number in PR05
Hi Gurus
Is there a way to sort out by the Expense Report Numbers in PR05 ?
My client wants to see all the Trips with status "Trip Completed" and "Open/To be Settled", on the top for easy identification, rather than looking for the Expense Report with the above status, scattered among the available Expense Reports in PR05
for "Approval" and "Settlement".
Thank you
RRoyHi,
In PR05, I am not confirm weather sorting is available, however very good filter option is there (Menu -> Edit -> Selection Criteria)
You can filter based on number of combination ( For example "Trip Completed" and "Open/To be Settled")
Regards,
Muhammad Umer -
Expense Report Export does not create Invoice in AP
Hello,
I have created several expense reports in AP (Running EBS R12, I am not using iExpenses), but when I use the Expense Report Export request, the invoices are not created. I have looked online and found some plausible solutions. None of them have worked: I've made sure the Employee payment method is set up; the Usage rules for payables are also set up for Employee Expenses in the payment processing transaction type. In the Payables Option screen, I have selected the Automatic Employee as a Supplier option.
Here's the Expense Report Export log:
Payables: Version : 12.0.0
Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
APXEXPER module: Expense Report Export
Current system time is 29-APR-2013 11:09:53
**Starts**29-APR-2013 11:09:54
**Ends**29-APR-2013 11:09:55
Start of log messages from FND_FILE
Begin Receipts Management - Holds
Process Hold Each Scenario
Determine whether to place Holds
Process Hold All Scenario
Determine whether to place Holds
Process Hold BothPay Scenario
Determine whether to place Holds
Process Obsolete Holds
Obsolete Holds
Obsolete Both Pay Holds
Begin Processing Individual expense reports
Fetching expense report...
Expense Report Number : **110**
Transfer Attachments option(Y/N):Y
Fetching expense report...
Expense Report Number : **REEMBOLSO 25ABR2013**
Transfer Attachments option(Y/N):Y
Fetching expense report...
Expense Report Number : **TEST_ASTRID_EXPENSE**
Transfer Attachments option(Y/N):Y
Fetching expense report...
Expense Report Number : **TEST_EXPENSE_AGSV**
Transfer Attachments option(Y/N):Y
Fetching expense report...
Expense Report Number : **101**
Transfer Attachments option(Y/N):Y
Fetching expense report...
Credit Card Expenses Fetched = 0
Credit Card Invoices Created = 0
Call Payables Open Interface
Expenses Fetched = 5
Invoices Created = 0
End of log messages from FND_FILE
Executing request completion options...
------------- 1) PRINT -------------
Printing output file.
Request ID : 4105067
Number of copies : 0
Printer : noprint
Finished executing request completion options.
Concurrent request completed successfully
Current system time is 29-APR-2013 11:09:55
What else do I need to do? Am I missing something?
Thanks in advance,
AstridI found the answer and I am posting it here in case someone else needs it:
You need to run the Expense Report Export with the Debug Switch on (you can find this under the request's parameters). When the output is ready, just select "View Log..." and search for the "REJECT CODE"; it will let you know what went wrong with your expense report. In my case, the suppliers I was using had invalid liability accounts. As soon as I updated them, the invoices were generated.
Regards,
Astrid -
Can't find Expense Report process in Find Process in Workflow - Urgent
Hi,
I have a submitted expense report. I tried to search for the Expense Report number in the Find Process window in Workflow administrator responsibility.
But it did not give me any result. When I query ap_expense_report_headers_all using below query for the same Expense Report number, i got the data.
<strong>select * from ap_expense_report_headers_all where invoice_num = 'WEX308147'</strong>
Then i tried searching for the notifications recieved by the Approver of the Expense Report. Enter Approver Name in TO Field in Find Notifications window in Workflow Administrator resp. But no notifications are available in that approver list.
When i query in the APPS.wf_notifications table for notification from this process, i could find that the notification is in closed status.
Can some one help with the pointers, why the Expense Report is not displayed in Find Process window and Notification is not displayed in the Find Notifications window?
Regards
RamTry using the Status Monitor in the Workflow Administrator
use APEXP as the 'Type Internal Name'
change the 'Workflow Started' to 'Today'
The item Key for your workflow should be the expense report number, pick yours and drilldown in to the workflow to see where you it is waiting. -
Hi,
I am getting following error while running the Expense report export concurrent.
Begin Receipts Management - Holds
Process Hold Each Scenario
Determine whether to place Holds
Process Hold All Scenario
Determine whether to place Holds
Process Hold BothPay Scenario
Determine whether to place Holds
Process Obsolete Holds
Obsolete Holds
Obsolete Both Pay Holds
Begin Processing Individual expense reports
Fetching expense report...
Expense Report Number : **2398439823**
Transfer Attachments option(Y/N):N
Fetching expense report...
Expense Report Number : **27-MAY-2013**
Transfer Attachments option(Y/N):N
Fetching expense report...
Expense Report Number : **3983893**
Transfer Attachments option(Y/N):N
Fetching expense report...
Expense Report Number : **27-MAY-2013**
Transfer Attachments option(Y/N):N
Fetching expense report...
Expense Report Number : **894893**
Transfer Attachments option(Y/N):N
Fetching expense report...
Credit Card Expenses Fetched = 0
Credit Card Invoices Created = 0
Call Payables Open Interface
Expenses Fetched = 5
Invoices Created = 0
Pls help me to find out the issue.
Regards
SivaHi Siva,
have checked the log file, the reason for rejection of all expense reports is due to the reason INVALID ASSIGNMENT. This normally happens when there is a missing configuration in the sequential NUmbering feature ....
If the Sequential Numbering profile option is enabled, then you must have defined a document sequence ... if you did not then you have to change the profile option Sequential Numbering value to NOT USED. So that system would not look for Sequences when performing import ....
Also check the below references and make the change as suggested .. that would resolve your issue ..
References:
AP: Apxiimpt Invalid Assignment Sequence Assigned To Specified Document Category [ID 235699.1]
Invoice Import rejects invoices with Invalid Assignment Reject Code [ID 106178.1]
Regards,
Ivruksha -
Hi All,
I am having small issue and I have never worked on OAF before. I have a requirement where I need to hide a column on OAF page.
When logged into iExpense home page, and click Create Expense Report
1. Log into iExpenses in Oracle Applications.
(N) iExpenses > Expenses
2. In the Shortcuts below the Expenses Home tab, click Create Expense Report.
3. Enter the general information in the respective fields, such as purpose, expense cost center, approver, reimbursement currency, and expense template. Indicate if you have foreign currency receipts.
4. Click Next.
5. Enter the expense information: date, receipt amount, expense type, justification, and details.
In the above page, one Check box option called (Includes Tax) column is there. I need to Hide this column from that page and that too only for a particular ORG.
The main reason behind this is, that checkbox is always checked and users sometimes while creating expense report, unchecking that checkbox which is creating some problems in the tax side calculations.
Any idea of how we can chieve this.
Help Appreciated.
ThanksIf you are on the personalization page, you should be able to the page structure. It will all the page components. Find your relevant table, expand it and personalize the column you need to hide.
--Shiv -
IExpense Create Expense Report Page - Entity Value
Hi All,
IExpense Create Expense Report Page has an entity value by default . I am not sure that whether it is based on responsibility login or on employee login .
1) Pls let me know if you know it .
In Create Expense Report Page , department value can be selected by the user . Now I have selected a department which does not belong to the default entity . In this case I am able to create the expense report but with default entity code combination .
2)I need to customize the entity value based on the selected department.But I could not track where the entity value is being set.
Any suggestions to start it off ??
Thanks,
ThavamDear Thavam,
You need to decompile your Controller and AMImpl class files and understand the underlying logic. Thereafter you can identify a solution to extend the controller and introduce the solution. -
Unable to Extend the VO of iExpense "Create Expense Report"
Hi OAF Gurus,
I have done several VO Extensions successfully but facing issues in this one.
Screen shots an be seen at : (+Tech Stack , Development Steps+ )
[http://picasaweb.google.com/chaitanyadubey/IExpenseVOExtension#|http://picasaweb.google.com/chaitanyadubey/IExpenseVOExtension#]
What is our Requirement?
We have implemented Oracle iExpense Module, in which SSI needs to customize the ‘Create Expense Report’ User Interface (OAF page)
Specifically on this page (‘Create Expense Report’), we need to hide/show certain input fields based on the ‘Expense Type’ selected by the user.
What is our Approach?
I have identified ‘VO Extension’ (BC4J View Object Extension) as the standard approach for meeting this requirement.(Recommended by Oracle)
What I want to do is , Extend the underlying oracle’s VO object, add a transient attribute type ‘Boolean’, generate the RowImpl of extended VO, write logic in Getter of transient attribute, to return TRUE/FALSE based on expense type.
Using personalization add the SPEL expression to the field we want to Hide/show.
What is going wrong?
I extend Oracle’s VO
I add a transient Attribute.
Execute the Page, this gives an error : JBO-26000: A Generic exception occurred during loading Customizations
What we could do?
We could extend and add attributes to other oracle’s VO(s) on this page, which means we know how to do VO Extensions
Details :
We need to extend oracle's VO and add a transient attribute.
### Steps to Reproduce the issue ###
Step 1
Created a new OAWorkSpace and new OAProject
Added Oracle's package (oracle.apps.ap.oie.server) to project
Added the Page File "/oracle/apps/ap/oie/entry/header/webui/GeneralInformationPG.xml"
Create a new VO (ssi.oracle.apps.ap.oie.server.DetailReceiptBasedVOEx) , Extend Oracle's
VO oracle.apps.ap.oie.server.DetailReceiptBasedVO
click .jpx file to go to Subsitution and replace oracle's VO (DetailReceiptBasedVO) with custom VO
(DetailReceiptBasedVOEx)
Click Run Option in JDEV and -Djbo.project=OAProjectLast (OAProjectLast being name for our project)
Run "GeneralInformationPG", enter "propose" field, press Next.
Brings us to "Cash and Other Expenses" page
Click on "Details"
This takes the user to "/oracle/apps/ap/oie/entry/lines/webui/ExpenseDetailsPG" page
All pages work , no problem.
we can go to "about this page" so see that the substitution is done properly.
Step 2:
Add a Transient Attribute in ssi.oracle.apps.ap.oie.server.DetailReceiptBasedVOEx (tried , with
passivate,without passivate option , no luck)
Run "GeneralInformationPG", enter "propose" field, press Next.
Brings us to "Cash and Other Expenses" page
Click on "Details"
ERROR (stack Trace attached)
(if we remove this transient variable then code works fine)
EXCEPTION STACK TRACE:
Error Page
Exception Details.
oracle.apps.fnd.framework.OAException: oracle.jbo.PersistenceException: JBO-26000: A Generic exception occurred during loading Customizations. at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:891) at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:865) at oracle.apps.fnd.framework.OAException.wrapperInvocationTargetException(OAException.java:988) at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:211) at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:707) at oracle.apps.ap.oie.webui.DetailMainCO.processRequest(DetailMainCO.java:110) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:581) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247) at oracle.apps.fnd.framework.webui.beans.layout.OAFlowLayoutBean.processRequest(OAFlowLayoutBean.java:351) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247) at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247) at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1133) at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247) at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247) at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353) at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2318) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1717) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:502) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:423) at OA.jspService(OA.jsp:40) at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306) at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:209) at com.evermind.server.http.GetParametersRequestDispatcher.forward(GetParametersRequestDispatcher.java:189) at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:199) at OA.jspService(OA.jsp:45) at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106) at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803) at java.lang.Thread.run(Thread.java:534) ## Detail 0 ## java.lang.IndexOutOfBoundsException: Index: 146, Size: 145 at com.sun.java.util.collections.ArrayList.RangeCheck(ArrayList.java:492) at com.sun.java.util.collections.ArrayList.set(ArrayList.java:322) at oracle.jbo.server.ViewDefImpl.resolveDefInternal(ViewDefImpl.java:2478) at oracle.jbo.server.ViewDefImpl.loadFromXML(ViewDefImpl.java:2333) at oracle.jbo.server.ViewDefImpl.loadFromXML(ViewDefImpl.java:1909) at oracle.jbo.server.MetaObjectManager.loadFromXML(MetaObjectManager.java:509) at oracle.jbo.mom.DefinitionManager.loadLazyDefinitionObject(DefinitionManager.java:456) at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:313) at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:269) at oracle.jbo.server.MetaObjectManager.findMetaObject(MetaObjectManager.java:649) at oracle.jbo.server.ViewDefImpl.findDefObject(ViewDefImpl.java:376) at oracle.jbo.server.ApplicationModuleImpl.createViewObject(ApplicationModuleImpl.java:3189) at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.createViewObject(OAApplicationModuleImpl.java:1008) at oracle.apps.ap.oie.server.DetailAMImpl.getOneReceiptBasedVO(DetailAMImpl.java:3041) at oracle.apps.ap.oie.server.DetailAMImpl.getDetailLineVO(DetailAMImpl.java:200) at oracle.apps.ap.oie.server.DetailAMImpl.initDetailLinesVO(DetailAMImpl.java:413) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:190) at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:707) at oracle.apps.ap.oie.webui.DetailMainCO.processRequest(DetailMainCO.java:110) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:581) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247) at oracle.apps.fnd.framework.webui.beans.layout.OAFlowLayoutBean.processRequest(OAFlowLayoutBean.java:351) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247) at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247) at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1133) at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247) at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247) at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353) at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2318) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1717) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:502) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:423) at OA.jspService(OA.jsp:40) at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306) at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:209) at com.evermind.server.http.GetParametersRequestDispatcher.forward(GetParametersRequestDispatcher.java:189) at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:199) at OA.jspService(OA.jsp:45) at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106) at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803) at java.lang.Thread.run(Thread.java:534) java.lang.IndexOutOfBoundsException: Index: 146, Size: 145 at com.sun.java.util.collections.ArrayList.RangeCheck(ArrayList.java:492) at com.sun.java.util.collections.ArrayList.set(ArrayList.java:322) at oracle.jbo.server.ViewDefImpl.resolveDefInternal(ViewDefImpl.java:2478) at oracle.jbo.server.ViewDefImpl.loadFromXML(ViewDefImpl.java:2333) at oracle.jbo.server.ViewDefImpl.loadFromXML(ViewDefImpl.java:1909) at oracle.jbo.server.MetaObjectManager.loadFromXML(MetaObjectManager.java:509) at oracle.jbo.mom.DefinitionManager.loadLazyDefinitionObject(DefinitionManager.java:456) at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:313) at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:269) at oracle.jbo.server.MetaObjectManager.findMetaObject(MetaObjectManager.java:649) at oracle.jbo.server.ViewDefImpl.findDefObject(ViewDefImpl.java:376) at oracle.jbo.server.ApplicationModuleImpl.createViewObject(ApplicationModuleImpl.java:3189) at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.createViewObject(OAApplicationModuleImpl.java:1008) at oracle.apps.ap.oie.server.DetailAMImpl.getOneReceiptBasedVO(DetailAMImpl.java:3041) at oracle.apps.ap.oie.server.DetailAMImpl.getDetailLineVO(DetailAMImpl.java:200) at oracle.apps.ap.oie.server.DetailAMImpl.initDetailLinesVO(DetailAMImpl.java:413) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:190) at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:707) at oracle.apps.ap.oie.webui.DetailMainCO.processRequest(DetailMainCO.java:110) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:581) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247) at oracle.apps.fnd.framework.webui.beans.layout.OAFlowLayoutBean.processRequest(OAFlowLayoutBean.java:351) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247) at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247) at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1133) at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247) at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:937) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:904) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247) at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353) at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2318) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1717) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:502) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:423) at OA.jspService(OA.jsp:40) at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306) at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:209) at com.evermind.server.http.GetParametersRequestDispatcher.forward(GetParametersRequestDispatcher.java:189) at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:199) at OA.jspService(OA.jsp:45) at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106) at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803) at java.lang.Thread.run(Thread.java:534)
I would like all OAF Masters to carefully look at this issue and tell me where do they think is going wrong.
Thanks
ChaitanyaHi Sumit,
I removed the subsitution => page works
I extended the VO, "without" adding transient attriute , made the subsitution => page works
I tried adding a transient attribute of type String / Varchar2 => page does not work, same error , no luck !
Thanks for the help ,pls let me know if you have any other ideas.
Regards
-Chaitanya -
How to Derive the Card Number from Expense report Invoice
Hi,
How can we derive Card Number(iExpense) from Expense Report Invoice number.
By expense report invoice number i mean, once the expense reports are created in iExpense we import those reports into payables which in turn will create an Invoice.
I want to find the Card Number which on the credit card transactions(ap_credit_card_trxns_all) from Invoice Number, How can we do this.
Thanks
Sandeepyou can try this query
select aid.distribution_line_number,acct.card_number
from ap_invoices ai, ap_invoice_distributions aid, ap_expense_report_lines aerl, ap_expense_report_headers aerh, ap_credit_card_trxns acct
where ai.invoice_id = aid.invoice_id
and ai.invoice_id = aerh.vouchno
and aerh.report_header_id = aerl.report_header_id
and aid.distribution_line_number = aerl.distribution_line_number
and aerl.credit_card_trx_id = acct.trx_id(+)
and aerh.invoice_num -
How can I get the project number to be included in my expense report query?
..afternoon gurus.
As title suggests, I need to include the project number in my script for the users.
I've everything else but I've noticed even with the project number specified in the application (in Step 3), the database table (I'd thought that it should have been in the AP_EXPENSE_REPORT_LINES_ALL.project_id but it ain't).
Where is it located..?
code so far..
-- COMPLETE i-EXPENSES details of all outstanding expense claims..
-- COMPLETE i-EXPENSES details of all outstanding expense claims..
SELECT DISTINCT
erh.week_end_date "Expense Report Date", erh.attribute_category, erh.attribute5,erh.last_updated_by,
erl.report_line_id, erh.invoice_num, erh.creation_date, -- erh.SOURCE,
erh.expense_last_status_date "Last Update", pap.full_name "Employee claiming..",
erh.override_approver_name "ER Approver",erh.report_submitted_date "Submit date",
DECODE(NVL(erh.expense_status_code, 'Not yet Submitted (NULL)'), 'CANCELLED', 'CANCELLED',
'EMPAPPR', 'Pending Individuals Approval', 'ERROR', 'Pending System Administrator Action',
'HOLD_PENDING_RECEIPTS ', 'Hold Pending Receipts', 'INPROGRESS', 'In Progress', 'INVOICED', 'Ready for Payment',
'MGRAPPR', 'Pending Payables Approval', 'MGRPAYAPPR', 'Ready for Invoicing', 'PAID', 'Paid',
'PARPAID', 'Partially Paid', 'PAYAPPR', 'Payables Approved', 'PENDMGR', 'Pending Manager Approval',
'PEND_HOLDS_CLEARANCE', 'Pending Payment Verification', 'REJECTED', 'Rejected', 'RESOLUTN', 'Pending Your Resolution',
'RETURNED', 'Returned', 'SAVED', 'Saved', 'SUBMITTED', 'Submitted', 'UNUSED', 'UNUSED',
'WITHDRAWN','Withdrawn', 'Not yet Submitted (NULL)') "Expense Status Code" ,
fu.description "Administrator", erl.item_description,
-- gcc.segment1|| '.' || gcc.segment2|| '.'|| gcc.segment3|| '.'|| gcc.segment4|| '.'|| gcc.segment5 "GL code",
erl.amount, erl.attribute_category, --erh.total,
erh.description
FROM
AP_EXPENSE_REPORT_HEADERS_all erh, AP_EXPENSE_REPORT_LINES_ALL erl,
per_all_people_f pap, fnd_user fu -- gl_code_combinations gcc,
WHERE erh.employee_id = pap.person_id
AND fu.user_id = erh.created_by
AND erl.report_header_id = erh.report_header_id
-- AND erl.code_combination_id = gcc.code_combination_id
AND erh.invoice_num IN ('EXP74185')
AND erh.creation_date > '04-oct-09'
ORDER BY 3 DESC;thanks for looking...
SProject_id In Ap_expense_report_lines_all Is Null In Oie.K. Is This Intended Functionality ? [ID 437559.1]
In OIE.J and below , the project_id value was stored in AP_EXPENSE_REPORT_LINES_ALL table.
From OIE.K an on ,the column name project_id was obsolete in ap_expense_lines_all table,
and was added in table ap_exp_report_dists_all. -
Hide 'No data found' msg in report region when you 1st click search page
Hi,
(sorry if it's confusing but my APEX is in FRENCH and I tried to translate)
I created a search page in my application.
1- I have an HTML region, with a search box and I search button
2- I've got a report region (PL/SQL source) which sometimes returns no data, giving a 'No Data Found.' message.
When I click on the search page for the 1st time (on my navigation bar), I would like to HIDE the report region so I don't have the " No Data Found" message.
Only Once we click on the search button and there is no result, I want to have the message "No Data FOund"
How can I achieve this?
thanks
Roseline1. create a hidden element on your page (P1_HIDDEN_ELEMENT)
2. put your No Data Found message in a span tag
<span id="no_data_found">No Data Found</span>3. create an on load computation to set your P1_HIDDEN_ELEMENT to 'no_data_found' if it is NULL and to set it to ' ' if it is NOT NULL - type PL/SQL Function Body
BEGIN
IF :p1_hidden_element IS NULL
THEN
RETURN '<script>html_HideElement(''no_data_found'');</script>';
ELSIF :p1_hidden_element IS NOT NULL
THEN
RETURN ' ';
END IF;
END;4. Put this into the page footer:
&P1_HIDDEN_ELEMENT.The other solution would be to create a display region - pure HTML and to display that first. Once the search is started that region would remain hidden and only the report would show up.
Denes Kubicek
http://deneskubicek.blogspot.com/
http://www.opal-consulting.de/training
http://apex.oracle.com/pls/otn/f?p=31517:1
http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
------------------------------------------------------------------- -
Default Value in Number field in Travel Expense Report
Dear All
I have a requirement from my client's side. In the Expense Report, when I coose an expense receipt, say for TAXI, I get a value in the field "Number". I know that the value can be configured or defualted based upon the "From" and "To" date.
My client needs the number field to get defaulted, based on the "Expense Receipt" chosen. For example if somone chooses "Parking Fees" the number field should get defaulted automatically by the value 3 and if somone chooses "Telephone Expenses" the number field should get defaulted automatically by the value 2.
Is there in any user exit or anything that takes care of this?You may take your ABAPer's help to enhence the report.it would be small change.Might be you need access key for this change from your Basis team.
-
Expense Report Summary page does not show any totals - only zeros
Hi All,
On creation of Expense Report in the portal When entering a billable expense report, when you get to the summary page is does not show any totals - only zeros for other two schema's its working fine like displaying totals
we are surprised that any custom development is hitting or anything relates with configuration
Provide valuable inputs to proceed further
Regards
JaipalHello vetsrini.
Thanks a lot for your kind reply. As i said, i'm new to this and sometimes i just cannot pass over some problems. Here are the fields i have inserted:
<?for-each:LIST_G_SETUP/AS_OF_DATE?>
<?end for-each?>
<?for-each@section:G_CUST_INV?>
<?for-each:G_1?>
<?INVNUM?>
<?INVOICE_TYPE_INV?>
<?DUE_DATE_INV?>
<?sum (C_INV_BALANCE)?>
<?sum (C_INV_B0)?>
<?sum (C_INV_B1)?>
<?sum (C_INV_B2)?>
<?sum (C_INV_B3)?>
<?sum (C_INV_B4)?>
<?sum (C_INV_B5)?>
<?end-for-each-group?>
<?TOTAL_INV_AMT_DSP?>
<?TOTAL_INV_B0_DSP?>
<?TOTAL_INV_B1_DSP?>
<?TOTAL_INV_B2_DSP?>
<?TOTAL_INV_B3_DSP?>
<?TOTAL_INV_B4_DSP?>
<?TOTAL_INV_B4_DSP?>
<?end for-each:G_CUST_INV?>
In the header of the template i also have <?CUST_NAME_INV?> and the report date. When i try to enter the <?AS_OF_DATE?> it is not printed and also the header is not shown any longer. Once again, thank you for any help,
Octavio -
How do I print the total number of pages in report, like Page 1 of 5?
Hi
How do I print the total number of pages in report, like Page 1 of 5?
thanks,
kiran.MHi,
Check for the below code:
*Declare a variable
DATA L_PAGE_COUNT(5) TYPE C.
*Copy this code to the end of program
*Page count will be printed on each page here
WRITE SY-PAGNO TO L_PAGE_COUNT LEFT-JUSTIFIED.
DO SY-PAGNO TIMES.
READ LINE 1 OF PAGE SY-INDEX.
REPLACE '-----' WITH L_PAGE_COUNT INTO SY-LISEL.
MODIFY CURRENT LINE.
ENDDO.
TOP-OF-PAGE.
WRITE: /(70) 'Heading' CENTERED, 70 SY-PAGNO,'of ', '-----'.
You will find your solution in below thread with code:
Total Pages in Basic List
Rgds,
Shakuntala
Maybe you are looking for
-
Hey there, The name's Darren. Nice to meet you. While I'm new to posting around these parts, I have been lurking for a little bit. Here's the deal: I work for another part of HP -- I run the blog, thenextbench.com. There, I'm working on various stori
-
Deleted Photos appear again after iPhoto-Restart
Hi, I am using a large iPhoto-Library from a Samba-shared directory. This works fine for a long time. I just realised that deleting of photos and events seems to be buggy: 1. When tragging a Photo to iPhoto-trashbin in still appears as an events, but
-
Introspector calling the Base Class multiple times
Hi I am having a Java Bean C (which extends B which in turn extends A) ...and each of these Classes have the BeanInfo classes .. ABeanInfo , BBeanInfo , CBeanInfo.... And i had written my beaninfos such a way that they are optimised by extending the
-
[ER] commandImageLink attribute names
Hello, Currently commandImageLink has Icon attributes. However, those attributes expect URI values and not icon values, so I think the attribute names should be changed to Image. Regards, ~ Simon
-
Adobe Reader for Sony Ericsson P990?
Is there available a version of Adobe Reader for the Sony Ericsson P990? Thanks.. Ricardo Ramírez