Need help finding the default payment method for supplier site in R12

I am using the following query to find out what the default payment method is for a supplier site.
select pv.vendor_id ,
pvs.vendor_site_id,
iepa.ext_payee_id,
ieppm.payment_method_code
from ap_supplier_sites_all pvs
,ap_suppliers pv
,iby_external_payees_all iepa
,iby_ext_party_pmt_mthds ieppm
where pv.pay_group_lookup_code = 'EMPLOYEE'
and pv.vendor_type_lookup_code = 'EMPLOYEE'
and pv.employee_id is not null
and pv.employee_id =92584--p_person_id
and pv.vendor_id= pvs.vendor_id
and pvs.vendor_site_code = 'HOME'
and pvs.pay_group_lookup_code <> 'ATTACHMENT'
and ((pv.end_date_active is null) or (pv.end_date_active >= sysdate))
and ((pvs.inactive_date is null) or (pvs.inactive_date>= sysdate))
and pvs.pay_site_flag = 'Y'
and pvs.vendor_site_id = iepa.supplier_site_id
and iepa.ext_payee_id = ieppm.ext_pmt_party_id
and ieppm.primary_flag = 'Y'
and pv.segment1 = '131678'
The problem is that I am returning two rows.
I have gone in to the application and changed the default payment method from 'Check' to 'Electronic' and I am able to see the change on one of the records, however I am unable to determine how I'm supposed to narrow it down to just this record. I am pulling what hair I have left out!
Please help.
Chris

Here is the generic query for some one who is faing problem like us.This query will return all the payment methods for all sites of a supplier
SELECT ieppm.payment_method_code,ieppm.inactive_date
FROM ap_supplier_sites_all assa,
ap_suppliers ass,
iby_external_payees_all iepa,
iby_ext_party_pmt_mthds ieppm
WHERE ass.vendor_id = assa.vendor_id
AND assa.pay_site_flag = 'Y'
AND assa.vendor_site_id = iepa.supplier_site_id
AND iepa.ext_payee_id = ieppm.ext_pmt_party_id
AND ass.segment1 = '10033' -- Supplier Number
AND( (ieppm.inactive_date IS NULL)or (ieppm.inactive_date > sysdate)) ;

