Dimension Current Flag and Last Update date not updated - SLD issue!

Hi.
ODI is running pretty well now. I have created several interfaces from flats, multi database tables, but still have to test the services and cdc, etc... later I will do this.
I am having a small issue here when dealing with Slowly Changing Dimensions. I am trying to populate a product dimension. I use a Load KM and the SLD KM. Then I update a product row in the source, and I wish to make sure that type-II runs OK for major and minor changes after running the interface.
Well minor changes run ok, deletes don't run at all, and update for major changes should generate another surrogate key and turn the old record "current flag" to zero and "close"/update the last update date as well!!!
What am I missing here? Is this related to the KM restrictions?
"Restrictions:
- Make sure to map ALL target table columns flagged as: "Surrogate Key", "Natural Key", "Current Record Flag", "Start Timestamp" and "End Timestamp". Notice that mappings set for the "Current Record Flag", "Start Timestamp" and "End Timestamp" columns are not used."
Do I need to implement somehow that behaviour or use another KM?
Another question regarding data warehousing: Well usually in a bespoke DW we can have N sources, N staging areas, and several data marts. Using ODI, for instance what are the best practises to create or simulate this behaviour??
I know that using a Knowledge Module I can load/extract (to temp tables in the source work schema), then integrate in the target schema.. using the same schema to temp staging tables or another schema.... what is the best aproach?
Any dw people wants to share some experiences here?
Thank you all.
Best regards,
Alvaro
Message was edited by:
Alvaro Silva

Thanks Cezar :)
Well Updates work if I unckeck 262!!! :) But deletes are not setting the CURR to zero!!!
PS: um abraço para ti também .... o mundo é pequeno! :) será que podes adicionar-me no messenger para alguma troca de experiências? [email protected]
Alvaro
Message was edited by:
Guest

