Lov Event Issue..Urgent!!!

Hi to all,
I create a lov dynamically
In processreq.
OAMessageLovInputBean billtoaddbean[] = new OAMessageLovInputBean[100];
billtoaddbean[t] =(OAMessageLovInputBean)createWebBean(pageContext, LOV_TEXT, null, AssoCmpnyCustBillToAdd);
billtoaddbean[t].setAttributeValue(REGION_CODE,"webui/TrailCompanyPG");
billtoaddbean[t].setLovRegion("/lov/webui/TrialBillToLovRN",0);
billtoaddbean[t].setUnvalidated(false);
and set the id like billtoaddbean[t].setID("AssoCmpnyCustBillToAddId"+t);
billtoaddbean[t].addLovRelations(pageContext, AssoCmpnyCustBillToAdd,"Address",LOV_CRITERIA ,LOV_REQUIRED_NO);
billtoaddbean[t].addLovRelations(pageContext,AssoCmpnyCustBillToAdd, "Address",LOV_RESULT,LOV_REQUIRED_NO);
and in prcessformreq, I did the code below (Just check the event)
if(pageContext.isLovEvent())
value.append("In Lov Event --");
System.out.println("IN LOV EVENT");
if(lovInputSourceId.equals("AssoCmpnyCustBillToAddId"+i))
System.out.println("In Asso Bill To Add Lov");
after this when i clicked the this lov means.. the search and select window will not appear.
Anything wrong way i did?
How to check the lov event.
Thanks in Advance
Regards
Senthur

Hi
pls modify your code according to following code to create the LOV ,
OAMessageLovInputBean lovInput =(OAMessageLovInputBean)createWebBean(pageContext, LOV_TEXT, null,
"inputTest");
webBean.addIndexedChild(lovInput);
// Specify the path to the base page.
lovInput.setAttributeValue(REGION_CODE, "/my/oracle/apps/ak/employee/webui/TestEmpSearchPG");
//lovInput.setAttributeValue(REGION_CODE, "/oracle/apps/dem/webui/Basic");
// Specify the application id of the base page.
lovInput.setAttributeValue(REGION_APPLICATION_ID, new Integer(20001));
// Specify the LOV region definition.
lovInput.setLovRegion("/my/oracle/apps/ak/lov/webui/EmployeesLovRN", 0);
lovInput.setUnvalidated(false);
lovInput.setPrompt("Manager ID");
lovInput.addLovRelations(pageContext, "inputTest", // base page item
"Empname", // lov item
LOV_RESULT, // direction
LOV_REQUIRED_NO);
lovInput.addLovRelations(pageContext, "inputTest", // base page item
"EmpNum", // lov item
LOV_CRITERIA, // direction
LOV_REQUIRED_NO);
please let me know if any issue there
thanx
Pratap

