Trouble with executing RTP using fnd_transaction.synchronous

Background: We have an existing PL/SQL program executed via a concurrent program that processes RECEIVE type receipts. This program inserts RECEIVE type records into the RCV_TRANSACTIONS_INTERFACE table for further processing by executing the Receiving Transactions Processor in a subsequent concurrent program stage. All receive receipts are currently processed in batch mode with the RTP.
We are now trying to implement three way match. Part of the process involves handling RETURN TO VENDOR and CORRECT type receipts. Unfortunately, according to 360340.1 on Oracle Support, return to vendor is a two step process (at least for us). I've noted that simultaneously inserting the RETURN TO RECEIVING and RETURN TO VENDOR receipt records into the RCV_TRANSACTIONS_INTERFACE table and having the RTP process both these records in one fell swoop does NOT work. It errors out and I get the following error in PO_INTERFACE_ERRORS:
The Quantity entered for receipt is greater than the available Quantity. The sum of quantity to be received and already received, 10, is greater than the sum of ordered quantity and over receipt tolerance, 0.
Interestingly, a return to vendor receipt works if I insert the RETURN TO RECEIVING record first, then run the RTP, then insert the RETURN TO VENDOR record, then run the RTP. Thus, I need separate executions of the RTP in order for this to work. Can someone tell me if I can do this with one execution of the RTP batch mode? Would I have something wrong in the RETURN TO RECEIVING and RETURN TO VENDOR records in the RCV_TRANSACTIONS_INTERFACE table? I know this has to be a two step return process (RETURN TO RECEIVING and RETURN TO VENDOR), but I'm wondering why I can't just execute the RTP once - why do I have to execute it twice?
If I have to execute the RTP twice, then it leads me to the question addressed in the subject of this message. My current design is I would like to execute the RTP via fnd_transaction.synchronous after each record is inserted into the RCV_TRANACTIONS_INTERFACE table. I've tried executing the RTP via fnd_transaction.synchronous after the insert of RETURN TO RECEIVING and RETURN TO VENDOR, but it does not work for me. In fact, I've tried executing the RTP via fnd_transaction.synchronous after the insert of a receive transaction (RECEIVE) just for testing - and it does not work. I've turned on debugging and I see an ORA-1403 error in the fnd_concurrent_debug_info table:
ORA-01403: no data found
I've used some info from the following page:
http://karthikrajasekaran.blogspot.com/2009/12/receiving-transaction-processor.html
I've set the apps context, too... So I'm not sure what's going on. Does anyone have an idea?

Check the below query, I think this might help.
select okhb.contract_number contract_number
,msi.segment1 line_item
,msi.description line_item_description
,msi_sub.segment1 sub_line_item
,msi_sub.description sub_line_item_description
from
okc_k_headers_b okhb
,okc_k_lines_b oklb
,okc_k_items oki
,mtl_system_items_b msi
,okc_k_lines_b sub_ln
,okc_k_items sub_items
,csi_item_instances cii
,mtl_system_items_b msi_sub
where
okhb.contract_number = 'NK20269112'
and okhb.contract_number_modifier = '1 yr'
and okhb.id = oklb.chr_id
and oklb.id = oki.cle_id
and oki.jtot_object1_code = 'OKX_SERVICE'
and oki.object1_id1 = msi.inventory_item_id
and oki.object1_id2 = msi.organization_id
and oklb.id = sub_ln.cle_id
and sub_ln.lse_id IN (7, 8, 9, 10, 11, 18, 25, 35)
and sub_ln.id = sub_items.cle_id
and sub_items.jtot_object1_code = 'OKX_CUSTPROD'
and sub_items.object1_id1 = cii.instance_id
and sub_items.object1_id2 = '#'
and cii.inventory_item_id = msi_sub.inventory_item_id
and cii.inv_master_organization_id = msi_sub.organization_id

