Thread: ap_invoices_interface : i am giving AWT_GROUP_NAME like KTMSP_Exemp

Dear Sir,
I am working on ap invoices interface , i am giving AWT_GROUP_NAME tax but it get With-Held-Tax from suppliers tax detail AND Supplier Sites site.
I also try to Allow Withholding Tax uncheck on supplier
but it didnot display tax from ap_invoice_liness_interface.AWT_GROUP_NAME on ap invoice lines .
Please guide me.

Check if this group name is in the table
SELECT group_id
FROM ap_awt_groups
WHERE name = p_awt_group_name;
Besides, check your Include Tax Amt' in system option.
Best regards
Bilal SARIOZ

Similar Messages

  • Ap_invoices_interface :  i am giving AWT_GROUP_NAME like  KTMSP_Exemp_Cer

    Dear Sir,
    I am working on ap invoices interface , i am giving AWT_GROUP_NAME tax but it get With-Held-Tax from suppliers tax detail AND Supplier Sites site.
    I also try to Allow Withholding Tax uncheck on supplier
    but it didnot display tax from ap_invoice_liness_interface.AWT_GROUP_NAME on ap invoice lines .
    Please guide me.

    Please guide meOK, try one of these forums:
    http://forums.oracle.com/forums/category.jspa?categoryID=3

  • HT1222 I have iphone 4 and the software is ios 7.0.2. I am facing problems with my phone. Since the last software update my phone has started giving problems. like it hangs sometime when i recieve an incoming call. The carrier status bar shifts down a bit

    I have iphone 4 and the software is ios 7.0.2. I am facing problems with my phone. Since the last software update my phone has started giving problems. like it hangs sometime when i recieve an incoming call. The carrier status bar shifts down a bit and sometimes it vanishes automatically. I,m confused.
    Secondly i have an update IOS 7.0.4 waiting in my Software Update menu. I have tried so many times to update my iphone but it always fails to update the IOS 7.0.4. Any body suggest anything regarding this

    Wow. Lots of help. Thanks apple

  • I have download iLife for free in ipad air but I deleted imovies ...after dat I try to install it agine n giving message like u already purchased it will be download for free.....after dat it agine coming cloud symbol.pls help in downloading iMovie .

    I am new to apple family.on new year I brought this amazing devise .I have download iLife for free in ipad air but I deleted imovies ...after dat I try to install it agine n giving message like u already purchased it will be download for free.....after dat it agine coming cloud symbol.pls help in downloading iMovie .

    I am new to apple family.on new year I brought this amazing devise .I have download iLife for free in ipad air but I deleted imovies ...after dat I try to install it agine n giving message like u already purchased it will be download for free.....after dat it agine coming cloud symbol.pls help in downloading iMovie .

  • I have download iLife for free in ipad airbut I deleted imovies ...after dat I try to install it agine n giving message like u already purchased it will be download for free.....after dat it agine coming cloud symbol.pls help in downloading iMovie .

    I have download iLife for free in ipad air but I deleted imovies ...after dat I try to install it agine n giving message like u already purchased it will be download for free.....after dat it agine coming cloud symbol.pls help in downloading iMovie .

    I have download iLife for free in ipad air but I deleted imovies ...after dat I try to install it agine n giving message like u already purchased it will be download for free.....after dat it agine coming cloud symbol.pls help in downloading iMovie .

  • Mutli threading in Server Socket giving error for parallel requests

    HI, I wrote a ServerSocketProgram.java which listens to client and receives data. I used multithreading on each request it receives . But when two clients parallelly send data the server is struck at the iStream.read() operation. I have given setSoTimeOut(20000) . So its giving me a socketTimeOut Exception .If I removed the time out , It gave SocketException : socket closed. And there's no response to the client.
    Please tell me the reason for the above problem . The sample program is below.
    while ((clientSocket=serverSocket.accept())!=null){
                        System.out.println("in side main "+clientSocket.getInetAddress());
                        Thread c= new Thread(new ServerSocketProgram(clientSocket));
                        c.setDaemon(true);
                        c.start();
    The Constructor is :
    public ServerSocketProgram(Socket clientSocket){
              this.socket = clientSocket;
              try {
                   oStream =new DataOutputStream(socket.getOutputStream());
                   iStream =new DataInputStream(socket.getInputStream());
              } catch (IOException e) {
                   e.printStackTrace();
    The run method :
    public void run() { 
              int op=0;
              try {
                   while ((op=iStream.read())!=0){
                        System.out.println(op);
                   oStream.writeBytes("hi success ");
                   oStream.flush();
              } catch (IOException e) {
                   e.printStackTrace();
              try{
                   oStream.close();
                   iStream.close();
                   socket.close();
              }catch(Exception e){
                   e.printStackTrace();
    Thanks in advance ,
    Sow
    Message was edited by:
    sow_Yarr

    Your end-of-stream test should be looking for -1, not zero. Zero is a possible data value, but you're probably never receiving it so you're never getting to the output statement following your read loop.

  • Message queue like in C++ threads

    Hi,
    I have a question. Does java support threads sending messages to each other like in C++ threads on Windows?
    On Win32, a thread sends message to another thread. This message gets queued up in a message queue, I think, by the OS. The receiver thread can Peek or Get a message from the message queue by doing a such a request.
    Thanks.
    Tri

    That code does not check my "claim". You never directly modify the list in that code. This code does verify my "claim" ... lol
    import java.util.*;
    public class test {
    public static void main(String[] args) {
      List list = new LinkedList();
      list.add(new Object());
      Iterator itr = list.iterator();
      list.add(new Object());
      itr.next();
    }Save compile it.. run it... you'll get ConcurrentModificationException. This isn't a "claim" of mine. Iterators in java are what's called "Fail Fast". This means if you directly modify the underlying collection, then try to use the iterator again, it fails, in java with an Exception.
    In your code you posted above you had a "list.add(p);" that's a direct modification of the list. Once that happens, all iterators are invalid, and will throw an exception if used. With more then one thread this can get kinda weird. That's why Doug Lea has created the util.concurrent package. Check out the read write locks. You can put them over a collection with just a few lines of code. Much faster then fully synchronized collections. This package will appear in java version 1.5 ... check out JSR 166. Links inside the site below.. for more info.
    http://g.cs.oswego.edu

  • How can I display data from ResultSet to a component like jLable and JTable

    hi there
    My code as shown below
    boolean fillTable(int type){
            try{
                //model.setRowCount(0);
                if(type == 1){
                    System.out.println("line 1");
                    model = new DefaultTableModel(new Object [][] {   },
                            new String[] { "\u1200 Code", "Description" });
                    System.out.println("line 2");
                    while(lookup.rs2.next()){
                        System.out.println("line in while");
                        model.addRow(new String[] { lookup.rs2.getString("code"),
                            "\u1201 " + lookup.rs2.getString("amdescription")});
                          //System.out.println("While : " + lookup.rs2.getString("code") + " " +
                            //      lookup.rs2.getString("amdescription"));
                    lookup.rs2.last();
                    String str;
                    str =  new String (lookup.rs2.getString("amdescription"));
                    jLabel2.setText(str);
                    System.out.println("line 3");
                    tblLookup.setModel(model);
                    System.out.println("line 4");
                else if(type == 2){
                    System.out.println("line else if 1");
            }catch(Exception ex)    {
                System.out.println("Exception @ MilLookupDisplay fillTable : " + ex.getMessage());
                return false;
            return true;
        }I can read from access db and put the resultset on rs2 , it works fine
    my problem is when I try to display the data ( which is amharic unicode character ) on jTable and jLabel as shown it displays '???'
    besides I have checked the font by giving unicode like '\u1200' on both component displays it well
    so is there something to do before trying to display unicode characters from resultSet
    please I ' m waiting
    thanks a lot

    http://forum.java.sun.com/thread.jspa?threadID=5153938

  • Exception in thread "main" java.lang.OutOfMemoryError(please help me )

    Hi All
    here my java class trying to read a txt file(which is having size of 60MB).and putting each line into a Vector class. problem is ,upto certain number of line it is reading properly and putting into vector..after that it is giving error like Exception in thread "main" java.lang.OutOfMemoryError..what is the problem and how to rectify this one..anybody help me on this.
    actual situation is one txt is there in that 80 lakhs of lines of content is there..java file trying to read each line and put it into vector or stringbuffer and split it into two lines like key=value and put it into hashmap object.then finally iam creating new file(.properties) and writing these hashmap data on it. if you want clearly..please look into below code..
    package test.utf8; import java.io.*; import java.util.*; public class AssetUtils
    //static StringBuffer stringbuffer = new StringBuffer();
    public AssetUtils()
    public static void main(String args[]) throws IOException
    BufferedReader bufferedreader = new BufferedReader(new InputStreamReader(new FileInputStream("D:\\list.txt")));
    Vector vector = new Vector(0x30D40, 50000);
    System.out.println(vector.capacity());
    Object obj = null;
    int n=0;
    System.out.println("Reading list:" + new Date(System.currentTimeMillis()));
    do
    String s = bufferedreader.readLine();
    //System.out.println("line no: "+ ++n);
    if(s == null)
    break;
    vector.add(s);
    } while(true);
    System.out.println("List Read complete:" + new Date(System.currentTimeMillis()));
    String s1 = args[0];
    System.out.println("S1: "+s1);
    System.out.println(vector.capacity());
    HashMap hashmap = new HashMap();
    System.out.println( "Vector.Size..>>>>>>>>>>>>>>>>.."+vector.size());
    for(int i = 0; i < vector.size(); i++)
    System.out.println("i value:"+i);
    String s2 = (String)vector.get(i);
    //System.out.println("S2: "+s2);
    if(s2.indexOf("/") != -1)
    String s3 = s2.substring(s1.length(), s2.length());
    //System.out.println("S3: "+s3);
    if(s3.indexOf("/") != -1) {
    String s4 = s3.substring(0, s3.lastIndexOf("/"));
    //System.out.println("S4: "+s4);
    String s6 = s3.substring(s3.lastIndexOf("/") + 1, s3.length());
    //System.out.println("S6: "+s6);
    StringBuffer stringbuffer=null;
    stringbuffer = new StringBuffer();
    String s8 = (String)hashmap.get(s4);
    //System.out.println("S8: "+s8);
    if(s8 != null) stringbuffer.append(s8 + "," + s6);
    else
    stringbuffer.append(s6);
    hashmap.put(s4, stringbuffer.toString());
    //stringbuffer.delete(0,stringbuffer.length());
    stringbuffer=null;
    System.out.println("Opening asset.properties:" + new Date(System.currentTimeMillis()));
    File file = new File("D:\\asset.properties");
    PrintWriter printwriter = new PrintWriter(new FileOutputStream(file));
    String s5;
    String s7;
    for(Iterator iterator = hashmap.keySet().iterator(); iterator.hasNext(); printwriter.println(s5 + "=" + s7))
    { s5 = (String)iterator.next(); s7 = (String)hashmap.get(s5); } printwriter.close();
    System.out.println("Closing asset.properties:" + new Date(System.currentTimeMillis()));

    Theres a number of ways you can improve your memory usage:
    1) Build you map as you read in your file.
    2) Use StringBuffers in your map - do not use "asshaj" + "ashaskj" This is very memory intensive
    If you still run out of memory try running the JVM using -Xms128m -Xmx512m or higher

  • Need help for thread synchronization

    Hi guys,
    i got some problem with the thread synchronization.
    actually my code is like,
    class myClass
    public static void main()
    PvsIdentify identifyThread = new PvsIdentify(this); //Child trd 1
    PvsPolling pollingThread = new PvsPolling(this); //Child trd 2
    identifyThread.start();
    pollingThread.start();
    synchronized(this) {
    try {
    this.wait();
    } catch (Exception ex) {
    ex.printStackTrace();
    /// Code to follow based on the ouput from these two child threads
    if( ! identifyThread.getOutput() =="")
    my requirement is ,
    the identifyThread is giving an output. so after the completion of that child thread only IF condition should execute.
    but for me the IF condition is getting execute before the complete execution of identifyThread.
    what may be the problem.
    thanx in advance.---------------Subbu

    my problem is, that child thread identifyThread will do some process and final throw the output in a JOption dialog box to the main window.
    if we use join for the child thread then that dialog box will not come the the main window.
    This is my code,
              businessCancel = false;
              pollingCancel = false;
              String userName = txtInputId.getText();
                    //CHECK FOR EXISTANCE OF USER NAME
                    boolean isNameExist=false;
                    int isString = this.isValidName(userName);
                    try { // This code block invokes the PalmsSEIPort:isNameExist operation on web service
                        palmsecuresdk.sample.Palms palms = new palmsecuresdk.sample.Palms_Impl();
                        palmsecuresdk.sample.PalmsSEI _palmsSEIPort = palms.getPalmsSEIPort();
                        isNameExist = _palmsSEIPort.isNameExist(userName);
                        System.out.println("The result of isNameExist is==="+isNameExist);
                    } catch(javax.xml.rpc.ServiceException ex) {
                        // TODO handle ServiceException
                    } catch(java.rmi.RemoteException ex) {
                        // TODO handle remote exception
                    } catch(Exception ex) {
                        // TODO handle custom exceptions here
                    if(isNameExist==false)
                        if (isString==1) {
                            // CHECK FOR EXISTANCE OF USER PALM DATA
                            //Identify process
                            setComponentEnabled(false);
                            PvsIdentify identifyThread = new PvsIdentify(this);
                            PvsPolling pollingThread = new PvsPolling(this);
                            identifyThread.start();  
                            pollingThread.start();
                            btnCancel.requestFocus();
                            synchronized(this) {
                                    try {
                                        System.out.println("the owner of this thread is "+this.getOwner());
                                         identifyThread.join();
                                         pollingThread.join();
                                        System.out.println("Main thread is sleeping now");
                                    } catch (Exception ex) {
                                        ex.printStackTrace();
                            this.notifyAll();
                            System.out.println("After the identify process over");
                            String isPalmExist = identifyThread.getFinalResult();
                            while(isPalmExist.equals(""))
                                isPalmExist = identifyThread.getFinalResult();
                                if(!isPalmExist.equals(""))
                                    this.notifyAll();
                            System.out.println("The identify result is "+isPalmExist);
                            if(isPalmExist.equalsIgnoreCase("Identify Failed"))
                                // To display PROCEED MsgBox
                                identifyThread.result=102;
                                identifyThread.resultNotify(isPalmExist);                           
                                // Execute enrollment process.
                                setComponentEnabled(false);
                                PvsEnroll enrollThread = new PvsEnroll(this, this, userName);
                                //PvsPolling pollingThread = new PvsPolling(this);
                                enrollThread.start();
                                pollingThread.start();
                                btnCancel.requestFocus();                           
                            else
                                identifyThread.result=101;
                                identifyThread.resultNotify(isPalmExist);
                        else {
                                // Guidance display(ID is not correct.)
                                String message = langFileAccessor.getLangInfo(
                                                                        PvsLangFileAccessor.KEY_GUIDANCE_ILLEGALID);
                                dispGuidance(message);
                                initState();
                    else
                        String message = langFileAccessor.getLangInfo(PvsLangFileAccessor.KEY_GUIDANCE_EXISTINGID);
                        dispGuidance(message);
                        initState();
                    }

  • Multiple like statements in a query

    Hi,
    I wonder if it's possible to have multiple like statements in a query.
    suppose instead of
    select * from someTable where remarks like '%ab%'
    I want to search for many string patterns such as '%edi%' '%odi%' '%di%' '%gf%' '%od%' '%podi%' etc. in one query.
    BTW, the table contains many millions of records.
    Regards
    Crusoe
    Edited by: Crusoe on 19-Jan-2009 00:25

    Crusoe wrote:
    This regexp_like function does not work with the development server to which I have rights to create tables etc. I guess it only works in 10g or greater. However i tried a quick test in the production server and it worked. It returned rows where the values between the | characters were found anywhere in the field ( I must learn this regex syntax sometime). Yes, regular expressions are 10g upwards. (You really should have your development server reflect your production server)
    There was a thread a while back giving an introduction to regular expressions...
    Introduction to regular expressions ...

  • Can a dead thread be alive again !!

    can a dead thread be alive again ?
    i have added some threads in a thread group. and then called its activeCount() methods.
    it is giving results like this....
    the active count:10
    the active count:5
    the active count:2
    the active count: 1
    the active count: 2 // dead thread alive ?
    the active count: 0
    is it feasible theoretically ? i am getting that kind of output

    as most of the time, the API doc saves the day :
    activeCount
    public int activeCount()
    Returns an estimate of the number of active
    tive threads in this thread group. The result might
    not reflect concurrent activity,
    number of activetive threadswhat is the meaning of active here ? alive() ? there is a isalive() method already ......
    and might be
    affected by the presence of certain system threads......u mean system thread can leak into my threadgroup....well
    Due to the inherently imprecise nature of the
    the result, it is recommended that this method only
    be used for informational purposes.
    Returns:
    an estimate of the number of active threads
    threads in this thread group and in any other thread
    group that has this thread group as an ancestor.
    Since:
    JDK1.0

  • Animation Thread

    Hey, I have a program that performs an animation using a timer just like the Java Tutorial has for animations. The animation plots a histogram with data when the user clicks on a button. There is also some statistical data the pops up when the user clicks on the button. The statistical data shows up right away after the user clicks on the button, but the animation takes a few seconds. This makes perfect sense as the animation is a seperate thread. Well, my boss would like the statistical data to update after the animation is finished. I'm not sure at all how I would go about doing that.
    Basically what I want to do is wait for the timer to stop before returning to the calling method:
    timer.start();
    // delay until timer is stopped.
    return(1);I tried this, but it didn't work:
    timer.start();
    while(timer.isRunning());
    return(1);Any help would be great!

    I suggest giving the animation and the calculation of the statistical data their own functions, then calling each of them when the button is clicked. Example:
    // The event handling code
    public void actionPerformed(ActionEvent e)
    // Test if the button is being pressed
    if(e.getActionCommand() == "calculate")
    doAnimation();
    calculateData();
    }Could you post some of your code? I might be able to give more specific help if so.
    -Eric

  • Wsdl giving Element "Policy" is not permitted in the "/definitions/portType

    Hi Experts,
    While importing a WSDL its giving error like - Element "Policy" is not permitted in the "/definitions/portType
    Please guide how to handle this issue..
    Regards
    Pankaj Rajak

    Have you seen this thread
    Inbound Proxy as WebService

  • Does the 8 core have 16 threads or 8?

    I'm a motion designer, I use Cinema 4D daily and I just recently put together an i7 PC strictly as a rendering node to use in conjunction with my main machine which is a quad 3GHz Mac Pro. The whole i7 machine cost just $1200 and it smokes the socks off my Quad 3GHz Mac Pro in every aspect (sad)... I bought the 2.26GHz version of the i7 and its completely stable overclocked at 3.7GHz on just air cooling. Now I know the i7 Nahelem is similar to the chips in the 8 core Mac Pro, but that the chip in the Mac Pro is a server edition of the Nahelem, correct? Anyhow, the i7 chip I bought is a 4 core chip, but to my surprise (which I didn't know when I bought it) is that the i7 actually has 2 threads per core, so the system sees the computer as having 8 logical processors, so when the machine renders in Cinema 4D, it actually renders like an 8 core machine, each frame is rendered in 8 parts simultaneously. Now my question is (since I don't have the new Mac Pro) is if the chip in the new Mac Pro has that same architecture, 2 threads per core, essentially giving the new Mac Pro a total of 16 threads? Does anyone know with any certainty wether this is the case or not? I'm going to be looking at moving my current Mac Pro as a render node and getting a new Mac Pro as my main work machine, but that would be really helpful to know beforehand.
    Thanks in advance
    Message was edited by: trackfive

    I think you can go straight to the horse's mouth, Intel, along with Wikipedia has a lot to say.
    People have used eVGA Classified and Xeon W35xx to go beyond 5GHz, thanks to the quality of server chip.
    Intel Core i7 920 2.66GHz 8M L3 Cache 4.8GT/sec QPI Hyper-Threading Turbo Boost LGA1366 Processor
    Not every program runs at its best with HT enabled, but some do better.
    Even last year's 2.8GHz 8-core still selling for $2399 has a lot of power behind it.
    As for $1200, that is cutting it close, depending on what you already have on hand, and such, but a good board, and add'l copper and fans or water, 4GHz is entirely doable with D0 steppping.
    There are plenty of threads, here, this forum, and elsewhere reviewing and talking about Mac Pro Nehalem performance.

Maybe you are looking for

  • My itunes library/playlist has gone after i compressed the music folder unaware of flow on effect.

    Please hekp me reinstate my itunes library and playlists after my attempt to compress the windows music folder to save hard disk space. I have gone back to the music folder and unchecked the compression box and it looks like the music is reapperaing

  • Airport base station and U Verse

    Does anyone know how to get an Airport Base Station to connect wirelessly to an ATT U VERSE 2 WIRE modem? I've used Airport Utility to get the Base Station to join my network but it never finds the ATT network. Thank you, Charlie

  • Green (or no) VGA output

    My trusty old MBP is occasionally giving green output to external monitors and projectors.  At times, external monitors are not even recognized.  If I tinker with the laptop's screen resolution, sometimes that will help with recognition of external m

  • How to use method of one class in other class.

    Hi.I am new to object orient approach .I am developing a project which has a class as application .My class has it state control as another class which is notification class.I want to use my notification class method (init)in my application class met

  • Unable to create shopping cart

    Dear All, When I try to create the shopping cart, I get the following errors No Logical System for FI is maintained. Inform system admin. Enter the company code No Logical System for FI is maintained. Inform system admin.(2nd time) Error in account a