Similar Messages

  • LOV event issue

    Hi,
    We have a OAF page which has 2 LOVs. These LOVs are dependent i.e. 2nd LOV gets populated based on the value selected in the first LOV. We are seeing the below issue when we click on the 1st LOV
    - In some instances (development, test), mouse pointer becomes hour-glass (busy) which is very useful to the end user. This is kind of a information message to the user that processing is not yet complete. He will wait till it becomes normal pointer before clicking on 2nd LOV. But in some of the instances (Production), mouse hour-glass is not visible so user is not aware that the 2nd LOV is not yet populated and he ends of selecting wrong value (because 2nd LOV has different value initially).
    Is it way of showing mouse hour-glass when a event is being fired in OAF? Can this be controlled through OAF or is it system dependent? if it is system dependent, how can change this feature?
    Any help on this would be of great help.
    Thanks,
    Shree

    use bodyBean.setBlockOnEverySubmit() in PR
    This will block the user input by showing a busy icon on every submit action..
    Use javascript to show a busy icon.
    Amar.

  • Reg : Cross browser issue while handling LOV event on KeyFlexFeild

    Hi OA Gurus,
    We are encountering issues on R12.0.6, JDev 120Rup6.
    We have the following test case and code changes.
    Requirement:
    We have OA page where we have one KeyFlexFeild item and a normal LOV. Page items are part of one AM and LOV is in another AM.
    The requirement was to make LOV dependent on keyFlexfeild. Test case is mentioned as per following flow.
    1.     User changes cost center segment of Accounting Flex(Key flex) using Cost center LOV.
    2.     Another LOV in the same page should be dependent on new value of cost center as modified in step 1.
    Solution Implemented:
    Describing in the 3 steps
    1) Here the KeyFlexFeild is expense account. Whenever User changes any segment, we handle
    ‘lovValidate’ and ‘lovUpdate’ events on KeyFlexFeild in processFormRequest of controller.
    2) Retrieve the value of cost center segment using getSegmentsQualifiedBy(), Update corresponding VO attribute of the LOV query parameter.
    3) Forward the request to current page so that LOV will have modified value with updated query.
    4) Forwarding to current page is must because LOV is built with another AM and will loaded only when page is built.
    Issue:
    This works fine on internet explorer. When trying to run the same in Mozilla we have following issue
    1) User modifies one of the segments of expense account and make a tab – out
    2) Now the page refresh happens
    3) Now in the same page no other LOV or no other button works. He can’t click on any button for submit or cancel.
    LOVs will not open even after clicking on it.
    Code changes:
    //Step1 – Handle LOV events
    String source = pageContext.getParameter(SOURCE_PARAM);
    String eventType = pageContext.getParameter(EVENT_PARAM);
    if(source !=null && eventType != null) {
    if(source.startsWith("Acct") && eventType.equals("lovUpdate") || eventType.equals("lovValidate") ) {
    KeyFlexfield flex = (KeyFlexfield)lkff.getAttributeValue(OAWebBeanConstants.FLEXFIELD_REFERENCE);
    // Step -2 Updating the corresponding VO attribute for LOV to get the modified the value
    Segment[ ] segmentL = flex.getSegmentsQualifiedBy(FA_COST_CTR");
    CostCenterValue = segmentL[0].getValue().getValue();
    if(CostCenterValue != null ){
    sampleViewObject.getCurrentRow().setAttribute("ToCostCenter",CostCenterValue);
    OAFormValueBean formValueBean = (OAFormValueBean)webBean.findIndexedChildRecursive("ToCostCenter");
    if(formValueBean != null)
    formValueBean.setValue(pageContext, CostCenterValue);
    OAMessageLovInputBean formValueBean1 = (OAMessageLovInputBean)webBean.findIndexedChildRecursive("ReceivingApprover");
    if(formValueBean1 != null)
    formValueBean1.setValue(pageContext, null);
    else
    sampleViewObject.getCurrentRow().setAttribute("ToCostCenter",null);
    //Step 3 – Forward the request Current Page again
    pageContext.setForwardURLToCurrentPage(null, true, ADD_BREAD_CRUMB_YES, (byte)0);
    We have following questions.
    a)     Solution implemented by us is correct ? or we have to implement it in another way ?
    b)     Is OA version mentioned above supported on Mozilla browser version 3.x ? This issue is not occurring on Mozilla 1.x while running from JDev.
    Please let us know if any additional details required.
    Thanks for help in advance.
    Edited by: user774130 on Dec 15, 2009 2:27 AM

    Hi,
    It seems that you have not noticed that this forum is not for posting product-related questions/problems....
    So , this might be the correct forum....
    Java Server Pages (JSP)
    Sim

  • LOV Event Capturing

    Hi OAF Gurus,
    We have requirement to capture LOV events progammatically but on the way I am facing one issue while capturing LOV event.
    Actually lovValidate event works as per its functionality and it gets captured when user enter value into th efield and tabs out but lovPrepare event doesn't get captured when I clicked on a torch icon and same is what happening with lovUpdate means both these events doent gets captured.
    I have tried in many ways,also by setting Disable Validation Property:true and Use for Validation property:yes but stuck with same issue as before.
    Could you please help me on this issue..Its on priority,..
    Any pointers would be of great help.
    Thanks in Advance.

    Hi,
    lovPrepare fires only when you click on the torch button. It is responsible for passing row level variable to LOV popup page.
    Whereas when you (quick) select any value, lovValidate gets fired which is responsible for populating the variables from LOV page back to main page.
    When you type a valid value in the field, we dont need to send data from main page to LOV page so there is no need to fire lovPrepare. At the same time, since its a valid value, we need to get other columns values and populate them in other formValues/fields in the row. Hence lovValidate even is a must.
    What exactly is your requirement?
    May be u can try having a look into Controller file linked to LOV Page (if it is present)
    Thanks,
    Hrishikesh

  • Dependant LOV Execution issue

    Hi All,
    I have the following scenario
    Field 1 (Criteria Item for LOV)
    Field 2 (LOV Item it's self setup as criteria and return item)
    Field 3 (Return Item for LOV)
    Field 1 has to be populated. With the dependant criteria input from field 1 I want the query to execute automatically regardless of if data was entered to field 2 (effectively a blind query as regards field 2 i.e. as if I was entering % in field 2)
    The dev guide states that if no criteria is entered in the base lov field then no query is executed, this is not sufficient for my requirements. I need to default a wildcard into the field 2 value and make this transparent to the user.
    I have considered perhaps capturing the LOV event in the controller (Same place as I check that Field 1 is populated) and some how interact with the LOV and set its search criteria for field 1 to % if it is null, from the dev guide my first thought would be to capture the passivation items and do it their.
    Is this the right approach or is their an easier way?
    Thanks
    Keith

    Ok, no replies so I have been looking into this some more (not suprising given its a bank hol!)
    I have solved the programatic query problem, their is an error in the dev guide in that the example does not indicate that you need to set the where clause your self. I now do this in the controller, code below:
    In process request method of my LOV controller class
    //Get criteria Items for LOV
    Dictionary passiveCriteriaItems = pageContext.getLovCriteriaItems();
    String supporterNumber = (String)passiveCriteriaItems.get("PartyNumber");
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    OAViewObject vo = (OAViewObject)am.findViewObject("QEPOrderListVO1");
    if (supporterNumber==null || "".equals(supporterNumber.trim()))
    vo.setWhereClauseParams(null);
    vo.setWhereClauseParam(0,"0");
    throw new OAException("XX","XX_QEP_SUPPORT_BEFORE_ORDER");
    else
    vo.setWhereClauseParams(null);
    vo.setWhereClauseParam(0,supporterNumber);
    This will ensure that the user cannot use the LOV unless they complete field1 and it will supply a user friendly error message rather than the default OAF error if you specify required as yes in the LOV mapping.
    Even though I have got hold of the VO instance that feed the LOV it is still not possible to force execution i.e. to ensure it displays all the values regardless of if partial/full values are entered in field2. Even if I do execute it the LOV still comes up with no search conducted and I have to put a wild card and click go before I can see the values.
    This is an annoying feature and a surprising one, I have done searches in the forum on this and it always seems to end the same "Cant be done". Any ideas would be appreciated.
    Keith

  • Installation issue -urgent

    Hai frnds
    I have got a new dell studio 15 laptop.iam much interested in oracle applications and for the purpose of learning oracle applications i got it.when i tried to install redhat enterprise linux 4 replacing windows xp on my machine it throws the error message as driver not found and the installation does not proceed.when i asked the computer dealers they said that i have to go for some newer rhel version for installing linux in my laptop since its a new brand.
    before few days i tried to install oracle applications 11.5.10.2 on rhel 5 but i got a lot of errors and the oracle forums advised me to go for rhel 4 for installing oracle applications 11.5.10.2.now iam confused and dont know wat to do .
    my aim is install oracle applications 11.5.10.2 on some newer version other than rhel 4 which supports my dell laptop
    i want to know whether installation of oracle applications 11.5.10.2 is possible on rhel 8 or rhel 9.will the installation goes properly.
    Thanks and Regards
    Parithi.A.

    Hi,
    Please see your other thread.
    install issue -urgent
    install issue -urgent
    Regards,
    Hussein

  • Problem in LOV event

    we are doing some customization to perform validations on LOV event.
    First we are calling the SuperForm request , then we are checking for the LOV event and calling one package for the validations.
    In first instance it works fine like: we opn the LOV and then select any value, it works fineas expected.
    The problem comes : when we are tring to again open the LOV by clicking on the LOV icon , the LOV region window is not opening.
    It is taking the previous value and calling the package again.
    Please suggest any solution for the same.

    I am performing the validation for 2 LOV`s Supplier and SupplierSite.
    SupplierSite LOV is dependent on supplier.
    //Call processFormRequest method of base class
    super.processFormRequest(pageContext, webBean);
    //declaring the lov object
    String strLovItemName1 = pageContext.getLovInputSourceId();
    //check for LOV click event
    if (strLovItemName1 != null && !strLovItemName1.equals("")) {
    //checking the Supplier Site LOV for any event
    if (strLovItemName1.equals("Supplier")) {
    //call the base class
    super.processFormRequest(pageContext, webBean);
    System.out.println("Supplier lov clicked ");
    // check if supplier id and org id is not null
    if (strSuppId != null && !("").equals(strSuppId) &&
    intOrgId != null && !intOrgId.equals("")) {
    //supplier site id is not null then convert it into integer
    ///****callin the package*****//////
    // call for the supplier site iD LOV
    else if (strLovItemName1.equals("SupplierSite")) {
    if (strSuppSiteId != null && !("").equals(strSuppSiteId) &&
    suppWebBean != null && !("").equals(suppWebBean) &&
    intOrgId != null && !intOrgId.equals("")) {
    /////**** calling the package***/////
    Please guide me .

  • Capture LOV Event on next page

    Hi all,
    I am doing few updates to the data base based on the value selected in the LOV. The updates should happen on click of save. I am not able to identify the LOV event after click on save as this redirects to new page. before the event of save i am able to use opagecontext.isLOVEvent method. If I am not able to identify, the updates will happen everytime.
    Please help.
    Thanks

    Hi,
    Please refer following thread.
    Addvanced Table
    About Your Code:
    *if (ADD_ROWS_EVENT.equals(pageContext.getParameter(EVENT_PARAM))){..*
    *if (pageContext.isLovEvent()) {...*
    At a time you can have Add row event or lov event so above condition you are trying to work with will never execute!! so check for separate if else blocks.
    Hope it helps.
    Regards,
    Swati

  • How to Get property values from Shared Object in client's load event - Very urgent

    I am using shared object to share data between two users. First user connect to shared object and set some value in shared object. Please consider that second user has not connected with the shared object yet.
    Now when second user connects to the server and try to get that property set by first user, he could get shared object but could not get properties of Shared object set by first user. I observed few times that Second user can get these properties within "Sync" event between two users. But I would like to get these values for Second user in any stage (i.e. in load event etc.). Whenever Second user tries to get the property of Shared object, the object will reset the actual property value and then return reset value.
    Anyone faced such issue while using shared object between two users. If so, I would appreciate if you could let me know your suggestions for following questions:
    1) Is there any way to get all the properties of shared object before sync event called, as I want to get it immediately when second user connect to the application and perform next task based on the values stored in shared object.
    2) Is it possible for second user to check whether any property has been set by first user? So that second user can use the property instead of reset it.
    Any kind of help would be greatly appreciated.
    Thank You.

    I am using shared object to share data between two users. First user connect to shared object and set some value in shared object. Please consider that second user has not connected with the shared object yet.
    Now when second user connects to the server and try to get that property set by first user, he could get shared object but could not get properties of Shared object set by first user. I observed few times that Second user can get these properties within "Sync" event between two users. But I would like to get these values for Second user in any stage (i.e. in load event etc.). Whenever Second user tries to get the property of Shared object, the object will reset the actual property value and then return reset value.
    Anyone faced such issue while using shared object between two users. If so, I would appreciate if you could let me know your suggestions for following questions:
    1) Is there any way to get all the properties of shared object before sync event called, as I want to get it immediately when second user connect to the application and perform next task based on the values stored in shared object.
    2) Is it possible for second user to check whether any property has been set by first user? So that second user can use the property instead of reset it.
    Any kind of help would be greatly appreciated.
    Thank You.

  • Standard Business Event issue in SOA.

    Hi,
    I created a subscription in SOA for the standard business event (*oracle.apps.jtf.cac.task.updateTask*) using Oracle Apps Adapter. When the event is fired in the Oracle EBusiness Suite, I am expecting SOA to capture the payload and create an instance. The instances are not created.
    This is the workaround I did to check if the events are firing or not.
    1. Whenever a standard business event is fired, we can see a record in WF_DEFERRED queue. In this case too, I am able to see the record.
    2. From WF_DEFERRED, the data should flow into WF_BPEL_Q. I am unable to see a record in this table in my case.
    Which mean the events are firing but SOA is unable to capture the events. I tried to raise a JAVA event in the Oracle EBusiness Suite's workflow manager and SOA was able to capture the payload and an instance was created in weblogic EM. But when I update the task in the Oracle EBS, SOA is not able to capture the payload.
    Any inputs to fix this issue is greatly appreciated. Please help.
    Thanks,
    Venkat Sai.

    Hi;
    For your issue i suggest close your thread here as changing thread status to answered and move it to Oracle Discussion Forums » SOA & Process Management » SOA Suite which you can get more quick response
    Regard
    Helios

  • IPhone calendar event issue- not synching across iCloud

    Events created on my iPhone will not sync across iCloud to display on my Calendar App on my iPad or on my laptop.
    iPhone 5 iOS 8.1.3 - this started yesterday with no changes having been made to any of my iCloud settings.  On my laptop I get a new icon displays in my doc - see attached image, but when I click on it it just goes away and the new event is not synched.  If I don't click on this icon, it eventually disappears and the event is also not added to my calendar.
    I Can create events on my iPad and laptop and have them show on my phone.  I can create Notes on my iPhone and they sync across devices. 
    I have tried changed the iPhone calendarsync settings from 'Events 1 Month Back' to 'All Events' and vice versa.  On the iPhone I have turned Off synching of calendars, waited and re-enabled synching.  I have cycled power to my iPhone.

    Thanks Sterling - I've read through both those articles and performed all the troubleshooting steps in the iCloud: Troubleshooting iCloud Calendar - Apple Support article.  I have verified bluetooth is on, I'm on the same wireless network, same iCloud account signed into on all devices, etc.
    Still new events entered on my iPhone do not get added to my laptop or iPad calendar.  The handoff icon shows in my doc, but it does not put the new event onto the calendar.
    Through some more testing, I have also found the same issue with reminders; if I create one on my iPhone it will not be displayed on my laptop or iPad.
    Again I have no problems creating these on my laptop or iPad and having them show on All my devices, including my iPhone.  And another family member can create them on their iPhone 6, iOS 8.1.3 and they come across to all my devices; laptop, iPad and my iPhone5.
    Please advise what else I can do, as not being able to create events or reminders on my iPhone and have them sync across devices is a problem.

  • SQL Query Group By Issues - Urgent

    I currently have an issue writing a pl\sql report, I can get part of the way to the results I want but the group by clause is causing problems, because I have to add more columns to the group by, dispersing the figures further, I have tried it with coalesce for each of the task types but I still get the same results, I am getting close to the results I need but not quite there yet. I would really appreciate it if someone could take at look at this for me as it is an urgent requirement.
    The report is based on the tables similar to the following:
    TASKS, ORGANISATIONS, POSITIONS
    A position is a member of an organisation.
    A task has a position assigned to it.
    The SQL for the tables and to insert the data that would produce the report is detailed below:
    CREATE TABLE TASKS
    (     TASK_ID NUMBER NOT NULL ENABLE,
         TASK_TYPE VARCHAR2 (15 BYTE) NOT NULL ENABLE,
         STATUS VARCHAR2 (15 BYTE) NOT NULL ENABLE,
         POS_ID NUMBER NOT NULL ENABLE,
         CONSTRAINT TASKS_PK PRIMARY KEY (TASK_ID));
    CREATE TABLE ORGANISATIONS
    (     ORG_ID NUMBER NOT NULL ENABLE,
         ORG_NAME VARCHAR2 (15 BYTE) NOT NULL ENABLE,
         CONSTRAINT ORGANISATIONS_PK PRIMARY KEY (ORG_ID));
    CREATE TABLE POSITIONS
    (     POS_ID NUMBER NOT NULL ENABLE,
         POS_NAME VARCHAR2 (25 BYTE) NOT NULL ENABLE,
         ORG_ID NUMBER NOT NULL ENABLE,
         CONSTRAINT POSITIONS_PK PRIMARY KEY (POS_ID));
    INSERT INTO ORGANISATIONS (ORG_ID, ORG_NAME) VALUES (1,'ABC');
    INSERT INTO ORGANISATIONS (ORG_ID, ORG_NAME) VALUES (2,'DEF');
    INSERT INTO ORGANISATIONS (ORG_ID, ORG_NAME) VALUES (3,'EFG');
    INSERT INTO POSITIONS (POS_ID, POS_NAME, ORG_ID) VALUES (1,'ABC-1', 1);
    INSERT INTO POSITIONS (POS_ID, POS_NAME, ORG_ID) VALUES (3,'ABC-2', 1);
    INSERT INTO POSITIONS (POS_ID, POS_NAME, ORG_ID) VALUES (2,'ABC-3', 1);
    INSERT INTO POSITIONS (POS_ID, POS_NAME, ORG_ID) VALUES (5,'DEF-2', 2);
    INSERT INTO POSITIONS (POS_ID, POS_NAME, ORG_ID) VALUES (4,'DEF-1', 2);
    INSERT INTO POSITIONS (POS_ID, POS_NAME, ORG_ID) VALUES (7,'EFG-1', 3);
    INSERT INTO TASKS (TASK_ID, TASK_TYPE, STATUS, POS_ID) VALUES (12,'TASK_TYPE_3','LIVE',3);
    INSERT INTO TASKS (TASK_ID, TASK_TYPE, STATUS, POS_ID) VALUES (11,'TASK_TYPE_2','LIVE',3);
    INSERT INTO TASKS (TASK_ID, TASK_TYPE, STATUS, POS_ID) VALUES (10,'TASK_TYPE_2','LIVE',2);
    INSERT INTO TASKS (TASK_ID, TASK_TYPE, STATUS, POS_ID) VALUES (9,'TASK_TYPE_2','LIVE',2);
    INSERT INTO TASKS (TASK_ID, TASK_TYPE, STATUS, POS_ID) VALUES (8,'TASK_TYPE_1','LIVE',3);
    INSERT INTO TASKS (TASK_ID, TASK_TYPE, STATUS, POS_ID) VALUES (7,'TASK_TYPE_1','LIVE',3);
    INSERT INTO TASKS (TASK_ID, TASK_TYPE, STATUS, POS_ID) VALUES (6,'TASK_TYPE_1','LIVE',3);
    INSERT INTO TASKS (TASK_ID, TASK_TYPE, STATUS, POS_ID) VALUES (5,'TASK_TYPE_1','LIVE',3);
    INSERT INTO TASKS (TASK_ID, TASK_TYPE, STATUS, POS_ID) VALUES (4,'TASK_TYPE_1','LIVE',2);
    INSERT INTO TASKS (TASK_ID, TASK_TYPE, STATUS, POS_ID) VALUES (3,'TASK_TYPE_3','LIVE',1);
    INSERT INTO TASKS (TASK_ID, TASK_TYPE, STATUS, POS_ID) VALUES (2,'TASK_TYPE_1','LIVE',1);
    INSERT INTO TASKS (TASK_ID, TASK_TYPE, STATUS, POS_ID) VALUES (1,'TASK_TYPE_1','LIVE',1);
    INSERT INTO TASKS (TASK_ID, TASK_TYPE, STATUS, POS_ID) VALUES (13,'TASK_TYPE_3','LIVE',3);
    The report should detail the following information based on the information in the tables:
    1st Column
    Organisation
    ABC
    DEF
    EFG
    2nd Column
    No. of Positions in Organsiation
    3
    2
    1
    With total of the number of people in all of the organisation 6
    3rd Column
    Number of tasks assigned to the organisation of task type1
    2
    1
    4
    4th Column
    Number of tasks assigned to the organisation of task type 2
    0
    2
    1
    5th Column
    Number of tasks assigned to the organisation of task type 3
    1
    0
    2
    Total no of tasks assigned to the Organisation
    3
    3
    7
    Message was edited by:
    Suzy_r_82
    Message was edited by:
    Suzy_r_82

    Hi,
    Apologies, my insert statements where incorrect, if you try the data below instead it should give you output I was expecting
    INSERT INTO TASKS( TASK_ID, TASK_TYPE, STATUS, POS_ID) VALUES (1,'TASK_TYPE_1', 'LIVE',1);
    INSERT INTO TASKS( TASK_ID, TASK_TYPE, STATUS, POS_ID) VALUES (2,'TASK_TYPE_1', 'LIVE',2);
    INSERT INTO TASKS( TASK_ID, TASK_TYPE, STATUS, POS_ID) VALUES (3,'TASK_TYPE_1', 'LIVE',5);
    INSERT INTO TASKS( TASK_ID, TASK_TYPE, STATUS, POS_ID) VALUES (4,'TASK_TYPE_1', 'LIVE',7);
    INSERT INTO TASKS( TASK_ID, TASK_TYPE, STATUS, POS_ID) VALUES (5,'TASK_TYPE_1', 'LIVE',7);
    INSERT INTO TASKS( TASK_ID, TASK_TYPE, STATUS, POS_ID) VALUES (6,'TASK_TYPE_1', 'LIVE',7);
    INSERT INTO TASKS( TASK_ID, TASK_TYPE, STATUS, POS_ID) VALUES (7,'TASK_TYPE_1', 'LIVE',7);
    INSERT INTO TASKS( TASK_ID, TASK_TYPE, STATUS, POS_ID) VALUES (8,'TASK_TYPE_2', 'LIVE',4);
    INSERT INTO TASKS( TASK_ID, TASK_TYPE, STATUS, POS_ID) VALUES (9,'TASK_TYPE_2', 'LIVE',5);
    INSERT INTO TASKS( TASK_ID, TASK_TYPE, STATUS, POS_ID) VALUES (10,'TASK_TYPE_3', 'LIVE',1);
    INSERT INTO TASKS( TASK_ID, TASK_TYPE, STATUS, POS_ID) VALUES (11,'TASK_TYPE_3', 'LIVE',7);
    INSERT INTO TASKS( TASK_ID, TASK_TYPE, STATUS, POS_ID) VALUES (12,'TASK_TYPE_2', 'LIVE',7);
    INSERT INTO TASKS( TASK_ID, TASK_TYPE, STATUS, POS_ID) VALUES (13,'TASK_TYPE_3', 'LIVE',7);
    The results I would like are
    ORG    No. of Pos     No of Task    No of Task     No of Task     Total no
               In Org           Type1 for      Type2 for        Type3 for       of Tasks
                                   Org             Org                Org               for Org
    ABC        3                   2                 0                   1                   3
    DEF        2                   1                 2                   0                   3
    EFG        1                   4                 1                   2                   7
    Total        6The results I get are multiple lines for each organisation, I would like to rollup these lines so I can have one line per organisation.
    Hope this helps a bit more, I appreciate the help, let me know if you need more information
    Thanks
    Suzy

  • How do i solve this event issue ?

    You can’t change events in the "Contacts' birthdays and events" calendar.
    Only the calendar administrator and any delegates with permission can make changes to read-only calendars. To make changes to the calendar, contact the calendar administrator.
    I am the Administrator of this laptop . However i think most of the birthday events was create when i sync with Facebook. So anyone who faced the same issue before?

    Hi,
    In the Onlead selection of table make it visible and invisble of your buttons as per your selection.
    The table have single selection and multi seletion options are availble when you defing the table you can find this options in the properties of the table.
    In onlead selection your button to be mapped with attribute WDVisble.
    And based on your selection you can visible and invisible.
    wdContext.currentContextElement.set<attribute>(WDVisble.Visble);
    and
    wdContext.currentContextElement.set<attribute>(WDVisble.NONE);
    This might helps you.
    Do you need more post your issues.
    Thanks,
    Lohi

  • [JS CS4/CS5] ScriptUI Click Event Issue in JSXBIN

    Still working on a huge ScriptUI project, I discovered a weird issue which appears to *only* affect 'binary compiled' scripts (JSXBIN export), not the original script!
    When you repeatedly use addEventListener() with the same event type, you theorically have the possibility to attach several handlers to the same component and event, which can be really useful in a complex framework:
    // Declare a 'click' manager on myWidget (at this point of the code)
    myWidget.addEventListener('click', eventHandler1);
    // Add another 'click' manager (for the same widget)
    myWidget.addEventListener('click', eventHandler2);
    When you do this, both eventHandler1 and eventHandler2 are registered, and when the user clicks on myWidget, each handler is called back.
    The following script shows that this perfectly works in ID CS4 and CS5:
    // Create a dialog UI
    var     u,
         w = new Window('dialog'),
         p = w.add('panel'),
         g = p.add('group'),
         e1 = p.add('statictext'),
         e2 = p.add('statictext');
    // Set some widget properties
    e1.characters = e2.characters = 30;
    g.minimumSize = [50,50];
    var gx = g.graphics;
    gx.backgroundColor = gx.newBrush(gx.BrushType.SOLID_COLOR, [.3, .6, .9, 1]);
    // g->click Listener #1
    g.addEventListener('click', function(ev)
         e1.text = 'click handler 1';
    // g->click Listener #2
    g.addEventListener('click', function(ev)
         e2.text = 'click handler 2';
    w.show();
    The result is that when you click on the group box, e1.text AND e2.text are updated.
    But now, if I export the above code as a JSXBIN from the ESTK, the 2nd event handler sounds to be ignored! When I test the 'compiled' script and click on the group box, only e1.text is updated. (Tested in ID CS4 and CS5, Win32.)
    By studying the JSXBIN code as precisely as possible, I didn't find anything wrong in the encryption. Each addEventListener() statement is properly encoded, with its own function handler, nothing is ignored. Hence I don't believe that the JSXBIN code is defective by itself, so I suppose that the ExtendScript/ScriptUI engine behaves differently when interpreting a JSXBIN... Does anyone have an explanation?
    @+
    Marc

    John Hawkinson wrote:
    Not an explanation, but of course we know that in JSXBIN you can't use the .toSource() method on functions.
    So the implication here is that perhaps the .toSource() is somehow implicated in event handlers and there's some kind of static workaround for it?
    Perhaps you can get around this by eval() or doScript()-ing strings?
    Thanks a lot, John, I'm convinced you're on the good track. Dirk Becker suggested me that this is an "engine scope" issue and Martinho da Gloria emailed me another solution —which also works— and joins Dirk's assumption.
    Following is the result of the various tests I did from your various suggestions:
    // #1 - THE INITIAL PROBLEM// =====================================
    // EVALUATED BINARY CODE
    var handler1 = function(ev)
         ev.target.parent.children[1].text = 'handler 1';
    var handler2 = function(ev)
         ev.target.parent.children[2].text = 'handler 2';
    var     u,
         w = new Window('dialog'),
         p = w.add('panel'),
         g = p.add('group'),
         e1 = p.add('statictext'),
         e2 = p.add('statictext');
    e1.characters = e2.characters = 30;
    g.minimumSize = [50,50];
    var gx = g.graphics;
    gx.backgroundColor = gx.newBrush(gx.BrushType.SOLID_COLOR, [.3, .6, .9, 1]);
    g.addEventListener('click', handler1);
    g.addEventListener('click', handler2);
    w.show();
    eval("@JSXBIN@[email protected]@MyBbyBn0AKJAnASzIjIjBjOjEjMjFjShRByBNyBnA . . . . .");
    // RESULT
    // handler 1 only, that's the issue!
    Now to John's approach:
    // #2 - JOHN'S TRICK
    // =====================================
    var handler1 = function(ev)
         ev.target.parent.children[1].text = 'handler 1';
    var handler2 = function(ev)
         ev.target.parent.children[2].text = 'handler 2';
    // EVALUATED BINARY CODE
    var     u,
         w = new Window('dialog'),
         p = w.add('panel'),
         g = p.add('group'),
         e1 = p.add('statictext'),
         e2 = p.add('statictext');
    e1.characters = e2.characters = 30;
    g.minimumSize = [50,50];
    var gx = g.graphics;
    gx.backgroundColor = gx.newBrush(gx.BrushType.SOLID_COLOR, [.3, .6, .9, 1]);
    g.addEventListener('click', handler1);
    g.addEventListener('click', handler2);
    w.show();
    eval("@JSXBIN@[email protected]@MyBbyBn0AIbCn0AFJDnA . . . . .");
    // RESULT
    // handler1 + handler2 OK!
    This test shows that if handler1 and handler2's bodies are removed from the binary, the script works. Note that the handlers are declared vars that refer to (anonymous) function expressions. (BTW, no need to use a non-main #targetengine.) This is not a definitive workaround, of course, because I also want to hide handlers code...
    Meanwhile, Martinho suggested me an interesting approach in using 'regular' function declarations:
    // #3 - MARTINHO'S TRICK
    // =====================================
    // EVALUATED BINARY CODE
    function handler1(ev)
         ev.target.parent.children[1].text = 'handler 1';
    function handler2(ev)
         ev.target.parent.children[2].text = 'handler 2';
    var     u,
         w = new Window('dialog'),
         p = w.add('panel'),
         g = p.add('group'),
         e1 = p.add('statictext'),
         e2 = p.add('statictext');
    e1.characters = e2.characters = 30;
    g.minimumSize = [50,50];
    var gx = g.graphics;
    gx.backgroundColor = gx.newBrush(gx.BrushType.SOLID_COLOR, [.3, .6, .9, 1]);
    g.addEventListener('click', handler1);
    g.addEventListener('click', handler2);
    w.show();
    eval("@JSXBIN@[email protected]@MyBbyBnACMAbyBn0ABJCnA . . . . .");
    // RESULT
    // handler1 + handler2 OK!
    In the above test the entire code is binary-encoded, and the script works. What's the difference? It relies on function declarations rather than function expressions. As we know, function declarations and function expressions are not treated the same way by the interpreter. I suppose that function declarations are stored at a very persistent level... But I don't really understand what happens under the hood.
    (Note that I also tried to use function expressions in global variables, but this gave the original result...)
    Thanks to John, Dirk, and Martinho for the tracks you've cleared. As my library components cannot use neither the global scope nor direct function declarations my problem is not solved, but you have revealed the root of my troubles.
    @+
    Marc

  • **dir sync major issues urgent please**

    our dir sync is not working correctly the last sync was over 6 hours ago - all settings are fine i ran
    the force utility Import-Module DirSync and Start-OnlineCoexistenceSync but no joy the azure directory C:\Program Files\Windows Azure Active Directory Sync only has one file in it which is coexistenceInstall.log i dont know where the sync
    manager is or how to find it as it doesnt appear to be there, our portal azure setting show AD as syncing fine any ideas? this is a major issue as we have exchange online  migrations to run and users to add etc we have tried everything our event viewer
    also shows as sync failing any assistance?

    Hi,
    this is the forum for Office client software.
    Your question seems related to the online/hosted service aspects, and the better community for those topics is here:
    http://community.office365.com/en-us/f/default.aspx
    Don
    (Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
    This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!)

Maybe you are looking for