ASO update of attribute associations causes Data to be "converted"?

Has anyone seen the issue in 11.1.2.3(.506) where associating attributes  with a dimension causes Essbase to reorganize the data (it is referred to as convert)?
e.g.
import database app.db dimensions connect as user identified by password using server rules_file 'DimFuel' on error write to '/essapp/subject/sos/logs/sosp04_dims.build_dim_sosp04_sosp04_dimopen.20150429011053.err':
  OK/INFO - 1270086 - Restructuring converted [5.72103e+08] input cells and removed [0] input cells.
  OK/INFO - 1270087 - Restructuring converted [32] and removed [0] aggregate views.
  OK/INFO - 1007067 - Total Restructure Elapsed Time : [1944.88] seconds.
Previoiusly this process ran in 3 seconds in 11.1.2.2(.100)

I agree with everything that Tim has said.  Let me elaborate some more that might be helpful: 
The fact that agg views are not based on query tracking makes no difference in the analysis.  Query tracking only affects WHICH views are selected.  Once views are selected by whatever means they are handled in the same way.  Is there a reason you think otherwise?
Let's divide the question into two parts: 
    1.  What is a restructure and Why is a restructure needed?
    2.  Why must the agg views be converted
But first realize there are two possibilities concerning WHICH agg views actually exist:
  a. All views might be on the primary hierarchy only.  (You told Essbase to consider alternate hierarchies when creating aggregates) - let's call that the Agg_Primary option
  b. Views might be based on both primary and alternate (which includes attribute) hierarchies - let's call that the Agg_Any option
