Hi, please help if anybody know joins involving ap_checks_stocks_all and ap_check_formats with ap_invoice_selection_criteria

I am supposed to do a R12 upgrade/implementation in 2 days for a report which has a query as below, though it looks simple, it seems complicated or maybe I think it is  :
SELECT DECODE(aisc.status,
                  'BUILT','N',
                  'FORMATTING','N',
                  'QUICKCHECK','N',
                  'Y'),
           DECODE(aisc.status,
                  'QUICKCHECK','Y',
                  'N')
      FROM ap_invoice_selection_criteria aisc,
           ap_check_formats acf,
           ap_check_stocks acs,
       ap_bank_accounts ba,
       ap_bank_branches bb
     WHERE aisc.checkrun_name  = :P_PAYMENT_BATCH
       AND acs.check_stock_id  = aisc.check_stock_id
       AND acs.check_format_id = acf.check_format_id
       AND ba.bank_account_id = ACS.bank_account_id
       AND ba.bank_branch_id = bb.bank_branch_id;
But what I also do not understand is what is the use of ap_check_stocks and ap_check_formats in the above query
And also please let know if I can replace it with the following query or is it a totally wrong to do so and what shall miss out if i do so.
SELECT DECODE(aisc.status,
                  'BUILT','N',
                  'FORMATTING','N',
                  'QUICKCHECK','N',
                  'Y'),
           DECODE(aisc.status,
                  'QUICKCHECK','Y',
                  'N')
      FROM ap_invoice_selection_criteria aisc,
             apps.iby_ext_bank_accounts ba,
           apps.CE_BANK_BRANCHES_V bb
     WHERE aisc.checkrun_name  = :P_PAYMENT_BATCH
       AND ba.ext_bank_account_id = aisc.bank_account_id
       AND ba.branch_id = bb.branch_party_id;
New to these queries too. Sorry if there is a silly point I m asking.
Thanks a lot.

Hi,
as this issue is related to APPS better to post your query in the apps forum.
Reference
https://forums.oracle.com/forums/category.jspa?categoryID=3
Regards, Roberto

