Golden arrows in a formatted search

Hi
I have a simple query that works fine and returns the golden arrows so I can drill into the documents.
I then created a header UDF on the sales order and put a formatted search on that field.  The formatted search is set to use that query with no auto refresh. So the user will come to that field and hit Shift F2.   That also works fine the problem is when the results pull up there the golden arrows are no longer there.  Is it possible to retain the arrows in this situation?
Thanks.

Jared,
This is a shortcoming with Formatted Searches where the link arrow will be lost. 
I am not aware if there is a way to retain the link arrow.
Suda

Similar Messages

  • Is there a way to NOT have the data from a formatted search highlighted

    Hi all,
    I have a formatted search that returns a big chunk of data, some comments that are then added to. When the fs is fired, it returns the data, but all of the data is highlighted so when the user starts typing they overwrite the data that was just returned. I know they could just hit the right arrow key or click their mouse at the end, but they don't do that half of the time. I also know they could use ctrl-z or undo when they do this, but they don't do that either. It would just be nice if they could fire the fs and when the data is returned, the cursor would be at the end of the data.
    Any thoughts?

    I don't think there are any options for you to change default system behavior like this.  What you may do is to change your FMS logic to get only one record if possible. Post your query here if you can.
    Thanks,
    Gordon

  • Formatted Search for Sales Order

    Hi,
    I setup a formatted search in Sales Order unit price field.
    Condition required:
    If Sales Order is copied from Sales Quotation, unit price remains as per Sales Quotation unit price, else formula to calculate mininum selling price appllies.
    Here's the query:
    DECLARE @BASE_ENTRY INT
    DECLARE @PRICE NUMERIC(19,6)
    SET @BASE_ENTRY = ISNULL($[$38.45.0],0)
    SET @PRICE = $[$38.14.0]
    IF @BASE_ENTRY = 0
    BEGIN 
    SELECT T0.[AvgPrice]*(1+T0.[U_SPFactor])
    FROM OITM T0
    WHERE T0.[ItemCode]=$[$38.1.0]
    END 
    ELSE 
    BEGIN
    SELECT @PRICE
    END
    l have no issue if the Sales Order copied from Sales Quotation, however when enter the Sales Order manually the formatted search having error message:
    1). [Microsoft][SQL Server Native Client 10.0][SQL Server]Error converting data type nvarchar to numeric.
    FMS execution failed on field '' with query name 'Get Minimum Selling Price (SO)'
    Looks like my query has error...

    Hi ,
    Try this below query and let me know your feedback,
    DECLARE @BASE_ENTRY INT
    DECLARE @PRICE NUMERIC(19,6)
    SET @BASE_ENTRY = ISNULL($[$38.45.0],0)
    SET @PRICE = $[$38.14.Number]
    IF @BASE_ENTRY = 0
    BEGIN
    SELECT T0.[AvgPrice]*(1+T0.[U_SPFactor])
    FROM OITM T0
    WHERE T0.[ItemCode]=$[$38.1.0]
    END
    ELSE
    BEGIN
    SELECT @PRICE
    END

  • Help needed for Formatted Search

    Hai Experts,
    would like to ask you some clarification on Formatted Search. In the
    query I found $http://$44.2.1 given in the criteria part.
    In some articles it was mentioned that, the 44 meant for the table
    connected with the form and 2 is field index and so on.
    Can you please explain how to find out those numbers and field index.
    I need to work out planty of FMS to fetch data into
    UDF automatically based on user input.
    Regards
    Anand

    Hi Anand,
    You may check these threads first:
    Re: Vendor default GL FMS help
    Re: Runtime data calculation
    Thanks,
    Gordon

  • Formatted Search - Restrict to Only One Customer on Activity Window

    Hello Experts:
    Am trying to create a formatted search to provide a suggested RMA Number on the Business Partners > Activity window in a UDF.
    While in Activity, the user should get a list of ONLY the one customer they are currently working with.  So if C0001 is being used in the Activity window, the list should show all suggested RMA numbers just for that customer of C0001, not any other customer. 
    When I use the following it shows all customers.
    --FMS 6BP Automated RMA Number
    SELECT
    T1.[CardCode] + ' - ' + ltrim(str(T0.[ClgCode]))
    FROM OCLG T0
    INNER JOIN OCRD T1
    ON T0.CardCode = T1.CardCode
    ORDER BY
    T1.CardCode Desc,
    T1.[CardCode] + ' - ' + ltrim(str(T0.[ClgCode])) Desc
    When I put in WHERE T1.CardCode = $[$ 9.0.0 ] in the right place it shows nothing...
    Any ideas on how to make only the one current customer in Activity window appear in the list???
    Thanks in Advance - Zal

    Thanks Istvan and Gordon...
    Istvan - that is the same as my SQL - just do not know how to show the $[$... correctly in this forum - it always goes to that http thing.
    Gordon - tried to use your SQL but it gave me an error of "Internal Error (-1003) Occured [Message 131-183] every time I tried to click on the magnifying glass.  However, due to your last line in the SQL it gave me an idea that eventually they were OK with - namely, the highest number to the top of T0.ClgCode...
    Thanks again guys - Zal

  • Formatted Search for Delivery Date field in SO not working

    Hi All
    Can anyone help me as to why my formatted search is not working?
    I am currently using SAP B1A SP01 Patch 19.
    I have created a user query as follows:
    SELECT $ [$10.0.DATE] + 5
    When I add this to the delivery field within the Sales Order and bring through the saved query which I set to auto refresh when the Posting Date field changes and to Display Saved Values it doesn't work.
    Any ideas?
    Thanks and best wishes
    Gail

    HI Gail,
    If I am not mistaken you want to add days to the posting date...if that is so then try this out:
    SELECT $[ORDR.DocDate.DATE]+5 From ORDR T0 For Browse
    Set The indicator to Auto Refresh when the fields change
    Nagesh

  • Formated search

    Hi all,
    In Dunning Wizard, step 5, I want to make a formated search to select only some documents. The Query I need is complicated so I tried to do Select ' '  or Select 'N' or Select 'Y' in all this examples when I do "Shift F2" nothing happens. Even with auto Refresh nothing happens. Perhaps Formated Searchs dont work on CheckBox Fields.
    How can I solve this?
    Any help will be apreciated.
    Best regards,
    José Silva
    Edited by: José Silva on Jul 16, 2010 12:45 PM

    HI SILVA,
    plz paste ur query ...
    then we update in query.
    Thanks,
    JRAJPUT

  • How to club 2 queries in one formatted search query

    Hi All,
    I have inserted a formatted search in the stock transfer for chnaging the 'From warehouse' based on series.
    I have written following query for same,
    SELECT $[$18.1.0]='08' WHERE $[OWTR.series] ='46'
    It is working Fine
    I want ot use same concept for selecting other based on other warehouse
    e.g
    SELECT $[$23.5.1]='02' WHERE $[OWTR.series] ='45'
    But I am not able to club these queries on one formatted search query can anybody help to group it in one formatted search query....
    Thanks and Regards,
    Atul Joshi
    Edited by: Atul Joshi on Dec 23, 2008 5:20 PM

    Hi Atul,
    You could define the quey like this
    SELECT
    CASE
             WHEN $[OWTR.series]='46' THEN '08'
             WHEN $[OWTR.series]='45' then '02'
    end
    from OWTR
    Regards,
    Vijay kumar
    SAP Business One Forums Team

  • Formatted Search with multiple conditions

    Hi experts,
    I am using a formatted search to update the Unit price in Sales Order. Query mentioned below.
    Select      T0.ItemCode,
                   T0.ItemPrice,
    From        ITM1 T0 inner join OPLN T1 on T0.PriceList = T1.ListNum
    Where      T0.ItemCode = '[$38.1.0]'
         and     T1.u_location = '$[$38.2000002049.0]'
    But while adding Item on Sales Order, it is showing error, Incorrect Syntax near  '$[$38.2000002049.0]'.
    Note: I have added an UDF named U_LOCATION( Alphanumeric, 10) in OPLN and selecting location in Price List through another FMS which is working perfectly.
    Please help in this regards.
    Thanks in Advance.
    Nabyendu

    Hi Nabyendu Saha..
    You said the u_location as alphanumeric the why you have given 0 for the field type in the FMS...
    Select      T0.ItemCode,
                   T0.ItemPrice,
    From        ITM1 T0 inner join OPLN T1 on T0.PriceList = T1.ListNum
    Where      T0.ItemCode = '[$38.1.0]'
         and     T1.u_location = '$[$38.2000002049]'
    or
    Select      T0.ItemCode,
                   T0.ItemPrice,
    From        ITM1 T0 inner join OPLN T1 on T0.PriceList = T1.ListNum
    Where      T0.ItemCode = [$38.1.0]
         and     T1.u_location = $[ordr.u_location]
    Try the above , hope helpful
    Regards,
    Kennedy

  • Auto-refresh formatted search is not working properly...

    I have created a User Defined Field in Item Master named: FLD1 (Alphanumeric 30)
    Then I have created a User Defined Field in Marketing Documents Row: FLD1 (Alphanumeric 30)
    Now I want as follows u2013
    In Marketing Documents if I select any Item, the value saved in FLD1 in the Item Master will come automatically in the Field FLD1 of the Marketing Document.
    I did as follows u2013
    I have created a formatted search for the above marketing document (in Sales Quotation) for the field FLD1 as follows u2013
    Option: Search in Existing User-Defined Values according to Saved Query
    Query: GetItemFLD1 (SELECT $[OITM.U_FLD1] )
    Option: Auto Refresh  -
    When Exiting Altered Column
    Field: Item Description
    Option: Display Saved User-Defined Values
    But the above is not working automatically --- after saving the document if I click on the Formatted Search Marker then the value comes otherwise not.
    Can any one please explain the reason behind?
    for SAP B1 2007 B SP0 PL7
    Edited by: Narottam Das on May 5, 2009 1:53 PM

    Check this thread for explanation of Syntax of FMS:
    [Refer to Sales Order From Payment Means;
    Refer Suda Sampath  reply that explains clearly

  • Formated Search: Auto refresh with two conditions.

    Hi,
    I've created a Formated Search in one of my column.
    I defined my formated search as :
    - Auto refresh "When Exiting Altered Column" Item No.
    - Display Saved Values.
    Now how can I make it Auto refresh with two conditions?
    - Auto refresh "When Exiting Altered Column" Item No.
    And
    - Auto refresh "When Field Changes" Customers/Vendor Code.
    - Display Saved Values.
    Is there any way to make it work?
    Thanks In Advance.
    Bruce.

    Hi Bruce,
    You could try this trick.
    You need to execute SELECT1 in Col1 when Item No. column is altered or the Customer code is changed.
    Then, in the Item No. column asign a new Formatted Search which selects the Item No. column value (Its value) when the Customer code is changed.
    And in the Col1 asign a formatted search that acts when the Item No. column is altered.
    I think this should do the trick.
    Let us know if works.
    Regards,
    Ibai Peñ

  • How to display an error message after validation in Formatted Search?

    Hi SBO experts,
    if an error is detected on validation in a Formatted Search, how to display an error message to the user entering the data?
    Thanks & Regards,
    Raghu Iyer

    i created a formatted search query & attached it to the field 'Quantity' at Line Item level in Sales Order screen. just for testing purpose, i eneterd the following code lines in the query validating 'Quantity'
    if $[$38.11.0] > 50
    begin
    select @error = 1
    select @error_message = 'Vendor code cannot begin to X sign.'
    end
    the system throws the error : Internal error (8180) occurred [Message 131-183]
    actually, i need to display an error message to the user if Quantity is not in multiples of the OITM.SalFactor2
    if $[$38.11.0] % (SELECT T0.[SalFactor2] FROM OITM T0 WHERE T0.[ItemCode]  = $[$38.1.0]) > 0
    begin
    select @error = 1
    select @error_message = 'Error in Quantity.'
    end
    but, this expression to get the remainder itself seems to have some error
    $[$38.11.0] % (SELECT T0.[SalFactor2] FROM OITM T0 WHERE T0.[ItemCode]  = $[$38.1.0])
    i guess, % operator is used for modulo (to find the remainder of one number divided by another.) ? am i right ?
    Regards,
    Raghu Iyer

  • How do i deduct dates using formatted search with a query

    Hi Experts,
    I would like to know how to get the date difference using query and formatted search. Below are the details:
    1. I have created 3 Header UDF's composed of 2  Date type fields and 1 Quantity field.
    2. The first one is for the Original Date, the next one is for the Payment Date and the Last one is for the No. of Days Lapsed.
    What I would like to do is automatically compute for the number of days from the original date to the payment date. What query syntax should i use to achieve this?
    Thanks,
    Yvette

    Hi Yvette,
    It should be something like;
    DATEDIFF (day, T0.[createDate], T0.[closeDate] ) as 'Aging'  This is just an example. You may add your udf's instead of dates.
    Thanks,
    Joseph
    Edited by: Joseph Antony on Jul 2, 2010 1:53 PM

  • Golden Arrow in a query

    HI all!
    I'm doing a query like 'Sock Posting List' beacuse my customer wants to view initials balance from any date.
    For example, in 'Stock Posting List' I cannot select from/to date and view Initial Balance:
    ItemCode   Date        Document      Qty       Balance
    1531        01/07/09   SI 225                 5               5
    1531        10/07/09   IM 101                10            15
    1531        15/07/09   IM 102                 3             18
    If I select a date from 10/07/09 to 15/07/09 my query shows:
    ItemCode   Date        Document          Initial Balance       Qty       Balance
    1531        10/07/09   IM 101                      5                      10            15
    1531        15/07/09   IM 102                    15                        3            18
    The query is OK, but I don't know how to show the golden arrow in document like 'Stock Posting List'.
    This is my query for 'Document' field:
    SELECT ..., CASE T0.transtype WHEN 59 THEN 'SI ' WHEN 67 THEN 'TR ' ....END + T0.base_ref ... FROM ...
    Can anybody helps me?
    Regards,
    Antonio Ramos

    Yes, many querys needs 'FOR BROWSE' at the end and it shows the golden arrow, but not for this.
    The problem is with the field that I need to use. This field is composed by two parts, the second is the field OINM.transtype and the first is a word with two letters, 'IS', 'IM', ..., like Document in 'Stock Posting List'.
    If I can not find the solutions may be I'll do with SDK.
    I keep waiting.
    Thanks,
    Antonio Ramos

  • Upgrade to B1 9.1 - Golden Arrows Disappear

    When we upgraded from 8.82 to 9.1 some of the drill-down (golden) arrows disappeared from the query results.  Why are they still present in some columns but disappeared from others?  The query below worked perfectly before the upgrade...
    SELECT
                      a.[U_ses_EmpAsgn] 'Assigned'
                  ,   a.[DocDueDate] 'B/L Date'
                  , T0.[DocNum] 'PO#'
                  , T1.[DocNum] 'Return'
                  , T2.[DocNum] 'SO#'
                  , T3.[DocNum] 'Partial'
                  ,   a.[NumAtCard] 'Ref#'
                  ,   a.[CardName] 'Company'
                  ,   a.[U_TRC_BOL] 'B/L#'
                  ,   a.[Comments] 'Note'
    FROM
    SELECT
              T0.[DocNum], T0.[JrnlMemo], T0.[CardName], T0.[NumAtCard], T0.[DocDueDate], T0.[U_TRC_BOL], T0.[U_ses_EmpAsgn], T0.[Comments], T0.[ObjType], T0.[DocEntry] FROM OPOR T0  WHERE T0.[DocStatus] = 'O' and ISNULL(T0.[U_TRC_BOL],'') <>''
    UNION
    SELECT
              T1.[DocNum], T1.[JrnlMemo], T1.[CardName], T1.[NumAtCard], T1.[DocDueDate], T1.[U_TRC_BOL], T1.[U_ses_EmpAsgn], T1.[Comments], T1.[ObjType], T1.[DocEntry] FROM ORDN T1  WHERE T1.[DocStatus] = 'O' and ISNULL(T1.[U_TRC_BOL],'') <>''
    UNION
    SELECT
              T2.[DocNum], T2.[JrnlMemo], T2.[CardName], T2.[NumAtCard], T2.[DocDueDate], T2.[U_TRC_BOL], T2.[U_ses_EmpAsgn], T2.[Comments], T2.[ObjType], T2.[DocEntry] FROM ORDR T2  WHERE T2.[DocStatus] = 'O' and ISNULL(T2.[U_TRC_BOL],'') <>''
    UNION
    SELECT
              T3.[DocNum], T3.[JrnlMemo], T3.[CardName], T3.[NumAtCard], T3.[DocDueDate], T3.[U_TRC_BOL], T3.[U_ses_EmpAsgn], T3.[Comments],  T3.[ObjType], T3.[DocEntry] FROM ODLN T3  WHERE T3.[DocStatus] = 'O' and ISNULL(T3.[U_TRC_BOL],'') <>''
    a
    LEFT JOIN OPOR T0 on a.[DocEntry] = T0.[DocEntry] and a.[ObjType] = T0.[ObjType]
    LEFT JOIN ORDN T1 on a.[DocEntry] = T1.[DocEntry] and a.[ObjType] = T1.[ObjType]
    LEFT JOIN ORDR T2 on a.[DocEntry] = T2.[DocEntry] and a.[ObjType] = T2.[ObjType]
    LEFT JOIN ODLN T3 on a.[DocEntry] = T3.[DocEntry] and a.[ObjType] = T3.[ObjType]
    FOR BROWSE

    Hi Nagarajan,
    according to the Note (2037350 - When you run a query in the Query Generator, you find that the link arrow in the Document Number (DocNum) column is missing.) that I mentioned in my earlier Reply, SAP states that this behaviour is an application error and is fixed with 9.0 PL14.
    Now, I have not had any time to verify that myself. Also, I don't know which 9.1 PL Alicia is using (if in her PL the 9.0 PL14 fixes are included) but based on the details from the Note, it should be no problem for Alicia to test and verify it. Using the DocEntry was also mentioned as a workaround in the Note, so again Alicia must know about it by now.
    Kind regards,
    Sonja

Maybe you are looking for

  • Can two EARs bind the same ejb?

    Hello, Is it possible to use the same entity bean from different EARs? I have an entity ejb for the UUP and I want to use the same uup from two different applications, but when the second application is deploying, throws the next exception: <BEA-1492

  • Need help in my assignment, Java programing?

    Need help in my assignment, Java programing? It is said that there is only one natural number n such that n-1 is a square and n + 1 is a cube, that is, n - 1 = x2 and n + 1 = y3 for some natural numbers x and y. Please implement a program in Java. pl

  • EBS r12 (12.0.6) giving slow response to clients.

    Hi, Anyone can help me to findout the bottleneck of slow response of EBS r12. We r using oracle 10g (10.2.0.3) and r12 (12.0.6). its urgent...plz. thx.

  • TS3276 trouble scrolling in Mail

    I got a new MacbookPro with Mt. Lion, and the Mail program (v6.5 came with it) no longer shows scroll arrows on the scroll bar (used to be at the bottom).  I need them--scrolling with my mouse goes through too many at once. Can anyone tell me how do

  • Add "Tran. Block Reason" to search criteria's for Accounts

    Hi experts, I want to be able to search for all accounts with or without a blocking reason, the field I want to use is the standard field "Tran. Block Reason", see picture below: and the field should be available in below search area: The problem is