iExpense how project and mandatory task on the page for the allocation of expenses

Dear all,

I have an obligation to make the project and the task required on page dynamic allocation fees based on the Department of the user (I have the SQL query that will determine to make the required fields).

I tried following approaches, but both were not worked:
Approach 1. Extended handle to oracle.apps.ap.oie.entry.accounting.server.AllocationsHeaderVO, oracle.apps.ap.oie.entry.accounting.server.AllocationsLineVO and oracle.apps.ap.oie.entry.accounting.server.ExpenseAllocationsVO of the oracle.apps.ap.oie.entry.accounting.webui.ExpenseAllocationsPageCO, and loop through the lines to check if the project or the task mentioned.
But it is not like the VO in the HGrid and I find not rows in the ExpenseAllocationsVO. Therefore not able to check for the project and the task.

Appraoch2. I expanded the EO oracle.apps.ap.oie.schema.server.ApExpenseReportDistEO
in scope, I put the following code, but still it does not generate the message when the project and the task have not specified in the line:

public void setProjectId (number)
{
String result = checkAccount();
{if ("Yes". Equals (result))}
if(Number == null) {}
throw new OAAttrValException (OAException.TYP_ENTITY_OBJECT,
getEntityDef () .getFullName (), / / name of EO
getPrimaryKey(), / / EO PK
"ProjectID", / / name of attribute
number, / / attribute value
'XXTEK', / / short name of the product
"XXTEK_PROJECT_OR_TASK_IS_NULL"); Name of the message
}
}
setAttributeInternal (43, numbers);
}
public void setTaskId (number)
{
String result = checkAccount();
{if ("Yes". Equals (result))}
if(Number == null) {}
throw new OAAttrValException (OAException.TYP_ENTITY_OBJECT,
getEntityDef () .getFullName (), / / name of EO
getPrimaryKey(), / / EO PK
"TaskId", / / name of attribute
number, / / attribute value
'XXTEK', / / short name of the product
"XXTEK_PROJECT_OR_TASK_IS_NULL"); Name of the message
}
}
setAttributeInternal (44, number);
}

public String checkAccount() {}
OADBTransaction DbTransaction = getOADBTransaction();
OraclePreparedStatement ch = null;
OracleResultSet rs = null;
String query = null;
String result = null;
try {}
Query = 'SELECT count (*).
+' Fnd_user FU"
+', per_all_people_f women's WEAR.
+', per_all_assignments_f ADP"
+', gl_code_combinations CCG.
+ ' WHERE FU.user_id = FND_PROFILE.value ('USER_ID')"
"+" AND FU.employee_id = PAPF.person_id "
"+" AND trunc (sysdate) between trunc (papf.effective_Start_date) and trunc (papf.effective_end_date) "
"+" AND PAAF.person_id = PAPF.person_id "
' +' AND PAAF.assignment_type = 'E "".
' +' AND PAAF.primary_flag = 'Y "".
"+" AND trunc (sysdate) between trunc (paaf.effective_Start_date) and trunc (paaf.effective_end_date) "
"+" AND PAAF.default_code_comb_id = GCC.code_combination_id "
+' and gcc.segment2 in (select lookup_code from the TEK_LOOKUP_VALUES where lookup_type = 'TEK_iEXPENSE_PROJECT_MANDATORY_DEPTS');

PS = (OraclePreparedStatement) DbTransaction.createPreparedStatement (query, DBTransaction.DEFAULT);
RS = (OracleResultSet) ps.executeQuery ();
If (rs! = null & & RS.) Next {}
int count = rs.getInt (1);
If (count > = 1).
result = "YES";
Another result = "NO";
} else {}
result = "NO";
}

} catch (Exception e) {}
throw new OAException (e.getMessage ());
} {Finally
try {}
If (rs! = null) () rs.close;
If (ps! = null) ps.close ();

} catch (Exception e) {}

}
}
return the result;
}
I imported the substitution and verified by the functional administrator responsibility, substitution is correct.

Please let me know where I'm missing.

Concerning
DEVENDER yannick

Well, it seems you are doing Internet Expenses, correct? Look at the profile options for each employee in the Administration of the Oracle system. Profile option would be fixed "PA: allows to project time and expense entry" = "Yes" to allow the entry of project expenditure. I guess it's done, since you can see the fields to enter information about the project. Then look at the profile option ' GOOSE: allow projects. " That profile option should be set = "Required", for what you are wanting to do. I think maybe it's the value 'Yes '. So I would first look at the profile options. You can do this job more difficult it must be. Make sense?

John Dickey

