Inconsistent Vendor type

Hi friends,
[Apps R12]
Running "Supplier Open Interface Import" it returns the error :
AP_INCONSISTENT_VENDOR_TYPE
The value for VENDOR_TYPE_LOOKUP_CODE column is EMPLOYEE.
I don't understand why.. It appears in this select:
SELECT lookup_code
FROM fnd_lookup_values
WHERE lookup_type = 'VENDOR TYPE'
AND enabled_flag = 'Y'
AND lookup_code ='EMPLOYEE'
Ideas?
Thanks!
Jose.

It's solved.
I needed another column in my insert.
Sorry ;-P

Similar Messages

  • Problems with java constructor: "inconsistent data types" in SQL query

    Hi,
    I tried to define a type "point3d" with some member functions, implemented in java, in my database. Therefor I implemented a class Point3dj.java as you can see it below and loaded it with "loadjava -user ... -resolve -verbose Point3dj.java" into the database.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    package spatial.objects;
    import java.sql.*;
    public class Point3dj implements java.sql.SQLData {
    public double x;
    public double y;
    public double z;
    public void readSQL(SQLInput in, String type)
    throws SQLException {
    x = in.readDouble();
    y = in.readDouble();
    z = in.readDouble();
    public void writeSQL(SQLOutput out)
    throws SQLException {
    out.writeDouble(x);
    out.writeDouble(y);
    out.writeDouble(z);
    public String getSQLTypeName() throws SQLException {
    return "Point3dj";
    public Point3dj(double x, double y, double z)
    this.x = x;
    this.y = y;
    this.z = z;
    public static Point3dj create(double x, double y, double z)
    return new Point3dj(x,y,z);
    public double getNumber()
         return Math.sqrt(this.x*this.x + this.y*this.y + this.z*this.z);
    public static double getStaticNumber(double px, double py, double pz)
         return Math.sqrt(px*px+py*py+pz*pz);
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Additionally, I created the corresponding type in SQL by
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    CREATE OR REPLACE TYPE point3dj AS OBJECT EXTERNAL NAME
    'spatial.objects.Point3dj' LANGUAGE JAVA USING SQLDATA (
    x FLOAT EXTERNAL NAME 'x',
    y FLOAT EXTERNAL NAME 'y',
    z FLOAT EXTERNAL NAME 'z',
    MEMBER FUNCTION getNumber RETURN FLOAT
    EXTERNAL NAME 'getNumber() return double',
    STATIC FUNCTION getStaticNumber(xp FLOAT, yp FLOAT, zp FLOAT) RETURN FLOAT
    EXTERNAL NAME 'getStaticNumber(double, double, double) return double')
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    After that I tried some SQL commands:
    create table pointsj of point3dj;
    insert into pointsj values (point3dj(2,1,1));
    SELECT x, a.getnumber() FROM pointsj a;Now, the problem:
    Everything works fine, if I delete the constructor
    public Point3dj(double x, double y, double z)
    this.x = x;
    this.y = y;
    this.z = z;
    in the java class, or if I replace it with a constructor that has no input arguments.
    But with this few code lines in the java file, I get an error when executing the SQL command
    SELECT x, a.getnumber() FROM pointsj a;The Error is:
    "ORA-00932: inconsistent data types: an IN argument at position 1 that is an instance of an Oracle type convertible to an instance of a user defined Java class expected, an Oracle type that could not be converted to a java class received"
    I think, there are some problems with the input argument of the constructor, but why? I don't need the constructor in SQL, but it is used by a routine of another java class, so I can't just delete it.
    Can anybody help me? I would be very glad about that since I already tried a lot and also search in forums and so on, but wasn't successful up to new.
    Thanks!

    Dear Avi,
    This makes sense when it is a short code sample (and i think i've done that across various posts), but sometime this is too long to copy/paste, in these cases, i refer to the freely available code samples, as i did above on this forum; here is the quote.
    Look at examples of VARRAY and Nested TABLES of scalar types in the code samples of my book (chapter 8) http://books.elsevier.com/us//digitalpress/us/subindex.asp?maintarget=companions/defaultindividual.asp&isbn=9781555583293&country=United+States&srccode=&ref=&subcode=&head=&pdf=&basiccode=&txtSearch=&SearchField=&operator=&order=&community=digitalpress
    As you can see, i was not even asking people to buy the book, just telling them where to grab the code samples.
    I appreciate your input on this and as always, your contribution to the forum, Kuassi

  • ORA-00932: inconsistent data types: expected NUMBER got BINARY

    ORA-00932: inconsistent data types: expected NUMBER got BINARY
    Hi,
    Could anyone help in resolving my problem?
    I ‘m developing cmp beans in Jbuilder X,
    My database is Oracle 10g, running on Linux and Application server is Oracle10gAs. Running on Windows.
    I can deploy my Entity EJB’s OK and look then up using finder methods as long as I’ve created the data directly in the database using SQL*Plus for instance.
    In the database I have my primary keys defined as type NUMBER
    In my EJB the corresponding number fields get mapped as java.math.BigDecimal.
    which according to the Oracle JDBC specification is how they are mapped.
    Problem:
    When I try to create a new database entity through my EJB entity bean I get:-
    Error "ORA-00932: inconsistent datatypes: expected NUMBER got BINARY".
    The value of the number being used as the primary key in this example is 10.
    Eg:-
    BigDecimal pk = new BigDecimal(10);
    TestBean test = home.create(pk);
    The datatype in my EJB Deployment descriptor ejb-jar-xml <pri-key-class> is java.math.BigDecimal>
    The jdbc driver defined in my application.xml is
    oracle.jdbc.driver.OracleDriverand url="jdbc:oracle:thin..." in the connection.
    I’ve even tried mapping a datatype as described in the Oracle FAQ’s but this didn’t work.
    21.     I'm trying to deploy a CMP entity bean with a field type BigDecimal and the table creation fails with an error. How do I work around this?
    You have to perform the following steps prior to deploy your application.
    o     Define the mapping for java.math.BigDecimal in the database-schemas/oracle.xml as follows:
    <type-mapping type="java.math.BigDecimal" name="number(20,8)" />o     Use this schema in your data-source as follows:-
    <data-source
    class="com.evermind.sql.DriverManagerDataSource"
    name="OracleDS"
    ejb-location="jdbc/OracleDS"
    schema="database-schemas/oracle.xml"
    connection-driver="oracle.jdbc.driver.OracleDriver"
    username="scott"
    password="tiger"
    url="jdbc:oracle:thin:@localhost:1521:DEBU"
    clean-available-connections-threshold="30"
    rac-enabled="false"
    inactivity-timeout="30"
    />

    Further clarification of my problem.
    Originally I said the error occurred when deploying EJB's
    Correction: I can deploy them OK on the application server However the Error message occurs when I try to create a new EJB entity, the only value required is the Primary key which I pass as type BidDecimal.
    If I create entries directly in the database my EJB findByPrimaryKey can find entities OK.
    But I cant create new ones through EJB.
    What realy baffels me is why I'm able to read data through the connection but not write.
    The datatype in my EJB Deployment descriptor ejb-jar-xml <pri-key-class> is java.math.BigDecimal>
    The jdbc driver defined in my application.xml is
    oracle.jdbc.driver.OracleDriver
    and url="jdbc:oracle:thin..." in the connection.

  • Vendor numbering sequence by vendor type

    Dear Valued Consultant,
    Specify a range of automatic or manual vendor numbering sequence by vendor type .
    Thanks

    It Allow ?Or Not ? to Specify a range of automatic or manual vendor numbering sequence by vendor type
    Thanks

  • Ora-00932 inconsistent data type expected date got number

    Hi all,
    I have got an error ora-00932 inconsistent data type expected date got number in the below part of query.
    NVL (TRUNC (wdj.date_completed), '14-NOV-2012')
    BETWEEN NVL (TRUNC(:p_wo_completion_date_from),
    NVL (TRUNC(wdj.date_completed), '14-NOV-2012')
    AND TRUNC(:p_wo_completion_date_to)
    can u please help me to resolve the error mentioned.
    Thanks in advance.
    Regards,
    Ravi

    NVL(TRUNC (wdj.date_completed),to_date('14-NOV-2012','dd-MON-yyyy'))
         BETWEEN
              NVL (
                    TRUNC(to_date(:p_wo_completion_date_from,'mm/dd/yyyy hh12:mi:ss am')),
                   NVL (TRUNC(to_date(wdj.date_completed,'mm/dd/yyyy hh12:mi:ss am')),
                              to_date('14-NOV-2012','dd-MON-yyyy'))
            AND TRUNC(to_date(:p_wo_completion_date_to,'mm/dd/yyyy hh12:mi:ss am'))

  • Inconsistent data type in CASE stmnt

    Hi,
    I have a CASE stmnt inside a select stmnt as follows
    CASE 'UNIT_COST_ANALYST'
    WHEN 'COST_POOLS'
    THEN report_cost_pool_sag_gl_if.cost_pool_type --(1)
    WHEN 'UNIT_COST_ANALYST'
    THEN costpools.unit_cost_analyst --(2)
    ELSE report_cost_pool_sag_gl_if.cp_desc
    END
    Now (1) is a varchar type and (2) is a number type and hence giving me inconsistent data type error.
    How to solve this
    Regards,
    S

    try this
    CASE 'UNIT_COST_ANALYST'
    WHEN 'COST_POOLS'
    THEN report_cost_pool_sag_gl_if.cost_pool_type||'' --(1)
    WHEN 'UNIT_COST_ANALYST'
    THEN costpools.unit_cost_analyst||'' --(2)
    ELSE report_cost_pool_sag_gl_if.cp_desc
    END
    /rms

  • Inconsistent data types

    am unable to read a clob column; there is also a long column present. get message "inconsistent data types". how do i fix this, please? oracle 8i

    Thanks, Joel. Yes I'm calling a CLOB from a 9i db, and putting it into an 8i local db. I have a LONG on the 8i local db, and the sql requests the result with the getchunk method. I'm using oraole 8.1.7 and was running into problems. The oraole is now working correctly, just trying to correct the columns to match and work. A CLOB column has been included in the local 8i table, but when I run sql against the local CLOB column, I get the inconsistent data error. Is it because there is also a LONG field in the table? How can I correct the CLOB local column so I don't get the sql error locally?
    Also, once we upgrade to 9i locally, will it not matter if a remote CLOB calls a local LONG?

  • Cisco PI client station vendor type

    hi all,
    i have cisco PI when i go to monitor>clients 
    i can see all the connected clients to my network as long as i can see their station vendor type "Dell,HP,Samsung,....."
    I need to know how PI can detect the vendor type ?!
    thanks in advance

    device profiling can be done different way (like looking at DHCP, HTTP, OUI, etc). Refer below
    http://www.cisco.com/c/en/us/td/docs/wireless/controller/technotes/7-5/NativeProfiling75.html
    So PI can collect these information from WLC & report to you
    HTH
    Rasika
    **** Pls rate all useful responses ****

  • Blocking FastEthernet - Inconsistent port type

    I am trying to add a new C2950-4 switch to ASA but some for reason the nearby 2950-2 will get shutdown due to spanning tree messages as soon as the interface is active.
    ASA Port 1 is connected to a daisy-chain style C2950s and ASA port 2 is connected a brand new C2950-4 switch with nothing attached.
    ASA
    0/1-->C2950-2
    interface Ethernet0/1
     description SW1-0/23
     switchport access vlan 100
    0/2-->C2950-4
     description SW4-0/47
     switchport trunk allowed vlan 50,80,100,800
     switchport mode trunk
     shutdown
    SW1
    # sh run int fa 0/23       
    interface FastEthernet0/23
     description uplink-rch01-0/1
     switchport access vlan 100
     switchport mode access
     switchport nonegotiate
     mls qos trust dscp
     auto qos voip trust
     macro description cisco-router
    end
    #sh spanning-tree summary
    Switch is in pvst mode
    Root bridge for: none
    EtherChannel misconfig guard is enabled
    Extended system ID           is enabled
    Portfast Default             is disabled
    PortFast BPDU Guard Default  is disabled
    Portfast BPDU Filter Default is disabled
    Loopguard Default            is disabled
    UplinkFast                   is disabled
    BackboneFast                 is disabled
    Pathcost method used         is short
    Name                   Blocking Listening Learning Forwarding STP Active
    VLAN0100                     0         0        0         10         10
    1 vlan                       0         0        0         10         10
    #sh cdp nei | in 2950
                     Fas 0/24           157          S I      WS-C2950G-Fas 0/23
    #sh run int fa 0/23
    Building configuration...
    Current configuration : 214 bytes
    interface FastEthernet0/23
     description uplink-rch01-0/1
     switchport access vlan 100
     switchport mode access
     switchport nonegotiate
     mls qos trust dscp
     auto qos voip trust
     macro description cisco-router
    end
    SW4
    Interface FastEthernet0/47
     description UPLINK-RCH01-0/2
     switchport trunk allowed vlan 1,50,80,100,800
     switchport mode trunk
    Error Messages
    Apr 25 17:55:31: %SPANTREE-7-RECV_1Q_NON_TRUNK: Received 802.1Q BPDU on non trunk FastEthernet0/23 VLAN100.
    Apr 25 17:55:31: %SPANTREE-7-BLOCK_PORT_TYPE: Blocking FastEthernet0/23 on VLAN0100. Inconsistent port type.

    It appears that the ASA is bridging BPDUs. By design, an access interface should not received tagged BPDUs; if it does, it implies that you have a misconfiguration with one side of an interface configured as a trunk and the other side as an access switch port. When this happens, on receipt of the tagged BPDU, the access port is blocked with the error messages that you see in your situation. 
    I believe the ASA in transparent mode bridges BPDUs silently but I could be wrong. I'm not great with ASAs.
    Regards,
    Aninda

  • How to suppress vendor bank account for vendor types

    Hi
    I'll bet this has been asked a few times before but I'm struggling to find anything relevant in theforums. This really isn't a security issue as there is the option to suppress the bank account field in SPRO but I just wondered if anybody had found a work around or proper SAP standard S&A to resolve please?
    The perennial "We need to stop people seeing vendor bank account details for our employees but still can see the 'real' vendors' bank account details!" question has been raised, I've offered the suppress bank account details field (load blunderbus and fire option) but is there anything I can do to refine this?
    This is a fairly old 4.6D system due to be upgraded late next year and there's been no XK03 custom transaction mod made so far as I can see.
    Vendors have been define as EMPLOY,..., etc so the split is there if needed...
    Thanks for your attention - just wanted to see if this was possible?
    Regards
    David
    Edited by: David Berry on Oct 18, 2010 8:15 PM
    Edited by: David Berry on Oct 19, 2010 3:37 PM

    HI
    Well, it was worth a go ;-(
    SU24 in QAS = Check/maintain F_BNKA_MAN Banks: General Maintenance Authorization
    One role assigned to the test user with XK02 in it:
    Manually   Cross-application Authorization Objects                                                                               
    Manually   Banks: General Maintenance Authorization  
    5       Manually   Banks: General Maintenance Authorization 
              Activity                       03                 
    22.10.2010                    SAP trace analysis                                                                               
    Terminal           Task Type  V*              PID      
    Time       13:37:15 BST    Date       22.10.2010      Trans/Rep. XK02     
    user       ZTEST1          client     001             mode       1        
    Host       tauksap_tst     System     AT1                                                                               
    13:37:15.521.278 AUT 0 <- F_LFA1_GEN:ACTVT=02                            
    13:37:15.521.317 AUT 0 <- F_LFA1_GRP:KTOKK=OWDR,ACTVT=02                 
    13:37:15.521.349 AUT 0 <- F_LFA1_BUK:BUKRS=0100,ACTVT=02                 
    13:37:15.521.386 AUT 0 <- M_LFM1_EKO:EKORG=0100,ACTVT=02   
    I'll have a word with one of the developers to see if the program is working correctly
    Have a lovely weekend
    Cheers
    David

  • Inconsistent data types error

    I have a query in the VO. No matter what i write, i get the below error.
    java.sql.SQLException: ORA-00932: inconsistent datatypes: expected DATE got NUMBER
    No matter what i do, i get this error.
    The query in the VO is as below
    select * from hr_all_positions_f
    where trunc(sysdate) between trunc(effective_start_Date) and trunc(effective_end_date)
    Please advice.
    Thanks

    your query works perfectly in sql developer...
    as suggested by kumar expand your columns instead of using *
    Also check the data types dynamic where clause if any.
    --Prasanna                                                                                                                                                                                                                                                                                                                                                                           

  • Po Doc Type & Vendor Type

    Dear All,
    As per Company requiremnt we have created different document Types for Material & Service Po.What my requiremnt is that u201CIf Raw Material Doc type is selcted then user shouldnu2019t be able to selct Service vendor.If thsy select service vendor then sysyetm shouldnu2019t allow to create a PO.How can I achieve it??
    Biswajit

    Dear,
    Actually doc. type & the vendor code ar now where interlinked in system.
    You can create a user exit where in system will first the check the document type of PO.If it Raw material doc. type & if the user enters Service vendor system will fire the exit & ive the message that "You cannot use Service vendor for material PO" or someting similar to this.
    For this,
    The service & material vendor must be having different number range which means that they have different account groups.
    So in the exit you can define that first check the docu type say (Raw material) & after the vendor code is entered system will check the table LFA1 & field KTOKK(Account group).Define in exit thet for raw material doc type only material vendo account group is permitted.If the field is of service vendor system will fire the exit.
    This will prevent the user from entering wrong vendor code.
    Regards,
    Nandan.

  • Inconsistent FOTY0001: type error while  using translateFromNative

    I am getting FOTY0001: type error while using translateFromNative function in assign activity.
    This error happens only in the below scenarios:
    1. Create a BPEL process with file input adapter that accepts simple xml string as input and accepts files like input*.txt.
    2. Create a simple XSD(Fixed Length native XSD) and convert the simple string to XML using translateFromNative function and copy it into a variable.
    3. Switch off the process
    4. Put atleast 10 input*.txt files in the folder and switch on the process.
    This error doesn't happen when I put one file at time.. Even when I put multiple files, the error happens for few instances inconsitently.
    Here is our assign activity
    <assign name="Assign_1">
    <copy>
    <from variable="PlantChemMsg" part="Chemistry"
    query="/ns2:Chemistry/ns2:chemistryString"/>
    <to variable="tempChemistryString"/>
    </copy>
    <copy>
    <from expression="ora:translateFromNative(bpws:getVariableData('tempChemistryString'), 'ChemistryLegacy1.xsd', 'Root-Element')"/>
    <to variable="ChemistryOut" part="Root-Element"
    query="/ns8:Root-Element"/>
    </copy>
    </assign>
    Here is the error in group log:
    ORABPEL-09500
    XPath expression failed to execute.
    Error while processing xpath expression, the expression is "ora:translateFromNative(string(bpws:getVariableData('tempChemistryString')), 'ChemistryLegacy1.xsd', 'Root-Element')", the reason is FOTY0001: type error.
    Please verify the xpath query.
         at com.collaxa.cube.xml.xpath.BPELXPathUtil.evaluate(BPELXPathUtil.java:206)
         at com.collaxa.cube.engine.ext.wmp.BPELAssignWMP.evalFromValue(BPELAssignWMP.java:679)
         at com.collaxa.cube.engine.ext.wmp.BPELAssignWMP.__executeStatements(BPELAssignWMP.java:143)
         at com.collaxa.cube.engine.ext.wmp.BPELActivityWMP.perform(BPELActivityWMP.java:195)
         at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:3705)
         at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1654)
    Any help would be appreciated. Thanks.
    -Sridhar

    James,
    Thanks & Sorry for the late reply.
    I used assign activity just because I have only one source and target element.
    This error happens even with transform activity.
    Also, all the input messages are same. So It is definitely not the issue with the input message.
    One observation I did is:
    The error doesn't occur when I use like below(Full Http url):
    ora:translateFromNative(string(bpws:getVariableData('tempChemistryString')), 'http://psc-d674943.hdq.uss.com:7777/orabpel/default/TestTranslateFromNativeError/1.0/ChemistryLegacy1.xsd
    ', 'Root-Element')
    But occurs when I use like below.
    ora:translateFromNative(string(bpws:getVariableData('tempChemistryString')), 'ChemistryLegacy1.xsd', 'Root-Element')

  • Inconsistent data type

    Hi,
    I imported same procedures from Oracle 8i to Oracle 9i but I get the error ORA-00932-inconsistent datatypes:expected DATE got NUMBER.
    Some sugestion?
    Thanks.

    SQL> declare
      2    v_date  date;
      3  begin
      4    select 21092004 into v_date from dual;
      5  end;
      6  /
      select 21092004 into v_date from dual;
    ERROR at line 4:
    ORA-06550: line 4, column 10:
    PL/SQL: ORA-00932: inconsistent datatypes: expected DATE got NUMBERThis is how you get the error, but that doesn't explain why this worked in the 8i database. What is the code that raises this error?

  • JDO76519: Failed to identify vendor type for the data store

    I tried to run an application using CMP on Sun Application Server rel 8 and received the above message.
    I used to run it OK on Release 7 . Data base is used is PointBase bundled with the server.
    Would you help?
    Thanks a lot.

    Can you turn on the logging level to its finest and post it

Maybe you are looking for

  • Where to find entry level sap jobs with a Terp10 Certification

    Hello I am a soon to be college graduate graduating this December. My question is with a Terp10 certification and no work experience what can I expect from the job market. Are there companies that hire college graduates with no SAP work experience? A

  • 'Disable or enable software Secure Attention Sequence' GPO setting | Security Risk

    Hello, In implementing SCCM we discovered that the 'ctrl+alt+del' button for the SCCM Remote Control client, will not work, unless we enable the 'enable software Secure Attention Sequence' GPO setting with 'Services and Ease of Access Applications' s

  • AAWS SOLA Application Fee Issue

    I am working on customizing the Sample online Admission application for Campus Solutions. I am almost done with the integration of application with Constituent Transaction Management (staging). Now I want that Students can not submit applications wit

  • Do I/Can I reformat ipod from windows to mac?

    My 30gb ipod is formatted for windows. I have successfully transferred all of my itunes (thank you for all of your help!!!). Now do I need to reformat my ipod for mac? Is that even possible? If so, how do I do that? Thank you in advance!!!! Jen

  • Download on to .DAT file

    Hi All I have got a requirement, where I have data in defferent internal tables. one table for File Header Segment second table for Data Header Segment third table for Data Item Segment fourth table for File Trailer Segment Now I want to download all