How should I approach

In an Oracle Financial Application 11.0.3, If i have to do any customization using the custom library and a form call another form
and i have to use the values in the fields on the form then how should i approach in solving the problem. I mean whether I should use database trigger or stored procedure and then call them from the custom library.
Thanks
null

Hello Anna,
 Thanks for the URL's I'll get to reading those now.
Just to clarify your request for me to post code. There isn't any at the moment short of defining some variables and parsing the three fields I want from the source CSV.
My question is conceptual for ideas on how to perform the tasks before I start writing the pseudocode.
I've never approached a job like this where I am taking data belonging to so many different ways of identifying what belongs to who, and extracting it into the correct output file.
Maybe I should just begin by writing the p-code and seeing how that pans out. Probably too early in the process to be asking for advice.
Thank-you for your reply,
-= Bruce D. Meyer
Not too early in the process to be asking for advice unless by "too early" you mean "before even I understand or can explain precisely what it is I want to do here".
It sounds to me as if you are dealing with a situation where the data itself is confusing, misleading, or even self-contradictory. I had a similar problem years ago in which I had a collection of non-orthogonal data and was trying to consolidate it into
a simpler, more workable, form. I spent so much time saying to myself: "now what should I be doing with 'this' piece of data" that I eventually realized that instead of trying to push all of the data through a complex script I was trying to write, I'd be farther
ahead defining what I wanted in the output, and changing my thinking to trying to pull what I needed from the mess.
Once I made that switch in my approach I found that things fell into place much more easily. I hope this comment helps you, but there are no guarantees...
Al Dunbar -- remember to 'mark or propose as answer' or 'vote as helpful' as appropriate.

