Determine selected UOM on calculated extended attribute

When calculating results based on values with different units of measure (UOM), how do I know the unit of measure that is set on a calculated numeric extended attribute? For example, getting the target values in inches, if I calculate volume as length * width * height will produce a value in cubic inches. If the extended attribute UOM is set to cubic feet, then I must covert the returned results from cubic inches to cubic feet. The question is, can I determine the unit of measure for the calculated numeric extended attribute within the calculation script so that I can calculate the value in the correct UOM, or must I use a custom calculation class?

The Calculated EA can only have one specified UOM, meaning if your calculated EA is Volume, you configure it with one specific UOM (eg, cubic feet). Therefore, your JScript can request EA values of the length, width, and height to be returned in the UOM you need (feet)
var length @ GetCellInMyRowByColumnID('LENGTH').Value.GetNumericValue ('FT');
var height @ GetCellInMyRowByColumnID('HEIGHT').Value.GetNumericValue ('FT');
var width @ GetCellInMyRowByColumnID('WIDTH').Value.GetNumericValue ('FT');

Similar Messages

  • Extended Attribute with a UOM category of Unit

    In version 6.1 how do you create a Numeric Extended Attribute with a UOM Category of "Unit". We would like to create a numeric extended attribute that has an available UOM of "Cnt". Since Cnt is available by default in P4P, we do not want to add it a second time to the "Other" Category. However when I go to create a new extended attribute, none of the UOM Categories include "cnt."

    This issue has been resolved in Hotfix 6.1.0.2.7 (Patch 15998737). For more information, refer to Knowledge Document ID: 1377579.1 - Available Patches for Agile PLM for Process Version 6.1.

  • To change the approval limit for Extended attribute PO Value limits

    Hi,
    We are on SRM 4.0, in PPOMA_BBP for a local purchasing organisation we want to change the approval limit let us say from 100 to 50 but the system is presenting this field as non editable( In stabdard values sub screen)
    In Extended attribute tab in organisation structure after selecting the PO Value limits in SRM 4.0 we see two sub screens
    a) Standard values
    b) Local values
    We want to change the approval limit in standard values sub screen from 1000 to 500, which system is presenting as noneditable.
    Regrds
    Vivek

    Hi
    Refer these links.
    http://help.sap.com/saphelp_srm50/helpdata/en/5a/af5efc85d011d2b42d006094b92d37/frameset.htm
    http://help.sap.com/saphelp_srm50/helpdata/en/8b/4fa9585db211d2b404006094b92d37/content.htm
    http://help.sap.com/saphelp_srm50/helpdata/en/fa/fa7d3cb7f58910e10000000a114084/frameset.htm
    http://help.sap.com/saphelp_srm50/helpdata/en/7f/0fea380bfe6161e10000000a11402f/frameset.htm
    Incase it does not helps, pls let me know.
    Regards
    - Atul

  • Custom report Extended Attribute

    Hi,
    On my user selection screen I just need a multiple selection box and user related data needs to be populated in it, can anybody guide me on this.
    Thanx

    Open BPE --
    click File - >
    --> OpenRepository Object
    ---> Forms
    --->EndUserMenu
    you can have a look at EndUserMenu
    if you want to display custom forms then you need
    login as configurator to administrator module
    Click configure Tab
    --->Forms and Process Mapping
    you can find EndUserMenu
    change the name of the EndUserMenu to your form name(should be uploaded to the IDM)
    for adding attributes to your User Object
    login to your http:\\localhost:8080\idm\debug pages then select
    ListObjects -->configuraton
    from the list of values select the User Extended Attributes for edit
    then you can add your Extended Attributes here. eg PassportNo
    <List>
    <String>firstname</String>
    <String>PassportNo</String>
    </List>
    </List>

  • Calculating with attributes occurs problems in aggregation ...?

    Hi Gurus, I have a question concerning the calculation with attributes:
    I have created variables (as replacement path) based on a product attribute. The variables (with the attribute value) do work properly and I get the right numbers in the lowest hierarchy level.
    Problem: within my hierarchy structure the query does not aggregate but reports errors ("X") in the upper hierarchy levels. How can I solve this problem?
    Thank you for answering.
    Greetings from T. Duong

    Hi, I already have tried this but it didn't lead to the required result.
    Still thank you for answering. I have seen in SAP Help that the options in extend properties might solve similar problems ... still mine cannot be solved by this. The problem is not the attribute value itself, as I found out.
    I have another thread here, where I defined my problem that occurs due to a formula collision between a structure and a hierarchy.
    Thank you.
    Best regards
    T. Duong

  • CSI: update_item_instance issues while creating extended attributes

    Hello,
    For our customer's data conversion, installed base instances have already been created, there is only need to create extended attributes.
    Issues I have encountered are:
    - Whenever an error is encountered in the API call, all following records are rejected with the same error (even the same instance ID/primary key/attribute ID) as the first error record.
    - Extended attributes are randomly entered in the wrong fields (as if one field had gone missing and the others had been updated)
    - Date formats have been changed from DD/MM/YYYY to DD-MON-YYYY when consulting from Installed Base (but this happened only once)
    Other information: There are 14 extended attributes to be added for each item instance, I removed some of the attributes to make the code more readable.
    I followed the metalink note that shows the implementation method for this API and only added the recursive elements that we needed for the 14 attributes + functions to retrieve item_id and such.
    The "message()" function replaces is defined as FND_FILE.PUT_LINE(which =>fnd_file.log,buff => p_msg);
    PROCEDURE main (errbuf OUT VARCHAR2
                        ,retcode OUT NUMBER
    IS
         vl_status                BOOLEAN;
         vl_item_id                NUMBER;
         vl_instance_id           NUMBER;
         v_count               NUMBER;
         v_err_rec CSI_DATASTRUCTURES_PUB.TRANSACTION_ERROR_REC;
         v_trx_id number ;
         v_ret varchar2(240);
         v_msg_count number;
         v_msg_data varchar2(2000);
         v_date date;
         t_msg_dummy NUMBER;
         t_output VARCHAR2(2000);
         vl_attribute_id NUMBER;
         v_inst_rec csi_datastructures_pub.instance_rec;
         v_ext_attr csi_datastructures_pub.extend_attrib_values_tbl;
         v_party_tbl csi_datastructures_pub.party_tbl;
         v_account_tbl csi_datastructures_pub.party_account_tbl;
         v_pr_tbl csi_datastructures_pub.pricing_attribs_tbl;
         v_org_as s_tbl csi_datastructures_pub.organization_units_tbl;
         v_asset_as s_tbl csi_datastructures_pub.instance_asset_tbl;
         v_trx csi_datastructures_pub.transaction_rec;
         v_inst_id_lst csi_datastructures_pub.id_tbl;
    BEGIN
         APPS.FND_GLOBAL.Apps_Initialize(FND_PROFILE.value('user_id')
    ,FND_PROFILE.value('resp_id')
    ,FND_PROFILE.value('resp_appl_id'));
         IF cur_iea_attributes%ISOPEN
         THEN
              CLOSE cur_iea_attributes;
         END IF;
         IF get_trx_id
         THEN
              message('Transaction ID '||to_char(gv_trx_id));
              FOR v_cur_iea_attributes IN cur_iea_attributes
              LOOP
                   v_count:=0; -- Initialisation du compteur du ligne. Attention, le nb de lignes dans interface = 14 x nb lignes dans stg
                   IF check_unique_serial(v_cur_iea_attributes.numero_serie)
                   -- Recuperation de l'item ID
                   THEN
                        get_item_id(p_serial_number => v_cur_iea_attributes.numero_serie
                                       ,p_item_id => vl_item_id
                                       ,p_status => vl_status
                        message('Resultat get_item_id: '||to_char(vl_item_id));
                        get_instance_id(p_item_id => vl_item_id
                                            ,p_serial_number => v_cur_iea_attributes.numero_serie
                                            ,p_instance_id => vl_instance_id
                                            ,p_status => vl_status
                        IF vl_status
                        THEN
                             v_trx.TRANSACTION_DATE:=trunc(SYSDATE);
                             v_trx.SOURCE_TRANSACTION_DATE:=trunc(SYSDATE);
                             v_trx.TRANSACTION_TYPE_ID:=gv_trx_id;
                             message('Entrance v_count'||to_char(v_count));
                             v_inst_rec.instance_id:=vl_instance_id;
                             v_inst_rec.object_version_number := 1;
                             IF v_cur_iea_attributes.IAE_GUARANTEE_END_DATE IS NOT NULL
                             THEN
                                  v_count:=v_count+1;
                                  v_ext_attr(v_count).instance_id := vl_instance_id;
                                  message('v_ext_attr(v_count).instance_id: '||to_char(v_ext_attr(v_count).instance_id));
                                  message('vl_instance_id: '||to_char(vl_instance_id));
                                  get_attribute_id(p_attribute_code =>'GUARANTEE_END_DATE'
                                                      ,p_attribute_id => vl_attribute_id);
                                  message('vl_attribute_id: '||to_char(vl_attribute_id));
                                  v_ext_attr(v_count).attribute_id := vl_attribute_id;
                                  v_ext_attr(v_count).attribute_value := v_cur_iea_attributes.IAE_GUARANTEE_END_DATE ;
                                  message('v_cur_iea_attributes.IAE_GUARANTEE_END_DATE: '||v_cur_iea_attributes.IAE_GUARANTEE_END_DATE);
                                  message('');
                             END IF;
                             IF v_cur_iea_attributes.IAE_LAST_CTRL_DATE IS NOT NULL
                             THEN
                                  v_count:=v_count+1;
                                  message('v_count'||to_char(v_count));
                                  -- Les 6 champs obligatoires a remplir pour un update
                                  v_ext_attr(v_count).instance_id :=vl_instance_id;
                                  get_attribute_id(p_attribute_code =>'LAST_CTRL_DATE'
                                                      ,p_attribute_id => vl_attribute_id);
                                  v_ext_attr(v_count).attribute_id := vl_attribute_id;
                                  v_ext_attr(v_count).attribute_value := v_cur_iea_attributes.IAE_LAST_CTRL_DATE ;                    
                             END IF;
                             CSI_ITEM_INSTANCE_PUB.update_item_instance
                                       p_api_version => 1
                                       ,p_commit => fnd_api.g_false
                                       ,p_init_msg_list => fnd_api.g_true
                                       ,p_validation_level => fnd_api.g_valid_level_full
                                       ,p_instance_rec => v_inst_rec
                                       ,p_ext_attrib_values_tbl => v_ext_attr
                                       ,p_party_tbl => v_party_tbl
                                       ,p_account_tbl => v_account_tbl
                                       ,p_pricing_attrib_tbl => v_pr_tbl
                                       ,p_org_assignments_tbl => v_org_ass_tbl
                                       ,p_asset_assignment_tbl => v_asset_ass_tbl
                                       ,p_txn_rec => v_trx
                                       ,x_instance_id_lst => v_inst_id_lst
                                       ,x_return_status => v_ret
                                       ,x_msg_count => v_msg_count
                                       ,x_msg_data => v_msg_data
                                  -- Output the results
                                  if v_msg_count > 0
                                  then
                                       for j in 1 .. v_msg_count
                                       loop
                                            fnd_msg_pub.get ( j , FND_API.G_FALSE , v_msg_data , t_msg_dummy );
                                            t_output := ( 'Msg' || To_Char ( j ) || ': ' || v_msg_data );
                                            message( SubStr ( t_output , 1 , 255 ) );
                                       end loop;
                                  end if;
                        ELSE
                             message('Update not performed for '||v_cur_iea_attributes.numero_serie||' and '||vl_item_id);
                        END IF;
                   ELSE
                        message('Erreur sur '||v_cur_iea_attributes.numero_serie);
                   END IF;
                   commit;
                   message('Commit done for update loop');
              END LOOP;
         ELSE
              message('No Transaction ID - EOP');
         END IF;
    EXCEPTION
         WHEN OTHERS
         THEN
              ROLLBACK;
              message('Error in main program, rolling back');
    END main;
    Thanks!

    Todd
    The issue seems to because this:
    x_instance_rec.inventory_item_id := ib_rec3.inventory_item_id;
    You are selecting the item id from your staging table. But the serial number in the csi_item_instances is associated with the instance is a different item id than ib_rec3.inventory_item_id. Hence this error. You cannot change the item in the IB once the instance is created.
    You have two choices: comment this out or change the inventory_item_id in staging table to match with the csi_item_instances.
    Also a lot depends on what is your serial number uniqueness. If you are using the same serial number for two different items (uniqueness with item_Id) you need to be careful which one you are picking (based on serial number).
    Thanks
    Nagamohan

  • "Open With"- "Change All" corrupts your file (Resource forks, extended attributes, creation date)

    I finally know why some of my files get corrupted.
    If you use the following method to assign one kind of file to always open with the same application;
    http://docs.info.apple.com/article.html?path=Mac/10.6/en/8387.html
    (File -> Get Info -> Open With -> Change All)
    an extended attribute will be added to your file.
    You can examine that by typing "ls -l" in Terminal. If you see an @-sign after permissions than you have an extended attribute in that file.
    To see what it contains, type "xattr -l filname.jpg" in Terminal.
    Besides that is adds an extended attribute (which can be deleted with the "xattr --help" command) the modification date of the selected file will be changed.
    I think this is irritating because I wan't to keep my master photos with the same modification date as creation date.
    What else does it effect besides the modification date and to add extended attributes? Does my metadata get intact?
    (If you further want to make a backup copy on for example a FAT32 filesystem than your got a new problem. FAT32 doesn't support resource forks, so besides filename.jpg you will have an additional ._filename.jpg of 4kb)

    Doesn't sound like there is any corruption going on to me. It may change the date modified, but that should be expected since you modified the file.

  • "Available In" for extended attribute configuration.

    What config do we need to turn on to allow "printed packaging" to be an available selection for the "Available In" pick list of the an extended attribute in edit mode? We do have printed packaging specs turned on.
    thanks,
    David

    Thanks, "SR 3-7567655531 : Printed Packaging Tag is not available in the "available in" pick list when creating a new EA" was submitted.

  • Plant disappears in extended attributes

    Hello SRM Experts,
    Systems: SRM-Server 550, ERP2005
    scenario: classic
    After a Upgrade from SRM 3.5 to SRM 5.0 I like to enter a plant in PPOMA_BBP extended Attributes. I can select the backend system and the plant but when I save it, the whole entry will disappear. The message "Data has been saved" 5A 497 appears but the entry is gone.
    I have already used the report BBP_LOCATION_GET_ALL.
    Has anybody an idea why this problem occurs?
    Thank you very much for your answers.
    Kind regards
    Axel

    Hi
    Ensure that you are not making settings from SRM Web user and only using SRM  Logon user in GUI.
    Please refer to the OSS notes.
    <b>Note 110909 - Composite SAP note on generic attributes
    Note 512660 - EBP: Defaults for plant and storage location disappear
    1012805 - 'Settings' - Input search for Plant / WRK is not working
    672275 - EBP4.0: Performance during start of 'Shop' (shopping cart)
    Note 864221 - EBP 4.0+: Performance location</b>
    Please detail your steps, how to re-produce the error.
    Hope this will help.
    Please reward suitable points, incase it suits your requirements.
    Regards
    - Atul

  • I cann't add any extended attribute constraints in CACS

    Hi Support --I cann't add any extended attribute constraints in CACS. when I click the button" Add New" , it show a Dialog Box, but no selected item can appeares.
    the Agile4P version is 6.1.1 and oracle database is 11g
    Regards
    Terry

    after add distinct in EA, it can be used in CACS

  • Can rsync filter on extended attributes?

    Hi there,
    I've been using rsync for quite a while now to perform various backups on my network, and it's been working without issue.
    What I'm wondering today is if it's possible to create an rsync job that can filter on the colour label value of a folder? Bascially I'd like a job that essentially does
    "IF this folder IS red OR orange THEN rsync it"
    I've google for a while now and while I see that the -E filter preserves extended attributes, and the filter command can filter on file/folder name attributes, I can't seem to figure out a way to filter based on extended attributes.
    Is there a way?
    ...Mike

    This is not going to be pretty.
    bash doesn't look to have a direct path into Finder's sort-of-private extended attribute information, save via some "creativity" involving xargs and xattr.
    There are also paths into the extended attributes via Perl and via [Python xattr calls|http://www.entropy.ch/blog/Developer>.
    Invoking osascript to script Finder via AppleScript can be be a path.
    I'd probably [customize some C code|http://www.mactech.com/articles/mactech/Vol.21/21.05/ACLs/index.html] to fetch the attributes, and call that from within the bash script. (These APIs are documented, if you're comfortable coding in C.)
    The "sneaky" or "clever" approach would be a customized rsync; tweak the file selection logic to do what you want.
    Have a look at [updating rsync 3.0|http://patternbuffer.wordpress.com/2008/01/04/rsync-30-looking-very-promisi ng> and (for testing) the [backup bouncer|http://www.n8gray.org/code/backup-bouncer> tool.
    But none of this is particularly pretty.

  • IFSMGR - Unable to add Extended Attributes to Folder and PublicObject in IFS 1.1.9

    Hi,
    I am using IFS-1.1.9 version and trying to add Extended attributes to PublicObject and Folder in IFSMGR.IFSMGR does not allow be to do this it turns the ADD button grey.
    Is there any way I can do this?
    Thanks,
    Hima

    Hi,
    Whatever steps you have done seems to be correct for adding an UDF in Create User page. If the UDF is not displayed, then refresh the content by clicking the refresh icon at the top right hand corner of the dialog box while selecting Add Content -> "Data component - catalog" -> userVO. Also I would suggest you to give an unique name while creating the UDF using form designer in sysadmin console. Try it again and it should work.
    In worst case try the below steps
    1. Create and activate a Sandbox.
    2. On the left nav pane, expand Upgrade and click on link Upgrade User Form.
    3. On the page that opens, the table will display all your UDFs. Click Upgrade Now and wait for completion.
    4. Export(recommended) and Publish the sandbox.
    After that create another sandbox in identity console,create sandbox, click on customize and after that try following the same process of adding from userVO

  • Extended Attributes and Custom Sections

    Hi,
    When we update formulation specifications we are finding that the extended attributes and custom sections are not automatically updating in the ingredient output. Is this how the system is designed? Is it possible to get the ingredient outputs to update automatically?
    Thanks.

    Hey Belinda,
    Can you provide a more detailed scenario of what you are trying to accomplish?
    For example,
    If extended attribute "Brix" exists on the raw material specification (in the simple extended attributes grid or inside a custom section) and is tagged as "distinct" and "Is Design Attribute" on the Extended Attribute template in ADMN then anytime you use that raw material in a formulation "Brix" will appear on the Ext Data tab > Extended Attributes section of the output popup. When multiple raw materials contain the "Brix" extended attribute then the Brix value displayed on the output popup will be calculated by the system.
    A few key points that may be causing your problem:
    1. Custom Sections on the raw material are not automatically pulled and placed on the output popup. Only distinct attributes are pulled out and placed in the simple attributes grid on the output popup.
    2. Custom data is not pulled from raw materials and placed onto the formulation specification > ext data tab. Calculation of theoretical values only occurs on the output popup
    3. When an input is used inside a formulation we take a snapshot of that material, this allows you to perform "what if" scenarios. If changes are made to the raw material (for example an extended attribute was added or a nutrient value was edited), the formulation specification must be refreshed so it will pull the new updated values.
    Version 6.1.0.x allows for specification templates that will help with the auto creation of custom data on the formulation specification, output popup and output material specification.
    Thanks
    Kelly
    Edited by: user754372 on Oct 16, 2012 10:12 AM

  • Make user extended attribute available on the user report

    Hi,
    We have created a few user extended attributes for the client. The quyestion is how to make them available for select in a user report. Currently we configured a user report for approvers "approver report" and save the XML as TaskTemplate. How can I modify the xml to display user extended attributes? I tried the following but it did not work:
    In the task template xml, add the attribute (e.g., department) into
    <Attribute name='attrMapField'>
    <Map>
    <MapEntry key='attributes.department' value='Department'>
    </Map>
    </Attribute>
    <Attribute name='attrsToDisplay'>
    <List>
    <String>attributes.department</String>
    </List>
    </Attribute>
    Thank you.

    We will need to edit the TaskDefinition object named �User Report� with the id
    �#ID#TaskDefinition:UserSummary�.
    1) Insert the following xml directly above the field named �queryAttr.MemberObjectGroups.enabled�:
    <Field name='queryAttr.employeeId.enabled'>
    <Display class='Checkbox'/>
    </Field>
    <Field name='queryAttr.employeeId.operator'>
    <Display class='Select'>
    <Property name='title' value='Report only users whose employeeId '/>
    <Property name='noNewRow' value='true'/>
    <Property name='nullLabel' value='Please Select'/>
    <Property name='valueMap'>
    <ref>conditionsList</ref>
    </Property>
    </Display>
    <Expansion>
    <cond>
    <eq>
    <ref>queryAttr.employeeId.enabled</ref>
    <s>true</s>
    </eq>
    <ref>queryAttr.employeeId.operator</ref>
    <null/>
    </cond>
    </Expansion>
    </Field>
    <Field name='queryAttr.employeeId.value'>
    <Display class='Text'>
    <Property name='noNewRow' value='true'/>
    </Display>
    <Expansion>
    <cond>
    <eq>
    <ref>queryAttr.employeeId.enabled</ref>
    <s>true</s>
    </eq>
    <ref>queryAttr.employeeId.value</ref>
    <null/>
    </cond>
    </Expansion>
    </Field>
    2) Inside of the defvar named �attrMap� you will need to insert the following text:
    <MapEntry key='attributes.employeeId' value='Employee ID'/>
    3) Save the modifications.
    4) Check the "User Report" your attr will be available

  • Fetch the User Extended Attribute" Group" Value in Java

    Hi All,
    I have been able to add a User Extended attribute in SIM and wish to fetch its value for a particular user in my java code.
    kindly help.
    Thanks
    Sunny

    Hi All,
    I am able to fetch the value of extended attribute "Group" of type "Select" I added in the Default User Form using user.getAttribute("Group") in my java code of Custom Resource Adapter.
    This extended attribute has groups name populated in it. What I am doing now is that I am fetching the Group name value and assing the user this group. This is working fine for me. However, In case user select a different group next time, I need to remove the user from old group and assign him the new group. For this, I need to have the old group value and new group value. I don't know how to retrieve the old group value?
    Any pointer on this will be helpful.
    Note: I have done the mapping of extended attribute "Group" in my Custom Resource Adapter.
    Regards,
    Sunny

Maybe you are looking for

  • A challange: creating a movie player in a panel

    so.. one of my colleagues has thrown me the gauntlet to create a functional movie player as a indesign panel. Is it even possible using javascript? i'm thinking that i can use a flashplayer scriptUI object maby?

  • Do Not Disturb still isn't working!

    Does anyone know why the iPhones do not disturb feature still isn't working. My phone still rings during my set schedule as well as when I set it to do not disturb.

  • Wait Event to be triggered with configurable no. of days

    Hello, I have a requirement in which a workflow gets triggered. After that it waits for an event to get triggered which it listens to. Also there is certain no. of days which is configurable. I want that when the event is received with the configurab

  • Alternative Picture Viewer

    Hi there! I currently have a brand-new Macbook Air. As someone who's coming from a Windows computer i find the Macbook very easy & quick to use. I usually upload photos to Facebook and Flicker and i wanted to ask of any good alternative picture viewi

  • HT1338 Power Mac G5 have a Mac OS X 10.5.8 how I order Mavericks?

    Power Mac G5 have a Mac OS X 10.5.8 how I order Mavericks?