Security sync issue with a newly create group

We have created some groups like A to D . in that for C we are not able to refresh the security . we have added 2 users only. later we have deleted the group and created the same. even then also we are not able to find the group or not able to do refresh from web. its telleing failed. if i check the log i found like : another child with name C already exists under parent. failed to sync with user provisions. Could you please suggest me any solution on this to resolve it.
Edited by: user4483519 on Sep 30, 2009 4:52 AM

So you can see the MSAD group in the user management console as well as the users part of this group, right?
Try deprovisioning the group completely, then synch native directory, refresh security from Shared Services (in AAS - Only if you have externalised your Essbase users) and run a Planning security refresh.
In theory the refresh should complete successfully.
If it does try reprovisioning your group.
Are you sure you dont have another group or user called C either in your MSAD directory or in the native directory?
Seb
www.capiotech.com

Similar Messages

  • Essbase security sync issue with Shared Services v 11.1.2.2

    Hi,
    We are using Essbase version 11.1.2 (ESB11.1.2.2.102B025) and shared services version 11.1.2.2.300.6001 (Drop 6)
    Foundation Services is on a cluster evironment, windows 2008 64 bit.
    Essbase is on Unix Sun Solaris.
    We encounter an issue in which each time a new user is added to a group.
    The user will not have immediate access to Essbas. Currently the only time the
    user will have access is when we restart essbase.
    Is there a way to sync users from Shared Services without restarting Essbase?
    Anyone has experience on this problem and may know what and where to look?
    This is the error the user get, even though the group has access to essbase cube and the user
    has been added to the group.
    [Thu Jun 27 16:22:18 2013]Local/ESSBASE0///79/Error(1055126)
    This user has no application access set. Please contact your system administrator
    [Thu Jun 27 16:22:18 2013]Local/ESSBASE0///79/Error(1054067)
    Internal error
    [Thu Jun 27 16:22:18 2013]Local/ESSBASE0///79/Error(1051293)
    Login fails due to invalid login credentials
    [Thu Jun 27 16:22:18 2013]Local/ESSBASE0///79/Warning(1051003)
    Error 1051293 processing request [Login] - disconnecting
    There is no issue if we provision the user directly to the cube, e.g. without using group.
    Please advise. Thanks.

    You shouldn't have to restart Essbase as it should automatically sync, there may be additional information in SharedServices_Security_Client.log though it is probably worth logging with Oracle.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Sync issues with iPhone 6 Plus and iTunes

    I'm having issues with syncing my iPhone and iTunes.
    I am running: Mavericks 10.9.3 | iTunes 11.4 | iOS 8.0.2
    Every time I try to sync my iPhone 6 Plus with iTunes, the sync process gets stuck on step 5 of 5 (waiting for changes to be applied).  The longest this has occurred for is 2hrs.  After this time I have stopped the sync and ejected my iPhone.
    I had another issue with my phone when playing music.  When going to play music, I was given the error message saying that the song could not be found.  I connected my iPhone to iTunes and went to the tab in summery page, 'on this iPhone'.  I found the song and could see that next to the song was a small what looked like dotted grey circle.  After Googling this, I found a video saying that if i was to remove all my music and then add it again, this should fix the problem with this song.  I did this and this was when the issue occurred again.
    I unticked the option to remove all music but the sync did not finish. So I cancelled the sync, ejected my iPhone and tried again.  This time, the summery page of my iPhone said there was no music on my iPhone and the 'on this iPhone'  tab, this all so said there was no music however, my music was still on my iPhone including the song that would not play.  All played ok.
    I have read lots in the Apple forums about lost of difference reason this may be happening.  Things like bugs in iOS 8, app updates being transferred during the sync process, the latest iTunes version has bugs and even a dodgy USB cable could cause it.  My iPod running iOS 5 syncs all ok but I get this problem as well on my iPad Air.
    I all so had this issue with my old iPhone 4S.  The problem occurred when running iOS 7 and 8 on the 4S.  When I had it on the 4S, I did a restore of the 4S 4 times and thought I had found the issue down too a dodgy app.  However, now that it has happened on my new iPhone and still not using that app, could this be an issue with my Mac/iTunes?
    I am in contact with Apple Care, but this is such a long process. 
    So if anybody could please offer any advice on this or steps to try to maybe solve the issue, it would be really helpful.   Or if anybody is experiencing the same problem, it would be good to know its not just my devices and Mac producing this sync problem.
    I will update my post with any information provided by Apple Care as and when I get it.
    Thanks for reading and thanks for your time.
    Mark. 

    Hi,
    Just wanted to updated my original post and give some more information on this issue that I'm having with my iOS devices running iOS 8.0.2 and iTunes 11.4.
    Firstly I just want to updated my details about what version of Mavericks I'm running.  I'm running 10.9.5 - I put the wrong version down in my original post.
    So over the last week, I have had a few phone calls with Apple Care an am dealing with a senior technical advisor about this issue.
    I have been given some instructions that I am currently working through to see if it solves the sync issue with iTunes and my iOS devices. 
    The Apple Care advisor has pointed out that a iTunes version issue with music that I have ripped to iTunes and the current iTunes version could be what is causing the problem.  For example, every song that I have purchased from iTunes since having an account, I was told are all exactly the same the same when it comes down the to data/information about that track/album that iTunes stores with the music but when it comes to music that I have added to iTunes myself from a CD,  this was added and encoded with the version of iTunes that was running at the time of adding the music.  So going through all the music that I added to iTunes over the last 10 years, you can imaging that there was lots of mixed version of iTunes linked to lots of different music.
    At the moment, I'm having to go through all my music and find any that I have added and create a new ACC version of that music and delete the old version.  However, due to the amount of music that I have, this is going to take a long time.  When I was on the phone to the Apple Care advisor, we did several albums as a test and they all synced over to my iPhone.  This may just have been luck though at that time.
    Now, I'm not saying that this will solve the problem that I have with the sync issue but I am going to try it and see how I get on.  The only down side to this fix as far as I can see at the moment, is  that when it's all done, I think I will have to fully restore all my iOS devices to get music on to them.
    I will of course updated this topic when I have got through all my music and tried to sync my iOS devices.
    Thank you all for your comments.

  • Syncing issues with an external hard drive

    Hello, having a syncing issue with my iTunes right now. I have my library set up on an external hard drive because there isn't anymore space on my computer for my music, and the other day my roommate unplugged the external to ironically sync my ipod. There was a syncing issue of course but it's happened before so I wasn't worried, but now iTunes can't find a few hundred songs in my library still. I've restarted iTunes and replugged in my hard drive multiple times and restarted my computer and consolidated my library as well but nothing's working. All my music is still on my external but iTunes can't read some of the songs for some reason. Any suggestions at this point? I'm lost. Thanks.

    Welcome to AD!
    What drive letter did the exHD use before this happened? Do you know?
    Windows can change hard drive letters for USB devices without telling you.
    Use Windows Disk Management to change the drive letter back to what it was before your roomie created this havoc. Then start itunes, and tell your roomie it's their turn to I dunno, clean the toilet, or something useful.

  • Sync Issues with iPhone 4/4S? I think I've found the problem.

    Hello all!
    I and quite a few others here have had syncing issues with our iPhone 4, and I think I've found a solution. I use an application called iToner 2 to create my ringtones, and after deleting all my iToner 2 created ringtones, I have no more sync issues.
    If you are using any type of application that is designed to work with the iPhone and iTunes, I would suggest you not use it until it gets updated to work with iTunes 10.5 and iOS5.
    I hope this helps.
    Mike.

    solved in store

  • Why can I not see any newly created 'Groups' in 'Work Group Manager' on the client Mac at login?

    Hi. Now, this issue has not been resolved since 10.6 Server. I have now upgraded to Mountain Lion and the issue still persists. I used to easily create Workgroups/Groups in 'WGM' and they would appear at login for those users who were part of that group. As it stands the old created groups appear ok and can be accessed selected at the point of logging in. The newly created groups don't show up at all. They all look good to go when looking at WGM. I have tried removing the Users from the groups and adding them again but there is no change. It is getting me so frustrated!
    Why is this happening? Is there a quick fix for this?
    Any help will be gratefully appreciated.

    Hi. Now thats a hard one to pin point exactly.  I guess you mean Archiving the OD and exporting users and groups etc Yes this happened when we upgraded from 10.5.8 Server to 10.6 Server.
    How do I go about fixing this in Mac OS X Server 10.8.4?  Do I have to go through all that again?  Will I lose any settings in doing so?
    Thanks in advance.

  • How do I get rid of lip-sync issues with iTunes 10.2.2.12?

    Hi Everyone.
    Firstly, a very Happy Easter!
    I'm having lip-sync issues with iTunes playback on my PC. The video is largely smooth with the occaisional choppiness when the CPU is made to work hard. (Playback on my iPod Touch is fine).
    The system stats for my PC are at the bottom of the post.
    The sound is produced through a Creative Live Sound Blaster Live! 5.1 card.
    Video is through a NVIDIA Geforce 6200 with 512Mb of RAM. (All video and audio drivers are up to date).
    The physical set-up is that I have iTunes installed on the C drive and my media installed on an external USB hard-drive.This isn't just a problem with 10.2.2.12 - it's been there for the last few updates.
    I suppose my main questions are:
    Should iTunes and my media be on the same drive? (Which would mean the external drive as I'm short on space on the C drive).
    Is there some combination of settings in QuickTime that will solve this? (I've tried different combinations, but it doesn't really help).
    Is the spec (below) of my PC causing any issues.
    Here's an Easter Egg for anyone able to help!!
    All the best
    BandAidUK.
    System Information
    Time of this report: 4/24/2011, 10:13:44
    Machine name: DEREK
    Operating System: Windows XP Professional (5.1, Build 2600) Service Pack 3 (2600.xpsp_sp3_gdr.101209-1647)
    Language: English (Regional Setting: English)
    System Manufacturer: Dell Computer Corporation
    System Model: Dimension 8300              
    BIOS: Phoenix ROM BIOS PLUS Version 1.10 A07
    Processor: Intel(R) Pentium(R) 4 CPU 3.00GHz
    Memory: 3326MB RAM
    Page File: 1273MB used, 3941MB available
    Windows Dir: C:\WINDOWS
    DirectX Version: DirectX 9.0c (4.09.0000.0904)
    DX Setup Parameters: Not found
    DxDiag Version: 5.03.2600.5512 32bit Unicode
    Display Devices
            Card name: NVIDIA GeForce 6200 
         Manufacturer: NVIDIA
            Chip type: GeForce 6200
             DAC type: Integrated RAMDAC
           Device Key: Enum\PCI\VEN_10DE&DEV_0221&SUBSYS_02F3196E&REV_A1
       Display Memory: 512.0 MB
         Current Mode: 1280 x 1024 (32 bit) (60Hz)
              Monitor: Plug and Play Monitor
      Monitor Max Res: 1600,1200
          Driver Name: nv4_disp.dll
       Driver Version: 6.14.0012.6099 (English)
          DDI Version: 9 (or higher)
    Driver Attributes: Final Retail
    Driver Date/Size: 10/22/2010 07:23:24, 6359552 bytes
          WHQL Logo'd: Yes
      WHQL Date Stamp: n/a
                  VDD: n/a
             Mini VDD: nv4_mini.sys
        Mini VDD Date: 10/22/2010 07:23:24, 9623680 bytes
    Device Identifier: {D7B71E3E-4161-11CF-0D6D-FF2200C2CB35}
            Vendor ID: 0x10DE
            Device ID: 0x0221
            SubSys ID: 0x02F3196E
          Revision ID: 0x00A1
          Revision ID: 0x00A1
          Video Accel: ModeMPEG2_C ModeMPEG2_D ModeWMV9_B ModeWMV9_A
    Deinterlace Caps: {6CB69578-7617-4637-91E5-1C02DB810285}: Format(In/Out)=(YUY2,YUY2) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY DeinterlaceTech_PixelAdaptive
                       {335AA36E-7884-43A4-9C91-7F87FAF3E37E}: Format(In/Out)=(YUY2,YUY2) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY DeinterlaceTech_BOBVerticalStretch
                       {6CB69578-7617-4637-91E5-1C02DB810285}: Format(In/Out)=(UYVY,YUY2) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY DeinterlaceTech_PixelAdaptive
                       {335AA36E-7884-43A4-9C91-7F87FAF3E37E}: Format(In/Out)=(UYVY,YUY2) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY DeinterlaceTech_BOBVerticalStretch
                       {6CB69578-7617-4637-91E5-1C02DB810285}: Format(In/Out)=(YV12,0x3231564e) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY DeinterlaceTech_PixelAdaptive
                       {335AA36E-7884-43A4-9C91-7F87FAF3E37E}: Format(In/Out)=(YV12,0x3231564e) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY DeinterlaceTech_BOBVerticalStretch
                       {6CB69578-7617-4637-91E5-1C02DB810285}: Format(In/Out)=(NV12,0x3231564e) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY DeinterlaceTech_PixelAdaptive
                       {335AA36E-7884-43A4-9C91-7F87FAF3E37E}: Format(In/Out)=(NV12,0x3231564e) Frames(Prev/Fwd/Back)=(0,0,0) Caps=VideoProcess_YUV2RGB VideoProcess_StretchX VideoProcess_StretchY DeinterlaceTech_BOBVerticalStretch
             Registry: OK
         DDraw Status: Enabled
           D3D Status: Enabled
           AGP Status: Enabled
    DDraw Test Result: Not run
    D3D7 Test Result: Not run
    D3D8 Test Result: Not run
    D3D9 Test Result: Not run
    Sound Devices
                Description: Creative SB Live! Series
    Default Sound Playback: Yes
    Default Voice Playback: Yes
                Hardware ID: PCI\VEN_1102&DEV_0006&SUBSYS_10031102&REV_00
            Manufacturer ID: 1
                 Product ID: 100
                       Type: WDM
                Driver Name: P16X.sys
             Driver Version: 5.12.0001.0129 (English)
          Driver Attributes: Final Retail
                WHQL Logo'd: Yes
              Date and Size: 8/14/2003 16:58:12, 1296384 bytes
                Other Files:
            Driver Provider: Creative Technology Ltd.
             HW Accel Level: Full
                  Cap Flags: 0xF5F
        Min/Max Sample Rate: 8000, 96000
    Static/Strm HW Mix Bufs: 64, 63
    Static/Strm HW 3D Bufs: 64, 63
                  HW Memory: 0
           Voice Management: No
    EAX(tm) 2.0 Listen/Src: Yes, Yes
       I3DL2(tm) Listen/Src: No, No
    Sensaura(tm) ZoomFX(tm): No
                   Registry: OK
          Sound Test Result: Not run
                Description: SoundMAX Digital Audio
    Default Sound Playback: No
    Default Voice Playback: No
                Hardware ID: PCI\VEN_8086&DEV_24D5&SUBSYS_01571028&REV_02
            Manufacturer ID: 65535
                 Product ID: 65535
                       Type: WDM
                Driver Name: smwdm.sys
             Driver Version: 5.12.0001.7000 (English)
          Driver Attributes: Final Retail
                WHQL Logo'd: Yes
              Date and Size: 3/22/2005 11:08:40, 260224 bytes
                Other Files:
            Driver Provider: Analog Devices
             HW Accel Level: Full
                  Cap Flags: 0xF5F
        Min/Max Sample Rate: 100, 192000
    Static/Strm HW Mix Bufs: 33, 32
    Static/Strm HW 3D Bufs: 33, 32
                  HW Memory: 0
           Voice Management: Yes
    EAX(tm) 2.0 Listen/Src: Yes, Yes
       I3DL2(tm) Listen/Src: Yes, Yes
    Sensaura(tm) ZoomFX(tm): Yes
                   Registry: OK
          Sound Test Result: Not run
    Sound Capture Devices
                Description: Creative SB Live! Series
      Default Sound Capture: Yes
      Default Voice Capture: Yes
                Driver Name: P16X.sys
             Driver Version: 5.12.0001.0129 (English)
          Driver Attributes: Final Retail
              Date and Size: 8/14/2003 16:58:12, 1296384 bytes
                  Cap Flags: 0x41
               Format Flags: 0xFFF
                Description: Hauppauge WinTV 88x Audio Capture
      Default Sound Capture: No
      Default Voice Capture: No
                Driver Name: hcw88aud.sys
             Driver Version: 2.125.28070.0000 (English)
          Driver Attributes: Final Retail
              Date and Size: 3/12/2010 09:47:58, 13440 bytes
                  Cap Flags: 0x41
               Format Flags: 0xCC0
                Description: SoundMAX Digital Audio
      Default Sound Capture: No
      Default Voice Capture: No
                Driver Name: smwdm.sys
             Driver Version: 5.12.0001.7000 (English)
          Driver Attributes: Final Retail
              Date and Size: 3/22/2005 11:08:40, 260224 bytes
                  Cap Flags: 0x41
               Format Flags: 0xCCC
    DirectMusic
            DLS Path: C:\WINDOWS\SYSTEM32\drivers\GM.DLS
         DLS Version: 1.00.0016.0002
        Acceleration: n/a
               Ports: Microsoft Synthesizer, Software (Not Kernel Mode), Output, DLS, Internal, Default Port
                      Creative SB Live! Series, Software (Kernel Mode), Output, DLS, Internal
                      SoundMAX Digital Audio, Software (Kernel Mode), Output, DLS, Internal
                      Microsoft MIDI Mapper [Emulated], Hardware (Not Kernel Mode), Output, No DLS, Internal
                      Creative SB Live! Synthesizer [Emulated], Hardware (Not Kernel Mode), Output, No DLS, Internal
                      Creative SB Live! External MIDI [Emulated], Hardware (Not Kernel Mode), Output, No DLS, External
                      Microsoft GS Wavetable SW Synth [Emulated], Hardware (Not Kernel Mode), Output, No DLS, Internal
                      Creative SB Live! External MIDI [Emulated], Hardware (Not Kernel Mode), Input, No DLS, External
            Registry: OK
         Test Result: Not run

    Select *List view* instead of *Album list view*. These are in the View menu or the boxes next to Search, on the right top of iTunes.
    and the column next to it with a number in it that I have absolutely no idea what it's for. I want those two columns OUT.
    In List view, you can turn off every column (in menu View > View options) except track name.

  • HT1311 To create a new apple ID, if I sign out of the current Apple ID account, and then sign in with a newly created account, will I lose any songs or apps on my phone or computer that were downloaded from the old apple ID?

    To create a new apple ID, if I sign out of the current Apple ID account, and then sign in with a newly created account, will I lose any songs or apps on my Iphone and Macbook Pro computer that were downloaded from the old apple ID?

    No, you will not loose anything.  However, if you ever need to update any of that previously purchased content, or re-download it, you will have to use the older AppleID.  Purchases are permanently tied to the AppleID you use when making the purchase.

  • Sync issues with playlists. Not syncing playlists, and now my playlist have disappeared from iTunes. I am Using iTunes 11.1.3 and iOS 7.0.4

    Sync issues with playlists. Not syncing playlists, and now my playlist have disappeared from iTunes. I am Using iTunes 11.1.3 and iOS 7.0.4

    Hello surig84,
    Thank you for providing the details of the issue you are experiencing when syncing your iPad.  I recommend reviewing the following article specifically the section titled "Authorize using the correct account name."
    iTunes repeatedly prompts to authorize computer to play iTunes Store purchases
    http://support.apple.com/kb/ts1389
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • ITunes sync issues with Windows 7 64k Bit

    I am beyond frustrated! I have attempted for the past 3 days straight to figure out why iTunes keeps having syncing issues with all my devices- Nano 8GB, Touch 8GB, iPhone 3G 8GB. When I first connected the devices for the first time iTunes froze up and I had to hard boot. I then had to "restore" the devices as they were messed up. Since then I have had syncing issues. It says it is syncing but then it stops and freezes before it is finished and is unresponsive requiring me to end the program. Then my computer does not recognize the iPod is connected so I have to reboot my computer and it all starts over again. I'm not trying to sync a million song, 600 songs less than 2Gig.
    Called Apple, they had me uninstall iTunes 9 and reload it. That did not fix the problem. Called back and they told me to go to the Apple store and have them check my devices (they did not as they said they were pretty sure it was not iTunes or my devices) that it was probably Windows 7. MS points the finger at iTunes 9, Apple points the finger at Windows 7... all the while me (the customer) has no resolution. I don't care what the issue is... I would just like to figure out how to fix it (if it's my computer fine...I'll take it in to have it fixed) but I just cant get anyone to help figure out what/where the issue is.
    I have tried many of the "tricks" that are posted when you google the issue.. ie reinstall drivers etc. The "Genius" at the Apple store searchd and found something that said it might be my motherboard needing an updated driver (I updated that and nothing changed).
    Would REALLY appreciate it if someone could help
    Thanks!

    Hi,
    Does your PC have a NVIDIA USB Enhanced Host Controller Interface (EHCI) chipset?
    If it does, you may want to try the Microsoft hotfix available here: http://support.microsoft.com/kb/976972.
    If not, try the general USB troubleshooting tips in this article: http://support.apple.com/kb/TS1286
    -Jason

  • How to assign project specific task with the newly created projects ?

    Hi All,
    I need help. I need to assign project specific tasks (which i will be taking from staging table) other than the default task which are assigned during project creation. How do I proceed with this within same package. I am attaching the code of my package below...
    CREATE OR REPLACE PACKAGE body xxpa_proj_conv_pkg as
    PROCEDURE xxpa_create_project_proc(O_ERRBUF OUT VARCHAR2,O_RETCODE OUT VARCHAR2)
    is
    variables need to derive global parameters
    v_responsibility_id NUMBER; --- PA Supervisor responsibility id
    v_user_id NUMBER;
    deriving global parameters-
    -- Variables needed for API standard parameters
    v_api_version_number NUMBER := 1.0;
    v_commit VARCHAR2(1) := 'F';
    v_return_status VARCHAR2(1);
    v_init_msg_list VARCHAR2(1) := 'F';
    v_msg_count NUMBER;
    v_msg_index_out NUMBER;
    v_msg_data VARCHAR2(2000);
    v_data VARCHAR2(2000);
    v_workflow_started VARCHAR2(1) := 'Y';
    v_pm_product_code VARCHAR2(10);
    ---variables for catching errors---
    v_error_flag number:=0;
    -- Predefined Composite data types
    v_project_in PA_PROJECT_PUB.PROJECT_IN_REC_TYPE;
    v_project_out PA_PROJECT_PUB.PROJECT_OUT_REC_TYPE;
    v_key_members PA_PROJECT_PUB.PROJECT_ROLE_TBL_TYPE;
    v_class_categories PA_PROJECT_PUB.CLASS_CATEGORY_TBL_TYPE;
    v_tasks_in_rec PA_PROJECT_PUB.TASK_IN_REC_TYPE;
    v_tasks_in PA_PROJECT_PUB.TASK_IN_TBL_TYPE;
    v_tasks_out_rec PA_PROJECT_PUB.TASK_OUT_REC_TYPE;
    v_tasks_out PA_PROJECT_PUB.TASK_OUT_TBL_TYPE;
    v_CREATED_FROM_PROJECT_ID varchar2(20);
    v_CARRYING_OUT_ORGANIZATION_ID varchar2(20);
    v_person_id NUMBER;
    v_project_role_type VARCHAR2(20);
    API_ERROR EXCEPTION;
    v_a NUMBER;
    cursor for project in data
    CURSOR cur_project_in_data IS SELECT * FROM XXPA_PROJECT_IN_STG;
    cursor for task data
    CURSOR cur_task_in_data IS SELECT * FROM XXPA_TASK_IN_STG;
    ------------------------Cursors used for validations----------------------------------
    cursor for product code used for validation
    cursor cprc is select distinct PROJECT_RELATIONSHIP_CODE from PA_PROJECT_CUSTOMERS;
    cursor for distribution rule-
    cursor cdr is select DISTRIBUTION_RULE from PA_DISTRIBUTION_RULES;
    cursor for project status code
    cursor cpsc is SELECT PROJECT_STATUS_CODE, PROJECT_STATUS_NAME FROM PA_PROJECT_STATUSES WHERE STATUS_TYPE = 'PROJECT';
    cursor for template/created from project id
    cursor ccpid is select project_id from pa_projects where template_flag='Y';
    BEGIN
    select user_id, responsibility_id into v_user_id, v_responsibility_id
    from PA_USER_RESP_V
    where user_name like 'amit_kumar%'
    and responsibility_name like'PA SupervisorS';
    -- --Fnd_global.apps_initialize(user_id,resp_id, resp_appl_id);
    -- Fnd_global.apps_initialize(v_user_id,v_responsibility_id,275);
    -- -------calling global parameters---
    pa_interface_utils_pub.set_global_info
    p_api_version_number =>v_api_version_number,
    p_responsibility_id =>v_responsibility_id,
    p_user_id =>v_user_id,
    p_msg_count =>v_msg_count,
    p_msg_data =>v_msg_data,
    p_return_status =>v_return_status
    dbms_output.put_line ('Set Global status ->' || v_return_status);
    ----Cursor for PRODUCT RELATED DATA-----------
    FOR REC IN cur_project_in_data LOOP
    -----PASSING VALUES TO THE COMPOSITE DATA TYPE(PROJECT_IN_REC_TYPE)-------
    ----retrieving product code-----
    select lookup_code into v_pm_product_code
    from pa_lookups
    where lookup_type = 'PM_PRODUCT_CODE'
    and meaning = 'Oracle Project Manufacturing';
    -----retrieving and validating created from project id----
    BEGIN
    select project_id
    into v_CREATED_FROM_PROJECT_ID
    from pa_projects_all
    where name=rec.created_from_project_name;
    EXCEPTION
    when others then
    O_Retcode := '1';
    O_Errbuf :='Incorrent CREATED_FROM_PROJECT_NAME';
    Fnd_File.Put_Line (Fnd_File.LOG, O_Errbuf);
    UPDATE XXPA.XXPA_PROJECT_IN_STG
    SET ERROR_FLAG ='1' ,last_updation_date='sysdate' where created_from_project_name = rec.CREATED_FROM_PROJECT_NAME;
    END;
    -----retrieving & validating carrying out organization id-----
    BEGIN
    select distinct(CARRYING_OUT_ORGANIZATION_ID)
    into v_CARRYING_OUT_ORGANIZATION_ID
    from pa_projects_prm_v
    where CARRYING_OUT_ORGANIZATION_NAME=rec.carrying_out_organization_name;
    EXCEPTION
    when others then
    O_Retcode := '1';
    O_Errbuf :='Incorrent Carrying Out Organization name';
    Fnd_File.Put_Line (Fnd_File.LOG, O_Errbuf);
    UPDATE XXPA.XXPA_PROJECT_IN_STG
    SET ERROR_FLAG ='1' ,last_updation_date='sysdate' where carrying_out_organization_name = rec.carrying_out_organization_name;
    END ;
    v_project_in.pm_project_reference := rec.segment1;
    v_project_in.project_name := rec.PROJECT_NAME;
    v_project_in.created_from_project_id := v_CREATED_FROM_PROJECT_ID;
    v_project_in.carrying_out_organization_id := v_CARRYING_OUT_ORGANIZATION_ID;
    v_project_in.project_status_code := rec.PROJECT_STATUS_CODE;
    v_project_in.description := rec.PROJECT_DESCRIPTION;
    v_project_in.start_date := rec.PROJECT_START_DATE;
    v_project_in.completion_date := rec.PROJECT_COMPLETION_DATE;
    v_project_in.distribution_rule := rec.DISTRIBUTION_RULE;
    v_project_in.project_relationship_code := rec.PROJECT_RELATIONSHIP_CODE;
    -------------------------Validation of incoming project data--------------------------------
    v_error_flag := 1;
    project relationship code validation
    BEGIN
    for prc in cprc
    loop
    if (rec.PROJECT_RELATIONSHIP_CODE=prc.PROJECT_RELATIONSHIP_CODE) or (rec.PROJECT_RELATIONSHIP_CODE is null)--can be overridden from template
    then
    v_error_flag :=0;
    else null;
    end if;
    end loop;
    END;
    project distribution rule validation
    BEGIN
    for dr in cdr
    loop
    if (rec.DISTRIBUTION_RULE=dr.DISTRIBUTION_RULE) or (rec.DISTRIBUTION_RULE is null) null since the value can be taken from template too
    then
    v_error_flag :=0;
    else null;
    end if;
    end loop;
    END;
    project status code validation
    BEGIN
    for sc in cpsc
    loop
    if (rec.PROJECT_STATUS_CODE=sc.PROJECT_STATUS_CODE) or (rec.PROJECT_STATUS_CODE is null) null since the value can be taken from template too
    then
    v_error_flag :=0;
    else null;
    end if;
    end loop;
    END;
    dbms_output.put_line ('Error at PROJECT_STATUS_CODE>' ||v_error_flag);
    validation logic for project start date
    BEGIN
    if TRUNC(rec.PROJECT_START_DATE) >= TRUNC(rec.PROJECT_COMPLETION_DATE)
    THEN
    v_error_flag := 1;
    O_Retcode := '1';
    O_Errbuf :='Project start date cannnot be greater than completion date';
    Fnd_File.Put_Line (Fnd_File.LOG, O_Errbuf);
    END IF;
    END;
    validation logic for project completion date
    BEGIN
    if (TRUNC(rec.PROJECT_COMPLETION_DATE)<=TRUNC(rec.PROJECT_START_DATE))
    then
    if ( rec.PROJECT_STATUS_CODE='CLOSED' and rec.PROJECT_COMPLETION_DATE>sysdate)
    THEN
    v_error_flag := 1;
    O_Retcode := '1';
    O_Errbuf :='completion date cannot be greater than sysdate for closed projects';
    Fnd_File.Put_Line (Fnd_File.LOG, O_Errbuf);
    END IF;
    v_error_flag := 1;
    O_Retcode := '1';
    O_Errbuf :='Project closed date cannot be less than start date';
    end if;
    END;
    --------Update staging table for the error records--------
    BEGIN
    if v_error_flag =1
    then
    O_Retcode := '1';
    O_Errbuf :='Incorrect project relationship code';
    Fnd_File.Put_Line (Fnd_File.LOG, O_Errbuf);
    UPDATE XXPA.XXPA_PROJECT_IN_STG
    SET ERROR_FLAG ='1' ,last_updation_date='sysdate' where PROJECT_RELATIONSHIP_CODE = rec.PROJECT_RELATIONSHIP_CODE;
    end if;
    END;
    -----------------------End of validation of incoming project data----------------------------------
    ---------------Project Task DATA-----------------
    v_a:=0;
    FOR tsk IN cur_task_in_data LOOP
    v_tasks_in_rec.pm_task_reference :=tsk.task_reference ;
    v_tasks_in_rec.task_name :=tsk.task_name;
    v_tasks_in_rec.pm_parent_task_reference :=tsk.parent_task_reference ;
    v_tasks_in_rec.task_start_date :=tsk.task_start_date ;
    v_tasks_in_rec.task_completion_date :=tsk.task_completion_date ;
    v_tasks_in(v_a) := v_tasks_in_rec;
    v_a:=v_a+1;
    end loop;
    ---------------end of task details------------------
    --INIT_CREATE_PROJECT
    pa_project_pub.init_project;
    ---------------------CREATE_PROJECT--------------------------
    pa_project_pub.create_project(
    p_api_version_number=> v_api_version_number,
    p_commit => v_commit,
    p_init_msg_list => v_init_msg_list,
    p_msg_count => v_msg_count,
    p_msg_data => v_msg_data,
    p_return_status => v_return_status,
    p_workflow_started => v_workflow_started,
    p_pm_product_code => v_pm_product_code,
    p_project_in => v_project_in,
    p_project_out => v_project_out,
    p_key_members => v_key_members,
    p_class_categories => v_class_categories,
    p_tasks_in => v_tasks_in,
    p_tasks_out => v_tasks_out);
    if v_return_status = 'S'
    then
    UPDATE XXPA.XXPA_PROJECT_IN_STG
    SET INTERFACE_STATUS ='Success' where segment1 = v_project_out.pa_project_number; ---P->pending & S-> Success
    dbms_output.put_line('New Project Id: ' || v_project_out.pa_project_id);
    dbms_output.put_line('New Project Number: ' || v_project_out.pa_project_number);
    else
    UPDATE XXPA.XXPA_PROJECT_IN_STG
    SET INTERFACE_STATUS ='Pending' where segment1 = v_project_out.pa_project_number;
    raise API_ERROR;
    end if;
    END LOOP;
    Commit;
    ------Handling Exception--------
    EXCEPTION
    WHEN api_error THEN
    dbms_output.put_line('An error occured during project creation');
    IF (v_msg_count > 0 ) THEN
    FOR i IN 1..v_msg_count LOOP
    apps.PA_INTERFACE_UTILS_PUB.get_messages(
    p_msg_count => v_msg_count,
    p_encoded => 'F',
    p_msg_index => i,
    p_msg_data => v_msg_data,
    p_data => v_data,
    p_msg_index_out => v_msg_index_out);
    dbms_output.put_line('Error message v_data ->'||v_data);
    dbms_output.put_line('Error message v_msg_data ->'||v_msg_data);
    dbms_output.put_line('Error message v_msg_index_out ->'||v_msg_index_out);
    dbms_output.put_line('Error message p_msg_index ->'||i);
    APPS.fnd_file.put_line(APPS.FND_FILE.LOG,v_data);
    END LOOP;
    END IF;
    WHEN OTHERS THEN
    dbms_output.put_line('An error occured during conversion, SQLCODE ->'|| SQLERRM);
    IF (v_msg_count >=1 ) THEN
    FOR i IN 1..v_msg_count LOOP
    PA_INTERFACE_UTILS_PUB.get_messages(
    p_msg_count => v_msg_count,
    p_msg_index => i,
    p_encoded => 'F',
    p_msg_data => v_msg_data,
    p_data => v_data,
    p_msg_index_out => v_msg_index_out);
    dbms_output.put_line('Error message ->'||v_data);
    APPS.fnd_file.put_line(APPS.FND_FILE.LOG,v_data);
    END LOOP;
    END IF;
    end; --end procedure
    END xxpa_proj_conv_pkg;
    * Please tell me how to assign project specific task with the newly created projects??? *
    Also please tell me how to assign multiple * Project_Relationship_Code * (ex: END CLIENT, GENERAL CONTRACTOR, PRIMARY) for a particular project during project creation?

    Are you not storing the project number in the staging table designed for storing the task data? You can use create_project API to create the project and tasks at the same time with one single call. You may want to try that option

  • Syncing issues with Apple TV

    Is anyone else having syncing issues with their Apple TV? I am trying to sync movies up that I just bought (StarTrek HD, IronMan HD) and the sync sits there with the progress bar moving all the way to the end but never actually finishes. Just sits there for hours! I don't know if it is because of the iTunes Extras or not, but it is getting very annoying.
    I have read a lot of bad reviews of the Apple TV 3.0.1 update and I have to say, the my Apple TV is very sluggish and hangs a lot with this new revision. I am sure that is part of my issues syncing. All of this is sad because the product has such potential. To me, it is like an iPod for your TV.
    I believe with this slow response times and issues Apply may be working on a hardware update to the device which is long overdue. Maybe the new software requires a faster processor and/or more memory which will be answered in the new hardware (one can only hope). We are just beta testing the new software. Apple: Listen to the people, we want bigger hard drive (500GB+) and reliability! We want it to run as smooth as an iPod. The moment you update the hardware, everyone with Apple TVs will buy a new one!

    Yes I have the same problem,, and it was with 2.4 version, I upgraded to 3.0.1 and still the status bar progresses all the way to end and just hangs there,,, BS is what it is,, If this is not fixed or goes unanswered I am just going to take my Apple TV back as I just purchased it yesterday. 12/17/09

  • How to cause a form to reload with a newly created record?

    I hope this is easy and I'm just missing it.
    I have a form based on a table (a "parent" table.). The parent table uses a trigger to generate the PK.
    When a new parent record is created with the form, I want the page to reload with the newly created record still in the form. Then some conditional regions based upon child-tables would appear, with options to populate the detail records.
    My problem is simple: how can I access the value of the primary key of the newly created record once it is submitted to the database, so I can use it to reload that record into the form?
    Thanks very much for your help!

    John - The DML process (Automatic Row Processing) has a Return Key Into Item option. That's what you need.
    Scott

  • Syncing issues with 1st Gen. AppleTV

    Hello, having syncing issues with my 1st generation ATV. It just keeps filling up until it is full regardless of the settings.
    I have set it for only the last 5 unwatched for tv, movies, etc. and then I have changed every movie and tv show, etc to unwatched and it still puts everything on my AppleTV until it is full.
    I have turned off syncing and then back on again. It fills back again. Yesterday I restored it to factory settings, did the updates, turned on syncing with the 'last 5 unwatched' settings again and same result. How the **** do you keep it from filling up with all of your media? I just can't figure it out. Must be missing something. Thanks in advance to anyone that can provide some insight on this. -DR
    It does it with all versions of iTunes. I have the most current at the moment (11.0.1)

    Hello Winston, thanks. I have tried none selected and only one selected to try to narrow down what is happening. Same result.
    As far as it being full I am looking at the multi-colored bar at the bottom that shows what is on it and what percentage of each (tv shows, audio, etc.).

  • I have a sync issue with any songs name track 1 or 2 so on ..even though my itune shows I have the play list right but after i sync the same 20 tracks play very different tracks, it doesn't happen when I sync other songs that actually have names

    I have a sync issue with my ipod, anytime I synch a playlist that has generic song names instead of actual names like track 1 or track 2 so on even though my itune library shows and plays the song, but after a sync my ipod will play a different song. Never happnes if the playlist has actual song names, than everything is fine..!!!!Any help?

    If I understand you correctly, when iPod play the Track 1, a different song is played, what is the name of this different song?

Maybe you are looking for

  • Embedding Google earth in Java Application

    I have developed a java application with help of wings i wanna embed google earth can sum1 guide from were to proceed plz

  • How to edit and add a signature on a pdf file

    how to edit and insert signature on a pdf attachment Creating, Editing & Exporting PDFs

  • Jsp compilation options

    My question is pretty simple, how do I turn of jsp pre-compilation in JDev? thanks,

  • Re-Installing iPhoto on 10.6.8

    Hi ! - Bought iPhoto on the Mac App Store a few months ago - Did a clean install of 10.6.8 today. - Tried to install newest iPhoto version. --> This failed, because the latest iPhoto needs at least 10.7.4 How do I get a working version of iPhoto for

  • Timezone upgrade from 2 to 4

    Hi All, I am referring MOS DOCID 553812.1[Actions for the DSTv4 update in the 10.2.0.4 patchset]. I am unable to understand few things from the doc and I have mentioned the portion below. Kindly help me understand the same. +*<Moderator edit - MOS do