Problems with planning code how can I do this??

I wonder if someone could help me I have a slight problem.. basically i'm writing a threaded application that needs to update jeopardy codes on all open tasks on an order if there is a jeopardy code on one of the tasks. As users only put the code on one task when they should put it on all but to make the users life easier i need to write an app to do it for them.
My problem is that there could be 5 tasks on one order and there could be 4 jeopardy codes on one of the tasks, all of these need to appear on all tasks, on another task there could be 2 jeopardy codes which then need to appear on all other tasks if one is closed then they all need to be closed on the basis that if the date closed is newer than the date opened then close all J codes if its older then create all J codes on corresponding tasks. I have written a database lookup to fetch the doc no, task nos, jep codes against each task, closed and modify dates. I have created an order object with all this info in. Other than iterating over order object to get doc number then to get list of tasks names then to get list of jeopardy codes then iterate over again to update each jeopardy code on each open task how else can I do this as this seems really messy to me... (I am updating by back end database not via api)
Sorry if this is confusing any help will be most appreciated

As users only put the code on one task when they
y should put it on all but to make the users life
easier i need to write an app to do it for them.
My problem is that there could be 5 tasks on one
order and there could be 4 jeopardy codes on one of
the 5 tasks, each jeopardy code needs to appear on
each tasks, on another task there could be 2 jeopardy
codes which then need to appear on all other tasks as
well.This sounds to me very much like the jeopardy code is (at least in practice) an attribute of the order and not an attribute of the task. I would suggest redesigning your data model to make this the case. Then the application that allowed the users to put a jeopardy code on a task would actually put it on the order containing the task.
If one is closed then they all need to be closed on
the basis that if the date closed is newer than the
date opened then close all J codes if its older then
create all J codes on corresponding tasks.
I have written a database lookup to fetch the doc no,
task nos, jep codes against each task, closed and
modify dates. I have created an order object with all
this info in.Or if redesigning your database isn't a palatable option (this is quite likely in most organizations) then you could modify your database lookup and object creation so that they treated the jeopardy codes for an order's tasks as if they were jeopardy codes for the order.