Similar Messages

  • Whenever an slowness issue came in sql server how should I start?

    whenever a slowness issue or performance issue came in sql server how should I start?
    Please guide.
    Thanks

    Hi Ajay,
    All answer given above would be useful to you in some or the other scenario. if you are facing performance issue the approach you take determines how easily and quickly you can find solution.
    First thing is know your system how it works for that you need to first baseline a system. A system with 70 % CPU utilization would not always be issue but for some environment it can be. If you know your system very well moment performance issue  comes
    you would know where is the problem. Wait stats alone is never helpful you must be able to correlate wait stats to what is going on your system. If you know which query is causing issue its easy to see execution plan and tune it. If issue is server wide it
    can be due to missing index outdated stats slow disk subsystem etc. So first step is finding the cause. As Uri suggested wait stats are always helpful I use wait stats and refer to below whitepaper by Microsoft for SQL Server troubleshooting
    http://technet.microsoft.com/en-us/library/dd672789%28v=sql.100%29.aspx
    Remember important thing is knowing your system and that can come from base lining.
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it.
    My TechNet Wiki Articles

  • How should I key in a Debit Note in SAP?

    Hi Experts,
    I know that Debit Notes should be key into SAP as an AP / AR Invoice.
    But can anyone explain to me how should I key this in? and the background effect that make this work?
    Much Thanks for your guidance!
    Warmest Regards,
    Chinho

    Chinho
    The approach would depend on the accounting transaction you want to realize.
    If you want to post the credit to a Sales Revenue account I would suggest creating a Item (check only Sales) and set its GL to Item Level and change the Revenue Account.  Use this Item in your AR Invoice.
    The other approach would be to create Service Invoices.
    or a Journal Entry would also work.
    It all depends !!
    Suda

  • How should I handle using this socket on multiple threads?

    Hey there, I'm writing a SocketServer app to handle client communications and I've run into something I'm not sure how to handle. Currently, I have the main method create the SocketServer and start new threads whenever a client connects and keeps a list of clients that need to be updated with some info ("Stuff") (Basically a list, which when changed, each update will be sent to all clients on the list to be informed of updates). Each thread that's created when a new client connects is passed the instance of the 'PoolHandler' class, which is supposed to handle updates to the "Stuff" and send updates to any clients that need them. Currently, when a client adds itself to the list of users that need to be informed of updates on "Stuff", the thread that handles that client adds the client name and socket to a hashmap in 'PoolHandler' and anytime the "Stuff" is updated, 'PoolHandler' accesses the passed socket and sends the updates. I realize I'm probably not doing a very good job of explaining this, so I'll show my code:
    public static void main(String[] args) throws IOException {
            final PoolHandler pool = new PoolHandler();
            ServerSocket serverSocket = null;
            while (listening) {
                new SNMultiServerThread(clients, pool, serverSocket.accept()).run();
    public class SNMultiServerThread implements Runnable {
        public void run() {
            try {
                out = new BufferedOutputStream(socket.getOutputStream());
                in = new BufferedInputStream(socket.getInputStream());
                try {
                    while ((read = in.read(input)) > 0) {
                        outputList = snp.process(input);
                        if (outputList != null && !outputList.isEmpty()) {
                            for (byte[] output : outputList) {
                                System.out.println("Transmitting: " +
                                        new String(output, 0, output.length));
                                synchronized(socket) {
                                    out.write(output);
                                    out.flush();
                } catch (SocketException e) {
    public class PoolHandler {
        public PoolHandler() {
        private void updateClients(String update, String game, String team) throws IOException {
            if (update.equalsIgnoreCase("add")) {
                if (game.equalsIgnoreCase(CS)) {
                    clientUpdateListDummy = clientUpdateListCs;
                } else {
                // The HashMap here is K=String, V=Socket
                for (Map.Entry<String, Socket> m : clientUpdateListDummy.entrySet()) {
                    try {
                        out = new BufferedOutputStream(m.getValue().getOutputStream());
                        out.write(snp.prepareOutput(ADD_TEAM_REPLY, team));
                        out.flush();
                    } catch (SocketException e) {
            } else if (update.equalsIgnoreCase("remove")) {
                if (game.equalsIgnoreCase(CS)) {
                    clientUpdateListDummy = clientUpdateListCs;
                } else {
                // The HashMap here is K=String, V=Socket
                for (Map.Entry<String, Socket> m : clientUpdateListDummy.entrySet()) {
                    try {
                        out = new BufferedOutputStream(m.getValue().getOutputStream());
                        synchronized(m.getValue()) { // synchronizing on the socket connected to the client, m.getValue()
                            out.write(snp.prepareOutput(REMOVE_TEAM_REPLY, team));
                            out.flush();
                    } catch (SocketException e) {
    }I attempted adding a synchronized block in the second for loop in PoolHandler, although i'm not sure if I need one at all or if that'll do the trick. The question, I guess, is should I be accessing the socket and then the outputstream for it from here (perhaps with the synchronized block that I added in the second for loop)? Or should I perhaps add a method in the Runnable class that transmits data via the socket and call that from PoolHandler? If I go with the second approach, can I simply pass the thread's name instead of the socket and use, say, m.getValue().transmitThisDataOverTheSocket(myData)? Thanks again, I hope this is clear. :)

    So I've got another question about my code: will the PoolHandler class be responsive if used in the main() thread or do I need to implement Runnable in it and create a new thread also? If so, how should I go about it since I don't want PoolHandler to do anything other than keep track of clients and a few other client-related variables? Here's my main():
    public static void main(String[] args) throws IOException {
            final PoolHandler pool = new PoolHandler();
            ServerSocket serverSocket = null;
            boolean listening = true;
            final int port = 4555;
            try {
                serverSocket = new ServerSocket(port);
            } catch (IOException e) {
                System.err.println("Couldn't listen on port: " + port);
                System.exit(-1);
            while (listening) {
                new SNThreadReader(pool, serverSocket.accept()).run();
            serverSocket.close();
        }

  • Hi, I have a macbook pro 10.6.8 and an iphone 4s. I have already created an icloud account. I want my normal mails to be saved on icloud. how should i go about?

    Hi, I have a macbook pro 10.6.8 and an iphone 4s. I have already created an icloud account. I want my normal mails to be saved on icloud. how should i go about?

    I'm not sure I understand your question really, but one thing for sure is that you need Lion for iCloud to work.

  • I have few PDf files on my computer and I want to add them to my ipod touch, please tell me the procedure on how should I do that? Secondly I want to run these Pdf files through the ibook app, as it also have the Pdf file sections

    I have few PDf files on my computer and I want to add them to my ipod touch, please tell me the procedure on how should I do that? Secondly I want to run these Pdf files through the ibook app, as it also have the Pdf file sections

    You should be able to just place them in your Books library in iTunes and check to ensure that your Book library is configured to sync to your iPod when you sync your iPod to iTunes.

  • How should I set GPG to use with KMail or even rather Thunderbird?

    In the last 3 hours I tried to set Thunderbird (Enigmail) and KMail to use my GPG key. I failed.
    I made the keypairs with Kgpg, installed enigmail, restarted the Thunderbird, set everything, but TB didn't asked for password, only gave an error message that it can't use gpg in batch mode and the password is wrong:
    gpg parancssor és kimenet:
    /usr/bin/gpg
    gpg: Probléma van az ügynökkel. Letiltom a használatát.
    gpg: can't query passphrase in batch mode
    gpg: Érvénytelen jelszó. Próbálja újra...
    gpg: can't query passphrase in batch mode
    gpg: Érvénytelen jelszó. Próbálja újra...
    gpg: can't query passphrase in batch mode
    gpg: skipped "<my e-mail>": rossz jelszó
    gpg: [stdin]: sign+encrypt failed: rossz jelszó - its in Hungarian, it says: Problem with the agent. Disabling use. Wrong password. Try again.
    I read a lot and all I found is that I have to disable the use of gpg-agent in Enigmail's settings, but it was alredy disabled, despite I got this message:
    "Your system uses gpg-agent or a similar tool for passphrase handling (gpg-agent is mandatory if GnuPG v2.0 or later is used). Since caching of passphrases is handled by gpg-agent, the respective timeout settings in OpenPGP are disregarded. In order to change passphrase caching options, please configure your gpg-agent tool."
    After many pages I gave up, it seems it cannot be solved.
    So I tried KMail. But KMail didn't ask password, too. Google, searching. I found that I should install pinentry-qt. Well, pinentry is already installed and I have pinentry, pinentry-qt and pinentry-qt4, too. So I searched for another solution. Then I found that I should use gpg-agent (I used it already according to Thunderbird) and I have to write use-agent to .gnupg/gpg.conf. It was already there. Then I found that I have to make a file, .gnupg/gpg-agent.conf whit this content:
    pinentry-program /usr/bin/pinentry-qt4
    no-grab
    default-cache-ttl 1800
    So I made it. After this I add the eval "$(gpg-agent --daemon)" to my .xinitrc, as it was written in many posts. I logged out and in. Still no luck.
    The gpg-agent in terminal says:
    gpg-agent: gpg-agent running and available
    I tried a test I found on forums: echo "test" | gpg -ase -r 0xDEADBEEF | gpg. It says:
    1024-bit RSA key, ID CFF2728D, created 2011-05-17 (main key ID CD35B00C)
    gpg: problem with the agent -disabling agent use.
    Then it asks the passphrase. I type it in, but then a message appears that I didn't have any public key.
    I tried to disable gpg-agent, but didn't helped. Thunderbird said:
    "can't connect to `/tmp/gpg-y2XPqU/S.gpg-agent': Kapcsolat elutasítva
    gpg: Nem tudok kapcsolódni "/tmp/gpg-y2XPqU/S.gpg-agent" objektumhoz: connect failed" - connection refused. Can't connect to /tmp... object.
    KMail simply says bad passphrase.
    So. How can I use GPG? What should I do, how should I start? Is it possible at all? I just wanted to sign and encrypt e-mails. It seemed very easy.
    ps.: all the installed softwares are up to dated. And sorry about the mistakes in my English, if any!

    Hi Melfour-
    Here is a Support article detailing how to work with your Firefox PDF preferences:
    [[Opening PDF files within Firefox]]
    Hope that helps.

  • How should I reformat my external hard drive?

    I have just purchased a new 21.5" iMac and I will be moving from PC to iMac. I currently have a 2.5TB external hard drive which I have connected to my PC laptop that I use to store and watch movies. My question is how should I format/partition my external hard drive so that I can use it with my new iMac? The external hard drive will solely be used with my new iMac (it won't be connected/used with my laptop again) and I am ok with losing the data on the external hard drive as I have backed up the data currently on it onto another hard drive. I have tried to research what format to use but I am a little confused as to which one is the best and I am looking for some advice.

    Mac OS Extended (Journaled).
    (73546)

  • I want to use one apple id in my macbook and iPad but i don't want pics to get sync and show in both devices, how should i stop this ?

    I want to use one apple id in my macbook and iPad but i don't want pics to get sync and show in both devices, how should i stop this ?

    Turn off My PhotoStream in iCloud on both the iPad and the Mac. PhotoStream is what shares your photos (unless you are using iCloud Photo Library Beta, in which case, all photos uploaded are accessible from all devices signed onto the same Apple/iCloud ID).
    Cheers,
    GB

  • I accidentally dropped macbook air that was in a book bag. The keyboard is working because I can see the light but the screen is black and it won't turn off. How should I fix this? Please Help ME!!

    I accidentally dropped my friend's macbook air that was in a book bag. The keyboard is working because I can see the light but the screen is black and it won't turn off. How should I fix this? Please Help ME!!
    I tried to turn it off and it didn't work... and I held on to the shift key too and it still doesn't work..
    Please help me..

    Accidental damage is not covered under Apple warranty.  And it seems there is much accidental damage.  Only a Genius Bar tech looking at it can tell how much it will cost to repair.
    Cost to repair will be high, I suspect (though Genius Bar will confirm/deny.
    There is no gentle way to say this sir/ma'am ... someone will need to pay for your friend's MBA repairs.

  • Due to virus attack i had to format my windows laptop...now when i installed new itunes software i had to sync my ipod touch again but it says that if do the same then the data on my ipod touch will be erased....how should i protect my ipod touch data?

    due to the virus attack i had to format my windows laptop...now when i installed new itunes software i had to sync my ipod touch again but it says that if i do it then the data present on my ipod touch will be erased as it is syncd to some older library... how should i protect my ipod touch data?

    With all you media (apps, music) in the iTunes library connect the iPod to the computer and make a backup. Do that by right clicking on the iPod under Devices in iTunes and select Back Up. Then restore the iPod from that backup.
    Note the the iPod backup that iTunes makes does not included synced media like apps and music.

  • I have a mac pro g4 when i load a cd or dvd there is no start up noise from drive and icon will not show on desktop or in itunes. How should i troubleshoot? pioneer 105 mirror door

    I have a mac pro g4 when i load a cd or dvd there is no start up noise from drive and icon will not show on desktop or in itunes. How should i troubleshoot? pioneer 105 mirror door

    PIONEER DVD-RW  DVR-105:
      Firmware Revision:          A506
      Interconnect:          ATAPI
      Burn Support:          Yes (Apple Shipping Drive)
      Cache:          2000 KB
      Reads DVD:          Yes
      CD-Write:          -R, -RW
      DVD-Write:          -R, -RW
      Write Strategies:          CD-TAO, CD-SAO, CD-Raw, DVD-DAO
      Media:          Insert media and refresh to show available burn speeds
    yes its a power mac thanks its been a long month and Merry Christmas thanks for checking my question im hoping its a driver problem but not liking some other stuff looking like replace drive

  • Importation ;I just started with lightroom 5,6 (french)-I 'd like to import with creation of a second copy apart of the catalog but impossible to activate this option.How should I do to activate this option?

    Importation ;I just started with lightroom 5,6 (french)-I 'd like to import with creation of a second copy apart of the catalog but impossible to activate this option.How should I do to activate this option?

    Importation ;I just started with lightroom 5,6 (french)-I 'd like to import with creation of a second copy apart of the catalog but impossible to activate this option.How should I do to activate this option?

  • Old Macbook to New Macbook Air Transfer but new Macbook Air has less Storage Space. I only want to keep all iTunes and iPhoto Files. I can keep the rest on an External HD. How should I do this?

    Bought a New Macbook Air and wanting to transfer only iTunes and iPhoto stuff to the new Macbook Air. How should I do this? Ive got and External HD acting as Time Machine but the Data on there is 143G worth and the New Macbook Air is a 128G HD. So i dont need all the extra Documents but want to keep them on the External HD which has been Partitioned.
    Question is - How do I transfer the iTunes and iPhoto info into the New Macbook air and keep all its settings ect and also keep the Docs ect in the HD? Time Machine wont work as there is too much info for the New Macbook Air.
    What should I do?

    In iTunes 11 uncheck the preferences setting in in the iTunes Preferences panel "Advanced > Copy Files to iTunes Media folder when adding to Library"

  • I would like to be able to optimize my cc installation.  I am using a ssd card as my primary hard drive on a windows 8.1 machine with 32 gigs of memory.  I have additional spinner hard drives in this machine.  Everything is SATA 2 or 3.  How should I inst

    I would like to be able to optimize my cc installation.  I am using a 500 GB ssd card as my primary hard drive on a windows 8.1 machine with 32 gigs of memory.  I have additional spinner hard drives in this machine.  Everything is SATA 2 or 3.  How should I install the product to best utilize my hardware assets (Program Installation Drive; Scratch Drive; Temporary storage drive etc.).

    Barcode1 I would recommend you install the Adobe Creative applications included with your membership to your Primary hard drive which contains your operating system.  For questions on how to optimize specific settings such as scratch disks I would recommend posting in the relevant point product forum.  You can find a list of available forums at https://forums.adobe.com/welcome.

Maybe you are looking for

  • Second new hub and still got a number o problems

    Moved to BT infinity about 2 months ago, originally all sorts of issues mainly on wireless - very poor speeds and hardly  a signal upstairs. got a new hub delivered and still get similar issues. most notbaly the sky+ box in the same room doesn't keep

  • I am trying to navigate mail and can't find a slider bar to scroll on a MacBook Air.  Also I can't find a Home or End key.

    I am trying to navigate mail and can't find a slider bar to scroll on a MacBook Air.  Also I can't find a Home or End key.

  • Data size incorrect?

    Hi, If I click on Time Machine in System Preferences it reports that my TM has 1.06Gig and that 767Gig is free. The problem is that it is a 2Tbite TC and therefore it appears to be reporting the wrong size free and the wrong size used? If I enter TM

  • Finding my VOL number

    Good evening everybody,  hope someone can help me out finding my VOL number.  I have been using BT broadband for a week and just wanted to claim my Sainsburys £50 voucher but can only find an order number not starting with VOL.  Checked all my emails

  • Bank Analyzer CRA : Credit Risk Analyzer bundel service information

    Hello experts, I want to investigate, at runtime of LEVEL 0 calculation in module SC_READ_EXPOSURE, the number of transactions in the current bundle. Can anyone provide some info where or how to get actual bundle info at runtime of CRA calculation? T