Similar Messages

  • How to set default payment method for Supplier using API

    Hi All,
    I am doing data conversion and loading suppliers using ap_vendor_pub_pkg.create_vendor api. But, I cannot see any payment_method_lookup_code column in the RECORD type AP_VENDOR_PUB_PKG.r_vendor_rec_type.
    how do I assign a default payment method to a vendor ?
    Thanks
    Shankar

    Seems like an ER with Oracle Support.
    Bug 11895105: ADDING PAYMENT_METHOD_LOOKUP_CODE FOR AP_VENDOR_PUB_PKG.UPDATE_VENDOR_SITE
    Currently system doesnt allow you to update the PAYMENT_METHOD_LOOKUP_CODE in AP_VENDOR_PUB_PKG.Update_Vendor_Site.Because above column does not define in l_vendor_site_rec regardless other procedure.

  • Need help finding the right graphics card for my computer.

    I have a 
    HP Pavilion Slimline s5414y Desktop
    here's a link to my model
    http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&taskId=120&prodSeriesId=... I recently purchased a graphics card for it, but it was too big for my computer.
    hopefully this time around I'll know the exact one to get.
    I need a reasonably good card to play games on. 

    osoignite wrote:
    I have a 
    HP Pavilion Slimline s5414y Desktop
    here's a link to my model
    http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&taskId=120&prodSeriesId=... I recently purchased a graphics card for it, but it was too big for my computer.
    hopefully this time around I'll know the exact one to get.
    I need a reasonably good card to play games on. 
    Just get a new motherboard. You can get a cheap one that supports all the hardcore nvidia/ ati models for less that $100.

  • Need help finding the best Mac for gf

    hi I need help finding the best desktop. I am looking to buy MAC for gf.
    she uses final cut program question is does the GB/RAM/STORAGE matter on performance?
    She has a 2009 Apple computer I want to upgrade her to a new one
    I Dont know much when it comes to specs. She edits tons of videos and pictures.
    what's recommended for a video/photo editor that's good in performance ?

    Pro consumer might go with iMac even.
    Final Cut Pro latest benefits from dual AMD graphics.
    Video is one animal, graphics a much different.
    Great site full of performance, buying and configuration ideas:
    MacPerformance Go to the main topics
    I think you need to get clear on budgets. start with mid range and add all the options and can spend $4,000 or $7,000.
    Go to the Mac Store and do some looking and Google for reviews of software, hardware of course.
    Barefeats
    Rumors Pro
    Visit the forum for FCP-X would be a place to start.
    Final Cut Pro X

  • Unable to find the default new form for list mylist1 - deploying the list instance via module feature

    hi,
    am facing a problem deploying a list instance via a feature, 
      I created the list in the UI with content and views.
    Exported the site template as WSP.
    Imported into Visual Studio the list instance, pages module and property bags.
    Copied into my new solution.
    Deploy list instance as a site-collection level scoped feature.
    activated the below features :
    mylist_ModulesFeature
    mylist_ListInstancesFeature
    mylist_PropertyBagFeature
    List deploys fine with content and views. However, I receive the following error when trying to add a new item: “Unable to find the default new form for list”. The same applies for editing items.
    can anyone pls help why i am getting this  error ?

    try these links:
    http://tomvangaever.be/blogv2/2010/04/unable-to-find-the-default-new-form-for-list/
    http://sharebrad.blogspot.in/2012/08/unable-to-find-default-edit-form-for.html
    http://stackoverflow.com/questions/10243131/deploying-a-list-instance-to-sharepoint-2010-error-unable-to-find-the-default-n
    https://happiestsharepointminds.wordpress.com/2014/03/01/unable-to-find-the-default-edit-form-for-list-or-unable-to-find-the-default-display-form-for-list/
    http://itsolutionsblog.net/sharepoint-problem-with-library-forms-unable-to-create-folder-ore-edit-properties/
    http://blogs.technet.com/b/yashgoel-msft/archive/2013/08/30/recreating-default-display-edit-and-new-forms-of-a-list-in-sharepoint-2010-using-powershell.aspx
    Please mark answer as correct if it is correct else vote for it if you find it useful

  • Report to find the retainage amount per each supplier site

    Hi All
    Is there a report to find the retainage amount per each supplier site ?
    Regards;

    Hi.
    The Withholding Tax by Supplier Report shows both supplier and site.
    Octavio

  • Need help changing the default Save Path

    Hello,
    We are implementing SAP, and will be using Citrix as the source for the GUI.  One of our requirnments are, that we need to change the default "Save Path" that users save documents too.   By default, this is to the C drive, but, we need it set to a different drive (i.e. V: on the citrix server).
    We found this note on SDN (see below) - however, it does not explain how to change or add this registry value?  Is this done in the GUI options, or in regedit?  If in reg-edit, where abouts in the tree does it go?
    Thanks guys, and any help would be greatly appriciated.
    Richard
    (As of SAP GUI 7.20, patch level 4) the REG_EXPAND_SZ registry value InitSaveDir can be used to configure the default path and folder for users to save the reported information in case of an access denial due to security rules. If users change the default path and save the information to an individual location, this new path will be kept as long as the user does not terminate the program. When starting SAP GUI again, users will get the configured default path again to store the reported information, the individual path changes will be lost. If the registry value does not exist, the default directory is the document directory of the SAP GUI.
    By default none of the above registry values exists. In order to change the behavior of the security module, the registry values need to be created and set to the desired value. A not existing registry value means use the default.
    In this doc:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/002444be-7018-2d10-e18e-a8c537198ef6?quicklink=index&overridelayout=true

    Hi,
    "Security rules that are created for a large number of users can be centrally stored on a server by an administrator. The administrator can use the registry values below under the registry key
    [HKEY_LOCAL_MACHINE\Software\SAP\SAPGUI Front\SAP Frontend Server\Security]
    to configure the behavior of the security module.
    Note: For 64 bit operating systems please use the following registry key
    [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\SAP\SAPGUI Front\SAP Frontend Server\Security]
    to configure the behavior of the security module."
    You can use regedit for installing this values.
    Best Regards,
    Aleh

  • Need to find the dependent object details for an object.

    Hi,
    Is there any query to find the dependent object details for any object. Like if mview is built on a table, then i should be able to find the table name with out checking code of the mview. Thanks in-advance for your support. similar way for view and functions or procedures etc...
    Regards
    DBA.

    Hi all,
    Thanks a lot for your inputs. seems i have not given full details in my post. I need to have a SQL Query to find the dependent object details not DDL.
    if i give a metriealized view name, i should get the base table names directly not DDLs...
    if i give index name i should get its corresponding table name(off course i got this already)...
    if i give a function name, i should get all the tables which are being in the function...etc...
    i am looking for a script which will cover all the aspects.....i hope i have given now enough information for this....
    Regards
    DBA.

  • I need help finding this hp hard drive for dv6521eo

    I need help finding this hp hard drive and memory  for dv6521eo

    Hi:
    You can purchase any SATA II 2.5" notebook hard drive up to 500 GB in size.
    Memory is PC2-6400.
    Paul

  • Need help finding the right codec to play QT files

    Like many others who have posted, all the quicktime files on my drive have turned to black. Previously when I opened the file, I saw picture and sound. Now every single file has only audio, but the picture is black.
    I am operation on Mac O.S. 10.4.11. I am using Quicktime Pro 7.5. I have been trying to fix this problem for a month now. Many people have suggested I need to find the right codec, but so far I have not found it. I have tried: A52codec.component, AC3codec, MacOS 8.x, 9.1.x, Apple Intermediate Codec.com, Apple MPEG2.codec.component, Avilmporter-r7.component, DivX Decoder.component, DivX Encoder.component, DivX Pro 6.8.0.19 + keymaker, EnsharpEncoderMacOsX.cmg, Fbx 20091quicktime_macemu.pkg.tar, Fbx QT.pkg, Flipsformac, WMV Advanced.component, Flipsformac WMV Advanced Exports.component, Flipsformac WMV Import.component, IMXCodec.component, LAAME Universal Installer.mpkg, LAAMEncoder.component, QSSP_2.1.dmg, QSXEssentials.component, QSXEssentials.dmg, QTFvx.component, Red Quicktime Codec v3.1.pkg, Red Code iedcod.qt.component, Spectrograph.component, TSCC.component xiphqt.component, XviD_codec-r58.component, XviDELEGATE.component
    Nothing worked!
    I also tried to install Perian. This did not work.
    What should I do? Should I re-install my operating system and start over? About a month ago, all the video clips played just fine. Is there any solution?
    Thanks

    Hi Wangerer!
    I haven't even heard of half of those! You may have reached overkill on codecs!
    Get rid of some of them and read this:
    These are the downloads and the settings you need in order to view/hear pretty much everything that the net can throw at you: The setup described below has proved repeatedly successful on both PPC and Intel macs, but nothing in life carries a guarantee!
    It is known to work in the great majority of cases with Safari 3.0.4, 3.1, 3.1.1, QT 7.3, 7.4.x and 7.5 and OS 10.4.11.
    Assuming you already run Tiger versions OS 10.4.11 and have Quicktime 7.4 or above, and are using Safari 2 or 3, download and install (or re-install even if you already had them) the latest versions, suitable for your flavor of Mac, of:
    RealPlayer 11 (which is no longer in beta) for Mac from:
    http://www.versiontracker.com/dyn/moreinfo/macosx/15540
    Flip4Mac WMV Player from http://www.microsoft.com/windows/windowsmedia/player/wmcomponents.mspx (Windows Media Player for the Mac is no longer supported, even by Microsoft)
    Perian from http://perian.org/
    You should read this support page http://perian.org/#support in case you need to delete older codecs.
    Adobe FlashPlayer should first be uninstalled using the appropriate uninstaller available here:
    http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_14157&sliceId=2
    and then the latest version obtained from here:
    http://www.adobe.com/shockwave/download/download.cgi?P1ProdVersion=ShockwaveFlash
    and installed.
    (You can check here: http://www.adobe.com/products/flash/about/ to see which version you should install for your Mac and OS, but please see my footnote if you are running Leopard.)
    In earlier versions than QT 7.1.3 in Quicktime Preferences, under advanced, UNcheck Enable Flash, and under Mime settings/Miscellananeous only check Quicktime HTML (QHTM).
    You should also ensure, if you are running Tiger 10.4.11, that you have downloaded and installed all the correct version for your Mac of Security Updates up to and including 2008-004. (N.B. Security Updates require both a restart and a permission repair.)
    In Macintosh HD/Library/Quicktime/ delete any files relating to DivX (Perian already has them). However it should be noted that Perian is not an internet plugin and will not play DivX files imbedded on a website. For that you will need the DivX Player browser plugin available from http://www.divx.com/divx/mac/
    Now go to Safari Preferences/Security, and tick the boxes under Web Content (all 4 of them) to enable Java.
    Lastly open Audio Midi Setup (which you will find in the Utilities Folder of your Applications Folder) and click on Audio Devices. Make sure that both Audio Input and Audio Output, under Format, are set to 44100 Hz, and that you have selected 'Built in Audio'.
    Important: Now repair permissions and restart.
    You should also consider having the free VLC Player from http://www.videolan.org/ in your armory, as this plays almost anything that DVD Player might not.
    There is an additional 'fix' you could try if you are having problems with Flash and Quicktime, depending on which type of Mac you have:
    On Intel Macs, make sure that you are not running Safari in Rosetta. You can check this, and change it, in the Get Info window.
    On PPC Macs, go to the Hard Disk/Library/Internet Plug-Ins folder, and drag the file 'QuickTime Plugin.webplugin' to the desktop. Quit and restart Safari. If things have improved you can trash that file. If they haven't put it back, as the lack of this plug-in can cause QT content in some widgets to cease functioning.
    And now there is an additional kid on the block: SilverLight. Microsoft has created their own version of what a replacement for Flash should be. You can read more about it here:
    http://silverlight.net/
    So, if you go to any sites that have been designed for this new Silverlight stuff, you can download the plug-in from here (but make certain that you are downloading SilverLight v.1.0 for OS X (10.4.8 upwards):
    http://silverlight.net/GetStarted/
    FOOTNOTE
    If you are running Leopard:
    Some users have mentioned that the latest Flash Player (v.9.0.115.0) conflicts with Leopard, and that they have needed to revert to v. 9.0.47. This can be downloaded from here:
    http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_14266&sliceId=1

  • Need help finding the desktop applc of Adobe Reader for Palm OS

    Either I'm going blind, or Adobe just failed to include a download link for that Adobe Reader desktop application that takes care of converting regular PDF files to PDB files. I
    Here is Adobe Reader for Palm OS page, there you'll find a link to download a Free AR for the Palm OS, which installs a PRC file in your Palm, but there is no mention of its counter part application for the desktop
    Thanks in advance guys,
    JDL
    Post relates to: Tungsten E2

    javierdl wrote:
    Thanks for your replies guys
    WN,  thanks for the suggestion. I had just tried it actually. And it's a great alternative. But after using the other one, I can't help but notice how slow it is in my Palm TX. I think I would prefer to get the benefit of compressing/converting the files to PDBs. But no one seems to know where to get that application. I checked in my TX CD and I didn't find it.
    If your TX installation CD does not "auto-run" and present you with a menu to install additional software (including Adobe Reader for Palm), you can find it on the disc using Windows Explorer at:
    Palm CD > Int_English >  Essential_software > Adobe Reader for Palm
    In that folder is the installation (.exe) file which you run on your desktop.  It installs the desktop app, and the .prc file gets installed to the quick installer during the process.
    FYI...this software is slow and clunky on the handheld.  The conversion process is imperfect, and particularly with files which I have produced myself using Acrobat Distiller (the part of Adobe Acrobat which lets you "print" to the distiller to create a .pdf file from anything),  it sometimes doesn't even work.
    The best .pdf viewer I have used on my handhelds is actually the upgraded version of Documents To Go, which handles native .pdf files pretty well.  No conversion needed, just drop the files into your SD card, or Hotsync with Documents To Go desktop.
    Post relates to: None
    smkranz
    I am a volunteer, and not an HP employee.
    Palm OS ∙ webOS ∙ Android

  • I need help finding the best Creative MP3 player for

    I've been searching through the product literature and not finding the information I need to make my decision. I'm hoping the people here might be able to help.
    I need one that does MOST if not all of the following:
    ) Audible audio book support.
    This is mandatory since 75% of my usage is books on the commute. If the player will have support "soon" as in the next month, then that is OK. I can limp along with my current player.
    2) Bookmarks.
    Since I mostly listen to books I need to be able to resume play at any point. It would be great if the player supported a bookmark per file, but I could handle one that only remembered the current position.
    3) In-Car use.
    By this I mean that it can receive power from a car adapter and will auto shut off and remember the playing position when the power is turned off. I was thinking of using a USB power adapter for the MuVo Tx FM, but I don't know if it will actually play when powered that way. I dri've 2hrs a day and that eats batteries too fast to not use the car power.
    Thanks for the help =)

    Altair,
    The Zen Xtra is the player you want. It currently has all three of the features you want available.
    ) It supports Audible with the latest firmware.
    2) It has a bookmark feature that lets you set multiple bookmarks and recall the position.
    3) It has a car mode that makes it shutdown when you turn off your car (assuming that your car outlet turns off when the keys are removed) and restart at where it was when you turn the car back on.
    Jeremy

  • I need help finding the proper website for downloading the proper version of firefox for my PPC MAc

    ''locking as a duplicate of this - https://support.mozilla.com/en-US/questions/847742''
    I just asked this question but it got lost in the mail. I have a Mac PPC G5 2.0 MHZ dual Motorola processor and I need to know the proper version that my mac will work with and I need to know where on your site to go to get it. I need the exact link to download it please.
    Scott Goldberg

    Firefox 2.0.0.20 is the last release that runs on Mac OS X 10.2 and 10.3
    * http://www.mozilla.com/firefox/2.0/system-requirements/
    * https://ftp.mozilla.org/pub/mozilla.org/firefox/releases/2.0.0.20/mac/en-US/
    Firefox 4 requires at least OS X 10.5 and an Intel Mac.
    * http://www.mozilla.com/firefox/4.0/system-requirements/
    * http://www.mozilla.com/firefox/3.6/system-requirements/

  • Need help in the String Format method

    really need help in string.Format method. I would like to show the s in two digit numbers.
    for example:
    if s is below 10 then display *0s*
    the expecting result is 01,02,03.. 09,10,11....
    I tried this method, somehow i got the errors msg. pls advise. thx.
    public void setDisplay(String s) {
    String tmpSS=String.format("%02d",s);
    this.ss.setText(tmpSS);
    Edited by: bluesailormoon on May 19, 2008 10:30 AM

    Apparently, you expect the string to consist of one or two digits. If that's true, you could do this:String tmpSS = (s.length() == 1) ? ("0" + s) : s; or this: String tmpSS = String.format("%02d", Integer.parseInt(s));

  • Need help finding the variance??

    Hello. i am stuck i cannot find the variance. the formula is:
    n -1
    variance<---- 1 / count * sum (x (i) - mean) ^2
    i = 0
    I don't know what i am missing in my variance method. can someone point out what i am missing and how i can go about correcting it? I am not getting the correct total in my variance line and the assigned letter grades all come out as "C". Thanks
    Here is my code:
    import java.io.*;
       import java.text.*;
       import java.util.StringTokenizer;
        public class arraytestread{
           public static void main (String args []) throws IOException {
             int MAX = 100;
             int MIN = 0;
             int [] list = new int [MAX];
             int count = 0; //  ammount of items//
             double avg;
             double var;
             double stDev;
             BufferedReader stdin = new BufferedReader (new InputStreamReader (System.in));
             NumberFormat nf = NumberFormat.getNumberInstance ();
             nf.setMaximumFractionDigits (2);
             nf.setMinimumFractionDigits (2);
             count = read_list (list);
             avg = mean (list, count);
             var = variance (list, count, avg);
             stDev = std_dev (var);
             print_list (list, count, avg, stDev, var);
           public static int read_list (int [] list)throws IOException {
             BufferedReader stdin = new BufferedReader (new InputStreamReader (System.in));
             int count = 0;
             String item = stdin.readLine ();
             while (item != null)
                list [count] = Integer.parseInt (item);
                ++ count;
                item = stdin.readLine ();
             return (count);
           public static double mean (int [] list, int count){
             double sum = 0;
             double mean = 0; 
             for (int i = 0; i <= count; i++)
                sum = sum + list ;
    mean = sum;
    if (count !=0)
    mean = mean / (double) count;
    return (mean);
    public static double variance (int [] list, int count, double mean){
    double sum = 0;
         double sum1 = 0;
         double sum2 = 0;
         double variance = 0;
    for (int i = 0; i <= count; i++)
    sum = sum + list [i];
         sum1 = sum - mean;
         sum2 = sum1 * sum1;
         variance = (1 / (double) count) * sum2);
    return (variance);     
    public static double std_dev (double variance){
    double loop = 0;
    double std_dev = 0;
    double EPSILON = 0.05;
    double z = variance / 2.0;
    while (Math.abs(z * z - variance) >+ EPSILON) {
    z = (variance / z + z) / 2.0;
    loop++;
    std_dev = z;
    return (std_dev);
    public static void print_list (int [] list, int cnt, double avg, double stDev, double var) {
    NumberFormat nf = NumberFormat.getNumberInstance ();
    nf.setMaximumFractionDigits (2);
    nf.setMinimumFractionDigits (2);
    for (int i = 0; i < cnt; ++i)
    System.out.println (i + " : " + list [i]);
    System.out.println ("There were " + cnt + " scores to be evaluated.");
    System.out.println ("The calculated mean is " + nf.format (avg));
    System.out.println ("The Standard deviation is " + nf.format (stDev) + ".");
    System.out.println ("The variance is " + nf.format (var));
    System.out.println ("Letter grades are assugned as follows:");
                   for (int i = 0; i < cnt; ++i){
                   if (list [i] < ((avg) - ((1.5) * (stDev))))
                   System.out.println (nf.format (list [i]) + "     E");
                   else if ((((avg) - (1.5) * (stDev)) <= list [i]) && (list [i] < ((avg) - ((1.5) * (stDev)))))
                   System.out.println (nf.format (list [i]) + "     D");
                   else if ((((avg) - ((1.5) * (stDev))) <= list [i]) && (list [i] < ((avg) + ((1.5) * (stDev)))))
                   System.out.println (nf.format (list [i]) + "     C");
                   else if ((list [i] >= ((avg) + ((1.5) * (stDev)))) && (((avg) + (1.5) * (stDev)) > list [i]))
                   System.out.println (nf.format (list [i]) + "     B");
                   else if (((avg) + (1.5) * (stDev)) <= list [i])
                   System.out.println (nf.format (list [i]) + "     A");
                   else
                   System.out.println ("There were no scores to evaluate.");
    thanks
    Message was edited by:
    rexdart
    Message was edited by:
    rexdart

    I suspect your problem is probably within this code:
    if (list < ((avg) - ((1.5) * (stDev))))
                   System.out.println (nf.format (list [i]) + "     E");
                   else if ((((avg) - (1.5) * (stDev)) <= list [i]) && (list [i] < ((avg) - ((1.5) * (stDev)))))
                   System.out.println (nf.format (list [i]) + "     D");
                   else if ((((avg) - ((1.5) * (stDev))) <= list [i]) && (list [i] < ((avg) + ((1.5) * (stDev)))))
                   System.out.println (nf.format (list [i]) + "     C");
                   else if ((list [i] >= ((avg) + ((1.5) * (stDev)))) && (((avg) + (1.5) * (stDev)) > list [i]))
                   System.out.println (nf.format (list [i]) + "     B");
                   else if (((avg) + (1.5) * (stDev)) <= list [i])
                   System.out.println (nf.format (list [i]) + "     A");
    You need to simplify this logic so it is easier to understand. How about pre-calculating some of the values (such as "((avg) - ((1.5) * (stDev))") and putting that into a variable. It will make it much more possbile to check the logic of the individual "if" statements.

Maybe you are looking for