Similar Messages

  • Regarding iMessage, when i want to send text to a person in my contacts app, i've been getting a message saying the number has not been registered with iMessage.  How can one fix this problem?

    Regarding iMessage, when i want to send text to a person in my contacts app, i've been getting a message saying the number has not been registered with iMessage.  How can one fix this problem?  It works on the iPhone.

    It takes two to tango, maybe it's your recipient that has weak Internet/Cellular connections.

  • My iphone 3g is in reset mode and i tunes will not reset. it pops an error message with no code. how can i get i tunes to rest my phone?

    my iphone 3g is in reset mode and i tunes will not reset. it pops an error message with no code. how can i get i tunes to rest my phone?

    No need to Double Post... It is considered impolite.
    https://discussions.apple.com/message/20652820#20652820

  • Is there a fix for the WIFI problem with Lion? How can I get Lion off of my Mac?

    Is there a fix for the WIFI problem with Lion? How can I get Lion off of my Mac?

    gmiller0 wrote:
    My mac has 10.7.3 and will not connect to wifi after it wakes up. Have contacted AppleCare but the problem cannot seem to be resolved.. I guess this is a major issue with Lion:(
    What model of Mac?  I have a MBP running 10.7.3 and do not have that issue.  From the other couple of posts I've seen about it, it seems to be maybe an issue with some iMacs?  Have your tried searching the Lion or iMac forums for similar issues, just to see if anyone has hit on why it is happening?

  • HT4528 Howdy.  I keep getting a message stating that my apple ID has been disabled.  I recently contacted my CC company, AMEX, for several fradulent iTune charges, which is probably where the problem first originated.  How can I resolve this issue?

    Howdy.  I keep getting a message stating that my apple ID has been disabled.  I recently contacted my CC company, AMEX, for several fradulent iTune charges, which is probably where the problem first originated.  How can I resolve this issue?

    I had to dispute several unauthorized charges to itunes. My apple id was disabled after that. I followed jarnoldus's (older post) advice and it worked. Im duplicating his entry here with a few modifications. I hope this works for you.
    1. Go to https://getsupport.apple.com
    2. Choose your product (mine was ipad)
    3. Click the "iTunes, App Store or iBooks" icon
    4. Click "Apple ID account security"
    5. Type in "apple id has been disabled"
    6. Choose your country (mine was US)
    7. Choose the "talk to apple support now" option
    8. Provide the info they request (name, email, phone number)
    9. They will call you right away.
    Explain your apple id has been disabled. The rep will connect you to an iTunes rep. He/she will look up your account. You will be required to answer your 3 security questions. You MUST get a minimum of 2 correct. If you succeed they will enable your id. Good luck!

  • Hi, Unfortunately my Laptop has died (which had my iTunes on it). I want to ensure my music on my iPhone 5 and my iPad Air are backed up. Also, I want to sort my music in the way I used to with iTunes. How can I do this with just these two devices?

    Hi, Unfortunately my Laptop has died (which had my iTunes on it). I want to ensure my music on my iPhone 5 and my iPad Air are backed up. Also, I want to sort my music in the way I used to with iTunes. How can I do this with just these two devices, i.e. NO Computer? Can the iCloud help? Why can't I download iTunes (i.e. my library as I saw it on the computer) to these devices? Thanks to anyone who can help me here.

    You can change the email address of one's appleID...
    I'd recommend changing moms email to yours to get a good backup on the Mac
    Then switch mom's back to hers
    Then change your account to the same email you used.
    I've done something similar when I needed to update my Apple account (one ID changing email addresses and phone)

  • I have an ipad, when I watch a video the audio does not match up with the video, how can I fix this?

    I have an ipad and when I watch a video the audio does not match up with the video, how can I fix this?

    Hello there, graciecloyd.
    The following Knowledge Base article offers a few steps to try when an application is not functioning as expected:
    iOS: Understanding multitasking
    http://support.apple.com/kb/ht4211
    If an app doesn't respond to your input, or doesn't perform as expected, do the following, testing after each step:
    Check for app updates.
    Force the app to close.
    Restart your device.
    Update your iOS device.
    Learn more about troubleshooting apps.
    On Step 2, close all applicaitons that are open. On Step 3, if the restart doesn't help resolve the issue, you may also want to try the Reset step in that article as well.
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • Frequently I will be asked to sign in to my Apple account, but it is using an email I don't use with Apple. How can I get this to stop?

    I use an iPod4 Touch and am using IOS 6.1.6. Frequently I will be asked to sign in to my Apple account, but it is using an email I don't use with Apple. How can I get this to stop? This is happening repeatedly throughout the day. I don't have an Apple password for this email address, nor do I want one!

    Maybe an App that needs updating was purchased by that account?
    Could someone have installed an app not purchased with your account?
    Can you post a screen shot of the message?

  • When I use Siri, my screen goes blank and the apple logo appears and disappears. I've reset it, but problem still occurs. How can I fix this?

    When I use Siri, my screen goes blank and the apple logo appears and disappears. I've reset it, but problem still occurs. How can I fix this?

    Did you reset your iPad like this: Press and hold the Home and Sleep buttons simultaneously until the Apple logo appears. Let go of the buttons and let the device restart.

  • I've installed Mountain Lion. When I try to print on my Epson R3000, I get a notification of a problem for rasteroescpll.  How can I correct this?

    I installed Mountain Lion.  When I try to print on my Epson R3000 I get a notification that rastertoescpll quit unexpectedly.  How can I fix this?

    Sorry but that's the very driver that I think caused my problem and I'm assuming Elstel's. Yes it's an Epson Stylus Photo R3000. From the posts I've read the new driver is faulty. Driver V9 seems to work temporarily with my Mountain Lion 10.8.4. It worked perfectly when I set up my new printer and installed the provided software. When I started the day to day suddenly it wouldn't print and I had the rastertoescpll error. My assumption is that my "automatic updates" setting updated the software over night and then it woudn't work. I then tried your link from a previous post and installed that upgrade. No change. I've only been able to print this afternoon by re-installing the printer with the provided disk. If  pixies come during the night and I wake up tomorrow morning with that error message again, after screaming, I will then use my TM to go back to where it worked! Very confused. I was really hoping that Yuengdog1983's solution for the others would have helped me but as I said I've always had my computer named.

  • I have a ipad mini and it says that it has perect wifi yet when i go into safari it says unable to connect with the server how can i fix this?

    I have a ipad mini and i have had it for less then a year, it says that i have perfect wifi up in the left corner where the wifi is always at  but when ever i go into the built in safari it says that it is unable to connect with the server. How can i fix this because with out it connecting to the server or internet it is kind of useless to me. I do have ios7 if that helps

    The wifi symbol only indicates the presence/signal strength of wifi. Not that you are connected.
    Some things to try first:
    1. Turn Off your iPad. Then turn Off (disconnect power cord for 30 seconds or longer) the wireless router & then back On. Now boot your iPad. Hopefully it will see the WiFi.
    2. Go to Settings>Wi-Fi and turn Off. Then while at Settings>Wi-Fi, turn back On and chose a Network.
    3. Change the channel on your wireless router (Auto or Channel 6 is best). Instructions at http://macintoshhowto.com/advanced/how-to-get-a-good-range-on-your-wireless-netw ork.html
    4. Go into your router security settings and change from WEP to WPA with AES.
    5.  Renew IP Address: (especially if you are droping internet connection)
        •    Launch Settings app
        •    Tap on Wi-Fi
        •    Tap on the blue arrow of the Wi-Fi network that you connect to from the list
        •    In the window that opens, tap on the Renew Lease button
    6. Potential Quick Fixes When Your iPad Won’t Connect to Your Wifi Network
    http://ipadinsight.com/ipad-tips-tricks/potential-quick-fixes-when-your-ipad-won t-connect-to-your-wifi-network/
    ~~~~~~~~~~~~~~~~~~~~~~~~~
    Fix WiFi Issue for iOS 7
    http://ipadnerds.com/fix-wifi-issue-ios-7/
    Fix WiFi Issue for iOS 7
    http://ipadnerds.com/fix-wifi-issue-ios-7/
    iOS 6 Wifi Problems/Fixes
    Wi-Fi Fix for iOS 6
    https://discussions.apple.com/thread/4823738?tstart=240
    How To: Workaround iPad Wi-Fi Issues
    http://www.theipadfan.com/workaround-ipad-wifi-issues/
    Another Fix For iOS 6 WiFi Problems
    http://tabletcrunch.com/2012/10/27/fix-ios-6-wifi-problems-ssid/
    Wifi Doesn't Connect After Waking From Sleep - Sometimes increasing screen brightness prevents the failure to reconnect after waking from sleep. According to Apple, “If brightness is at lowest level, increase it by moving the slider to the right and set auto brightness to off.”
    Fix For iOS 6 WiFi Problems?
    http://tabletcrunch.com/2012/09/27/fix-ios-6-wifi-problems/
    Did iOS 6 Screw Your Wi-Fi? Here’s How to Fix It
    http://gizmodo.com/5944761/does-ios-6-have-a-wi+fi-bug
    How To Fix Wi-Fi Connectivity Issue After Upgrading To iOS 6
    http://www.iphonehacks.com/2012/09/fix-wi-fi-connectivity-issue-after-upgrading- to-ios-6.html
    iOS 6 iPad 3 wi-fi "connection fix" for netgear router
    http://www.youtube.com/watch?v=XsWS4ha-dn0
    Apple's iOS 6 Wi-Fi problems
    http://www.zdnet.com/apples-ios-6-wi-fi-problems-linger-on-7000004799/
    ~~~~~~~~~~~~~~~~~~~~~~~
    How to Boost Your Wi-Fi Signal
    http://ipad.about.com/od/iPad_Troubleshooting/a/How-To-Boost-Your-Wi-Fi-Signal.h tm
    Troubleshooting a Weak Wi-Fi Signal
    http://ipad.about.com/od/iPad_Troubleshooting/a/Troubleshooting-A-Weak-Wi-Fi-Sig nal.htm
    How to Fix a Poor Wi-Fi Signal on Your iPad
    http://ipad.about.com/od/iPad_Troubleshooting/a/How-To-Fix-A-Poor-Wi-Fi-Signal-O n-Your-iPad.htm
    iOS Troubleshooting Wi-Fi networks and connections  http://support.apple.com/kb/TS1398
    iPad: Issues connecting to Wi-Fi networks  http://support.apple.com/kb/ts3304
    WiFi Connecting/Troubleshooting http://www.apple.com/support/ipad/wifi/
    How to Fix: My iPad Won't Connect to WiFi
    http://ipad.about.com/od/iPad_Troubleshooting/ss/How-To-Fix-My-Ipad-Wont-Connect -To-Wi-Fi.htm
    iOS: Connecting to the Internet http://support.apple.com/kb/HT1695
    iOS: Recommended settings for Wi-Fi routers and access points  http://support.apple.com/kb/HT4199
    How to Quickly Fix iPad 3 Wi-Fi Reception Problems
    http://osxdaily.com/2012/03/21/fix-new-ipad-3-wi-fi-reception-problems/
    iPad Wi-Fi Problems: Comprehensive List of Fixes
    http://appletoolbox.com/2010/04/ipad-wi-fi-problems-comprehensive-list-of-fixes/
    Connect iPad to Wi-Fi (with troubleshooting info)
    http://thehowto.wikidot.com/wifi-connect-ipad
    10 Ways to Boost Your Wireless Signal
    http://www.pcmag.com/article2/0,2817,2372811,00.asp
    Fix iPad Wifi Connection and Signal Issues  http://www.youtube.com/watch?v=uwWtIG5jUxE
    Fix Slow WiFi Issue https://discussions.apple.com/thread/2398063?start=60&tstart=0
    How To Fix iPhone, iPad, iPod Touch Wi-Fi Connectivity Issue http://tinyurl.com/7nvxbmz
    Unable to Connect After iOS Update - saw this solution on another post.
    https://discussions.apple.com/thread/4010130
    Note - When troubleshooting wifi connection problems, don't hold your iPad by hand. There have been a few reports that holding the iPad by hand, seems to attenuate the wifi signal.
    Some Wi-Fi losses may stem from a problematic interaction between Wi-Fi and cellular data connections. Numerous users have found that turning off Cellular Data in Settings gets their Wi-Fi working again.
    You may have many apps open which can possibly cause the slowdown and possibly the loss of wifi. In iOS 4-6 double tap your Home button & at the bottom of the screen you will see the icons of all open apps. Close those you are not using by pressing on an icon until all icons wiggle - then tap the minus sign. For iOS 7 users, there’s an easy way to see which apps are open in order to close them. By double-tapping the home button on your iPhone or iPad, the new multitasking feature in iOS 7 shows full page previews of all your open apps. Simply scroll horizontally to see all your apps, and close the apps with a simple flick towards the top of the screen.
    Wi-Fi or Bluetooth settings grayed out or dim
    http://support.apple.com/kb/TS1559
    ~~~~~~~~~~~~~~~
    If any of the above solutions work, please post back what solved your problem. It will help others with the same problem.
     Cheers, Tom

  • When I start up the computer, the dialogue box opens and saying that the procedure entry point sqlite3_wal_checkpoint could not be located in the dynamic link library SQLite3.dll.  I redownload itunes, but the problem still persists.  How can I fix this?

    When I start up the computer, the dialogue box opens and saying that the procedure entry point splite3_wal_checkpoint could not be located in the dynamic link library SQLite3.dll.  I tried to fix this problem by redownloading itunes, but the problem still persists.  How can I fix it?  thank you.

    With Windows Explorer, navigate to your C:\Program Files\Common Files\Apple\Apple Application Support folder.
    Copy the SQLite3.dll that you should find there, navigate to the nearby Mobile Device Support folder, and Paste it in there also.
    Reboot and see if all is well
    In case that your OS is Windows 7 (64 bit)
    1. Open windows explorer, go to location C:\Program Files (x86)\Common Files\Apple\Apple Application Support
    2. Copy file "SQLite3.dll"
    3. Open new windows explorer, to to location C:\Program Files (x86)\Common Files\Apple\Mobile Device Support
    4. Paste file "SQLite3.dll" to the location.
    5. Reboot your computer, it should not display that message, it should be clear.
    Good Luck

  • Verizon changed their mail servers, they say there is a problem with apple mail, how do I fix this?

    Verizon changed their email servers. I have tried to change the settings on my imac desktop but having problems sending email.  Verizon support could not help, said I should call Apple.  Has anyone run into this?

    I have had problems with Verizon.  I can send and receive emails so not the same issue.  But, when I updated the Apple iOS software, it erased my email history on the Verizon server (which I don't really understand how it could do this).  The email history is visible in Mail on both my phone and Mac, but when I log into Verizon, it is not there.
    Verizon is blaming this on Apple

  • Me and my wife have two different iTunes accounts with different music, how can we syncronice this to our Ipad?

    Me and my wife have two different iTunes accounts with different music, how can we syncronice both our accounts to our Ipad?

    I'd like to know the same thing...

  • I just downloaded ios7 now i can only use the phone with the speaker, how can i fix this?

    I just downloaded ios7 now i can only use the phone with speaker, how can i fix this?

    x

Maybe you are looking for

  • How can I create a contact form for sending emails in SharePoint Online?

    Dear Forum members, I´ve got a question about creating a custom contact form to send emails for a public site in SharePoint online. Could someone help us with some advise? In advance, thank you very much. Kind regards, Frits

  • SMARTFORM PDF preview authorization

    Hi experts, I have added a PDF preview function in my webdynpro as taught in the tutorial below: http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0de1eb8-0b98-2910-7996-8a3c2fcf6785 With my developer ID, I am able to load the SMART

  • Idoc Acknowledgement ALEAUD.ALEAUD01

    Experts, I have scenario  like this: File(File system) XI/PIIDOC (R/3 sytem), this scenario works fine as is. Now, i have to send back an IDOC acknowledgement from R/3 system to XI system. I used the link [https://www.sdn.sap.com/irj/sdn/go/portal/pr

  • Syncing Contacts With An iPad 2

    I recently got an I Pad 2 and want to move my contacts, address book etc. with my iMac running OS 10.6.8. Try as I might I have been unable to figure out a way to do it. Any suggestions would be greatly appreciated! Thanks!

  • HT202731 SUIT in disc utility says has been modified can not be repaired how can fix

    Open disk utility check macintosh had report says SUID has been modified and can't be repaired help