All of this is is discussed in my Chapter "How ASO Works and How to Design for Performance" in the book "Developing Essbase Applications" edited by Cameron Lackpour.  You will also find a discussion of the bitmap in the section of the DBAG entitled "An aggregate storage database outline cannot exceed 64 bits per dimension" (Essbase Administrators Guide Release 11.1.2.1 Chapter 62 page 934). and in a presentation I made at Kscope 20120 which you can find on ODTUG.com
1.  Why a restructure?  As Tim says the outline has changed and anytime the number of levels per hierarchy or the width of the hierarchy changes then the coding system used for the data changes.  OK what do i mean by this?  The binary system by which each piece of data in your cube is described is called the "BitMap".  In actuality, this bitmap only reflects the data's position in the primary hierarchy for each dimension.  The primary hierarchy for a specific dimension is not necessarily the first hierarchy seen in your outline.  It is the "widest" hierarchy - the one requiring the greatest number of bits to represent all Level 0 (L0) members found in that hierarchy and each L0's full ancestry within that hierarchy.
If you read the references above you will see that the number of bits used to determine the "widest" hierarchy is a function of the number of levels and the size of the largest "family" in a hierarchy.  A hierarchy of 5 levels where the largest family has 17 members will require 3 bits more than a hierarchy of 5 levels with 4 members in the family (17 requires 5 bits and 4 requires 2 bits).  So you can see that any time you add more members you could be causing the size of the largest family to exceed a power of 2 boundary.
Additionally, if the primary hierarchy is NOT all inclusive - i.e. it contains all L0 members for that dimension then you have to add a sufficient number of bits to enumerate the hierarchies.
So, in summary changes to the width or the height (number of levels) will require a restructure forcing the the identifying bits on every piece of data to be updated.
In the case the OP mentions where the ONLY changes are to add attribute associations you normally would NOT expect to see a change in the bitmap due to the number of bits required.  This is because attribute dimensions can never have new unique L0 members (you can not associate to something that does not exist).  If you go thru the math (and realize that the bitmap for an attribute dimension does NOT have consider size of the L0 families of the primary hierarchy - or whichever Level the association is based on) you will find that there is no possible attribute dimension that can require more bits than the primary hierarchy.  UNLESS you have been sloppy and you have a primary dimension with x L0 members and a very large secondary hierarchy with x-n members UNIQUE L0 members (i.e. L0 members not appearing in the primary hierarchy).
So the answer is to inspect the statistics tab before and after your addition of member associations.
Note - (and this does NOT pertain in the OP's Case) a similar situation exists if all secondary hierarchies contain ONLY members that already exist within the primary hierarchy.  However, remember that the FIRST hierarchy in your outline is not necessarily the primary hierarchy.  Most people however consider the first hierarchy as the de-facto primary.  If one is in a hurry and adds the member to that first hierarchy but does not add it to ALL of the alternate hierarchies (one of which is the true primary), then bits will have to be added to each piece of data to enumerate the hierarchies - thus triggering a restructure.
Finally, I am relying on the OP's description of the conditions where it was stated that ONLY associations were added and that no upper level attribute members created.  If upper level attribute members are added it is possible that the number of levels for the attribute dimension is changed.  In this case a mini restructure would be required - one that would not change the bitmap on every data item but a change to the mapping table that relates alternate hierarchies to the primary hierarchy.  Note the existence of this table and its exact structure is not acknowledged by Oracle - I (Dan Pressman) have postulated it as one possible implementation of the observed functionality.
2.  Aggregate View Conversion:  Each data item is tagged not only with a bitmap indicating its position within each primary hierarchy but with a "View ID".  This is the number that is seen in the ASO version of the .CSC file created whenever the view definition is saved.  The input data is always identified by a View ID of 0.  The view ID of other views is a function of the number of levels and the bits required therefore of ALL hierarchies of ALL dimensions.  Therefore any restructure will require that the View IDs of all aggregate views be translated (or converted) from the old scheme to the new scheme.  Note that this is purely a translation and no aggregation is required.
Please excuse me if I post this now and add some more later on this second question - actually let me know if anyone has actually read this far and is interested.
Please note in the above whenever i have said "Each data item" I am referring to the situation where no dimension has been tagged as the "compression" dimension.  If a compression dimension has been used then replace the phrase "Each data item" with the phrase "each data bundle".  I will leave it to the reader to find the section of the DBAG that describes compression and data bundles.

Similar Messages

  • Unable to update this object because the following attributes associated with this object have values that may already be associated with another object in your local directory services

    Getting this error from DirSync
    Unable to update this object because the following attributes associated with this object have values that may already be associated with another object in your local directory services: [UserPrincipalName
    [email protected];].  Correct or remove the duplicate values in your local directory.  Please refer to
    http://support.microsoft.com/kb/2647098 for more information on identifying objects with duplicate attribute values.
    Quick eyeball and couldn't see the cause in the user account so used the script here:
    http://gallery.technet.microsoft.com/office/Fix-Duplicate-User-d92215ef
    And got these outputs:
    PS C:\Windows\System32\WindowsPowerShell\v1.0> Export-OSCADUserPrincipalName -UserPrincipalName "[email protected]" -Path .\outputs.csv
    WARNING: Cannot find objects with specified duplicate user principal name
    [email protected]
    Found 0 user(s) with duplicate user principal name.
    Where to from here?
    Richard P

    Hi,
    Did you talk about the Microsoft Azure Active Directory Sync tool ?
    If yes, this issue occurs if one or more of the following conditions are true:
    An object in the on-premises Active Directory has an SMTP address that's the same as the SMTP address of the object that's reporting the problem.
    An object in the on-premises Active Directory has a mail attribute that's identical to the object that's reporting the problem.
    An object already exists in your organizational account and has the same SMTP address or mail attribute as the object in the on-premises Active Directory
    More detail information, please refer to:
    http://support.microsoft.com/kb/2520976/en-us
    [Troubleshooting] Unable to update this object because the following attributes associated with this object
    http://blogs.technet.com/b/aadsyncsupport/archive/2014/05/20/troubleshooting-unable-to-update-this-object-because-the-following-attributes-associated-with-this-object.aspx
    Regards.
    Vivian Wang

  • Update marketing attribute and customer master data via Survey Response

    Hi,
    I am creating a marketing survey. I have come to a point where I am able to get the reponses posted by the business partners.
    Now I would like to update the BP's directly when they respond. The challenge here is I want to update both Marketing attribute and Customer master.
    Is this possible with standard function modules. I am using version 4.0. Please let me know.
    Regards,
    Hemanth

    Hello Hemanth,
    Check my last response in the below thread, it could be a reason.
    update marketing attributes in BP via survey
    Thanks
    Raja Pamireddy
    CRM Marketing Forum Moderator.

  • OIM: Error while updating Task Attributes

    Hi All,
    I am trying to use PeopleSoft User Management using OIM connector.
    I am facing an error saying "problem in updating Task Attributes" while scheduling a task on OIM design Console. I am trying to update and save PSFT Base Non Trusted User Reconciliation. following is the log message displayed in server command prompt.
    ERROR,11 Apr 2008 05:02:53,287,[XELLERATE.SERVER],Class/Method: tcTSA/eventPostU
    pdate encounter some problems: problem in updating Task Attributes
    com.thortech.xl.scheduler.exception.SchedulerGenericException: problem in updati
    ng Task Attributes
    at com.thortech.xl.scheduler.core.quartz.QuartzSchedulerImpl.updateTaskA
    ttributes(Unknown Source)
    at com.thortech.xl.scheduler.ejb.SchedulerControllerBean.updateTaskAttri
    butes(Unknown Source)
    at com.thortech.xl.scheduler.beans.SchedulerControllerSession.updateTask
    Attributes(Unknown Source)
    at com.thortech.xl.scheduler.beans.SchedulerController_z4f4d2_EOImpl.upd
    ateTaskAttributes(SchedulerController_z4f4d2_EOImpl.java:478)
    at com.thortech.xl.scheduler.beans.SchedulerController_z4f4d2_EOImpl_CBV
    .updateTaskAttributes(Unknown Source)
    at com.thortech.xl.dataobj.tcTSA.eventPostUpdate(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.update(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
    at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
    at com.thortech.xl.ejb.databeansimpl.tcDataObjectBase.save(Unknown Sourc
    e)
    at com.thortech.xl.ejb.beans.tcTSA_u3xmy2_EOImpl.save(tcTSA_u3xmy2_EOImp
    l.java:1437)
    at com.thortech.xl.ejb.beans.tcTSA_u3xmy2_EOImpl_WLSkel.invoke(Unknown S
    ource)
    at weblogic.rmi.internal.activation.ActivatableServerRef.invoke(Activata
    bleServerRef.java:90)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:434)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
    dSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
    147)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.jav
    a:429)
    at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest
    .java:35)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
    Caused by [Nested Exception]:
    java.lang.NullPointerException
    at com.thortech.xl.scheduler.core.quartz.QuartzSchedulerImpl.updateTaskA
    ttributes(Unknown Source)
    at com.thortech.xl.scheduler.ejb.SchedulerControllerBean.updateTaskAttri
    butes(Unknown Source)
    at com.thortech.xl.scheduler.beans.SchedulerControllerSession.updateTask
    Attributes(Unknown Source)
    at com.thortech.xl.scheduler.beans.SchedulerController_z4f4d2_EOImpl.upd
    ateTaskAttributes(SchedulerController_z4f4d2_EOImpl.java:478)
    at com.thortech.xl.scheduler.beans.SchedulerController_z4f4d2_EOImpl_CBV
    .updateTaskAttributes(Unknown Source)
    at com.thortech.xl.dataobj.tcTSA.eventPostUpdate(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.update(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
    at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
    at com.thortech.xl.ejb.databeansimpl.tcDataObjectBase.save(Unknown Sourc
    e)
    at com.thortech.xl.ejb.beans.tcTSA_u3xmy2_EOImpl.save(tcTSA_u3xmy2_EOImp
    l.java:1437)
    at com.thortech.xl.ejb.beans.tcTSA_u3xmy2_EOImpl_WLSkel.invoke(Unknown S
    ource)
    at weblogic.rmi.internal.activation.ActivatableServerRef.invoke(Activata
    bleServerRef.java:90)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:434)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
    dSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
    147)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.jav
    a:429)
    at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest
    .java:35)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
    ERROR,11 Apr 2008 05:02:53,287,[XELLERATE.SERVER],Class/Method: tcDataObj/save E
    rror :Data Update Failed
    ERROR,11 Apr 2008 05:02:53,302,[XELLERATE.DATABASE],Class/Method: tcDataBase/rol
    lbackTransaction encounter some problems: Rollback Executed From
    java.lang.Exception: Rollback Executed From
    at com.thortech.xl.dataaccess.tcDataBase.rollbackTransaction(Unknown Sou
    rce)
    at com.thortech.xl.dataobj.tcDataObj.rollback(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.doRollback(Unknown Source)
    at com.thortech.xl.dataobj.tcDataObj.save(Unknown Source)
    at com.thortech.xl.dataobj.tcTableDataObj.save(Unknown Source)
    at com.thortech.xl.ejb.databeansimpl.tcDataObjectBase.save(Unknown Sourc
    e)
    at com.thortech.xl.ejb.beans.tcTSA_u3xmy2_EOImpl.save(tcTSA_u3xmy2_EOImp
    l.java:1437)
    at com.thortech.xl.ejb.beans.tcTSA_u3xmy2_EOImpl_WLSkel.invoke(Unknown S
    ource)
    at weblogic.rmi.internal.activation.ActivatableServerRef.invoke(Activata
    bleServerRef.java:90)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:434)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
    dSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
    147)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.jav
    a:429)
    at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest
    .java:35)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
    I am facing above error when try to update any task in the task scheduler.
    Can anyone please suggest me where i am going wrong?
    Thanks,
    Uma.

    I would assume you are missing the jar file for your scheduled tasks. Try and create a new scheduled task with the same class name, if it won't let you save, this is your answer. You'll want to make sure you have the connector scheduled task file in the ScheduleTask folder in your OIM directory.
    -Kevin

  • Insufficient access error while updating AD attributes

    Please find the attachment, I have tried to update the lastLogon attribute to replicate in global catalog, then the error has occurred as follows. I have enterprise administrative power, then also not able to update the attribute, please help
    thanks in advance.

    I would agree with Martin. You simply need to be member of Schema Admins
    group. You can add that using dsa.msc.
    By the way, why are you trying to do that? Lastlogon attribute should not be replicated as it maintained locally on each DC. If you want to get the user exact last logon date and time then you can use my script here: https://gallery.technet.microsoft.com/scriptcenter/Get-Active-Directory-User-bbcdd771
    This posting is provided AS IS with no warranties or guarantees , and confers no rights.
    Ahmed MALEK
    My Website Link
    My Linkedin Profile
    My MVP Profile

  • Cannot update delivery attributes: the following field(s) are not updatable

    Hi. I create in EBS simple Order
    Now , my goal is to create a delivery , pick , change shipping quantity and ship confirm. Here is my code
    DECLARE
    p_sales_order NUMBER := 10014445;
    p_line_number NUMBER := 1.1;
    p_org_id NUMBER := 308;
    l_shipped_quantity NUMBER := 5;
    p_api_version_number NUMBER := 1.0;
    init_msg_list VARCHAR2(200);
    l_commit VARCHAR2(30);
    x_msg_details VARCHAR2(3000);
    x_msg_summary VARCHAR2(3000);
    x_return_status VARCHAR2(3);
    x_msg_count NUMBER;
    x_msg_data VARCHAR2(3000);
    p_validation_level NUMBER;
    v_errbuf VARCHAR2(2000);
    v_retcode VARCHAR2(20);
    v_released_status wsh_delivery_details.released_status%TYPE;
    v_inv_interfaced_flag wsh_delivery_details.inv_interfaced_flag%TYPE;
    v_oe_interfaced_flag wsh_delivery_details.oe_interfaced_flag%TYPE;
    v_source_code wsh_delivery_details.source_code%TYPE;
    v_pending_interface_flag wsh_trip_stops.pending_interface_flag%TYPE;
    l_changed_attributes wsh_delivery_details_pub.changedattributetabtype;
    l_source_code VARCHAR2(30) := 'OE';
    -- Parameters for WSH_DELIVERIES_PUB
    p_delivery_name VARCHAR2(30);
    p_action_code VARCHAR2(15);
    p_asg_trip_id NUMBER;
    p_asg_trip_name VARCHAR2(30);
    p_asg_pickup_stop_id NUMBER;
    p_asg_pickup_loc_id NUMBER;
    p_asg_pickup_loc_code VARCHAR2(30);
    p_asg_pickup_arr_date DATE;
    p_asg_pickup_dep_date DATE;
    p_asg_dropoff_stop_id NUMBER;
    p_asg_dropoff_loc_id NUMBER;
    p_asg_dropoff_loc_code VARCHAR2(30);
    p_asg_dropoff_arr_date DATE;
    p_asg_dropoff_dep_date DATE;
    p_sc_action_flag VARCHAR2(10);
    p_sc_intransit_flag VARCHAR2(10);
    p_sc_close_trip_flag VARCHAR2(10);
    p_sc_create_bol_flag VARCHAR2(10);
    p_sc_stage_del_flag VARCHAR2(10);
    p_sc_trip_ship_method VARCHAR2(30);
    p_sc_actual_dep_date VARCHAR2(30);
    p_sc_report_set_id NUMBER;
    p_sc_report_set_name VARCHAR2(60);
    p_sc_defer_interface_flag VARCHAR2(60);
    p_sc_send_945_flag VARCHAR2(60);
    p_sc_rule_id NUMBER;
    p_sc_rule_name VARCHAR2(60);
    p_wv_override_flag VARCHAR2(10);
    p_asg_pickup_stop_seq NUMBER;
    p_asg_dropoff_stop_seq NUMBER;
    x_trip_id VARCHAR2(30);
    x_trip_name VARCHAR2(30);
    fail_api EXCEPTION;
    x_debug_file VARCHAR2(100);
    l_ship_method_code VARCHAR2(100);
    l_user_id NUMBER;
    l_resp_id NUMBER;
    l_appl_id NUMBER;
    CURSOR c_ord_details IS
    SELECT DISTINCT det.source_header_number sales_order,
    det.org_id,
    det.source_line_number,
    det.source_header_id,
    det.source_line_id,
    det.source_header_type_name,
    det.inventory_item_id,
    det.requested_quantity,
    det.delivery_detail_id,
    (SELECT concatenated_segments
    FROM mtl_system_items_kfv
    WHERE inventory_item_id = det.inventory_item_id
    AND organization_id = det.organization_id) ordered_item,
    det.organization_id,
    det.src_requested_quantity,
    det.shipped_quantity,
    del.delivery_id,
    del.status_code delivery_status_code,
    det.released_status pick_release_status,
    det.oe_interfaced_flag,
    det.inv_interfaced_flag
    FROM wsh_delivery_details det,
    wsh_delivery_assignments asn,
    wsh_new_deliveries del
    WHERE 1 = 1
    AND det.delivery_detail_id = asn.delivery_detail_id
    AND asn.delivery_id = del.delivery_id(+)
    AND det.source_header_number = 1199656
    AND det.source_line_number = '1.1'
    AND det.org_id = 10102
    AND shipped_quantity IS NULL
    AND NVL(del.status_code, 'OP') <> 'CL'
    and det.delivery_detail_id =21439836
    /* AND det.released_status = 'Y'*/;
    BEGIN
    -- Initializing the Applications
    SELECT user_id INTO l_user_id FROM fnd_user WHERE user_name = 'MSHAPIRA';
    SELECT responsibility_id, application_id
    INTO l_resp_id, l_appl_id
    FROM fnd_responsibility_vl
    WHERE responsibility_name = 'OM Super User - UDS UK';
    fnd_global.apps_initialize(l_user_id, l_resp_id, l_appl_id);
    FOR i IN c_ord_details LOOP
    DBMS_OUTPUT.put_line('Initializing the Application for Shipping Transactions');
    -- Mandatory initialization for R12
    mo_global.set_policy_context('S', i.org_id);
    mo_global.init;
    -- Ship Confirming
    p_delivery_name := TO_CHAR(i.delivery_id);
    DBMS_OUTPUT.put_line('Before Shipping, Calling WSH_DELIVERY_DETAILS_PUB API to Update Shipping Attributes');
    DBMS_OUTPUT.put_line('=============================================');
    l_changed_attributes(1).delivery_detail_id := i.delivery_detail_id;
    l_changed_attributes(1).shipped_quantity := 5;
    wsh_delivery_details_pub.update_shipping_attributes(p_api_version_number => 1.0,
    p_init_msg_list => init_msg_list,
    p_commit => l_commit,
    x_return_status => x_return_status,
    x_msg_count => x_msg_count,
    x_msg_data => x_msg_data,
    p_changed_attributes => l_changed_attributes,
    p_source_code => l_source_code);
    IF (x_return_status <> wsh_util_core.g_ret_sts_success) THEN
    RAISE fail_api;
    DBMS_OUTPUT.put_line('Failed to Update the Shipping Attributes');
    ELSE
    DBMS_OUTPUT.put_line('Successfully Updated the Shipping Attributes');
    END IF;
    BEGIN
    SELECT shipping_method_code
    INTO l_ship_method_code
    FROM oe_order_headers_all
    WHERE order_number = i.sales_order
    AND org_id = i.org_id;
    EXCEPTION
    WHEN OTHERS THEN
    l_ship_method_code := NULL;
    END;
    p_action_code := 'CONFIRM'; -- The action code for ship confirm
    p_sc_action_flag := 'S'; -- Ship entered quantity.
    p_sc_intransit_flag := 'Y';
    --In transit flag is set to 'Y' closes the pickup stop and sets the delivery in transit.
    p_sc_close_trip_flag := 'Y'; -- Close the trip after ship confirm
    p_sc_trip_ship_method := l_ship_method_code; -- The ship method code
    p_sc_defer_interface_flag := 'Y';
    p_sc_stage_del_flag := 'Y';
    p_sc_create_bol_flag := 'N';
    p_wv_override_flag := 'N';
    -- API Call for Ship Confirmation
    DBMS_OUTPUT.put_line('Calling WSH_DELIVERIES_PUB to Perform Ship Confirmation');
    DBMS_OUTPUT.put_line('=============================================');
    wsh_deliveries_pub.delivery_action(p_api_version_number => 1.0,
    p_init_msg_list => init_msg_list,
    x_return_status => x_return_status,
    x_msg_count => x_msg_count,
    x_msg_data => x_msg_data,
    p_action_code => p_action_code,
    p_delivery_id => i.delivery_id,
    p_delivery_name => p_delivery_name,
    p_asg_trip_id => p_asg_trip_id,
    p_asg_trip_name => p_asg_trip_name,
    p_asg_pickup_stop_id => p_asg_pickup_stop_id,
    p_asg_pickup_loc_id => p_asg_pickup_loc_id,
    p_asg_pickup_stop_seq => p_asg_pickup_stop_seq,
    p_asg_pickup_loc_code => p_asg_pickup_loc_code,
    p_asg_pickup_arr_date => p_asg_pickup_arr_date,
    p_asg_pickup_dep_date => p_asg_pickup_dep_date,
    p_asg_dropoff_stop_id => p_asg_dropoff_stop_id,
    p_asg_dropoff_loc_id => p_asg_dropoff_loc_id,
    p_asg_dropoff_stop_seq => p_asg_dropoff_stop_seq,
    p_asg_dropoff_loc_code => p_asg_dropoff_loc_code,
    p_asg_dropoff_arr_date => p_asg_dropoff_arr_date,
    p_asg_dropoff_dep_date => p_asg_dropoff_dep_date,
    p_sc_action_flag => p_sc_action_flag,
    p_sc_intransit_flag => p_sc_intransit_flag,
    p_sc_close_trip_flag => p_sc_close_trip_flag,
    p_sc_create_bol_flag => p_sc_create_bol_flag,
    p_sc_stage_del_flag => p_sc_stage_del_flag,
    p_sc_trip_ship_method => p_sc_trip_ship_method,
    p_sc_actual_dep_date => p_sc_actual_dep_date,
    p_sc_report_set_id => p_sc_report_set_id,
    p_sc_report_set_name => p_sc_report_set_name,
    p_sc_defer_interface_flag => p_sc_defer_interface_flag,
    p_sc_send_945_flag => p_sc_send_945_flag,
    p_sc_rule_id => p_sc_rule_id,
    p_sc_rule_name => p_sc_rule_name,
    p_wv_override_flag => p_wv_override_flag,
    x_trip_id => x_trip_id,
    x_trip_name => x_trip_name);
    IF (x_return_status <> wsh_util_core.g_ret_sts_success) THEN
    DBMS_OUTPUT.put_line('Ship confirm has not been Completed For SO => ');
    ROLLBACK;
    RAISE fail_api;
    ELSE
    DBMS_OUTPUT.put_line('Ship confirm Successfully Completed For SO => ');
    COMMIT;
    DBMS_OUTPUT.put_line('Checking the Delivery Status after delivery action API Call');
    DBMS_OUTPUT.put_line('==========================================');
    SELECT wdd.source_code,
    wdd.released_status,
    wdd.inv_interfaced_flag,
    wdd.oe_interfaced_flag,
    wts.pending_interface_flag
    INTO v_source_code,
    v_released_status,
    v_inv_interfaced_flag,
    v_oe_interfaced_flag,
    v_pending_interface_flag
    FROM wsh_trips wtr,
    wsh_trip_stops wts,
    wsh_delivery_legs wlg,
    wsh_new_deliveries wnd,
    wsh_delivery_assignments wda,
    wsh_delivery_details wdd
    WHERE wtr.trip_id = wts.trip_id
    AND wts.stop_id = wlg.pick_up_stop_id
    AND wts.pending_interface_flag = 'Y'
    AND wdd.inv_interfaced_flag <> 'Y'
    AND wlg.delivery_id = wnd.delivery_id
    AND wnd.delivery_id = wda.delivery_id
    AND wda.delivery_detail_id = wdd.delivery_detail_id
    AND wnd.delivery_id = p_delivery_name
    AND wdd.source_line_id = i.source_line_id;
    IF (v_source_code = 'OE' AND v_released_status = 'C' AND
    v_inv_interfaced_flag <> 'Y' AND v_oe_interfaced_flag <> 'Y' AND
    v_pending_interface_flag = 'Y') THEN
    DBMS_OUTPUT.put_line('The Delivery has been Shipped & the Next Step is - Run Interface');
    DBMS_OUTPUT.put_line('===========================================');
    -- API Call for Submitting Interface Trip Stop
    wsh_ship_confirm_actions.interface_all_wrp(errbuf => v_errbuf,
    retcode => v_retcode,
    p_mode => 'ALL',
    p_stop_id => NULL,
    p_delivery_id => p_delivery_name,
    p_log_level => 0,
    p_batch_id => NULL,
    p_trip_type => NULL,
    p_organization_id => i.organization_id,
    p_num_requests => 1,
    p_stops_per_batch => 1);
    ELSE
    DBMS_OUTPUT.put_line('The Delivery has not Shipped Properly');
    END IF;
    END IF;
    END LOOP;
    EXCEPTION
    WHEN fail_api THEN
    DBMS_OUTPUT.put_line('==============');
    DBMS_OUTPUT.put_line('Error Details If Any');
    DBMS_OUTPUT.put_line('==============');
    wsh_util_core.get_messages(p_init_msg_list => 'Y',
    x_summary => x_msg_summary,
    x_details => x_msg_details,
    x_count => x_msg_count);
    IF x_msg_count > 1 THEN
    x_msg_data := x_msg_summary ||' '||x_msg_details;
    DBMS_OUTPUT.put_line(x_msg_data);
    ELSE
    x_msg_data := x_msg_summary||' '|| x_msg_details;
    DBMS_OUTPUT.put_line(x_msg_data);
    END IF;
    END;
    But at the stage of updating delivery attributes I get the following error message
    Warning: For Delivery Detail 21439836, the following field(s) are not updatable: SHIPPED_QUANTITY.
    Why?

    Hi Paul
    Looks like the authorisation is failing due to a bad registration for some reason.
    Would you be kind enough to clear out the registration to ensure we are dealing with a fresh start and no information is being used which may have become corrupt. You may do this by following this procedure;
    Remove existing reg details
    # usr/lib/cc-ccr/bin/eraseCCRRepository
    List /tmp/RegistrationProfile.properties file
    # cat /tmp/RegistrationProfile.properties
    Attempt re-registration
    # sconadm register -a -r /tmp/RegistrationProfile.properties
    Send us the full output of the commands above if you would please.

  • Is there any way we can set default value for a Date Attribute to current date in Master Data Services

    Is there any way we can set default value for a Date Attribute to current date in Master Data Services.
    I as well wants to know that is there any posibility to show Calendar control while input data into respective date attributes.
    Thanks.

    Hi Anagha,
    So far i havent found any way to set todays date by default from MMI, but i guess this flow should work as workaroud
    1. Add buisness rule which can set a default value when Date = NULL/Blank
    2.get the entity table ,use -select EntityTable from mdm.tblEntity where Name = '<enter entity name>'
    3.Go to that table and add a after update trigger like
    if uda_<entityid>_<attributeid(Date attribute)> = default value
    update uda_<entityid>_<attributeid(Date attribute)> =getdate() where id = <LastUpdatedRow>
    I will check on this too from my side.
    By the way AFAIK i dont think so calendar control integration is possible .

  • Changes will cause Data to be deleted message

    Hi,
       Here is the issue I am experiencing:
    1. I have a UDO of Master Data type and created a custom form to Add/Update/Delete data.
    2. When I scroll through each record, I get a message "Changes will cause Data to be deleted". Continue?
    I have confirmed that the form is in OK mode. How can I make this message go away?
    Gopal

    Hi Gopal,
    Even if the form is in OK mode, the edits cause the form to go into Update mode, which is why you see this message.
    If it suits your scenario, set "AffectsFormMode" property to false for items which should not trigger a mode change (if loading the form from XML, set AffectsFormMode="0")
    You can also look at these form properties:
    Form.AutoManaged
    Form.SupportedModes
    Regards
    Aravind

  • Update TimeStamp Attribute

    Jdev - 11.4
    HI ,
    I want to update TimeStamp attribute (HistoryColumn) of entity with current time.
    I have one VO based on EO
    now from back bean I want to update TS in VO. I found that updatable property of TS in vo is Never.
    so if I try to set its value as
    java.sql.Timestamp sqlDate = new java.sql.Timestamp(new java.util.Date().getTime());
    row.setAttribute("TimeStamp",sqlDate ) it gives attribute cannot be updated .(As its updatable property is set as Never)
    I tried with History_column as modified on and refresh after Update . and tried to update some other attribute of VO still it dosen't work.
    Any soultion for this?

    ADF has built in support for history columns- Are you making use of it? In case if you want to override the default value set by run time,
    1. either you can build your own history type - http://jobinesh.blogspot.com/2011/02/creating-custom-history-types.html
    2. or override prepareForDML to set your custom value aafter super.prepareForDML (). - Mark the attribute as updatable

  • Need attribute Members in Data Export

    hi,
    I need to Export Data which also contain Attribute Values from Particular Attribute Dimension present in planning application
    I know i cant do it using DataExport command
    Is it Possible using Report Script or is there any other way????
    Regards
    Anubhav

    hi Garycris,
    Thanks for the reply.
    I am using HFR now to pull data.
    i need three column in 1st i need the Project (Standard Dim ) and in rest of two column we need attribute associated with it..
    Is it possible with what you are saying??
    right now i have condition in 1st Column and in rest of two column i have Taken attribute dim , but report is taking too long to load
    Cheers
    Anubhav 

  • HT5675 This update, upon booting, has caused my disk space to fill up and my system freezes up. The same happens to my coworker's computer. We both watch the remaining disk space decrease and the "spinning rainbow appears" and we must restart. What do we

    Software Update: Java for OS X 2013-002 1.0
    This update, upon booting, has caused my disk space to fill up and my system freezes up. The same happens to my coworker's computer. We both watch the remaining disk space decrease and the "spinning rainbow appears" and we must restart. What do we do?

    First, empty the Trash if you haven't already done so.
    Use a tool such as OmniDiskSweeper (ODS) to explore your volume and find out what's taking up the space. You can delete files with it, but don't do that unless you're sure that you know what you're deleting and that all data is safely backed up. That means you have multiple backups, not just one.
    Proceed further only if the problem hasn't been solved.
    ODS can't see the whole filesystem when you run it just by double-clicking; it only sees files that you have permission to read. To see everything, you have to run it as root.
    Back up all data now.
    Install ODS in the Applications folder as usual.
    Triple-click the line of text below to select it, then copy the selected text to the Clipboard (command-C):sudo /Applications/OmniDiskSweeper.app/Contents/MacOS/OmniDiskSweeper
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window (command-V). You'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning not to screw up. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.
    I don't recommend that you make a habit of doing this. Don't delete anything while running ODS as root. If something needs to be deleted, make sure you know what it is and how it got there, and then delete it by other, safer, means.
    When you're done with ODS, quit it and also quit Terminal.

  • Problem in Updating marketing attributes for Contact

    Hi,
    I am trying to update marketing attributes for contact and Account while Creating lead. For this I implemented ORDER_SAVE (Chek before save).
    For account, the marketing attributes are getting updated fine. But, for Contact they are not getting updated. For both I am using the same code. But, I dont understand, why.
    Please, let me know why this is happening.
    Here is the code i used.
    The internal table li_imp_seltab contains Marketing attributs.Its being filled properly. No problem with Internal table data.
    For contact----
    >
    If not v_contact is initial.
      IF lo_contact_head->is_changeable( ) = abap_true.
    Update or create the marketing attribute if it does not exist and set the value of the attribute to 'Prospect'
              CALL FUNCTION 'CRM_MKTBP_CHANGE_BP'
                EXPORTING
                  iv_profile_template_id = k_template_id
                  iv_bp_guid             = l_contact_guid
                  iv_xdescr              = abap_false
                  iv_fcode               = abap_false
                  iv_msa                 = abap_false
                  iv_commit              = abap_true
                  iv_partner             = l_contact_no
                  iv_convert_values      = abap_true
                TABLES
                  it_imp_seltab          = li_imp_seltab
                  et_return              = li_return.
    Modify core and save so that the updations would reflect immediately in Web UI
              lo_core->modify( ).
              lo_tx = lo_contact_head->get_transaction( ).
              IF lo_tx IS BOUND.
                IF lo_tx->save( ) = 'X'.
                  lo_tx->commit( ).
                ENDIF.
              ENDIF.
            ENDIF.
    For Account -
    >
    if not v_ac is initial.
    Check if the entity is changeable.
            IF lo_account_head->is_changeable( ) = abap_true.
    Update or create the marketing attribute if it does not exist and set the value of the attribute to 'Prospect'
              CALL FUNCTION 'CRM_MKTBP_CHANGE_BP'
                EXPORTING
                  iv_profile_template_id = k_template_id
                  iv_bp_guid             = l_account_guid
                  iv_xdescr              = abap_false
                  iv_fcode               = 'C'
                  iv_msa                 = abap_true
                  iv_commit              = abap_true
                  iv_partner             = l_account_no
                  iv_convert_values      = abap_true
                TABLES
                  it_imp_seltab          = li_imp_seltab
                  et_return              = li_return.
    Modify core and save so that the updations would reflect immediately in Web UI
              lo_core->modify( ).
              lo_tx = lo_account_head->get_transaction( ).
              IF lo_tx IS BOUND.
                IF lo_tx->save( ) = 'X'.
                  lo_tx->commit( ).
                ENDIF.
              ENDIF.
            ENDIF.
          ENDIF.
    Please
    Thanks,
    Sandeep

    Hi Sandeep,
      You can use 'CRM_MKTBP_UPDATE_ATTR_BP' FM to update the marketing attributes of the BP.
    Regards,
    Lakshmi.Y

  • How to update xml attributes as multiple rows

    I am new to this technology, but i need to show the result
    in xml document i have to update these attributes get from Databse utility class.
    <equipment object="" manufacturer="" part_number="" type="" model="" items="" accessories="">
    <equipment object="" manufacturer="" part_number="" type="" model="" items="" accessories="">By using XSLT Doucment i have to show this in table format multiple rows of data.
    I'll be happy if anyone tell me the example.

    Now the changed data must be exported back into the XML file, meaning that the content of certain elements must be updated. How can this be done with XSLT?
    XSLT approach:  check these online tutorial
    http://www.xml.com/pub/a/2000/08/02/xslt/index.html
    http://www.xml.com/pub/a/2000/06/07/transforming/index.html
    ABAP approach:
    for example you have the xml (original) in a string called say xml_out .
    data: l_xml  type ref to cl_xml_document ,
            node type ref to if_ixml_node  .
    create object l_xml.
    call method l_xml->parse_string
      exporting
        stream = xml_out.
    node = l_xml->find_node(
        name   = 'IDENTITY'
       ROOT   = ROOT
    l_xml->set_attribute(
        name    = 'Name'
        value   = 'Charles'
        node    = node
    (the above example reads the element IDENTITY and sets attribute name/value to the same)
    like wise you can add new elements starting from IDENTITY using various methods available in class CL_XML_DOCUMENT
    so how do I access the XML file in order to update it?
    you have already read this XML into a ABAP variable right?
    Sorry couldnt understand your whole process, why do you need to read local XML file?
    Raja

  • Update text fields with xml data based on DDL selection of an ID number

    Hi guys,
    this one should be straight forward, but I cant seem to find a straight forward answer.  In a nutshell:
    XML file contains ID, Name, Location (so far 3 records in sample xml file)
    Form contains a Dynamic Drop down list to allow selection of ID and text fields to display the associated name and location of that ID.  The binding of the Drop down works fine, however I need the other fields to update to the associated name and location when different ID's are selected.  I assume I'll need some sort of exit event on the drop down list to update the other fields with the Name and location of the ID selected, but I dont know enough to have a stab at it.
    please, please, please help, Im starting to pull my hair out.
    James.

    Hi James,
    This would depend on the structure of your XML but assuming you have something like;
    <Data>
                <Item>
                            <Id>1</Id>
                            <Name>Name1</Name>
                            <Location>Location1</Location>
                </Item>
                <Item>
                            <Id>2</Id>
                            <Name>Name2</Name>
                            <Location>Location2</Location>
                </Item>
                <Item>
                            <Id>3</Id>
                            <Name>Name3</Name>
                            <Location>Location3</Location>
                </Item>
    </Data>
    Then in the change event of your dropdown (your could use the exit event but then value might not have changed so would be performing unnecessary processing) add the following code.
    var itemGroup = $data.Data.resolveNode("Item.(Id.value === '"+xfa.event.change+"')");
    Name.rawValue = itemGroup.Name.value;
    Location.rawValue = itemGroup.Location.value;
    The xfa.event.change will be the value selected, the resolveNode will return the Item with the matching Id, and then it is just a matter of assigning it to your form fields.
    Hope this gets you started.
    Regards
    Bruce

  • Can't Update Lighthouse attributes :(

    Hi all,
    I have a custom workflow I am working on. The custom workflow is being used by administrators to change a users user name. I am having a weird problem. I check out the View, set a bunch of data (username, email, etc) and then check in the view. The data is all being updated on the Resources, but not on Lighthouse. Afterwards, I then open the user under edit, and go to save, and it wants to save over the newer values on the resources with the older values in lighthouse.
    I don't know why the Lighthouse attributes are not getting updated...
    Here is the workflow:
    <!-- MemberObjectGroups="#ID#Top" createDate="Fri Jun 29 10:05:49 PDT 2007" extensionClass="WFProcess" id="#ID#B1B91E225EF0A6F9:1979EB:1136EF5F51B:-7FD0" name="UO_changeUsername" visibility="runschedule"-->
    <TaskDefinition id='#ID#B1B91E225EF0A6F9:1979EB:1136EF5F51B:-7FD0' name='UO_changeUsername' lock='Configurator#1184960068433' creator='Configurator' createDate='1183136749878' lastModifier='Configurator' lastModDate='1184959768387' lastMod='719' taskType='Workflow' executor='com.waveset.workflow.WorkflowExecutor' suspendable='true' syncControlAllowed='true' execMode='sync' execLimit='0' resultLimit='0' resultOption='delete' visibility='runschedule' progressInterval='0'>
    <Form name='uoChangeUsernameForm' objectLocationID='objectName=UO_changeUsername&isBegin=true&objectPath=81&objectType=TaskDefinition'>
    <Display class='EditForm'/>
    <defvar name='singleId'>
    <block name='singleIdVariable' trace='true'>
    <cond>
    <eq>
    <length>
    <get>
    <ref>form_inputs</ref>
    <s>userObjectIds</s>
    </get>
    </length>
    <i>1</i>
    </eq>
    <s>true</s>
    <s>false</s>
    </cond>
    </block>
    </defvar>
    <defvar name='userAccountId'>
    <cond>
    <eq>
    <ref>singleId</ref>
    <s>true</s>
    </eq>
    <block name='fetchTheId' trace='true'>
    <get>
    <get>
    <ref>form_inputs</ref>
    <s>userObjectIds</s>
    </get>
    <i>0</i>
    </get>
    </block>
    </cond>
    </defvar>
    <Field name='theUser'>
    <Derivation>
    <block>
    <set name='session'>
    <invoke name='getAuthenticatedContext'>
    <new class='com.waveset.session.InternalSession'/>
    <s>Configurator</s>
    </invoke>
    </set>
    <invoke name='getView'>
    <ref>:display.session</ref>
    <concat>
    <s>User:</s>
    <ref>userAccountId</ref>
    </concat>
    <map>
    <s>authorized</s>
    <s>true</s>
    <s>Form</s>
    <s>UO Empty Form</s>
    </map>
    </invoke>
    </block>
    </Derivation>
    <Validation>
    <cond>
    <not>
    <eq>
    <ref>theUser.accounts[Lighthouse].accountClaimed</ref>
    <s>true</s>
    </eq>
    </not>
    <s>You may not modify unclaimed accounts.</s>
    </cond>
    </Validation>
    </Field>
    <Field name='theUser.waveset.accountId'>
    <Display class='Label'>
    <Property name='title' value='Account ID'/>
    </Display>
    </Field>
    <Field name='newUsername'>
    <Display class='Text'>
    <Property name='title' value='New Username'/>
    </Display>
    <Validation>
    <block name='validation' trace='true'>
    <cond>
    <neq>
    <rule name='UO Username Library:existsInAuth'>
    <argument name='potentialUsername'>
    <downcase>
    <ref>newUsername</ref>
    </downcase>
    </argument>
    </rule>
    <i>0</i>
    </neq>
    <s>The username you have selected is already in use. Please choose a different username.</s>
    <cond>
    <neq>
    <rule name='UO Username Library:alphanumericOnly'>
    <argument name='inputString' value='$(newUsername)'/>
    </rule>
    <ref>newUsername</ref>
    </neq>
    <s>The username may only contain alpha-numeric characters. No other character types are allowed.</s>
    </cond>
    </cond>
    </block>
    </Validation>
    </Field>
    </Form>
    <Extension>
    <WFProcess name='UO_changeUsername' title='UO_changeUsername' maxSteps='0'>
    <Variable name='theUser' input='true'/>
    <Variable name='newUsername'/>
    <Variable name='error'/>
    <Activity id='0' name='start'>
    <ReportTitle>
    <s>start</s>
    </ReportTitle>
    <Transition to='Update Username Attributes'/>
    <WorkflowEditor x='56' y='41'/>
    </Activity>
    <Activity id='1' name='end'>
    <ReportTitle>
    <s>end</s>
    </ReportTitle>
    <WorkflowEditor x='362' y='514'/>
    </Activity>
    <Activity id='2' name='ReProvision User'>
    <ReportTitle>
    <s>ReProvision User</s>
    </ReportTitle>
    <Action id='0' name='Set Process View'>
    <ReportTitle>
    <s>Set Process View</s>
    </ReportTitle>
    <expression>
    <block>
    <set name='theUser.viewOptions.Form'>
    <s>UO Empty Form</s>
    </set>
    </block>
    </expression>
    </Action>
    <Action id='1' name='ReProvision' application='com.waveset.session.WorkflowServices'>
    <ReportTitle>
    <s>ReProvision</s>
    </ReportTitle>
    <Argument name='op' value='checkinView'/>
    <Argument name='view'>
    <ref>theUser</ref>
    </Argument>
    </Action>
    <Transition to='end'/>
    <WorkflowEditor x='337' y='359'/>
    </Activity>
    <Activity id='3' name='Update Username Attributes'>
    <ReportTitle>
    <s>Update Username Attributes</s>
    </ReportTitle>
    <Action id='0' name='Update Attributes'>
    <ReportTitle>
    <s>Update Attributes</s>
    </ReportTitle>
    <expression>
    <block name='ifAccountIDNeedsToChange'>
    <block name='setting' trace='true'>
    <set name='theUser.update.accounts[Lighthouse].changes[Uname].old'>
    <ref>theUser.accounts[Lighthouse].Uname</ref>
    </set>
    <set name='theUser.update.accounts[Lighthouse].changes[Uname].new'>
    <ref>newUsername</ref>
    </set>
    <set name='theUser.update.accounts[Lighthouse].selected'>
    <s>true</s>
    </set>
    <set name='theUser.accounts[Lighthouse].Uname'>
    <ref>newUsername</ref>
    </set>
    <set name='theUser.waveset.accounts[Lighthouse].Uname'>
    <ref>newUsername</ref>
    </set>
    <set name='theUser.waveset.attributes.Uname'>
    <ref>newUsername</ref>
    </set>
    <set name='theUser.accounts[LDAP].Uname'>
    <ref>newUsername</ref>
    </set>
    <set name='theUser.waveset.accounts[LDAP].Uname'>
    <ref>newUsername</ref>
    </set>
    <set name='theUser.waveset.Uname'>
    <ref>newUsername</ref>
    </set>
    <set name='theUser.update.accounts[Lighthouse].changes[email].new'>
    <concat>
    <ref>newUsername</ref>
    <s>@uoregon.edu</s>
    </concat>
    </set>
    <set name='theUser.update.accounts[Lighthouse].changes[email].old'>
    <ref>theUser.accounts[Lighthouse].email</ref>
    </set>
    <set name='theUser.accounts[Lighthouse].email'>
    <concat>
    <ref>newUsername</ref>
    <s>@uoregon.edu</s>
    </concat>
    </set>
    <set name='theUser.waveset.email'>
    <concat>
    <ref>newUsername</ref>
    <s>@uoregon.edu</s>
    </concat>
    </set>
    <set name='theUser.waveset.accounts[Lighthouse].email'>
    <concat>
    <ref>newUsername</ref>
    <s>@uoregon.edu</s>
    </concat>
    </set>
    <set name='theUser.accounts[LDAP].email'>
    <concat>
    <ref>newUsername</ref>
    <s>@uoregon.edu</s>
    </concat>
    </set>
    <set name='theUser.accounts[Lighthouse].Uname'>
    <ref>newUsername</ref>
    </set>
    <append name='theUser.update.toUpdate'>
    <s>Lighthouse</s>
    </append>
    <set name='theUser.Uname'>
    <ref>newUsername</ref>
    </set>
    <set name='theUser.waveset.accountId'>
    <ref>newUsername</ref>
    </set>
    <set name='theUser.accounts[Lighthouse].accountType'>
    <s>TEST</s>
    </set>
    </block>
    </block>
    </expression>
    </Action>
    <Action id='1' name='Update Auth DB'>
    <ReportTitle>
    <s>Update Auth DB</s>
    </ReportTitle>
    </Action>
    <Transition to='ReProvision User'/>
    <WorkflowEditor x='212' y='189'/>
    </Activity>
    </WFProcess>
    </Extension>
    <MemberObjectGroups>
    <ObjectRef type='ObjectGroup' id='#ID#Top' name='Top'/>
    </MemberObjectGroups>
    <Properties>
    <Property name='editorOriginalName' value='UO_changeUsername'/>
    </Properties>
    </TaskDefinition>

    Hi all,
    I have a custom workflow I am working on. The custom workflow is being used by administrators to change a users user name. I am having a weird problem. I check out the View, set a bunch of data (username, email, etc) and then check in the view. The data is all being updated on the Resources, but not on Lighthouse. Afterwards, I then open the user under edit, and go to save, and it wants to save over the newer values on the resources with the older values in lighthouse.
    I don't know why the Lighthouse attributes are not getting updated...
    Here is the workflow:
    <!-- MemberObjectGroups="#ID#Top" createDate="Fri Jun 29 10:05:49 PDT 2007" extensionClass="WFProcess" id="#ID#B1B91E225EF0A6F9:1979EB:1136EF5F51B:-7FD0" name="UO_changeUsername" visibility="runschedule"-->
    <TaskDefinition id='#ID#B1B91E225EF0A6F9:1979EB:1136EF5F51B:-7FD0' name='UO_changeUsername' lock='Configurator#1184960068433' creator='Configurator' createDate='1183136749878' lastModifier='Configurator' lastModDate='1184959768387' lastMod='719' taskType='Workflow' executor='com.waveset.workflow.WorkflowExecutor' suspendable='true' syncControlAllowed='true' execMode='sync' execLimit='0' resultLimit='0' resultOption='delete' visibility='runschedule' progressInterval='0'>
    <Form name='uoChangeUsernameForm' objectLocationID='objectName=UO_changeUsername&isBegin=true&objectPath=81&objectType=TaskDefinition'>
    <Display class='EditForm'/>
    <defvar name='singleId'>
    <block name='singleIdVariable' trace='true'>
    <cond>
    <eq>
    <length>
    <get>
    <ref>form_inputs</ref>
    <s>userObjectIds</s>
    </get>
    </length>
    <i>1</i>
    </eq>
    <s>true</s>
    <s>false</s>
    </cond>
    </block>
    </defvar>
    <defvar name='userAccountId'>
    <cond>
    <eq>
    <ref>singleId</ref>
    <s>true</s>
    </eq>
    <block name='fetchTheId' trace='true'>
    <get>
    <get>
    <ref>form_inputs</ref>
    <s>userObjectIds</s>
    </get>
    <i>0</i>
    </get>
    </block>
    </cond>
    </defvar>
    <Field name='theUser'>
    <Derivation>
    <block>
    <set name='session'>
    <invoke name='getAuthenticatedContext'>
    <new class='com.waveset.session.InternalSession'/>
    <s>Configurator</s>
    </invoke>
    </set>
    <invoke name='getView'>
    <ref>:display.session</ref>
    <concat>
    <s>User:</s>
    <ref>userAccountId</ref>
    </concat>
    <map>
    <s>authorized</s>
    <s>true</s>
    <s>Form</s>
    <s>UO Empty Form</s>
    </map>
    </invoke>
    </block>
    </Derivation>
    <Validation>
    <cond>
    <not>
    <eq>
    <ref>theUser.accounts[Lighthouse].accountClaimed</ref>
    <s>true</s>
    </eq>
    </not>
    <s>You may not modify unclaimed accounts.</s>
    </cond>
    </Validation>
    </Field>
    <Field name='theUser.waveset.accountId'>
    <Display class='Label'>
    <Property name='title' value='Account ID'/>
    </Display>
    </Field>
    <Field name='newUsername'>
    <Display class='Text'>
    <Property name='title' value='New Username'/>
    </Display>
    <Validation>
    <block name='validation' trace='true'>
    <cond>
    <neq>
    <rule name='UO Username Library:existsInAuth'>
    <argument name='potentialUsername'>
    <downcase>
    <ref>newUsername</ref>
    </downcase>
    </argument>
    </rule>
    <i>0</i>
    </neq>
    <s>The username you have selected is already in use. Please choose a different username.</s>
    <cond>
    <neq>
    <rule name='UO Username Library:alphanumericOnly'>
    <argument name='inputString' value='$(newUsername)'/>
    </rule>
    <ref>newUsername</ref>
    </neq>
    <s>The username may only contain alpha-numeric characters. No other character types are allowed.</s>
    </cond>
    </cond>
    </block>
    </Validation>
    </Field>
    </Form>
    <Extension>
    <WFProcess name='UO_changeUsername' title='UO_changeUsername' maxSteps='0'>
    <Variable name='theUser' input='true'/>
    <Variable name='newUsername'/>
    <Variable name='error'/>
    <Activity id='0' name='start'>
    <ReportTitle>
    <s>start</s>
    </ReportTitle>
    <Transition to='Update Username Attributes'/>
    <WorkflowEditor x='56' y='41'/>
    </Activity>
    <Activity id='1' name='end'>
    <ReportTitle>
    <s>end</s>
    </ReportTitle>
    <WorkflowEditor x='362' y='514'/>
    </Activity>
    <Activity id='2' name='ReProvision User'>
    <ReportTitle>
    <s>ReProvision User</s>
    </ReportTitle>
    <Action id='0' name='Set Process View'>
    <ReportTitle>
    <s>Set Process View</s>
    </ReportTitle>
    <expression>
    <block>
    <set name='theUser.viewOptions.Form'>
    <s>UO Empty Form</s>
    </set>
    </block>
    </expression>
    </Action>
    <Action id='1' name='ReProvision' application='com.waveset.session.WorkflowServices'>
    <ReportTitle>
    <s>ReProvision</s>
    </ReportTitle>
    <Argument name='op' value='checkinView'/>
    <Argument name='view'>
    <ref>theUser</ref>
    </Argument>
    </Action>
    <Transition to='end'/>
    <WorkflowEditor x='337' y='359'/>
    </Activity>
    <Activity id='3' name='Update Username Attributes'>
    <ReportTitle>
    <s>Update Username Attributes</s>
    </ReportTitle>
    <Action id='0' name='Update Attributes'>
    <ReportTitle>
    <s>Update Attributes</s>
    </ReportTitle>
    <expression>
    <block name='ifAccountIDNeedsToChange'>
    <block name='setting' trace='true'>
    <set name='theUser.update.accounts[Lighthouse].changes[Uname].old'>
    <ref>theUser.accounts[Lighthouse].Uname</ref>
    </set>
    <set name='theUser.update.accounts[Lighthouse].changes[Uname].new'>
    <ref>newUsername</ref>
    </set>
    <set name='theUser.update.accounts[Lighthouse].selected'>
    <s>true</s>
    </set>
    <set name='theUser.accounts[Lighthouse].Uname'>
    <ref>newUsername</ref>
    </set>
    <set name='theUser.waveset.accounts[Lighthouse].Uname'>
    <ref>newUsername</ref>
    </set>
    <set name='theUser.waveset.attributes.Uname'>
    <ref>newUsername</ref>
    </set>
    <set name='theUser.accounts[LDAP].Uname'>
    <ref>newUsername</ref>
    </set>
    <set name='theUser.waveset.accounts[LDAP].Uname'>
    <ref>newUsername</ref>
    </set>
    <set name='theUser.waveset.Uname'>
    <ref>newUsername</ref>
    </set>
    <set name='theUser.update.accounts[Lighthouse].changes[email].new'>
    <concat>
    <ref>newUsername</ref>
    <s>@uoregon.edu</s>
    </concat>
    </set>
    <set name='theUser.update.accounts[Lighthouse].changes[email].old'>
    <ref>theUser.accounts[Lighthouse].email</ref>
    </set>
    <set name='theUser.accounts[Lighthouse].email'>
    <concat>
    <ref>newUsername</ref>
    <s>@uoregon.edu</s>
    </concat>
    </set>
    <set name='theUser.waveset.email'>
    <concat>
    <ref>newUsername</ref>
    <s>@uoregon.edu</s>
    </concat>
    </set>
    <set name='theUser.waveset.accounts[Lighthouse].email'>
    <concat>
    <ref>newUsername</ref>
    <s>@uoregon.edu</s>
    </concat>
    </set>
    <set name='theUser.accounts[LDAP].email'>
    <concat>
    <ref>newUsername</ref>
    <s>@uoregon.edu</s>
    </concat>
    </set>
    <set name='theUser.accounts[Lighthouse].Uname'>
    <ref>newUsername</ref>
    </set>
    <append name='theUser.update.toUpdate'>
    <s>Lighthouse</s>
    </append>
    <set name='theUser.Uname'>
    <ref>newUsername</ref>
    </set>
    <set name='theUser.waveset.accountId'>
    <ref>newUsername</ref>
    </set>
    <set name='theUser.accounts[Lighthouse].accountType'>
    <s>TEST</s>
    </set>
    </block>
    </block>
    </expression>
    </Action>
    <Action id='1' name='Update Auth DB'>
    <ReportTitle>
    <s>Update Auth DB</s>
    </ReportTitle>
    </Action>
    <Transition to='ReProvision User'/>
    <WorkflowEditor x='212' y='189'/>
    </Activity>
    </WFProcess>
    </Extension>
    <MemberObjectGroups>
    <ObjectRef type='ObjectGroup' id='#ID#Top' name='Top'/>
    </MemberObjectGroups>
    <Properties>
    <Property name='editorOriginalName' value='UO_changeUsername'/>
    </Properties>
    </TaskDefinition>

Maybe you are looking for

  • "Field Catalog not found" ...problem in ALV reporting !!

    Hi, When i execute my report program where in I generate a Selection screen, I am able to select the values in the selection screen. Once I click on the execute button I get the message "Field Catalog not found"... The elabore message is "Field Catal

  • My macbook pro monitor is becoming hazy on and off...anyone else?

    This has been happening for about a month....can't seem to do any diagnostics on it.....wondering if I just have to replace monitor?

  • Status of dot11Radio is "reset"

    What is the reason that interface dot11Radio0 may have all time status "reset"? AP is working as WGB, here is config: http://docs.google.com/View?docid=dfq5mkqd_4frdrvphj Thanks and regards,

  • Rotating clips in QT PRO

    Hi, I did a search for rotating clips in qt pro. I found a lot of people stating that it was possible to rotate clips in QT Pro , but no one describing HOW to do the rotating in QT PRO. Well now that I KNOW that QT PRO can do this, gosh, can anyone p

  • How to add Profile Picture in Jabber

    I would like to ask, how to add profile picture in Jabber ? For your information, my callmanager with 10.5.1.10000-7 version have been integrated with Active Directory in Windows Server 2008 Thanks and Best Regads, Ferly