Similar Messages

  • Anyone have problems with apple ID's? I have the correct ID in my settings but when I try to update my apps my ID shows my first name and last name but not my ID? I'm not sure what else to do because I've made sure I have the correct ID in my settings!

    Anyone have problems with apple ID's? I have the correct ID in my settings but when I try to update my apps my ID shows my first name and last name but not my ID? I'm not sure what else to do because I've made sure I have the correct ID in my settings! Anyone else have this issue?

    I think its meant to show your name, not your ID.

  • How to display records based on current month and last month???

    i have a query that want to display the data for current month and last month. when i try to view the reports, all the data/key figures is return all in 0.00.
    i modify the variables for this current month and last month but still the results is the same. i could not see the data. any advise on how to modify the variables for this current month and last month? i am thinking my variables is wrong.
    for the current month variable:
    the type of variable is characteristic value, processing by customer exit, reference characteristic is calendar year/month.
    thanks for all who are kind to help me here....

    Hi,
       If you install the variables from BC correctly and they are in active state, you can use them directly use them. check for this month the total values at info cube is ZERO or some value. as you told you are getting ZEROS for your input.and check the data at cube level based on your query design, apply all restrictions, fileters and see do you get any data at cube level and compare with report.

  • Last played data not syncing

    This is the first time I've had this problem. I synced the iPod tonight (click-wheel version) and the last played data since the last sync didn't migrate into iTunes. I tried uninstalling and reinstalling iTunes without any luck, and several attempts at syncing all gave the same result.
    Any suggestions? My iPod hasn't been giving me a whit of trouble that I could tell.
    Windows PC, Dell Optiplex SX270   Windows XP  

    iTunes match has been having problems with play counts and last played data for a long time now. It actually seemed as if it was fixed before the iOS 6 release it would just take a couple days for the information to update. Sometimes it would update the play counts by 2 instead of 1... Now it seems as if it's broken again. I've been keeping my eye on a certain song I purchased Thursday and watched over the weekend. So far all that's updated is the rating and it gave it 2 play counts (I've played it around 5 times) it still does not have the last played data..
    I hope they can at least get iTunes Match back to where it was before the release, at least we had some kind of update...

  • How to create report which includes records of current month and last 7 days of previous month.

    Hi Experts,
    I need to create a report which includes records of current month and last 7 days of previous month.
    I will get records of current month by this formula :- month({PROBSUMMARYM1.OPEN_TIME})=month(currentdate)
    Please tell me how to add the records of last 7 days of previous Month for the same report.
    Thanks in Advance.

    Hi Ajay,
    If you have more than a year data in your database then your formula will return wrong results. ie. If your data consist of 2012,2013,2014 data then below formula will return all 8th month data irrespective of year. So, you need to check year also here
    month({PROBSUMMARYM1.OPEN_TIME})=month(currentdate)  and
    Year({PROBSUMMARYM1.OPEN_TIME})=Year(currentdate)
    Now add Abhilash second statement in OR so, your formula should look like :
    (month({PROBSUMMARYM1.OPEN_TIME})=month(currentdate)  and
    Year({PROBSUMMARYM1.OPEN_TIME})=Year(currentdate))
    OR
    Date({PROBSUMMARYM1.OPEN_TIME}) IN [DateAdd('d',-7,Maximum(LastFullMonth)), Maximum(LastFullMonth)
    -Sastry

  • How to get current month and last month dynamically??

    how to get current month and last month dynamically
    like
    month = getCurrentMonth();
    lastmonth = getcurrentMonth() -1;
    please help
    thanks

    hi :-)
    /* depracated but can be still useful */
    java.util.Date dtCurrent = new java.util.Date();
    int month = dtCurrent.getMonth();
    int lastmonth = dtCurrent.getMonth() - 1;
    System.out.println("* " + month);
    System.out.println("* " + lastmonth);
    /* better to use this one */
    Calendar cal = new GregorianCalendar();     
    int imonth = cal.get(Calendar.MONTH);
    int ilastmonth = cal.get(Calendar.MONTH) - 1;
    System.out.println("*** " + imonth);
    System.out.println("*** " + ilastmonth);
    regards,

  • HT202058 iphone 6+ somehow has switched my name on emails into my nephew's name. We share a first and last name but not a middle name. For example, my name might be John George Doe and his name John James Doe. How did this happen? How do I correct it.

    iphone 6+ somehow has switched my name on emails into my nephew's name. We share a first and last name but not a middle name. For example, my name might be John George Doe and his name John James Doe. How did this happen? How do I correct it.

    So if the solution recommended by Ralph is not working then the other option is this:
    Please make sure that the emails work correctly when signed into, on a computer
    Then delete the account off your phone - you will not lose the emails
    Reset the phone
    Re add the account back in and see if that helps the issue
    Thanks

  • Query users, access level and last logon date

    <p>Hello,</p><p> </p><p>Does anybody know how to query Essbase to look up users accesslevel and last logon date?</p><p> </p><p> </p><p>Rey Fiesta</p>

    It can be done using the API. Access level is a little complicated because it can be by individual or group they belong to and it of course is different by application/database

  • My iCloud is full and I don't want to buy more storage. Can I clear my current cloud and then update without losing anything on my phone?

    My iCloud is full and I don't want to buy more storage. Can I clear my current cloud and then update without losing anything on my phone?

    This article provides some suggestions: Managing your iCloud storage.  In addition to what's mentioned there, deleting photos and videos attached to your text messages may significantly reduce the size of your iCloud backup and the storage it occupies.

  • IPod Shuffle 2 no longer updating playlist play count and last played date

    I use my shuffle 2 in the gym.  When I'm done working out I sync and the most recently played songs are rotated off using a smart play list.  This is no longer working.  I reset the shuffle 2, I've forced sync and auto filled many times.  My latest workout it still lists all the songs I just listened to in the order I listened to them and has their last played date as many months ago.
    This seems to be affecting my other iPod too, but it is tougher to diagnose.  I signed up to iTunes Match and after several days that is still running but I noticed this problem long before iTunes Match became available in Canada.  Both my iPod Shuffle and iTunes are up to date but my music is on an older but upgraded Mac.  It has a G4 so no Lion upgrade, I just checked it is 10.5.8

    All my tracks should be MP3s or AAC.  I ripped them myselfs with iTunes.  I may have bought some songs directly off of record labels or some other online music store, but I own my music legally whether I bought it on CD or got given it by magazines or record labels.
    I went to the gym today.  I set the shuffle to random.  Some songs were synched back to iTunes but they weren't the songs I listened to, at least not all of them.  Some of them may have been the songs I listened to last workout, at least one or two of the songs updated I did listen to today.
    I listened to some other songs last night on my main Mac so it is easy to determine which songs iTunes updated this morning.
    I haven't had much time to play with Match.  It is still updating and uploading, it has 6000 songs to go.  That means in a half month of trying it has managed to find and/or upload a little over 1000 songs actually close to 2000 now.  It is something, but it isn't the service I was sold.  All my songs and playlists were supposed to be available in the cloud.  That hasn't happened and in the case of my smart playlists will never happen. 
    I'll read you link, but I wrote a blog posting how I was disappointed with the service so far.
    Thanks!

  • Bug in newest version of iTunes: last played data not updating after songs are played

    I just downloaded the newest version of iTunes on my Mac. The "last played" data is not updating automatically after a song has finished playing (even after waiting for a while). Sometimes in the older versions it would take 5-10 second for the data to update automatically, but even after several minutes, "last played" still shows as if the song had not just been played.

    RestonMacGuy wrote:
    I did something similar, but not the same: I "played" a few tracks from the iPod (fast-forwarding until about 30 seconds from the end) while the Shuffle was connected to my computer and in iTunes, which then caused the "Last Played" field to be updated.
    The next time I connected my Shuffle, the Last Played values were updated.
    I bet the Last Played was updated after you stopped playing the tracks...IN FACT. if you were watching your shuffle icon, you might have noticed the rotating thingy to the left of the eject symbol, meaning an update was ongoing.
    This will happen AS LONG AS the track has "remember playback position" set.

  • First Generation Ipod Shuffle: Play count and Last Played date

    I have a 1st Gen Ipod shuffle that works great in all other respects but it doesn't track the number of "plays" or the "last play" dates. Which means I can't use the "Smart Playlists" Itunes feature to be sure that the music on it stay fresh, non-repetitive. Another problem is if I listen to a podcast on the Ipod Shuffle then in Itunes the podcast appears as though it has never played before. This gets confusing as I listen to a number of podcasts.
    I have tried resetting and restoring the Ipod shuffle. Is there anything I can do to it to make it track the number of plays or last played dates?

    All my tracks should be MP3s or AAC.  I ripped them myselfs with iTunes.  I may have bought some songs directly off of record labels or some other online music store, but I own my music legally whether I bought it on CD or got given it by magazines or record labels.
    I went to the gym today.  I set the shuffle to random.  Some songs were synched back to iTunes but they weren't the songs I listened to, at least not all of them.  Some of them may have been the songs I listened to last workout, at least one or two of the songs updated I did listen to today.
    I listened to some other songs last night on my main Mac so it is easy to determine which songs iTunes updated this morning.
    I haven't had much time to play with Match.  It is still updating and uploading, it has 6000 songs to go.  That means in a half month of trying it has managed to find and/or upload a little over 1000 songs actually close to 2000 now.  It is something, but it isn't the service I was sold.  All my songs and playlists were supposed to be available in the cloud.  That hasn't happened and in the case of my smart playlists will never happen. 
    I'll read you link, but I wrote a blog posting how I was disappointed with the service so far.
    Thanks!

  • Voice Memos older than last Sync date not copying from iPhone to PC after sync, even though "Include voice memos" is checked

    I am trying to copy over my voice memos from my iPhone to my PC. I have "Include voice memos" checked under the Music tab.
    I had an issue with voice memos being duplicated on my iPhone after a sync (I got two versions of each memo on my phone for some reason), so after deleting the extra copies on my phone I deleted all voice memos from within iTunes and chose the option to move the files to the Recycle Bin. So the Music\iTunes\Itunes Music\Voice Memos folder is empty, and there are no voice memos showing up in iTunes.
    But now when I sync, it isn't copying over the older memos that are on my iPhone to my computer. If I record a new voice memo then that memo transfers successfully, but any voice memos with a recording date older than my last sync date do not transfer.
    How can I get these older voice memos (with dates older than my last sync date) transferred over from my phone onto my PC?

    Does anyone know of a way that I can access the voice memos with dates older than my last sync date...?

  • Export and import of data not table and data ????

    hii brothers and sister
    plz i have a a quetion about Export and import of data in oracle forms
    i have created 02 boutons one for export his trigger like this :
    eclare
    alrt number;
    v_directory varchar2(200) := 'c:\backup'; --- that if the C Drive not the Drive that the windows had installed in it.
    path varchar2(100):='back_up'
    ||to_char(sysdate,'dd_mm_yyyy-hh24_mi_ss');
    v_exp varchar2(200) := 'exp hamada/hamada2013@orcl file = '
    ||v_directory
    ||'\'
    ||path
    ||'.dmp';
    begin
    host(v_exp);
    alrt:=show_alert('MSG');
    end;
    and the bouton import is like this
    declare
    alrt number ;
    v_ixp varchar2(200) := 'imp userid=hamada/hamada2013@orcl file =c:\backup2\back.dmp full=yes';
    begin
    host(v_ixp);
    alrt:=show_alert('MSG');
    ref_list;
    end;
    i have just one table "phone"
    this code is correct he expot not only the data but also the creation of the table ....for exemple i do export and evry thing is good until now and i find the .dmp in the folder backup .. but when i deleted all data from my app and try to import this .dmp iit show me error it tell me thet the table phone is already created ....
    so plz help wanna just export the data of phone not the creation of table and data ???? or how can i import just the data from this .dmp ??

    Pl post OS and database versions.
    You will likely need to use the IGNORE flag - http://docs.oracle.com/cd/E11882_01/server.112/e22490/original_import.htm#sthref2201
    Imp utility (by default) will try and create the table first. Since the table already exists, imp reports an error. Use the IGNORE flag in your imp command to not report such errors.
    HTH
    Srini

  • How to copy files and last modified date

    Does anyone out there know who to copy files files from one directory to another and retain the date time stamp of the source files?
    I've been able to write some code that copies files from one directory to another but I always end up with a Date Last Modified that is based on the current date. I want to retain the date time stamp from the original file that I copied. Is this possible in Java?
    Mike

    Call file.setLastModified() after you close it.

