Dynamic Population of List Item Not Working

My requirement is to have 1 list item that is populated based on the value selected for a second list item. in the when-list-changed trigger of the second list item, i make a call to a procedure (code below). This seems to not like any of the clear_list or populate_list. the list item type is poplist. i set the class to list. if i use populate_list in when-new-form-instance, there's no problem. PLEASE HELP. When can't I populate list using a procedure??
ERROR: frm-40734 internal error pl sql error occurred
PROCEDURE Refresh_List IS
v_rg_name VARCHAR2(40) := 'RGTEST';
v_rg_id RecordGroup;
v_sql varchar2(2048);
problem EXCEPTION;
status number;
list_id item;
BEGIN
     list_id := Find_Item('BLK_TEST.LST_TEST');
v_sql:='select column_name from sys.all_tab_columns where table_name=''testtable''';
               v_rg_id := Find_Group( v_rg_name );
               IF Not Id_Null(v_rg_id) THEN
                         DELETE_GROUP( v_rg_id ) ;
               End if;
               clear_list(list_id);
               v_rg_id := Create_Group_From_Query( v_rg_name, v_sql ) ;
               status := Populate_Group( v_rg_name );
               POPULATE_LIST(list_id, v_rg_id);
               POPULATE_LIST('BLK_TEST.LST_TEST', 'RGTEST'); also tried this.
               if status <> 0 then
                         raise problem;
               end if;
          EXCEPTION
               WHEN problem THEN
                         message('problem.');
               WHEN others THEN
                         message('tooto');
END;

Thanks for the response. I've tried this example too and it still doesn't like the things mentioned in previous post. In addition, it doesn't like SET_RECORD_PROPERTY(:system.cursor_record,'EMP',status,new_status); I get the same sort of error. The form compiles fine though.
Background on form:
this form was created to allow users to dynamically build an update statement. On this form are a number of list items and text boxes that are not populated from a database. So the datablock doesn't retrieve values from the database and the only updating that will be done is when the user clicks an "update" button to execute the sql statement that is built. Could this issue I'm having be related to the way i designed my datablock and items? When the user selects an item from one of the list items, the record status goes to "Changed". So I assumed my issue was because of this and thought the set_record_property statement would help...but that is generating the same error. what am i missing? if i look at the index value of the record group after create_group_from_query, it is -1. after populate_group, it is still -1. should it still be -1?? any help is greatly appreciated.

