Inconsistent Data

I have a report of two columns, Program ID and Plannning Company. The query for this is given below:
SELECT  ETL.DIM_PROGRAM.V_Program_ID,  DRVD_PROGRAM_PLANNING_SUPPLIER.Planning_Company
FROM   ETL.DIM_PROGRAM,
  (   select ETL.DIM_PROGRAM.I_Program_Key as I_Program_Key,
       MAx(CASE WHEN Sub.V_Supplier_Role_Type='planning' then Sub.V_Supplier_Name else '-NA-' end) as Planning_Company
from ETL.DIM_PROGRAM LEFT OUTER JOIN (
select ETL.FACT_SUPPLIER_ROLE.I_Program_Key, V_Supplier_Name, V_Supplier_Role_Type from
ETL.FACT_SUPPLIER_ROLE,
ETL.DIM_SUPPLIER_ROLE_TYPE,
ETL.DIM_MOC_SUPPLIER,
(SELECT I_Program_Key, I_Supplier_Role_Type_Key , I_Site_Key, MAX(D_Last_Update_Date) as LUPD
   FROM ETL.FACT_SUPPLIER_ROLE
  GROUP BY I_Program_Key, I_Supplier_Role_Type_Key , I_Site_Key) MAX_UPDATE
where ETL.FACT_SUPPLIER_ROLE.I_Supplier_Role_Type_Key =
ETL.DIM_SUPPLIER_ROLE_TYPE.I_Supplier_Role_Type_Key
and MAX_UPDATE.I_Program_Key = ETL.FACT_SUPPLIER_ROLE.I_Program_Key
and MAX_UPDATE.I_Supplier_Role_Type_Key = ETL.FACT_SUPPLIER_ROLE.I_Supplier_Role_Type_Key
and MAX_UPDATE.I_Site_Key = ETL.FACT_SUPPLIER_ROLE.I_Site_Key
and MAX_UPDATE.LUPD = ETL.FACT_SUPPLIER_ROLE.D_Last_Update_Date
and ETL.DIM_SUPPLIER_ROLE_TYPE.V_Supplier_Role_Type in ('planning','leadprop')
and ETL.DIM_MOC_SUPPLIER.I_Supplier_Key = ETL.FACT_SUPPLIER_ROLE.I_Supplier_Key) Sub
ON ETL.DIM_PROGRAM.I_Program_Key = Sub.I_Program_Key
Where ETL.DIM_PROGRAM.V_Site <> 'MEI'
Group by ETL.DIM_PROGRAM.I_Program_Key
  )  DRVD_PROGRAM_PLANNING_SUPPLIER
WHERE
  ( ETL.DIM_PROGRAM.I_Program_Key=DRVD_PROGRAM_PLANNING_SUPPLIER.I_Program_Key  )
  AND 
  ETL.DIM_PROGRAM.V_Program_ID  =  'BMS00556  '
OPTION (MAXDOP 1)/* Universe Name - User @Variable('BOUSER') Report @Variable('DOCNAME') */
There is a filter on Program ID = BMS00556. When i run the report i get Planning Company value as -NA- and when i run this query in the database i get Planning Company as "Maxvantage".
Also i would like to mention, when i remove Max from the fourth line of the query , i get two values of Planning Company i.e -NA- and Maxvantage for Program ID = BMS00556.
Either in both the report and query the value should be -NA- or Maxvantage. I dont know why there is inconsistency.
Can any one please help me?

I got the solution....thanks....