Tags: Oracle Applications

Similar Questions

  • Do you know how to copy certain tasks in the calendar and the past on different days?

    Do you know how to copy certain tasks in the calendar and the past on different days?

    This year, I even tasks to every month, so it is difficult for me to create new tasks for the same information. I can't find how to copy beyond the tasks, so if someone could help me I aprecciate it.

    Thanks in advance!

    Select, press COMMAND = C to copy it to the Clipboard; Select the date that you want a copy with the mouse, them press COMMAND\-V to paste. If you want a repetitive task, you can select the item and double-click it to open it, and then the pop up config, select repeat.

  • I recently created a form to complete for the app e-business of the company. When you press the button submit, he only sent to our Inbox to project and not sent to the e-mail provided in the URL. Can someone help us to program the key to help explain why.

    I recently created a form to complete for the app e-business of the company. When you press the button submit, he only sent to our Inbox to project and not sent to the e-mail provided in the URL. Can someone help us to program the key to help explain why / tell us step by step what we should do?

    OK, I re-read your question. It's actually expected behavior. The user must manually send the email.

    If you want it to be a silent process, then you must either install a script on the local computer of the user who will do this, or use any email but something as a service web to which you directly submit the form data.

  • Have 13 on PC elements. Although I can hear audio on video playback in HD Writer AE 3.0 when I start a new project and add video to the first edit there is no audio. Tried to help but could not find an answer to my problem. Can anyone help?

    Have 13 on PC elements. Although I can hear audio on video playback in HD Writer AE 3.0 when I start a new project and add video to the first edit there is no audio. Tried to help but could not find an answer to my problem. Can anyone help?

    I'm glad you found the solution in one of my suggestions, Jon. Please mark this question as answered. Thank you!

  • How to copy DAQmx task without the help of MAX?

    Howdy-

    I hit a bit of trouble here I think points to a fundamental misunderstanding I can have on DAQmx channels and tasks.  I can hack together a workaround, but I would like to know how to do these things, common sense.

    In a Word, I prefer to do everything in the code and not use MAX.  For my application, I would like to create a single channel/task initialized with all the scaling, the physical channel parameters and units (it is what is, in my case, a 'channel').  I would then like to create copies of this channel/task and configure each with parameters of specific task of sampling... corresponding to what I would call the "tasks" to use "Channel".

    I'll have no chance, so of course, I do not understand what I do.  Any reading/posts I've met use MAX.  Here's what I've tried so far:

    Even when you try to use MAX, I am the breath.  Any help straightening on my confusion here is very appreciated.

    Thanks in advance and have a nice day.

    -Brad

    In fact, you're not confused.  In this instance of National Instruments is perhaps...

    See the links ofthese ideas in the link.

    But a 'task' is really just a section in an XML file.  If this file is named *.lvproj the project has access to tasks.  If this file is *.nce any labview application has access to tasks.  If this file is created by the RTE that vi has access to the task.  In short, the "tasks" are never really defined by 'Code' but by the XML code to the file than declairs them and teir properties.  Tasks need to be defined a time-preference during design - project

    Yes, it's a bit simplistic but a good analogy!

    Go ahead and kiss MAX to set your tasks... use DAQmx property nodes if you need to programmatically determine a task property.   "do everything in code" as you say is just not really the way it is... the way I think you hear it...  'S really not 'made it in the code"but rather how LabVIEW is inherintly multithreaded.  The IDE just handles it for you "So easy that could encode a cave man!  Relax and let it work the way it does work for you.

  • How to exclude a task of the ETL container

    Hello

    I'm under load ETL full instance Oracle Financials R12.1.3 Vision, where one of the tasks is a failure and had that subsequent tasks 86 fail as well.

    The task name is SDE_ORA_ProductDimension.

    I have one suggested by Oracle Support to exclude this task of EP.

    Can someone tell me how to exclude that of the available container, EP?

    Release of the olive TREE is 7.9.6.4 and Informatica 9.1

    The details of the error log, you can find here http://pastebin.com/hZRHJssi


    Thank you
    Naeem Akhtar

    Published by: Naeem Akhtar Khan on February 28, 2013 20:44

    Hello

    make a copy of a predefined container?

    You can't change the objects in containers of system predefined source DAC Client either directly from the SQL statements in the repository of the DAC. You must make a copy of a predefined container in order to make changes to it.

    You could see how to create a copy of a container is predefined in Oracle DAC documentation: http://docs.oracle.com/cd/E25178_01/fusionapps.1111/e14849/dacquickstart.htm#BABJIIBB

    It will be useful,

    Benoit

  • inadvertently, click "always use the selected program to open this type of file" how undefault and redo icon to the icon of white empty file?

    I accidentally click "always use the selected program to open this type of file" on the srt file. How to make it undefault and again the icon to icon file empty white?

    You can do this via a registry change, but it is more appropriate for a typical user to simply use the system restore:

    System restore

    Ever wished that you can go back in time following a bad fall? With Windows, you can.

    Installation sometimes a driver or a program can make Windows run slowly or erratically. System Restore can return programs and system files from your PC to a time where everything worked, potentially prevent hours of troubleshooting of headaches. This will not affect your documents, images or other data.

    In Windows 7, you can create system restore points more and see exactly what files will be deleted or added when your PC is restored. For more information, see create a restore point.

    For more protection, use the restore system backup and restore, which is designed to help save email, photos, documents and other personal files.

    To use the system restore

    Before you start the system restore, save open files and close all programs. System Restore will restart your PC.

    1. Open system restore by clicking the start . In the search box, type restore the system and then, in the list of results, click on system restore.  If you are prompted for an administrator password or a confirmation, type the password or provide confirmation.
    2. Follow the steps in the wizard to select a restore point and restore your computer.

      For more information, see System Restore: frequently asked questions.

    In Windows 7 system restore can prevent headaches hours after an accident.

  • How to change size/pixel for stock photo? I tried to upload a photo from my creative cloud library and EI, on my facebook page for a cover photo. error on facebook box shows that the image must be at least 400 pixels wide. and 150 pixels in height.

    How do change you the pixels on the photos of the reserve? I am trying to load one of my photos in the library of creative cloud on my facebook page. Error on facebook box indicates that the photo should be at least 400 pixels wide 150 pixels high... Thank you

    For me it looks like you are trying to download the thumbnail image and not the actual image.

    Download them using the method in the screenshots in this link: I downloaded my 10 free images and they all have the Adobe watermark on them, so I can't use them. Why do they have a watermark on them?

  • How to add a photo to a page for the creation of an ad

    I'm creating a supplement to a magazine. I am trying ad a picture to the page with text and other elements in the wok with. can someone help me through the process, or show me a link to a video on how to do this. ?. Overtime, what I do the way, Member of the Adobe PS team gave me the photo was big and could not be resized.

    Thank you

    Bill

    OK I found where I need up to the age of the show controls check box to turn checked and once I did that I could resize the image. It works now

  • How to stop a task in the message Manager model pending

    I use the base Manager messages queued to separate my event handler and tasks.  An event on the front (button) Panel puts a message in the queue.  When the queue handles this message, it performs a task.  However, I will now add a button to the Panel before which put an immediate end to this task at any point of the task.

    For example: pressing start on the front panel causes the message handling loop count of 10000.  Pressing stop on the Board before you must cause the counting stop.

    How can I implement this?

    Thank you!

    In general, you don't want to run a task in a single frame of your MHL which will take a long time. You have two options:

    1 have the MHL himself to increment the number of messages. This way you can enqueue message 'stop' priority on the queue if you want to stop while it is happening.

    2. do you have a parallel loop that is incrementing the number and that MHL sends messages to this loop to start and stop it. Take a look at the continuous measurement and a recording project for an example of e-mail between the loops.

  • How to start a task when the other ends

    I want to run multiple scripts in the order (in Windows 7 Professional) and each have a tenure when the previous one ends. Is there a way to tell the Scheduler to do this? There are a variety of different types of (Korn Shell scripts running under Cygwin, R, BACK lot), and each of them produces results that are used in the following script. Different types of scripts, I don't think I can combine them into a single script.

    I do this every night, to develop a weather-based forecast for a hands-on experience. There are a lot of calculation and a time limited, and I do also simplified as possible, so I can't just schedule the scripts independently, separated far enough out so that they would never overlap. I couldn't get Cron to work in Cygwin, so I'm using the Windows Task Scheduler.  So far I can get all one script to run at any time I want, I just can't understand how to link the start one at the end of another.

    You can put several actions in any task to Task Scheduler.  You will use the trigger 'on an event"for what you need.

    The best advice on TS is Task Scheduler Overview - MSTechNet.

  • EPA 11 I and she recently used. Erased from my project and now cannot open the new or existing project editor.

    PC computer

    The original Win 7 updated to 10

    When I opened BEFORE it opens to the Welcome screen. If I click on the Organizer, it opens. If I click on the Publisher, it opens on the choice of new or existing project. When I click on one of them PRE closes or disappears.

    If I repeat the same process of the same thing happens.

    I recently completed a 1 h 20 min film that took me a long time to do. IV ' e he has burned down and deleted.

    I've copied and changed then burned about 5 cassettes VHS, some of them on a long hour and 3 1 hours. long. These projects are carried out, and I would like to continue with a new project, perhaps 3 h. long.

    I can't open the editor of a new project.

    For me I can have deleted a necessary element of the program. How to check? What should do?

    [email protected] wrote:

    For me I can have deleted a necessary element of the program. How to check? What should do?

    If so, uninstall, use the Adobe cleaning tool (Yes, it works for Premiere Elements):

    Use the cleaning of creative cloud tool to resolve installation problems

    and reinstall from here:

    Download Adobe Premiere Elements 15, 10, 12, 14, 11, 13

  • Can someone summarize how Lumetri and SpeedGrade fit into the workflow?

    I always use the old fast corrective color and individual video color adjustments. Coming from a photography and Lightroom, doing it this way is a monumental pain in the *.

    I don't know what's the best practice for the treatment of my images in terms of exposure, contrast, selection of specific color channels to saturate, since dark shades and clear data recovery, adding sharpness and recording it all to a preset so that I can re - use?

    What is the point of SpeedGrade if ranking can we already in first? Looks like Lumetri have some kind of advantage of speed (for example, faster exports) in comparison with regular and other presets?

    I don't know what's the best practice for the treatment of my images in terms of exposure, contrast, selection of specific color channels to saturate, since dark shades and clear data recovery, adding sharpness and recording it all to a preset so that I can re - use?

    Exhibition, including details in dark and light tones, is dealt with in camera, for most of us, not in the post.  Only RAW formats allow a good setting of these parameters.

    Sharpness is ideally also dealt with behind closed doors, more precisely with a better lens.

    The rest can be adjusted using the Lumetri Panel.  Here is a video explaining how it works.

    Lumetri color Panel explained - Premiere Pro CC 2015 - YouTube

    SpeedGrade is the professional version of the Lumetri group for those who need more control (and know how to use it).

  • How to add a task in the form of pdf bar cod?

    I am able to create a barcode using adobe acrobat. It works perfectly in the acrobat Viewer. But when I opened the same form with adobe reader, disappears after a corresponding filling of fields, the bar code and a gray appears. Here, I have attached an image of the pdf form. One is before completing the form and it is after filling in the form.1.png2.png

    What should I do? Please help me it is urgent. Please help me.

    http://www.Adobe.com/sea/products/server/readerextensions/

    I recommend you:

    1. check the hardware requirements. (WIndows server, probably). The cost of the server is probably negligible, although you have to buy a new one.

    2. estimate the total use (forms, form users) over a year and the lifetime of the project.

    3. contact a sales representative and obtain a preliminary price quote based on your use,.

  • How to perform a task in the background repeated

    I need to have a background process start as soon as the blackberry is turned on and stay in the background. Here it runs several times a function, say every half hour or so. Is this possible in webworks? I am very new to this, so I'm unable to do this part of my application. Any help would be appreciated!

    From your description, I guess that you are working on a smartphone application. If so, configure a listener in the background:

    
       
    
    

    On this page listener.html you can have the function that runs on an interval:

    function foo(){
    //processing code here
    }setInterval("foo()",1800000);
    

Maybe you are looking for

  • IPhones United Kingdom and Europe

    If you have an iPhone in the United Kingdom or Europe, what options are available as frame rates? You have the options of 25 and 50 fps? Thank you very much.

  • J5C11EA #ACB: GPU upgrade

    Hello! I have HP PAVILION p010sr 15. I want to improve discred more powerful graphics card. Can and how do I do this? I mean replace the radeon r7 m260 more powerful card Thank you

  • Win XP failure of the Windows operating system, making Noah begins.

    Hello everyone, My computer got an operating system failure, this morning, I can't do to start windows. System is win XP. Recently, I installed a new terabyte of hard drive as secondary. I need some advice also, the main hard drive, I had (were I got

  • Rights user to register with services and drivers problem

    I have a computer with a permissions problem in the registry HKLM/SYSTEM. When I try to start some services I get error 5 - access denied. It is the same for the installation of a driver. I tried to reset the permissions with subinacl to something li

  • por that desactiva el centro seguridad windows

    Hola... el centro seguridad windows 7 not home premium to desactivo y no puedo himself again... yo desde services... Lo activo, pero luego some minutos is desactiva again... probe con el fix pero no cambia nada... utilisere todo lo than pude ver Los