Similar Messages

  • Auto-included link to list item not working in Workflow or email notification

    I made a workflow straight from my SharePoint site--NOT from SharePoint Designer. (My computer is still running on Windows XP, so I can't download Designer until my boss upgrades me to a newer system.) When creating the workflow, you have the option to include
    a link to the list item by clicking a checkbox. The links don't work in either the email notification or in the workflow properties. Extra characters are being added for some weird reason. (For example, the correct link looks like "https://www.w14b.comcast.net/sites/<yada
    yada>.docx" and the links in the workflow and email look like "http://www.w14spw-po-b1.com/sites/<yada yada>.docx")  I see no place to edit the URL. How do I fix the links???

    Hi,
    Please check if the http://www.w14spw-po-b1.com/sites/ is the url of default zone of the web application where this site resides.
    Here is a similar thread for your reference:
    https://social.technet.microsoft.com/Forums/sharepoint/en-US/d17ad498-0b6f-4b12-9885-b8057fa04d88/sharepoint-2010-workflow-inserting-link-to-list-item?forum=sharepointgeneralprevious
    In addition, Windows XP SP3 is supported for SharePoint designer 2010:
    http://www.microsoft.com/en-in/download/details.aspx?id=16573
    Regards,
    Rebecca Tu
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Create a project from list item not working if EPT has Project Plan Template

    HI,
    i am trying to leverage the new feature in 2013 to create a project from an idea list.
    This works fine if the EPT does not have Project Plan template assigned to it. Even through workflow action "Create Project from current list item".
    However if i assign a project plan template and the user creating the project  is not Administrators Group member, i get an error. While doing this trough a workflow the worfklow gets suspended and i have the below message:
    RequestorId: 654a6744-eb11-3d9c-0000-000000000000. Details: RequestorId: 654a6744-eb11-3d9c-0000-000000000000. Details: An unhandled exception occurred during the execution of the workflow instance. Exception details: System.ApplicationException: HTTP 403
    {"error":{"code":"20010, Microsoft.ProjectServer.PJClientCallableException","message":{"lang":"en-US","value":"PJClientCallableException: GeneralSecurityAccessDenied\u000d\u000aGeneralSecurityAccessDenied"}}}
    {"Transfer-Encoding":["chunked"],"X-SharePointHealthScore":["0"],"SPClientServiceRequestDuration":["290"],"SPRequestGuid":["654a6744-eb11-3d9c-9d1e-ff8135e50f19"],"request-id":["654a6744-eb11-3d9c-9d1e-ff8135e50f19"],"X-FRAME-OPTIONS":["SAMEORIGIN"],"MicrosoftSharePointTeamServices":["15.0.0.4535"],"X-Content-Type-Options":["nosniff"],"X-MS-InvokeApp":["1;
    RequireReadOnly"],"Cache-Control":["max-age=0, private"],"Date":["Wed, 23 Apr 2014 14:40:46 GMT"],"Server":["Microsoft-IIS\/7.5"],"X-AspNet-Version":["4.0.30319"],"X-Powered-By":["ASP.NET"]}  
    at Microsoft.Activities.Hosting.Runtime.Subroutine.SubroutineChild.Execute(CodeActivityContext context)   at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager)  
    at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)
    Any one has experienced this ?
    Thx

    Hi, RonyZ.
    I think it could help.
    I have experienced the same problem as you are, except "Create project" option, my managers could do it.
    So, for me a solution was to set definite permissions for Workflow Initiators (I have created new group, but you can edit, including
    Global permissions
    New project
    Open project template
    Server configuration management
    For category “My organization”
    Open Project
    Publish Project
    Save Project on Project Server
    Excuse me my translation, some names can be written not properly, cause I have localized SP.
    In you case, I think, you should check, if you PM  group has all these permissions.
    And Workflow Initiator should be in group which has.
    In LOGS error notifications starts with “Permission denied”, then goes account
    name and then the name of permission which is left.

  • Caml query for filtering list item not working as expected in Sharepoint hosted app

    I am trying to filter list item based on particular value.
    var header = "xyz";
    camlQueryHeader.set_viewXml = "<view><Query><Where><Eq><FieldRef Name='Position'/>" + "<Value Type='Text'>" + header + "</Value></Eq></Where></Query></view>";
    Instead of getting filtered list items, I get all the list items. What am I missing?
    Note: I am creating Sharepoint hosted app using CSOM.
    regards, Ritesh Anand

    Hi,
    According to the code provided, I suggest you modify the code like this:
    camlQueryHeader.set_viewXml('<view><Query><Where><Eq><FieldRef Name=\'Position\'/>' + '<Value Type=\'Text\'>' + header + '</Value></Eq></Where></Query></view>');
    Here is a documentation of how to use the viewXml property of SP.CamlQuery object:
    SP.CamlQuery.viewXml Property
    Thanks
    Patrick Liang
    TechNet Community Support

  • People Search on list items - not working on metadata property 'OrgNames'

    Hi all,
    To be able to search AD Contact in people search (NOT AD Accounts, AD Contacts), I've exported this AD contacts into a SharePoint list and added this list to the scope used by my people search and finally configured the metadata properties. I've followed
    this article : http://johnliu.net/blog/2012/9/25/sharepoint-showing-contacts-in-people-search-results.html
    All is working fine, except when I want to search on the company name of the contacts. I've edited the property name OrgNames to link it to my list column. I can see this company name into the search result, but when I want to perform a search based on the
    company name, I got no result. The search is working fine on the name or on the jobtitle.
    Does anyone have an idea about the mistake ?
    Thanks & Regards,
    Steve

    Hi Steve,
    I recommend to check the things below:
    Check the Advanced settings of the contact list, make sure that Allow items from this list to appear in search results is Yes.
    Check the Content Source that the Start Address is including the contact list in Search Service Application.
    Click Index Reset and then do a full crawl in Search Service Application to see if the issue still occurs.
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Gmail in Safari - it's menu items not working or on and off

    Ned Hamson here: Down loaded the neat ap and here is what if found:
    Don't have a clue what leadertech is? Gmail in Safari - it's menu items not working or on and off.
    [failed] com.leadertech.PowerRegister.LGT2.c59807af95d106639fca8f10676ced62.plist
    Hardware Information:
              MacBook (13-inch, Mid 2009)
              MacBook - model: MacBook5,2
              1 2.13 GHz Intel Core 2 Duo CPU: 2 cores
              2 GB RAM
    Video Information:
              NVIDIA GeForce 9400M - VRAM: 256 MB
    System Software:
              OS X 10.9.2 (13C1021) - Uptime: 0 days 5:31:41
    Disk Information:
              FUJITSU MHZ2160BH FFS G1 disk0 : (160.04 GB)
                        EFI (disk0s1) <not mounted>: 209.7 MB
                        Maggie (disk0s2) / [Startup]: 159.18 GB (128.13 GB free)
                        Recovery HD (disk0s3) <not mounted>: 650 MB
              MATSHITADVD-R   UJ867A 
    USB Information:
              Micron Built-in iSight
              Apple Inc. BRCM2046 Hub
                        Apple Inc. Bluetooth USB Host Controller
              Apple Inc. Apple Internal Keyboard / Trackpad
              Apple Computer, Inc. IR Receiver
              Logitech USB Receiver
    Thunderbolt Information:
    Gatekeeper:
              Mac App Store and identified developers
    Problem System Launch Agents:
              [running] com.paragon.NTFS.notify.plist Support
    Launch Daemons:
              [loaded] com.adobe.fpsaud.plist Support
              [loaded] com.genieoinnovation.macextension.client.plist Support
              [loaded] com.google.keystone.daemon.plist Support
              [loaded] com.oracle.java.Helper-Tool.plist Support
    Launch Agents:
              [loaded] com.google.keystone.agent.plist Support
              [loaded] com.oracle.java.Java-Updater.plist Support
              [loaded] com.paragon.updater.plist Support
    User Launch Agents:
              [loaded] com.adobe.ARM.[...].plist Support
              [loaded] com.citrixonline.GoToMeeting.G2MUpdate.plist Support
              [running] com.google.Chrome.framework.plist Support
              [failed] com.leadertech.PowerRegister.LGT2.c59807af95d106639fca8f10676ced62.plist Support
              [not loaded] com.spotify.webhelper.plist Support
    User Login Items:
              iTunesHelper
              SpeechSynthesisServer
              Dropbox
              AdobeResourceSynchronizer
              FriendFeed
              Opera
              EvernoteHelper
    Internet Plug-ins:
              FlashPlayer-10.6: Version: 13.0.0.206 - SDK 10.6 Support
              Default Browser: Version: 537 - SDK 10.9
              AdobePDFViewerNPAPI: Version: 11.0.06 - SDK 10.6 Support
              AdobePDFViewer: Version: 11.0.06 - SDK 10.6 Support
              Flash Player: Version: 13.0.0.206 - SDK 10.6 Support
              o1dbrowserplugin: Version: 5.3.1.18536 Support
              QuickTime Plugin: Version: 7.7.3
              nplastpass: Version: 2.0.25 Support
              googletalkbrowserplugin: Version: 5.3.1.18536 Support
              DirectorShockwave: Version: 12.1.0r150 - SDK 10.6 Support
              JavaAppletPlugin: Version: Java 7 Update 55 Check version
    Safari Extensions:
              LastPass: Version: 3.1.21
              AddThis: Version: 1.7
              Evernote Web Clipper: Version: 6.1
              TypePad Blog It: Version: 1.0
              XKit 7: Version: 7.4.2
              Keeeb : Version: 1.2.17
    Audio Plug-ins:
              BluetoothAudioPlugIn: Version: 1.0 - SDK 10.9
              AirPlay: Version: 2.0 - SDK 10.9
              AppleAVBAudio: Version: 203.2 - SDK 10.9
              iSightAudio: Version: 7.7.3 - SDK 10.9
    iTunes Plug-ins:
              Quartz Composer Visualizer: Version: 1.4 - SDK 10.9
    User Internet Plug-ins:
              WebEx64: Version: 1.0 - SDK 10.5 Support
              CitrixOnlineWebDeploymentPlugin: Version: 1.0.105 Support
              Picasa: Version: 1.0 - SDK 10.4 Support
              Google Earth Web Plug-in: Version: 7.1 Support
    3rd Party Preference Panes:
              Flash Player  Support
              Java  Support
              Paragon NTFS for Mac ® OS X  Support
              Xmarks for Safari  Support
    Time Machine:
              Skip System Files: NO
              Mobile backups: OFF
              Auto backup: NO - Auto backup turned off
              Volumes being backed up:
                        Maggie: Disk size: 148.25 GB Disk used: 28.92 GB
              Destinations:
                        Seagate Expansion Drive [Local] (Last used)
                        Total size: 2 
                        Total number of backups: 8
                        Oldest backup: 2014-02-28 01:27:57 +0000
                        Last backup: 2014-05-04 20:43:07 +0000
                        Size of backup disk: Excellent
                                  Backup size 2  > (Disk size 148.25 GB X 3)
              Time Machine details may not be accurate.
              All volumes being backed up may not be listed.
    Top Processes by CPU:
                   3%          WindowServer
                   2%          mdworker
                   0%          systemstatsd
                   0%          mds_stores
                   0%          mds
    Top Processes by Memory:
              90 MB          Opera
              35 MB          Finder
              33 MB          FriendFeed
              23 MB          Opera Helper
              23 MB          CVMCompiler
    Virtual Memory Information:
              34 MB          Free RAM
              566 MB          Active RAM
              544 MB          Inactive RAM
              305 MB          Wired RAM
              3.58 GB          Page-ins
              63 MB          Page-outs
    <Re-Titled By Host>

    Hi..
      [loaded] com.genieoinnovation.macextension.client.plist
    You have inadvertently installed malware (Genieo)
    Help here > The Safe Mac » Search Results » genieo
    As for the Safari Gmail menu items not working ..
    It may be one or more of your Safari extensions:
    Safari Extensions:
              LastPass: Version: 3.1.21
              AddThis: Version: 1.7
              Evernote Web Clipper: Version: 6.1
              TypePad Blog It: Version: 1.0
              XKit 7: Version: 7.4.2
              Keeeb : Version: 1.2.17
    From the Safari menu bar click Safari > Preferences then select the Extensions tab. Turn that OFF, quit and relaunch Safari to test.
    If that helped, turn one extension on then quit and relaunch Safari to test until you find the incompatible extension then click uninstall.

  • Select list pagination not working for big tables

    Hi,
    i am trying to view a table with large amount of data using tabular form. the pagination using select list is not working in this page. i have selected select list kind of pagination but it is showing "row range 1-15 16-30(with set pagination)' type of pagination. when i lowered the amount of data in the table the pagination type will automatically change to select list pagination. could you please tell me why this happens and any possible work around if any.
    Thanks,
    Jo

    Hi Jo,
    I don't know what you call a large amount of records, but the effect you describe might be intentional by apex.
    The select list pagination would generate a selection tag with (number of records in table/15) options in your page HTML.
    Although there isn't a hard limit to the number of options a select list can have there certainly is a limit to what your browser/pc can render.
    Think about it
    Let's say you table contains a million rows. this would result to a select list with 66666 options. Which your browser won't handle :)
    I very possible the apex team resolved this by simply reverting to row range pagination when the number of select options would grow to large.
    Geert

  • Site list update not working with TED and Zenworks for Servers

    Product: Zenworks for Desktops 7Sp1 and Zenworks For Server/TED 7Sp1HP5
    Subject: Site list update not working with TED and Zenworks for Servers ,
    all on Linux
    Description: We have an exiting environment with 6 ZfS Servers and now we
    brought up a new Server for another location. I configured all same as on
    the other Server and the new one created all NAL-Apps at the new location.
    But in the Application Site list on the golden App is this Application
    missing. So I clicked on the Link up site list on the Distribution Screen
    in C1. On ApplicationSite list the App from the new location is missing.
    So I removed all and added the new from the new location and now i see all
    in the application site list.When I install an app on the client on the
    new location NAL is connecting alway th the same (wrong location-server
    and i get an msi error 1612 or id=53272 with path=\Wrong serverpath to
    file.
    I looked on the other tab on C1 at the golden app an I see the backlinks
    are going to all other servers without the new one. Software installation
    on other locations are ok
    Regards

    Andreas,
    I forgot to mention that you can also set the loging level on the Distributor and the Subscriber to 6. to do this at the Zenworks Server Management prompt type "setconsolelevel 6" if you want to capture this to the log file ted.log then use "setfilelevel 6"
    Next delete the Distribution from the Subscriber and then re-push the channel.
    What we are looking for here in the log is the creation of the object and the linking information about the gold object. it should look like this (not the failure part ;-))) )
    In this excerpt you will see the entry
    Golden App =
    This should be were the link is to
    You can check this both ways in the Golden App and in the Distributed Application.
    Here is a log from me that shows this info as an example of what you should be looking for.
    2008.05.29 03:35:41 [TED:Work Order In(yourserver.yes.com)] Receiving distribution: Creating new application failed,
    Subscriber Tree Name= YOUR-TREE,
    Subscriber DN = SUBSCRIBER_YOURSERVER.BRN.FL.SUBS.SUBSCRIBERS.ZSM. GRS.CBH,
    Golden App = SCRIPT-MS-HOTFIX.APP.BRN.ZENGOLD.GRS.CBH,
    Attempted AppName = SCRIPT-MS-HOTFIX.APP.BRN.HAVERHI.PALM.FL.CBH,
    error message: Failed creating SCRIPT-MS-HOTFIX.APP.BRN.HAVERHI.PALM.FL.CBH. With error message: Setting the trustee for BRN.HAVERHI.PALM.FL.CBH on the file "VOL1:\ZEN\UTILS" failed. Look in subscriber log file for more details..
    2008.05.29 03:35:41 [TED:Event Processing] Handle Event: Work order IN completed... Creating new application failed,
    Subscriber Tree Name= YOUR-TREE,
    Subscriber DN = SUBSCRIBER_HAVERHI-FLBRN1.BRN.FL.SUBS.SUBSCRIBERS.ZSM.GRS.CBH,
    Golden App = SCRIPT-MS-HOTFIX.APP.BRN.ZENGOLD.GRS.CBH,
    Attempted AppName = SCRIPT-MS-HOTFIX.APP.BRN.HAVERHI.PALM.FL.CBH,
    error message: Failed creating SCRIPT-MS-HOTFIX.APP.BRN.HAVERHI.PALM.FL.CBH. With error message: Setting the trustee for BRN.HAVERHI.PALM.FL.CBH on the file "VOL1:\ZEN\UTILS" failed. Look in subscriber log file for more details..
    2008.05.29 03:35:41 [TED:Event Processing] Received (from haverhi-flbrn1.yesbank.com) Creating new application failed,
    Subscriber Tree Name= YOUR-TREE,
    Subscriber DN = SUBSCRIBER_HAVERHI-FLBRN1.BRN.FL.SUBS.SUBSCRIBERS.ZSM.GRS.CBH,
    Golden App = SCRIPT-MS-HOTFIX.APP.BRN.ZENGOLD.GRS.CBH,
    Attempted AppName = SCRIPT-MS-HOTFIX.APP.BRN.HAVERHI.PALM.FL.CBH,
    error message: Failed creating SCRIPT-MS-HOTFIX.APP.BRN.HAVERHI.PALM.FL.CBH. With error message: Setting the trustee for BRN.HAVERHI.PALM.FL.CBH on the file "VOL1:\ZEN\UTILS" failed. Look in subscriber log file for more details..

  • Where used list is not working for IMG nodes/Document   in solar01

    hi experts
    In template project , we are using same IMG objects in different business processes and subsequent configuration document is attached to each IMG node in configuration tab.  ( like same IMG node  -  define order types used in different business process configuration tab )
    when i use " where used list " from the configuration tab , its not showing the IMG objects  used in different business processes in the same project. whereas its showing the IMG nodes used in the different project.
    I need to find out the same IMG objects/ document  used in the same project using the " Where used list " button.
    Please provide your answers
    Note : we have linked one configuration document to same IMG nodes used in different business. " where used list " also not working for documents as well
    Thanks
    Sol man

    Hello there,
    I just tried some tests and couldn't face any problem with locating other usages for the objects in configuration tab.
    You mentioned a configuration document, so have in mind that the document usage will only be considered if it is a link to the same document and not just a copy.
    e.g:
    Here I created a document in this node:
    Then I added it as a link here:
    and as a copy here:
    When I go back to the original node and use the where-used, it'll only show the original and the link:
    This happens because after copying a document, it is considered as a new one instead of another usage of the original one.
    best regards,
    Fabricius

  • How do you do anchors - the three ways listed did not work.  I am using the jQuery mobile template 11.  I want to link to a spot on the same page.

    How do you do anchors - the three ways listed did not work.  I am using the jQuery mobile template 11.  I want to link to a spot on the same page.

    How do you do anchors - the three ways listed did not work.  I am using the jQuery mobile template 11.
    You have aroused my curiousity, what are three ways listed that do not work? At risk of being labeled as an ignoramus, could you also tell me where to get the other 10 templates?
    I usually give an element an ID and use that in my link as in
    <a href="#mySpot">Go to my spot</a>
    <div id="mySpot">
    </div>

  • Oracle Forms List Items :not populating list Dynamically using select Query

    Hi ,
    I need to create a list item. And the values to be populated in the list are from Database but I'm unable to populate from database.
    Please help me out how to populate the values from database.
    In Property Pallete we have Elements in List under Functional section , In this we have to manually enter the List values but we can't use any Query to Dynamically populate.
    Thanks,
    Kiran Sanga

    When you need to fill a list with the result of a query, you'll have to do it at runtime.
    Andreas has a good blogpost about this.

  • Dynamic Height in Graphs does not work properly when the graph is in an list

    Help please,
    I have an report in SQL Server 2008 (SP1) Reporting Services which uses Dynamic Height to dynamically increase the size of the graph for the data. For a single dataset this works great!
    When I place this graph in a list/tablix (to display this graph on each group) things go bad... Only the first graph on every page is resized, all other graphs on the same page are equal in size of the first!
    When I place a pagebreak on the lists property all graphs are drawn fine!! But then I will have a page for every question in my data (which can be a lot!)
    What is going on here? Please help.

    Hi Jerry,
    thanks for your reply, but this does not work. The graphs are now all the same size (the size of the first one that is), and on the same page for that matter...
    It looks like the renderer calculates the value of the dynamic height only once on a page in stead of each graph. That's a bug in my opinion.
    Any suggestions on how to fix this?
    The inner workings of the report are like this: The data contains anwers from a survey by question, so i have a unknown count of answers with each question; I placed a list on my report with a groupingproperty on the question asked. On this list i place a horizontal bar-graph which must grow in height when it is too small. The dynamic height should be calculated like this =70 + (CountDistinct(AnswerValue.Value)*10) & "pt".
    When i place this calculation in a textbox, every item in the group is calculated correctly. Each graph is drawn, but the graphs are sized only to the size of the first graph on the page. When I place a pagebreak after each list-repeat (so i get each question on a seperate page) each graph is drawn correctly! This results however in more than 100 pages with all used for just a few centimeters (think about trees!).
    I'm using SQL 2008 / SSRS2008 with SP1 by the way ( without SP1, the behaviour is the same).
    Any more suggestions are appreciated.
    Danny

  • Dynamic Action on item not working in APEX 4.2.1

    Created Dynamic action on item(Radio based on LOV) to show/ hide other items (event is Change). But its not working. I mean nothing happening onchange ..

    Based on the Radio item value "a" (Y/N) i am showing or hiding items b and c. All these items are in same region.
    Output seen : By default all the items are displayed and no action on changing the value of the radio item a.

  • DA for Select List is not working

    Hi friends,
    I have a two fields in my form.
    <li>person id
    <li>Manager Name(Select List)
    I have given a default value for person id as'270'. So i need to write an dynamic action so that it will fetch the manager name according to the person id '270'.
    Since My manager Name is an Select List type, i have given the following query in the LOV definition of this item
    select papf.full_name d, papf.person_id r
    from per_all_people_f papf,
         per_all_assignments_f paaf,
         per_all_people_f supf, hr_all_positions_f hapf, hr_all_organization_units haou
    where papf.business_group_id = 216 
    and papf.person_id = paaf.person_id and hapf.position_id=paaf.position_id and haou.organization_id=paaf.organization_id
    and  NVL(paaf.supervisor_id, papf.person_id) = supf.person_id
    and sysdate between papf.effective_start_date and papf.effective_end_date
    and sysdate between paaf.effective_start_date and paaf.effective_end_date
    and sysdate between supf.effective_start_date and supf.effective_end_date
    and sysdate between hapf.effective_start_date and hapf.effective_end_date
    and papf.person_type_id = 5145
    order by 1   This is the DA, that i wrote for the person id column.
    For the true action, i have given as 'Set Value' and given the following query
    select supf.full_name
    from per_all_people_f papf,
         per_all_assignments_f paaf,
         per_all_people_f supf, hr_all_positions_f hapf, hr_all_organization_units haou
    where papf.business_group_id = 216 
    and papf.person_id = paaf.person_id and hapf.position_id=paaf.position_id and haou.organization_id=paaf.organization_id
    and  NVL(paaf.supervisor_id, papf.person_id) = supf.person_id
    and sysdate between papf.effective_start_date and papf.effective_end_date
    and sysdate between paaf.effective_start_date and paaf.effective_end_date
    and sysdate between supf.effective_start_date and supf.effective_end_date
    and sysdate between hapf.effective_start_date and hapf.effective_end_date
    and papf.person_type_id = 5145 and papf.person_id = :P6_PERSON_IDPage item to submit: P6_PERSON_ID
    Affected Element: P6_MANAGER_NAME.
    Soon after the page load, the manger field has to show the corresponding manager name in the LOV according to the value '270' which is in the person id item. But it is not showing the corresponding name in the select list item.
    Suppose, if the manager name item is in 'display only' means it is working, but if the manager name field is in LOV means it is not fetching the value and it is displaying only the null display value in that field.
    I dont know why the DA is not working if the field is in LOV.
    Brgds,
    Mini

    Hi Patrick,
    Thanks, and this is the mistake that i made and it worked now fine.
    I have Certain questions for you:
    <li> Currently, i can able to send mails from APEX using APEX_MAIL, but APEX_MAIL will support only in the unauthenticated mail server. Since in our organization we have configured an unauthenticated mail server and we are using that server for the APEX mail process. The problem that im facing now is, this mail server is been used in our organization entirely for all the purpose, except the official mail.[For official mail purpose we are using Yahoo server, which is an authenticated server, and we are using that Yahoo mail server only for your official mail purpose].
    For remaining all the purpose including the APEX mail process too we are using the unauthenticated mail server that we configured. Since we are make using of unauthenticated mail server for all the purpose and due to that, the mail process is getting very slow and i couldnt able to receive the mail from the APEX in time(via) this unauthenticated mail server.
    So, due to that i thought of using the Yahoo mail server(which is an authenticated mail server). But APEX_MAIL doesnot support for the authenticated server, then how i can use the authenticated mail server for sending the mail via APEX. How i can able to access the Yahoo mail authenticated server from Oracle Database.(i have also enabled ACL in my DB too).
    <li> Second question, is how i can able to refer the APPLICATION PROCESS in my application. Other than calling that APPLICATION PROCESS In javascript, it is possible to call that APPLICATION PROCESS in the plsql anonymous block.
    Brgds,
    Mini

  • Dynamic Action with field DIVGV not working

    We have built the dynamic action below to default values from infotypes 0007 and 0008 behind the screnes in infotype 0491 Payroll Outsourcing. The issue that we are having is that the dynamic action will not work for field P0008-DIVGV, but will work with all the other fields.
    The only difference between the DIVGV field and the rest of the other fields mentioned in this dynamic ation is that it seems to be a free text field (which you can modify), even though the values are pulled from the work schedule rule in infotype 0007. We have also hidden the DIVGV field in 0007 per client requirement.
    Does anyone have any suggestions on how to get this working. Do we need to populate these values in any of thh HR tables first?
    06     10     *     *** COP 0491 US PAYROLL OUTSOURCING ***
    06     12     P     T001P-MOLGA='10'
    06     14     I     COP,0491,,,(P0008-BEGDA),(P0008-ENDDA)/D
    06     16     W     P0491-OTF06='PS TYPE'
    06     18     W     P0491-OTV06=P0008-TRFAR
    06     20     W     P0491-OTF07='PS AREA'
    06     22     W     P0491-OTV07=P0008-TRFGB
    06     24     W     P0491-OTF08='WORK SCHEDULE RULE'
    06     26     W     P0491-OTV08=P0007-SCHKZ
    06     27     W     P0491-OTV09='WORK HOURS/PERIOD'
    06     28     W     P0491-OTV09=P0008-DIVGV

    Hi Damas,
      it seems to be no specific reason for not updation P0008-DIVGV only.Please cross check whether field is populating or not in Infotype 0008, before dynamic action triggered, other that that there is no reason.

Maybe you are looking for