Similar Messages

  • While trying to open the order in co03 or co02, It is not opening and showing the error message as "Inconsistent data : order 107434 16.09.2013, duplicate entry o 0020. is showing ?

    Hi,
    While trying to open the order in co03, co02, I am getting the below error message : Inconsistent data : order 107434 16.09.2013, duplicate entry o 0020 is showing. Please guide me the way forward.
    Regards,
    Mastan.

    Hi Mastan
    The report mentioned by Rajen should clear the inconsistent records.
    Please observe that you could have found this by yourself report with a quick note search for this error message or even searching for old threads.
    Even a google search points to the solution.
    You should do your own research before opening such kind of thread.
    BR
    Caetano

  • Won't sync calender with mobileme "inconsistent data error message"

    I have tried about everything that I can think of but can't seem to solve this problem.
    I have a new Macbook Pro and have been using mobileme and ical for some time now. I can't get my Macbook Pro to sync with mobileme ical. It does sync with the address book, but when it gets to the ical portion it tries and then reports "can't sync due to inconsistent data on this computer. Correct data and resync calender".
    I have no idea what the "inconsistent data" is. My computer gets its time from apple.com and the time/date is correct. What is the inconsistent data. My calender and schedule is a critical issue. Please help.

    Errors in syncing can happen for all sorts of reasons - loss of network connectivity, for instance - and it might be necessary to reset the synced data from a reliable source. It's not talking about deleting anything - unless you have data on your new computer that you need to retain.
    The document says that if you have this problem on your new machine, you probably need to overwrite that local data with data from MobileMe.
    Personally, I've never lost any data with dotmac or MobileMe, so my experience is it can be relied on. I do, however, keep backups of all my data as well.

  • Inconsistent date formats between Rich Client and HTML client

    Hey All,
    Just wondering if anyone has come across an issue with inconsistent date formats from a universe based on an MS SSAS 2012 database connection in 4.x?
    The value of the date is returned as a string from the query but the object data type has been changed to a Date object meaning BusinessObjects should convert the string into a date if the format is correct.
    The problem in this is that the date being returned in Rich Client is in dd/MM/yyyy format whereas on the Web Client is in MM/dd/yyyy.
    From the Web Client business objects will return a date, however, it is a mix of MDY and DMY format.
    i.e. 15th of March will be displayed as 15/03/2014
    whereas 12th of March will be displayed as 03/12/2014
    All our application servers are configured for English (Australian) regional settings meaning all dates should be in DMY format.
    The date in the database is stored as a non-ambiguous yyyy-mm-dd format so it appears the variation is occurring somewhere between the database and BusinessObjects for the Web Client based reports only.
    I have also checked the sqlsrv.prm file based format and changed this to DMY but this has also not made a difference.
    The same universe in 3.1 and MS SSAS 2008 works correctly but not this one.

    Hi
    The date in the database is stored as yyyy-mm-dd format.
    As per user request.... Set the date format @ the Business layer level. so it will refelct same as in the WebI.
    Please find the below link. how to use custom Display option.
    BI4.1 Business Layer Enhancements - Create Display Format

  • 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

  • ICal wont sync due to inconsistent data

    I get an error message saying... Calendars could not be synced due to inconsistent date. Confirm that your computers data is valid *+(not sure how to do this)+* then reset Calendars on .Mac in system preferences. *+( I have done this and had no luck)+*
    I have also gone into isync and reset my sysc history and then re-synced... having all my computer data be replaced by the .Mac data. i get the same error.
    I have 3 machines that should all be synced. I have just done a clean install on all machines in the following order:
    a mac mini, a Powermac G5, and my Macbook. The macbook is the problem machine. the other 2 systems are synced perfectly.
    Any advice?

    Dude,
    Thanks!!!
    I did two clean installations on my 2 MBPs to leopard starting Friday night and Finishing tonight. I opted to not migrate data because I wanted to leave all my messy Tiger stuff and start again.
    My first MPB must be the dominant one on .Mac because
    MBP-2 >> .Mac >> MPB-1 didn't work .. if it weren't for your reply I wouldn't have tried the other way around and would have just given up until next weekend.
    Thanks.

  • 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.

  • Problems with BCS Queries Inconsistent Data

    Hi BI Experts,
    We recently had our BCS upgrade from 4.0 to 6.0 and BW upgrade from 3.5 to 7.0
    We have created some consolidated queries and we didnt change them to 7.0 they are still in 3.5 version. The problem is that we are getting some inconsistent data every time we ran those queries.
    The BWP is yet to under go upgrade process so we checked  the data in BWP (3.5) production and BWD (7.0) this tells us that the data in the tables are right.
    I ran the query in RSRT and gives inconsistent data.
    We are on the support pack 10 for BCS and
    support pack 14 for BI 7.0.

    Sorry guys....
    I want to correct one statement up there ...when I run my queries with through RSRT i dont get any inconsistent data ..the data comes exactly the way we want ...the problem is only through the BEx.
    Is it a upgrade bug or the support pack issue ..???
    Your suggestions will be appreciated with lots of points
    Thanks

  • Inconsistent Data, can't resolve issue

    Hello,
    I recently found it necessary to rebuild my Aperture Library, and shortly after I located several hundred grey squares with small red boxes on them (these were photos I had previously delted). I selected all of them and used the command-delete key command. It started to delete photos but was taking a long time so I force quit the application.
    Now everytime I lauch Aperture I get the launch window, then the beach ball of death for a min or two, and finally a dialogue that says I have inconsistent data that that Aperture must quit to rebuild. The only problem is it doesn't rebuild.
    I looked at some post with similar problems and have tried removing the Library.apdb file as well as the com.apple.Aperture.plist file. Neither of these methods solves the problem.
    Any other solutions, or am I going to need to reinstall Aperture?
    Kind Regards,
    —Eric
    Ash Films
    <edited by host>

    Turns out there were multiple types of the Library.apdb file that needed to be deleted. My Library is back up and running now.

  • Inconsistent Data Record

    One of my team members hit an error i.e Inconsistent data record
    We have already developed our model, and deployed in a Feb dataset, now when we come to an updated refreshed dataset i.e March, we hit an error where the data records are not consistent and hence the model cannot score.
    i am assuming that there may be a new attribute in the dataset which previously did not occur and hence is now not catered for in the model.
    Is this diagnosis the case. in such an instance how does ODM deal with it and what are our options as an implementation issue
    Server task state: error
    Server task detail:
    ORA-40101: Data Mining System Error ORA-40101: Data Mining System Error ORA-40109: inconsistent logical data record
    ORA-06512: at "DMSYS.DBMS_DATA_MINING", line 312
    ORA-06512: at "DMSYS.DBMS_JDM_INTERNAL", line 157
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86
    ORA-06512: at "DMSYS.DBMS_JDM_INTERNAL", line 179
    ORA-06512: at line 1
    --

    This is usually caused by a duplicate attribute for a single case/row.
    This can happen if the same case id is repeated during a build operation, or if you are working with nested data, the same nested attribute name repeats for a given case.
    The first thing to do is to verify that the caseid is unique.
    Ari

  • 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 cnx/speed

    I have a recently purchased HTC One and I have experienced inconsistent data service in my area of Newburgh, NY and other locations. My phone indicates a 4G connection, but is unable to process any data requests from most of my applications. What puzzples me is that I will have 4G at normal speed in my office one day, but then for a period of time it will just not work. I initially thought it was some type of interference, but I have noticed others in my office who use VZW who have consistent data cnx while mine is out. This has also manifested itself when taking th train down to the city. It is frustrating for me to sit across from a friend using a Samsung Galaxy SIII have fast and consistent data while my brand new HTC One is unable to connect to data for the entire ride. Is this a product defect, is anyone else having the same issues I'm having? Please help!

        Thanks for sharing your concerns with the community, ricterman! Like your friend, I have a Galaxy S III. While I'm very happy with it, I can't say that my experience with its connectivity has been any greater or lesser than others. What I'd like to do is ensure that your opinion of our HTC One is the same as mine is of my device.
    Sometimes, connection instability can be due to device reset needs. I recommend clearing the application cache first. The instructions are here: http://vz.to/15DSfAx. I also recommend reviewing what features and services are being accessed because that may also help define why your friend gets a more solid connection. Let me know how that clearing goes. I'm eager to see hear back from you!
    DionM_VZW
    Follow us on Twitter www.twitter.com/vzwsupport

  • 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" for sync

    I am using Mobile Me to sync iCal with my home and work computers and my iPhone. My home computer (OS 10.5.8) has not been syncing with Mobile Me for a few weeks, saying "Calendars could not be synced due to inconsistent data." I have gone into my System Preferences and selected that the computer's iCal data is replaced by the Mobile Me data. When it attempts to sync again, I get the same message. I have also tried unselecting "Mobile Me" and then re-registering the computer, to sync from scratch. That has also not helped.
    Any suggestions? My Mobile Me data is correct and up-to-date; I just want to replace my computer's info. Thanks in advance....

    I have been trying to resolve this same problem for 2 weeks. My suggestion is to communicate with MobileMe support because it is included with your subscription.
    I went to http://www.apple.com/support/mobileme and clicked on "Syncing with MobileMe" and then "Troubleshooting MobileMe Sync Issues." The last choice under "Have You Tried?" is Express Lane and I asked for a phone call rather than chat. I had about a 5 minute wait before help arrived. I made a backup of iCal using the File/Backup iCal command in iCal. I can't remember all the steps the tech had me go through but he said that the MobileMe database was corrupted. When it was done, I had duplicate calendars and events so I had to replace iCal with the saved file and then sync one direction from my computer to MobileMe. It took about 15 minutes for all the data to populate correctly. Then I added events both in my phone and on my computer. All seems to be working smoothly again.

  • Inconsistent data: Order duplicate entry S 0 000000

    I have two PM work orders that are locked you can not open them if you attempt to open them I get this error message
    "Inconsistent data: Order 9260556 12/27/2006,duplicate entry S 0 000000" any body had a similar problem? or have selution for me.
    Thanks,
    Schalk.

    Hello Schalk.
    C2327 means the table inconsistancy in DB, it means 2 things:
    O - Operations
    S - Sequences
    If the error happens in PM, please use report ZRIORD051 from the note 496017 and report from 143734 to corret the issue.
    if the error happens in PP, please use report ZPSFC171 to correct the issue
    if the error happens in PS, the report from note 143734 does also work to solve it.
    I hope the information is helpful.
    Regards,
    Jane

  • 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?

Maybe you are looking for