Similar Messages

  • I got my Iphone 3gs unlocked, but Navigation and Compass are not working. Please help if anybody had faced this problem and got it resolved.

    I got my Iphone 3gs unlocked, but Navigation and Compass are not working. Please help if anybody had faced this problem and got it resolved.

    Only the carrier that the iPhone was locked to can unlock. There you go, hacking void any support from this forum.

  • Been trying to burn a movie onto DVD and get this "The disc can't be burned, because the device failed to calibrate the laser power level for this media" Anybody know what it means and what to do? Help! Thanks

    Been trying to burn a movie onto DVD and get this "The disc can’t be burned, because the device failed to calibrate the laser power level for this media" Anybody know what it means and what to do? Help! Thanks

    It generally means that the media is faulty or of poor quality. Most of us here use Verbatim, Maxell or Taiyo Yuden media.
    OR
    Your Superdrive may need a clean.
    If you have further questions please state what Mac, with what versions of OS X, iMovie and iDVD you are using.

  • I am facing issue in Receiving incoming calls, Name not getting displayed though the same has been saved in my phone book!! I have done sync from Windows contacts.. please help if some1 knows how to rectify the issue...

    I am facing issue in Receiving incoming calls, Name not getting displayed though the same has been saved in my phone book!! I have done sync from Windows contacts.. please help if some1 knows how to rectify the issue...

    Has your carrier been having issues with Call Display? Do the telephone numbers come up when people call, or does it just show 'Unknown Number' or 'Blocked' ?

  • Please help i bought an iphone from ebay and it is unlocked and refirbished by apple how do i know what sim card to buy for it? iPhone 3GS

    please help i bought an iphone from ebay and it is unlocked and refirbished by apple how do i know what sim card to buy for it? iPhone 3G

    Contact your chosen cellular provider to obtain a compatible SIM card.

  • I need to add a new computer and take off a old one but can't find the site or place to turn it off i can only have two computers but i got three please help let me know where to go to shut one off to put the new one on?

    i need to add a new computer and take off a old one but can't find the site or place to turn it off i can only have two computers but i got three please help let me know where to go to shut one off to put the new one on?

    Hello,
    the way is written there Activation & deactivation help >>> (see there only to understand the procedure) Common activation problems >>> "Activation limit reached for [product]. This serial number has already been activated on 2 computers." "Maximum activations exceeded."
    >>> How to deactivate or sign out >>> A single license for Adobe software lets you install the applications on two computers—for example, at home and at the office. However, you can use the software on only one computer at any given time.
    If you want to install the software on a third computer, deactivate the software on the computer on which you will no longer use the software. Then, activate the software on the new computer.
    Hans-Günter

  • Hello my iphone 3gs just been stolen how can i block the iphone and how could i track it i don't know for sure if i have find my iphone? please help i got many accounts on it and i don't have a passcode :((

    hello my iphone 3gs just been stolen how can i block the iphone and how could i track it i don't know for sure if i have find my iphone? please help i got many accounts on it and i don't have a passcode :((

    It was never free for the 3GS.
    It is if the initial sign-up is done on an iPhone 4, iPad or iPod touch 4th gen.
    From http://support.apple.com/kb/HT4436:
    After I sign up for Find My iPhone for free, can I use it on other iOS devices?
    Yes, if your devices are running iOS 4.2. For example, you can sign up for Find My iPhone for free on your iPad and use the same account information to sign in to MobileMe on your iPhone 3GS and turn on Find My iPhone.

  • My macbook is blocked by pin code, please help, I dont know what to do!

    My macbook is blocked by pin code, please help, I dont know what to do!

    When you enter iTunes on the PC and the iPod icon pops up, right click on it and select "Options". Then click on the Music tab. Once you're in the Music tab check the box that says "Enable Disc Use". This means that you've just turned your iPod into a portable hard drive. Click "Ok" and move your iPod from the PC to the Mac. From there, your iPod should show up on the Mac's desktop right under the Hard Drive icon. Click "File" at the top of the screen and select "Add to Library". Find the iPod hard drive in the selection screen and choose the music folder that's on it. Then just click Ok and all your music will be downloaded. That should do the trick, but you might want to do a Google search on the subject to get a second opinion. Best wishes!

  • Hi, After I installed Mac Lion, I have problem with the tamil font while typing in Neo Office. Especially with the letters "e-Ex: தெ" and "ai-Ex:தை". Please help me I know its not bug from Apple It shd be some problem in neo.

    Hi, After I installed Mac Lion, I have problem with the tamil font while typing in Neo Office. Especially with the letters "e-Ex: தெ" and "ai-Ex:தை". Please help me I know its not bug from Apple It shd be some problem in neo.

    Is your problem due to the keyboard or to NeoOffice Characters? You have to change probably the font. Not all fonts are supporting all Unicode sets. Which font you have in your NeoOffice set to write Tamil? Try with Arial Unicode MS for example.
    Are the letter e-Ex and ai-Ex right in your posting? If they are right, how you inserted these letters in your posting? By copy and paste or by typing? If by typing, your question is related to NeoOffice. Probably you should reinstall or update NeoOffice? Or switch to OpenOffice?
    marek

  • Please help me to know the answers

    Hi ALL,
    Please help me to know the answers
    What is the role of the container element in BPM?
    What  is the difference between Idoc and RFC adapter ? How to decide which one will be used?
    How to restart the adapter engine or J2ee engine?
    What is the role of wndows1 and windows2 in SXMB_MONI?
    Is it possible to see the message after mapping ?If it is possible how to check?
    Regards,
    Somenath

    Hi somenth,
    What is the difference between Idoc and RFC adapter ? How to decide which one will be used?
    A)in case of sender idoc means Sender IDOC adapter need not be configured because IDOC adapter
    lies in ABAP engine - IDOC adpter resides in Integration engine.
    Incase of receiver, whatever is the adapter, you need an adapter configuration and receiver
    agreement - from the IE, the xml msg need to be sent to pipeline of idoc adapter,
    so you need a recever agreement......
    IDOC #
    Idoc Adapter: The next most commonly used adapter is Idoc adapter for sending and receiving Idocs from SAP XI.
    The foremost step before configuring the idoc adapter is the system settings that have to be done
    Details:
    In the case where we encounter a standard IDOC provided by SAP or Situation where a mapping is available or
    an IDOC as well as a BAPI exits, the approach will be dependent on the specific integration scenarioo......
    for For example, options might be
    1) sending one IDOC at a time
    2) combing multiple IDOCS and sending as a single IDOC.
    3) making one single RFC call, for each business transation.
    4) avoiding multiple calls to the same BAPI / RFC by deploying a wrapper BAPI and sending all records in one call.
    5) Using the proxy and sending all data in one shot and making single calls to the BAPI from the proxy.
    proxy and rfc adapter #
    a proxy on the SAP application system should be used while interfacing with a standard BAPI or remote enabled
    function modules on the application system. the proxy will be invoked by SAP PI/XI and on the application system
    the proxy will call the BAPI. in SAP systems with WEB AS versions <6.20 the proxy option is not available and hence
    the RFC adapter should be used insted.
    Disadvantage:
    pre-built meta data and the mapping that SAP delivers will not be usefull as the BAPI is wrapped with a proxy.
    so if the pre-defined integration content is not taken into account the proxy should be used insted of configuring
    the RFC adapter and calling the BAPI / RFC
    Advantage:
    it bypasses the adapter engine and directly interacts with the application system and integration engine thereby
    enchancing the performance
    2 )What is the role of the container element in BPM?
    A)The workflow container contains an element which is defined with a data type reference to the same object type that is created in the referenced task, this binding definition is proposed automatically when an activity is defined.
    If no element with an appropriate data type reference is available in the workflow container, a suitable element is added to the workflow container and the binding entered.
    Defines the data for a business process and to enable data to be transferred between the individual steps of the business process.
    consists of an unlimited number of container elements.
    Container elements ( Variable declaration)
    Consists of a name to address data in the process
    Can be typed to
    *Simple XSD ypes :XSD:data,XSD:time,XSD:integer, XSD:string.
    *Abstract interface
    *Receiver
    *Can be multiline ( a vector of the types above)
    3)How to restart the adapter engine or J2ee engine?
      SMICM
    4)What is the role of wndows1 and windows2 in SXMB_MONI?
    Window1 and window2 will get you the message payload
    we can check the messages in SXMB_moni
    regards
    srinivas

  • Lightroom 4.4 keeps crashing saying "Lightroom encountered an error when reading from its preview cache and needs to quit" please help. I've tried reinstalling it and everything  Windows 8.1

    Lightroom 4.4 keeps crashing saying "Lightroom encountered an error when reading from its preview cache and needs to quit" please help. I've tried reinstalling it and everything  Windows 8.1

    I assume you know where your catalogue file (the lrcat file) is located. In the same folder is a previews lrdata folder which you should delete or rename in Explorer, then start LR again.
    If I've made incorrect assumptions above, sorry, and we'll go back over it from the start.
    John

  • I've received an error message for for photoshop CS4 that I still use for some automated projects. ERROR: 150:30 Anybody know what this is and how to fix it?

    I've received an error message for for photoshop CS4 that I still use for some automated projects. ERROR: 150:30 Anybody know what this is and how to fix it?

    Please refer:
    http://helpx.adobe.com/x-productkb/global/error-licensing-stopped-mac- os.html
    Regards,
    Ashutosh

  • I have lost my new iPhone. Please help. I have the IMEI no and all the details that comes at the back of the box.

    I have lost my new iPhone. Please help. I have the IMEI no and all the details that comes at the back of the box.

    Having the imei won't help you find your phone.
    If you setup and enabled find my phone prior to losing it then go to icloud.com
    If you didn't set it up - then there nothing you can do.
    Call your carrier and let them know, change all your passwords.

  • HT4623 Please  help!  i have just update my iphone 4s with 7.4 update and my phone is now asking for a password which i dont have.  I have tried my keypad lock i used before the update and also my itunes password and neither work, how do i rectify this ??

    Please  help!  i have just update my iphone 4s with 7.4 update and my phone is now asking for a password which i dont have.  I have tried my keypad lock i used before the update and also my itunes password and neither work, how do i rectify this ???

    Did you buy this iPhone new from an authorized seller?

  • Need driver for canon mg 5250 as scanner is not working with version 10.7. Can you please help me to find the driver so scanner works with WIFI?

    need driver for canon mg 5250 as scanner is not working with version 10.7. Lion. Can you please help me to find the driver so scanner works with WIFI?

    Try with the latest Apple driver package for Canon (released 15th Feb):
    http://support.apple.com/kb/DL899
    This solved my problem with the printing.

Maybe you are looking for

  • What's a Business Process, really?

    Hello, in the thread BPX? A Techno functional Consultant? suggested to me her weblog <a href="/people/marilyn.pratt/blog/2006/07/27/what-is-a-business-process-really's a Business Process, Really?</a> for some clues, and added it's now <i>the time to

  • Cisco 526 WLC and 2106 WLC in one Mobility Group

    Hi, is it possbile to build a solution with one Cisco 526 Wireless Express Mobility Controller and one Cisco 2106 Wireless LAN Controller in one Mobility Group regarding seamless roaming?? Thank for your answers Best regards Stephan

  • Deleting music on iPod Touch

    I just got it and I just synched my whole iTunes library onto it so I could go through and delete which files I don't use but whenever I sync my iPod it'll show all the files but they're in grey and it won't let me delete or play any. When I detach i

  • Adobe reader license agreement error

    i downloaded adobe reader x1  but i cant open any pdf file showin i have to accept license agreement for adobe reader x1.

  • Downgrading to Mavericks

    I just made the mistake of upgrading my Macbook Air from Mavericks to Yosemite. I'm regretting it since I'm not liking any aspect of the new look & feel. I'm desperate to downgrade to Mavericks. Could Apple Tech support please help me ?