Maybe you are looking for

  • Cube does not get refreshed after maitainence

    Hi I have a cube in a schema that was existing. I have added new data to the fact table that is mapped to the cube. I maintained the cube by using the complete refresh option in the analytical workspace manager. After maintaining the cube and selecti

  • Getting error while trying to upload the data in excel from SSIS package through sql agent job

    We are getting below errors. Error: The Microsoft Jet database engine cannot open the file '\\serversdev\Documents\QC Files\Prod.xls'. It is already opened exclusively by another user, or you need permission to view its data. Please suggest ASAP Rega

  • Ringtone is not showing up on my iphone4 when i drag and drop.

    Hi I am having a problem with ringtones.I have gone through and made a custom ringtone. I tried to put it into itunes and sync. But when I did that itunes wanted to erase all the music and movies off my phone. I drag and dropped it into my iphone 4.

  • ActiveX print window is not opening from crystal viewer

    Hi , I'm facing problem on Printing from Crystal viewer . I have launched the crystal report from an ASPX application.  For the print icon , I have added code for opening the ActiveX print window instead of usual crystal print window. Issue is  , pri

  • SAP netWeaver 7.0 SR3 安装问题2 请教高手

    安装到第28步,弹出一个错误,如下: err: ERROR 2008-12-25 17:20:02.218 FCO-00011  The step start with step key |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|2|0|NW_CI_Instance|ind|ind|ind|ind|11|0|NW_CI_Instance_Start|ind|ind|ind|ind|1|0|start was