Listing Items based on criteria e.g. High Priority Items First.

Hi,
One of our customers have a need to List High Priority Items first on the WebTools site.
Let's take two ItemCodes for example: Printer001, and, Monitor001.
>> If these two items are included in the same category then Monitor001 will appear before Printer001 as WebTools sorts in alphabetic ascending order;
>> But, our customer wants Printer001 to appear before Monitor001 as it is an Item higher in priority that Printer001.
I can think of two possible solutions:
1/2) Prefix Items with a number or letter to have it appear first in the WebTools default sort order. E.g. Rename "Monitor001" as "AMonitor001". This will not be possible for existing Items in SAP, so it doen't solve the issue,
Or,
2/2) Customize the Default WebTools Item List block to sort Items based on a User Define field called "pririty". Which might require a lot of effort.
Please advise if anyone else has solved similar issue and how.
Thanks very much for your replies in advance.

Hey Kafil ... I think you may be stuck modifying the parts list page or creating something from scratch. I'm not aware of an easy way to do this out of the box.

Similar Messages

  • Summing up the price of the sub items and put it in the Higher level item

    Dear Experts,
            I have got one requirement from my customer.
    The requirement is while creating the Sales order (in VA01), in the line item the customer will enter the Material, Quantity and Higher level item for the line item.In Condition Tab page price and Condition will be entered.
    My requirement is at the time of saving the sales order the price of the lower level items has to be summed up and this price has to be put in condition tab page of the higher level item.
    This is my requirement.Is it possible?if yes please explian me how to do this.
    If anybody not able to understand my question please reply back to me.
    Thanks & Regards,
    Ashok.

    Hi
    Here u need to find user exit that suits ur requirement like user exit that will trigger while saving that sale order and in that user exit u are able to access that tables where all the lower level item prices stored and condition table where price stored. Then u can do sum and update that sum into condition price table. So search for user exit that suits ur requirement.
    Regards,
    KP.

  • High Priority Items Inventory Alert

    Hello All --
    Thoughts on this...
    I would like a report that indicates when we are either low or out of stock of inventory.  However, I don't want a general report that just tells us when ALL inventory is low or is out of stock.
    Rather, we would like the report to update us only when certain high priority products are low or out of stock. 
    What's the best way to go about doing this?
    Thanks!
    Mike

    Hi Gordon --
    In answer to your question, the query shows the following:
    Style #...Color...Total Qty...L Size Qty..L Size %
    This is very close to what we are looking for.  The gap is that it only shows the data for a single size -- Large.  It sounds like we would have to run separate Queries for each of the other sizes. 
    Ideally, the Query would indicate whenever 1 or more of the sizes fall below the minimum %  (or qty) set. Initially, I envisioned it looking something like this:
    Style #...Color...Total Qty...S Size Qty...S Size %...M Size Qty...M Size %..., etc. for rest of sizes.
    However, this may not be the best format and a lot of data to look through.  You suggested an alternative which I am certainly open to...just not sure what you mean by it. 
    The ultimate goal is to have a report that will help us identify when inventory falls below a critical level (either by % or amt -- % would be more accurate as sizes are not purchased equally) ) for high priority products. 
    Bishal -- thanks for the suggestion.  Have not set up the alert function - thought a query would better achieve what we are looking for as it is all combined in a single report.
    Gordon - can you send example of Query you are suggesting?
    Thanks!
    Mike

  • Is there a way to enable/disable a tabular form item based on the value of a second item?

    Hi Everyone,
    I have a tabular form based on a collection.   The column c050(maps to f30) will be either Y/N.  If it is Y, then I would like to enable column c024( maps to f24) (which happens to be a radio button based on lov).  If the value of c050 = N, then disable c024.   There are potentially many rows, and the item c024 would only be enable/disabled for the specific row.   So if row 1 has c050=Y and row 2 has C050=N then row 1 c024 is enabled, and row 2 c024 is disabled.  Hope that makes sense.
    I have created a dynamic action called enable/disable HMS fields.
    event=CHANGE
    selection type = jquery selector
    jquery selector = input[name='f30']
    condition EQUAL TO
    value Y
    true action1 - enable, jquery selector, input[name='f24']
    true action 2 - alert, You have added an HMS Species.   There may be additional data to enter.  thanks
    false action1 - disable jquery selector, input[name='f24']
    false action2 - alert, no hms worries.
    The alerts in both cases show properly...but nothing seems to happen to f24.....what am I doing wrong?
    thanks

    Agh! This is the first time you mention this is a radio button!  That changes things a lot! As you can see, the format is different (f24_0001_0001) than what we have discussed (f24_0001).
    Radio buttons have their own quirks.  My bad, I should have asked what you had.  But since you said your original selectors on input were working I just thought these were text fields or something like that.
    How about you change it to a drop down list just so that you can see all work?  And fully understand it.
    Then you can work out the radio button option.
    If that doesn't get you there... I'm going to ask you setup an example in apex.oracle.com and give me credentials to log in and take a look.
    I could re-try the js on my side with a radio but it will take some time.
    So just to be clear... f30 is a drop down and f24 is a radio?
    See, this line:
    $x_disableItem("f24_" + row, true);
    Is NEVER going to find the radio buttons because it's missing the 3rd 0001 and 0002 (how many options do you have?)
    So perhaps you try it like this:
    $x_disableItem("f24_" + row + '_0001', true);
    $x_disableItem("f24_" + row + '_0002', true);
    ... keep going for the options...
    Do the same for the false of course.
    But I think this needs a better approach if you'll have radio buttons.  I just need to work it out.
    Ok, go try things...
    Thanks
    -Jorge

  • E-recruitment - Role based restrictions on Active Queries - High Priority

    Requirement - Do we have an option to restrict the queries in recruiter 'active queries list' (work center) based on roles.
    for example: Restricted recriter should not be allowed to view Back ground checks query. and Talent Groups query.
    Version - E-rec 604 support pack 5. Webdynpro Interface, seperate front end and back end - candidate Scenerios #3 as per Note 1017866.
    Request e-rec Pro's to post the solution, if they have faced this issue in there e-rec implementation exp.
    Thanks & Regards,
    David.
    Edited by: SAPERECSDN1 on Oct 12, 2010 6:25 PM

    Hello,
    You can check out transaction POWL_QUERYR. Through this you can specify the roles to be assigned to the role. Through transaction POWL_QUERYU you can even specify the roles to be assigned for a specific user. You can copy the specific roles required and assign them to the roles. Any role which is not assigned to specific role will appear to all the roles that have authorization to the workcenter object.
    Regards,

  • Can you explain about Higher-level item category and item usage?

    Hi all
    Can you explain about Higher-level item category and item usage?
    thanks all

    Higher level item category and Item usage are used in the item category determination.
    Let me take an example of Item Category TANN (Free of charge Item)
    Item category Determination: Sales Document type + Item Category Group + Usage + Higher Level Item Category
    TA + NORM + FREE + TAN = TANN
    Higher Level Item category: The category on which this item category is dependent. meaning for TAN , TANN is a free item. Therefor TAN is the higher level item category.
    Item Category Usage: It controls system response during document processing. The line item has an specific usage according to that usage it has to respond. Free for free items, text for text items etc.
    Regards
    AK
    Reward points if helpful

  • CAML Query to Sort SharePoint list items based on Modified date

    hi ,
    can we sort sharePoint list items based on 'Modified' column, the sorting should be done up to milliseconds level.
    currently i am using CAML query as below
    <OrderBy><FieldRef Name='Modified' Type='DateTime' IncludeTimeValue='TRUE' Ascending='False'/></OrderBy>but its not considering milliseconds while sorting.
    Thanks and Regards,
    venkatesh.

    Veda, thanks but I'm not really a hardcore C# coder.
    We found more elegant solution was to create a List View which returns all records that should be deleted, based on our own custom deletion criteria, and then create an very simple SSIS Package in Visual Studio using the
    Sharepoint Connectors for SSIS to delete all Sharepoint List Items returned from that List View. The Sharepoint Destination Connector has a delete operation.
    This worked for us and didn't require any coding.

  • Workflow to grant access to each List item based on a column value

    Hi,
    I have 2 lists Risks and RisksLookup.
    In Risks, I have Title, Description, service impacted and status columns.
    In RisksLookup, I have service impacted, AD1, AD2, AD3, AD4 and AD5.
    I have a requirement where in I have to write a Workflow to provide access to each List item based on the value of service impacted. i.e. If service impacted in Risks List is Client A, I have to lookup what all AD groups are present for Client A in RisksLookup
    List and provide access to only those groups for that item.
    Regards, Shreyas R S

    Hi
    another approach
    create 5 more lists, dedicated to each impacted service. for  Each one these lists apply needeed right ( based onAD groups )Keep you main list where first level will add new items . Attach a workflow to this main list, which will start when an item
    is added and which will add specific item's value to his new list ( based on impacted service value )
    Romeo Donca, Orange Romania (MCSE, MCITP, CCNA) Please Mark As Answer if my post solves your problem or Vote As Helpful if the post has been helpful for you.

  • Item based security on List

    Hi,
    I have a list with 3 columns
    Column Name| Column Type
    Employee | Person/Group
    First Name | Single Line Text
    Last Name | Single Line Text
    As the Employee column is of type "Person/Group", I want to apply item based security on this list. For example if Person A is logged in, he MUST NOT be able to update record of others, But yes, he should have rights to update his own Row (Item).
    Please let me know how can i achieve such item based security in list ?

    Hi,
    From your description, I know you want to restrict users to edit items when he is the owner of current item.
    You can try these codes below:
    using System;
    using System.ComponentModel;
    using System.Web;
    using System.Web.UI;
    using System.Web.UI.WebControls;
    using System.Web.UI.WebControls.WebParts;
    using Microsoft.SharePoint;
    using Microsoft.SharePoint.WebControls;
    namespace VisualWebPartProject1.VisualWebPart1
    [ToolboxItemAttribute(false)]
    public partial class VisualWebPart1 : WebPart
    // Uncomment the following SecurityPermission attribute only when doing Performance Profiling using
    // the Instrumentation method, and then remove the SecurityPermission attribute when the code is ready
    // for production. Because the SecurityPermission attribute bypasses the security check for callers of
    // your constructor, it's not recommended for production purposes.
    // [System.Security.Permissions.SecurityPermission(System.Security.Permissions.SecurityAction.Assert, UnmanagedCode = true)]
    public VisualWebPart1()
    protected override void OnInit(EventArgs e)
    base.OnInit(e);
    InitializeControl();
    protected void Page_Load(object sender, EventArgs e)
    SPSecurity.RunWithElevatedPrivileges(delegate()
    SPWeb currentWeb = SPContext.Current.Web;
    String currentUserName = currentWeb.CurrentUser.LoginName;
    SPSite site = new SPSite("http://sp/sites/sharepoint2013");
    SPWeb web = site.OpenWeb();
    SPList list = web.Lists["ListA"];
    web.AllowUnsafeUpdates = true;
    foreach (SPListItem item in list.Items)
    string username = GetUser(item, item.Fields["Employee"]).LoginName;
    //break from parent permissions
    item.BreakRoleInheritance(false);
    //delete any existing permissions in the
    //case that this is an update to an item
    SPRoleAssignmentCollection currentRoles = item.RoleAssignments;
    foreach (SPRoleAssignment role in currentRoles)
    role.RoleDefinitionBindings.RemoveAll();
    role.Update();
    if (username.Equals(currentUserName))
    //create"contributor" role
    SPRoleDefinition roleDef = web.RoleDefinitions.GetByType(SPRoleType.Contributor);
    SPRoleAssignment roleAssignment =
    new SPRoleAssignment(
    currentUserName,
    string.Empty,
    string.Empty,
    string.Empty);
    roleAssignment.RoleDefinitionBindings.Add(roleDef);
    //update list item with new assignment
    currentRoles.Add(roleAssignment);
    item.SystemUpdate();
    else
    //create"reader" role
    SPRoleDefinition roleDef = web.RoleDefinitions.GetByType(SPRoleType.Reader);
    SPRoleAssignment roleAssignment =
    new SPRoleAssignment(
    currentUserName,
    string.Empty,
    string.Empty,
    string.Empty);
    roleAssignment.RoleDefinitionBindings.Add(roleDef);
    //update list item with new assignment
    currentRoles.Add(roleAssignment);
    item.SystemUpdate();
    private SPUser GetUser(SPListItem item, SPField userField)
    string currentValue = item[userField.Title].ToString();
    SPFieldUser field = (SPFieldUser)userField;
    SPFieldUserValue fieldValue = (SPFieldUserValue)field.GetFieldValue(currentValue);
    return fieldValue.User;
    The screenshot below is my result:
    Vincent Han
    TechNet Community Support

  • Display list items based on another list item

    Hi All
                I want to display the list item based on another list item, but its not working.
    This is my code:
    /*WHEN-NEW-FORM-INSTANCE*/---Its working.
    DECLARE
       rg_district   recordgroup;
       rg_name       VARCHAR2 (40) := 'district';
       vtemp         NUMBER;
    BEGIN
       rg_district := FIND_GROUP (rg_name);
       IF ID_NULL (rg_district)
       THEN
          rg_district :=
             CREATE_GROUP_FROM_QUERY (rg_name,
                                      'select dist,dist from district_mas'
          vtemp := POPULATE_GROUP (rg_district);
          POPULATE_LIST ('BLOCK3.DISTRICT', rg_name);
       END IF;
       END;
    */WHEN-LIST-CHANGED*/---Not working. Cannot populate the list based on the List
       DECLARE
       rg_branch   recordgroup;
       rg_name1     VARCHAR2 (1000) := 'branch';
       vtemp       NUMBER;
    BEGIN
       rg_branch := FIND_GROUP (rg_name1);
       IF NOT ID_NULL (rg_branch)
       THEN
          DELETE_GROUP (rg_name1);
          rg_branch :=
             CREATE_GROUP_FROM_QUERY
                ('rg_branch',
                    'SELECT branch FROM dist_branch WHERE district IN (SELECT DIST FROM DISTRICT_MAS WHERE DISTRICT ='
                 || :BLOCK3.DISTRICT
          vtemp := POPULATE_GROUP (rg_branch);
          POPULATE_LIST ('BLOCK3.BRANCH', rg_branch);
       END IF;
       END;
    Table:
    CREATE TABLE DISTRICT_MAS
      DIST  VARCHAR2(100 CHAR)
    CREATE TABLE DIST_BRANCH
      DISTRICT  VARCHAR2(100 CHAR),
      BRANCH    VARCHAR2(100 CHAR)
    Values:
    insert into district_mas values('chennai');
    insert into district_mas values('coimbatore');
    insert into dist_branch values('chennai','chennai_north');
    insert into dist_branch values('coimbatore','Podanur');
    Regards
    Shagar M

    Hmm, not tested.
    try this..
    --*/WHEN-LIST-CHANGED*/
       DECLARE
       rg_branch       recordgroup;
       rg_name1     VARCHAR2 (1000) := 'branch';
       vtemp        NUMBER;
       QT            VARCHAR2(10) :='''';
    BEGIN
       rg_branch := FIND_GROUP (rg_name1);
       IF NOT ID_NULL (rg_branch)
       THEN
          DELETE_GROUP (rg_name1);
          rg_branch :=
             CREATE_GROUP_FROM_QUERY
                ('rg_branch',
                    'SELECT branch FROM dist_branch WHERE district IN (SELECT DIST FROM DISTRICT_MAS WHERE DISTRICT ='
                 || QT||:BLOCK3.DISTRICT||QT||')'
          vtemp := POPULATE_GROUP (rg_branch);
          POPULATE_LIST ('BLOCK3.BRANCH', rg_branch);
       END IF;
    END;
    Hope this works..
    Hamid

  • Filter list items based on security groups o365

    How to filter list items based on security groups in o365.

    Hi,
    According to your description, my understanding is that you want to filter list items based on the Office 365 security groups.
    If that is the case, I suggest you can create a data view to filter the list items with CAML Query like below:
    <Where>
    <Membership Type="CurrentUserGroups">
    <FieldRef Name="VisibleToGroup"/>
    </Membership>
    </Where>
    For more information, please refer the detailed article below:
    SharePoint - Filtering a View by Group Membership
    Thanks
    Best Regards
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Need - Search page with LOV based flexfield item as search criteria

    Our requirement is to make a flexfield item as search criteria.
    Flexfield is having 2 segments Applicaiton and Responsibility, where 2nd segment *(Responsibility) is dependent on 1st (Application).*
    Accordingly, an LOV must get displayed for each flex segment in the search panel.
    We tried to create a page having this flex (DFF) item as a search criteria, but cannot proceed to get results in results region - we tried to use both properties in the query region - resultsbasedSearch and autocustomizationCriteria:
    Any ideas how to make a search functionality having LOV based flexfield items in the search criteria?
    Any other suggestions regarding the solution are welcome.
    Thank you very much.
    Regards,
    May B.

    Hi,
    try a SQL query that uses bind variables as follows
    ... where column1 like '%:col1param%' and '%:column2%' like :col2param
    Then in the implementation (session facade) check for null values and add '%' in case a value is null.
    The query in EJB is defined in the entity
    Frank

  • Populate the values  to  list item based on a check box

    Hi,
    How can i populate the values from a field on the form to one list item based on a check box,
    the pseudo code is like,
    if checkbox = checked then
    populate the particular field value to the list item;
    checkbox = unchecked;
    next_record;
    end if;
    Thanks
    Bcj

    To populate a Tlist item, do the following:
    1. Create a TLIST item in the EMP block. and give it a height to accommodate several names.
    2. Using the TLIST property pallete:
    a. Set the Column Name property to EMPNO
    b. Click on the Elements in List property. Delete each List Element and delete each List Item Value. If you don't do this you will get an error when you compile.
    3. Create a record group using this query:
    select ename, to_char(empno) from emp
    4. Create a WHEN-NEW-FORM-INSTANCE trigger, and place this code inside the trigger:
    Declare
    err_num number;
    Begin
    clear_list('YOUR_TLIST');
    err_num := populate_group('YOUR_RECORD_GROUP');
    If err_num = 0 Then
    populate_list('YOUR_TLIST', 'YOUR_RECORD_GROUP');
    Else
    message('Error populating Tlist');
    message('Error populating Tlist');
    End If;
    End;
    5. Compile and run the form. The ENAMEs will appear in the TList, and each ENAME will have a value equal to its EMPNO.

  • Want 2 populate value in 2nd list item based on value selected in 1st list?

    Want 2 populate value in 2nd list item based on value selected in 1st list?

    Gaurav -
    The 3rd list will not populate because nothing has been selected yet in list 2. The value in list 2 is null, so the loop to populate list (3) has nothing to load. Try the following below. This should seed your 2nd list so the 3rd list will populate.
    You will have to declare first_record boolean and first_value to match DESCC.
    first_record := true; -- NEW *****
    Clear_List('BLOCK2.ITEM2');
    FOR CurRec IN (SELECT UNIQUE DESCC DESCC FROM LUTT where LUTT.IDD = :BLOCK2.ITEM1)
    LOOP
    if first_record = true then -- NEW SECTION *****
    first_value := CurRec.DESCC;
    first_record := false;
    end if;
    Add_List_Element('BLOCK2.ITEM2',1,CurRec.DESCC,CurRec.DESCC);
    END LOOP;
    :block2.item2 := first_value; -- NEW *****
    Clear_List('BLOCK2.ITEM3');
    FOR CurRec2 IN (SELECT UNIQUE DESCC DESCC FROM LUTT where LUTT.DESCC = :BLOCK2.ITEM2)
    LOOP
    Add_List_Element('BLOCK2.ITEM3',2,CurRec2.DESCC,CurRec2.DESCC);
    END LOOP;
    My name is Ken, 1990 is when I started using Oracle Forms 3.0, character based in the Unix environments. And you are very welcome.

  • Fetch Data from two different Lists (Based on criteria)

    I have two lists. One is for Designations and another is for
    Hirings. Designations list holds all available designations and Hiring list has list of hired employees. Data may look like following...
    Designations list:
    PostTitle
    Software Engineer
    Web Developer
    Graphic Designer
    Trainer
    Manager
    Team Lead
    and Hiring list may look like following
    Hirings list:
    PostTitle
    Employee
    Start Date End Date
    Trainer David
    05-Jun-14
    Manager Peter
    06-Jun-14 30-Jun-14
    PostTitle is lookup column in hirings list. Now, I have to create several views over this data... one of them is of "Vacant Posts" that will fetch all those records from Designations which are either not referenced in hirings or are referenced
    in hirings but has some end date.
    Vacant Posts View:
    Fetch all records from Designation which are NOT in Hirings
    UNION
    Fetch all records from Designations which are in Hirings But has some END DATE.
    Please guide me how can I create this Vacant Posts view ? Is their any out of the box functionality available ? what are the easiest possible ways to accomplish this?
    Zia.

    Yes You can Use CAML.
    Below Query can be helpful to start with.
    Function GetSharePointList1() {
    context = SP.ClientContext.get_curre
    nt();
        oList = context.get_web().get_lists().getByTitle('SharePoint List 2');
        var camlQuery = new SP.CamlQuery();
        camlQuery.set_viewXml(query);
        items = oList.getItems(camlQuery);
        context.load(items);
        context.executeQueryAsync(
            Function.createDelegate(this, onSuccessSharePointList1),
            Function.createDelegate(this, onFail)
    function onSuccessSharePointList1(){
            recNum = items.get_count();
          if(recNum != 0){
             var listItemEnumerator = items.getEnumerator();
             while(listItemEnumerator.moveNext()){
                    var oListItem = listItemEnumerator.get_current();
                    $().SPServices({
                    operation: "GetListItems",
                    async: false,
                    listName: "SharePoint List 2",
                    CAMLViewFields: "<ViewFields><FieldRef Name='Worklocation'/></ViewFields>",
                    CAMLQuery: "<Query><Where><Eq><FieldRef Name='Title'/><Value Type='Text'>" + ReferenceID +
                                              "</Value></Eq></Where></Query>",
                    completefunc: function (xData, Status) {
                      $(xData.responseXML).SPFilterNode("z:row").each(function() {
                        Worklocation = ($(this).attr("ows_Worklocation"));
                     s = ..... (display all in table format)
                  $("#resultTable").append(s);
                  i++;
    Thanks and Regards Rahul Dagar

Maybe you are looking for

  • Splitting Rule & Instructions in Scheduling Agreement

    Hai Guys, I am creating a splitting rule and assign it to the instruction in the customizing for Scheduling afgreements. But this stands alone as I couldnt find any place to assign this instruction - say Doc type or schedule line category Can somebod

  • FOR ORACLE XML TEAM -- XML TOOLS BUG FIXING POLICY/RESPONSE TIME/RELEASE SCHEDULE

    Hi, The release of Oracle XML tools and utilities by Oracle XML team is a significant milestone and is definitely appreciated. However, as part of a large organization, some factors need to be clarified before using these utilities in production soft

  • XML SQL Utility (XSU) in BPEL process

    Is it possible to use XML SQL Utility (XSU) in BPEL process? I would like to generate XML from a query.

  • External purchase order release date is not calculated

    In our live system, when creating external purchase orders from tasks within work orders, system does not calculate the release date of purchase order as explained in the documentation (planned delivery date - planned delivery time). Strangely, when

  • How do I fix an "Insane Object" Error ?

    I am receiving an "Insane Object" error when I load one partuclar VI. Is there any way to "copy" the diagram to a new file to fix the corrupted Object ? I am using Win N/T 4.0 and LabView 6i. The module was originally designed using LabView 5.X and t