Similar Messages

  • TS1646 I am having a lot of trouble with trying to use my debit card to purchase on itunes it always tells me that my card number is invalid. But i know it isn't because i just got the account the only thing i havent done yet is called my bank to see if i

    I am having a lot of trouble with trying to use my debit card on purchase of itune apps or music. Whenever i put my card information in it tells me that this card is invalid. But there is no way that my card is invalid because i just got it last week. So the only thing i haven't done yet is call my bank to check and see if all my bank statements match but if they do then have no idea what to do to get this to work with my computer, ipad mini, or ipod    HELP! PLEASE!

    I am having this same problem and I have even contacted my bank. The address they have is EXACTLY the way I am typing it.  It does match.  I do not understand.

  • TROUBLE WITH PAYMENT METHOD USED DIFFRENT VISA PAYMENTS STILL WONT WORK

    TROUBLE WITH PAYMENT METHOD USED DIFFRENT VISA PAYMENTS STILL WONT WORK

    This is a case for the iTunes Store Support:
    1. Go to expresslane.apple.com
    2. select 'itunes' and then 'itunes store' on the right
    3. select a topic and a subject
    4. click 'continue' and then 'email'
    5. fill out the form and explain your situation
    6. they will respond within 24 hours usually
    Good luck
    Stijn

  • Having trouble with internet connections using my Apple G5. Updates turn out to be incompatible with my system. What should I do short of trashing the wonderful computer and spending cash I don't have on a new iMac?

    Having trouble with internet connections using my Apple G5 OSX 10.4.11. Attempts to upgrade FireFox or Safari results in being incompatible with with this system. Tried to locate earlier versions to replace upgraded incompatible software only to find that problems have worsened with crashing results. What should I do short of trashing this wonderful G5 and purchasing a new iMac which I really can't afford?
    Chuck's Dilema

    Hi Chuck,
    TenFourFox is the most up to date browser for our PPCs, they even have G4 & G5 optimized versions...
    http://www.floodgap.com/software/tenfourfox/
    I'd avoid vesrion 24 though, as it no longer supports plug-ins like Flash.
    SeaMonkey seems pretty fast also, with many options...
    http://www.seamonkey-project.org/
    http://www.seamonkey-project.org/releases/
    Might also look into iCab & OmniWeb versions.
    Also...
    The last really supported Flash for PPC was 10.1.102.64, but if it's for like Facebook or such, people have been fooling FB to think they have a leter version installed.
    Texas Mac Man's Flash hack/post...
    https://discussions.apple.com/thread/3599648?tstart=0
    Flash player 11.1 hack on PowerPC - https://discussions.apple.com/message/16990862
    Might be later ones around also... saw 11.3 I think.
    (If you are running a PPC Mac with Flash Player 10.1.102.64 and are having problems with watching videos on FaceBook or other sites, contributor Texas Mac Man suggests the following solution which fools the site into thinking that you are running the latest version:)
    Download this http://www.steelbin.com/FPforFBPPC.zip to your desktop, unzip it, and replace the current Flash Player plug-in which is in your main/Library/Internet Plug-Ins folder, (not the user Library). Save the old one just in case this one doesn't work.
    See in each Browser which version of Flash it thinks it has...
    http://kb2.adobe.com/cps/155/tn_15507.html

  • Macbook Pro Retina trouble with projector after using Thunderbolt display

    I used my macbook Pro Retina with my Thunderbolt to VGA adapter all through the fall, and never had any trouble with it. Just before Christmas I got a Thunderbolt display.
    Since that time, whenever I connect the projector, I get a black screen. I can see and move the mouse, but nothing else. Other computers still work with the projector.
    I'm not certain if the Thunderbolt Display has anything to do with this or not, but it's just the timing that it happened.
    Grateful for anyone that can offer help!

    It might be that the Thunderbolt output is set to the resolution of the Thunderbolt display, which the VGA adapter probably cannot display correctly.  You can toggle between the video display modes using Command-F1... This will toggle the output between Mirroring and Extended Desktop.  Using Command-F2 will allow you to attempt to detect displays.  It might auto reset to the correct resolution using Command-F2.  If you can get the VGA out to display using extending desktop then you can change the resolution to work properly with the VGA projector.

  • Trouble with console-extension using struts portlet

    hello everyone,
    I'm developing a console-extension for wls9.2 but couldn't get is to work despite all the documentation available. The console-ext is a struts portlet which gathers data from custom mbeans via jmx and renders the result with a jsp. What already works is fetching the data from the MBeans in the struts action. What does not work is the display of the results in the admin console. So I removed all the stuff from the jsp to just display "Hello World" which should be displayed on the desktop in the admin console, but even this didn't work (it's just a blank spot). Having a look at the log file I get the following:
    e.netui.pageflow.internal.AdapterManager ERROR ServletContainerAdapter manager not initialized correctly.
    e.netui.pageflow.internal.AdapterManager INFO No ServletContainerAdapter specified or discovered; using class org.apache.beehive.netui.pageflow.DefaultServletContainerAdapter
    tui.util.config.parser.NetUIConfigParser INFO NetUIConfigParser -- load config: /WEB-INF/beehive-netui-config.xml
    e.netui.pageflow.internal.AdapterManager INFO No ServletContainerAdapter specified or discovered; using class org.apache.beehive.netui.pageflow.DefaultServletContainerAdapter
    netui.pageflow.AutoRegisterActionServlet INFO Dynamically registering module /loggingController, config XML /WEB-INF/struts-auto-config-loggingController.xml
    netui.pageflow.AutoRegisterActionServlet INFO Dynamically registering module /loggingController, config XML /WEB-INF/struts-auto-config-loggingController.xml
    (...other debug output from my struts action...)
    .wls.web.actions.LoggingControllerAction DEBUG Going to /ext_jsp/helloWorld.jsp using module null
    flow.scoping.internal.ScopedResponseImpl INFO ScopedResponse error 404:
    .netui.pageflow.PageFlowRequestProcessor WARN Struts module is configured to use com.bea.console.internal.ConsolePageFlowRequestProcessor as the request processor, but the <controller> element does not contain a <set-property> for "controllerClass". Page Flow actions in this module may not be handled correctly.
    .netui.pageflow.PageFlowRequestProcessor INFO Attempting to instantiate SharedFlowControllers for request /console/ChangeManagerAction.do
    ive.netui.pageflow.FlowControllerFactory INFO No Global.app was found in /console
    Despite the errors it seems to find my struts config (struts-auto-config-loggingController.xm) and execute the action, but then it seems to have trouble findingd/displaying the jsp (helloWorld.jsp). I tried to set various controller-elements in the struts config, like this ([url http://edocs.bea.com/wlp/docs92/portals/integrate.html#wp1005659]source):
    <controller inputForward="true" processorClass="com.bea.struts.adapter.action.AdapterRequestProcessor" />
    but this didn't work either (and results in other errors). The log from above was created with a config without any controller element (since this is never mentioned in the eDocs for console extensions).
    Despite spending several hours trying to figure out what goes wrong here I wasn't able to get one step closer to a solution. Does anyone have a clue what I did wrong (please ask if you need further information)? Thanks a lot!
    Btw. Sorry if this is the wrong forum, I could't find another one which matches better. Feel free to move the topic to a more appropriate place. thx.
    ====================================
    Struts config:
    <struts-config>
         <form-beans>
              <form-bean name="loggingForm" type="...web.forms.LoggingControllerForm" />
         </form-beans>
         <action-mappings>
              <action path="/LoggingControllerAction"
                   type="...web.actions.LoggingControllerAction"
                   name="loggingForm"
                   scope="request"
                   validate="false"
                   input="/ext_jsp/helloWorld.jsp">
                   <forward name="success" contextRelative="true"
                        path="/ext_jsp/helloWorld.jsp" />
              </action>
         </action-mappings>
    </struts-config>

    The problem could be solved by adding the "handle" property (of type com.bea.console.handles.Handle) to the form bean.
    This is stated on page 7-4 in the "Extending the admin console" guide or [url http://e-docs.bea.com/wls/docs92/console_ext/simpleext.html#wp1083856]here
    In addition the following controller element must be used in the struts config: <controller inputForward="true" processorClass="com.bea.struts.adapter.action.AdapterRequestProcessor" />
    This is not mentioned anywhere and should definitely be added to the guide.
    Hope this helps someone encountering the same problem.

  • Trouble with Preview not using embedded fonts in a PDF

    I have a client I'm working with that is generating PDF reports for various organizations in various languages. They are using an Arial Unicode font but are using different encoding for some of the more unique languages. To ensure the report will be viewable regardless of installed fonts, they are embedding the font.
    Most of the languages are showing up fine in preview, but three languages are giving me trouble. Specifically Greek, Russian and Thai which are using encoding EL8MSWIN1253, CP1251, and TH8TISASCII.
    Basically the question is whether there is some toggle that will tell Preview to use the embedded font? Or something we can put into the PDF (the pdf is created using FPDF) that will allow a user to know which font/encoding they'll need to install in order to properly view the document? (I'm actually trying to figure that out myself...which font I need to install to get preview to view the document properly).
    Thanks in advance for any help.

    Actually, I got that example to work... here are the changes
    I made...
    <mx:htmlText>
    <![CDATA[You can vary the <font size='20'>font
    size</font>,<br><font
    color="#0000FF">color</font>,<br><font
    face="Courier New">face</font>, or<br><font
    size="18"color="#FF00FF"face="Times New Roman">any combination
    of the three.</font>]]>
    </mx:htmlText>
    As I said above, I have found errors in the code of the help
    docs... this is yet another one of them. Usually its spaces in the
    wrong place, or no space at all, or missing ) or ], or a case
    sensitivity issue.
    If you got your custom font to display, that should work...
    but then again.. what should work, doesn't always.

  • Working with executing query using IExecution

    Dear EP friends,
    i am trying to executing a query using IQuery, but i am getting com.sapportals.connector.metadata.CapabilityNotSupportedException
    exception.
    As i digged the error, i found IQuery is deprecated and i need to use IExecution from https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/javadocs/nw04/sp12/j2ee engine/deprecated-list.html
    how to work with IExecution??
    thanx in advance
    regards
    kantha

    Hi Laxmi,
    were you able to do this?? I have exactly the same problem.
    Please let me know if you have already done this.
    Regards,
    NArahari

  • I am having trouble with Greasemonkey and using Firefox 3.6.13

    Using Greasemonkey on Facebook I am getting errors when games reload. What is causing this? Can it be fixed? Is there a way to load the earlier version of Firefox?

    If there are problems with updating or with the permissions then easiest is to download the full version and trash the currently installed version to do a clean install of the new version.
    Download a new copy of the Firefox program and save the disk image (dmg) file to the desktop
    *Firefox 9.0.x: http://www.mozilla.org/en-US/firefox/all.html
    *Trash the current Firefox application to do a clean (re-)install
    *Install the new version that you have downloaded
    Your profile data is stored elsewhere in the Firefox Profile Folder, so you won't lose your bookmarks and other personal data if you uninstall and (re)install Firefox.
    *http://kb.mozillazine.org/Profile_folder_-_Firefox

  • Trouble with opening and using Apps

    Apps such as Netflix and Words with Friends do not work correctly; when I tap on them, they flash for a second only and then disappear back as just icons.

    When an app misbehaves I try the following.
    1. Quit the app like I describe and try it again.
    Double click the Home button to show the screen with running and recently used apps. Each app icon will have a sample page above it. Flick up on the page (not the app icon) and the page will fly away and the app icon will disappear. This quits that app. Then start the app again and see if it functions correctly.
    2. If the first item did not work I will quit the app again then reset your device. Press and hold the Home and Sleep buttons simultaneously until the Apple logo appears. Let go of the buttons and let the device restart. Then start the app again.
    3. Still not working? I will delete the app and download it again from the App Store.
    4. If non of these get the app running properly I will contact the developer of the app to see if they are aware of a problem.

  • Anyone having trouble with I pad use since installingIOS 7?

    Is any one having trouble loosing broadband connection since using Ios7 system.

    No problem here.
    Try a reset.
    Tap Settings > General > Reset > Reset Network Settings
    You will have to re enter the Wi-Fi password.
    If that doesn't help, try here >  iOS: Troubleshooting Wi-Fi networks and connections

  • Having trouble with hp8500a scan using mountain lion

    having trouble scanning with hp8500a printer and monutain lion

    Have you downloaded the HP OS X 10.8 Mountain Lion drivers from here?

  • Trouble with digital PWM using an M-series Daq

    Hello,
    I am trying to control 8 independent digitally pulse width modulated Thermoelectric Peltier couples using the 6221 daq. I have tried using the digital PWM for M-series daq example that is available, but can only get the first line to output a signal.  When different lines are selected using the drop down menu, they create no output signal.  What am I doing wrong? 
    Would this program (with some modifications) capable of running 8 different lines of signal?  All 8 signals will be run at the same frequency, with only the duty cycle needing to be independently changed, so I assume I will only need to use one counter? 
    I have struggled with the example program for several hours, and cannot figure out why only the first line will output a signal. It says it was posted only a few days ago so I wonder if there is something wrong with it.
    Any help will be GREATLY appreciated because I am at a standstill until I get this resolved 
    Thank You
    -Gabe 

    Hey,
    I found an example which you could use to build up on it. It works on 8 lines.
    Christian
    Attachments:
    pwmwithmseries[1].vi ‏61 KB

  • Trouble with my Z2 using dock or USB to PC

    I tried to do a search but didn't come up with anything entirely on point. My issue is when I plug my Z2 into a pc it goes crazy. A whole lot of lag, and any program I use constantly crashes/refreshes and the screen becomes very unresponsive (i.e. if im typing a text, the keyboard drops down and back up every 2s, or a website will flicker and reload, games will load then crash and reload). Eventually the screen turns off and won't come on again until I remove the plug. It also won't charge off the dock charger. It pops up a msg saying battery is draining faster than it is charging. Here are the the things that lead up to this:
    1. I was trying to charge it at work with a sony magnetic charging cable ( I hate opening the flap), and it wouldn't register the charger but the screen would come on when connected. It was previously working fine up to that point with the charger. So I was messing with it to see if the contact points weren't touching and the whole phone shut down. I couldn't get it to turn back on until I got home and used the wall charger, everything else just made the LED flash red but not respond to power + volume up or down (which worked after putting on the wall charger for 20m)
    2. I got the OTA update for .402 this morning. So when the initial crash happened I was on .69, but I never tested it on the USB before the .402 update. I've tried a few different USB cords, including the one it comes with. Tested the dock charger on both .69 and .402, neither worked. The charging icon just flashes. 
    PCC repair didn't help either, tried twice. Any ideas? 

    Contacted support via chat, they had me call and they said they don't have parts or the phone in the US to service me yet, and so my options are to call long distance to UK or Tiawan or wait an unspecified time for them to have the phone/parts in the US to service it. 

  • Trouble with sessions ending using GoDaddy email accounts with Safari

    I use a GoDaddy email account on my iMac with Safari. Lately I have been unable to manage my emails. I log into the account using a secure webmail, emil opens normally, but when I try to read or delete and emil I get this message: Session has ended due to inactivity. Log in to resume.  I have cleared cache, cleared all history shut unit down and start again. Still same message. Any thoughts on this. GoDaddy suggested I download Chrome or Firefox to read my email.

    Since I last wrote, I also tried advice I found in another post (can't mail from godaddy when using safari) to delete ALL website date and delete the cache.db and restart safari.  This did not help. 
    Don't know if it's related, but my macbook pro that is having this issue with GoDaddy webmail is now also asking for an obscure iCloud password every time I start up that is not my usual iCloud password... i can find it in my keychain though.

Maybe you are looking for