Formatted Search and "copy To" Function

I have created a Formatted Search on the document field series (delivery) that picks up the country from BP and sets the right series. This all works fine but something else is also happening:
When I use the "copy To" Function in the base document (order) the formatted Search in the target document (delivery) will not be executed and therefore the series will not be set correctly. Is this a bug? Exists a workarraound?
I use the version 2007 PL08.
Thanks for your help
Gert

I still think it's a bug/flaw. We got the run around from support with suggestions to trigger on some other field like the suggestions above. I'm working on a client on 2005a SP01 PL42 and I've seen the issue even earlier than this patch. We ended up handling this as part of a small add-on because this functionality had to work reliably and we could not depend on the users to always use the Copy From. Plus, you can save a lot of time by having an alert with let's say orders that are ready to be delivered or invoiced, and all the user has to do is drill into the alert to open the order and copy to invoice, rather than figuring out the customer code on the invoice to use the copy from button.
You could open a ticket... maybe you'll have better luck. I still think this functionality should be consistent on either direction of the flow.
Liviu

Similar Messages

  • Formatted Search and Item Events

    Hi,
      I am having a huge problem with using Formatted Search and Add-Ons.
    On the Sales Order Form I have a Formatted search Setup on the Customer Reference Number, it is set to Auto-Refresh when the CardCode changes.  This is the only Formatted search on this form and it works fine.
    However, when I run my Add-On, and enter an Item Code it takes about 30 seconds to display the Item Description. In tracing my Add-On it appears to call the Item Event et_GOT_FOCUS on the Item Code Column I just entered over 50 times.  I don't use other events, but for testing I did turn on all events and the only other event it occured with was et_LOST_FOCUS.
    If I turn off my Add-On or turn off Auto Refresh on the Formatted search everything runs as it should.
    I figure the Auto Refresh of the Formatted search has something to do with this, but I need to have this turned on.  Another thing is that it only seems to call this event when Before Action = false, It does not seem to be called on Before Action = True. 
    Can I disable the Formatted search temporarily from within my add-on or is there something else I need to do to keep this from happening.
    Thanks for Any Help
    Paul

    Hi Alfredo,
      Thanks for the suggestion, that sounds like it might be what I am looking for. But I am confused on trying to visualize how this would work. Do I need to duplicate the entire logic that Business One already does or are there some functions in the DI/UI that I can call that does the functions.  Since I am doing this from a System(Sales Order) not User Defined Form, does that change anything.  I did see the FormattedSearches Object to add a Formatted Search through the DI, but that seems like it will just create the Object and not help me execute it from my Add On.
    Is there some code snipits you could provide or get me going in the right direction on how to implement the formatted searches from within my Add-On. 
    Thanks Again,
    Paul

  • Search and replace string function

    Hello, I am using the "search and replace string" function and it does nt seem to work consistently for me.   I am using it in a situation where I am taking an array of strings, converting this into a spreadsheet string then deleting all of the commas.  Has anyone experienced the same behavior? I have searched through other posts and found other simular faults but none of the fixes worked for this. I can post the code it needed.
    Thanks,
    Andrew

    I agree that commas are often not desirable, especially if your software should also work in countries where comma is used as a decimal seperator.
    Where are the commas coming from? Does (1) each element of the original array have one (or more), do you (2) use comma as seperator if you convert it to a spreadhseet string?
    For (1), you might just strip out the comma for each element right in the loop. For case (2) you would simply use a different separator to begin with, of course.
    Btw: you are abusing a WHILE loop as a FOR loop, because you have a fixed number of iterations. Please replace it with a FOR loop. If you use a FOR loop, LabVIEW can manage memory much more efficiently, because it can allocate the entire output array before the loop starts. For While loops, the total number of iterations is not known to the compiler. (Of course a real program would also stop the loop if an error occurs. In this case you would need to stay woth the WHILE loop. )
    Do you have a simple example how the raw array elements look like. How many commas are there?
    LabVIEW Champion . Do more with less code and in less time .

  • Preventing PrintScreen and Copy+Paste Function on Portal Pages

    Hi,
    There are some javascript codes available over internet which can be implemented on ordinary web pages to prevent PrintScreen and Copy+Paste functions.
    We tried to implement the same codes by putting into MasterHead but no success.
    We need to know if this is not possible, if possible how?
    regards

    Download and run Leopard Cache Cleaner and do a deep cleaning of all the cache files.  reboot.

  • Formatted searches and SQL functions

    Hi,
    I have made test to call a SQL function in a formatted search. It seems to be impossible?
    Is it right or not ?
    Thanks for your help.

    You don't need to put a semicolumn, and don't have to put quote's around sbo variables (from a form)...
    <b>Example</b>[code]SELECT ItemCode, ItemName FROM OITM WHERE WhsCode = $[$38.1.0] AND SellItem = 'Y' AND OnHand > 0[/code]
    Hope it helps...

  • How to get numeric result from 'search and replace' string function

    hii
    i am using search and replace function to get output.my output is of form ' *X0123.3 ' .here i am replacing the term *X01 with space because i need only 23.3 as a result.but i am unable to get that out in the output indicator.i used lot of functions like string to number and so on but i am getting output as zero .can you please suggest me wt to do.i am attaching a copy of my file.
    Attachments:
    Untitled 1.vi ‏25 KB

    Your problem is the fact that you are converting it to an integer, thus loosing the fractional part. You need to use "Fract/Exp String To Number" instead and create a DBL so yor data is 23.3 instead of 23.
    You also don't need to manipulate the string if the initial part is of constant lenght. Just use the offset input as in the figure below.
    Message Edited by altenbach on 07-31-2006 07:02 AM
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    ToDBL.png ‏2 KB

  • Issue with Formatted Search and Sales BOM

    Good afternoon,
    One of our customers uses a Formatted Search on the Sales Order row to lookup the Project Code stored against the Item.
    This works very well, except for when a Sales BOM is selected.  I assume the FS lookup is working correctly, but the screen is quickly refreshed to list all the component items related to the BOM.  This process appears to overwrite the contents of the Project field.
    We wish to keep this functionality, but retain the FS lookup results in the Project column.  Could the order of the process be changed so that the BOM refresh occurs prior to the FS lookup.
    Thanks
    Greig
    Edited by: Greig Burrows on Jul 21, 2010 5:57 PM

    Hi,
    For metadata, which metadata are you not seeing? Are they custom properties within the PDF, and have you checked if you have crawled properties matching these?
    I know there's issue with last modified on PDF's (http://sharepointfieldnotes.blogspot.no/2013/05/understanding-and-getting-sharepoint.html) 
    Thanks,
    Mikael Svenson
    Search Enthusiast - SharePoint MVP/MCT/MCPD - If you find an answer useful, please up-vote it.
    http://techmikael.blogspot.com/
    Author of Working with FAST Search Server 2010 for SharePoint

  • Formatted Search and UDF

    Hi all,
    I have an issue with a formatted search.
    My intention is to update the field RDR1.vatgroup with a value set in a UDF on the sales order.
    I have not been able to make it work, and If someone have a quick help idea it would be nice.
    I have defined a userdefined field called u_avgcode. This is linked to some valied values for field like U1,U2,U3. The structure is 1=U1 and 2=U2 and so on.
    <u>When I change a value here I would like to update the whole salesorder (all lines) with this value replacing the Tax code (RDR1.Vatgroup).</u>
    The formatted search is like this on the RDR1.vatgroup:
    if (Select $[$ORDR.U_avgcode]) = 'U1'
    begin
    declare @newcode as nvarchar(25)
    set @newcode = U1
    select @newcode
    end
    I have set 'Auto refresh' when the UDF field changes.
    I can't make this work properly, any ideas..
    I have also tried if (Select $[ORDR.U_avgcode]) = 'U1' with no luck.
    regards
    me

    Thanx for input Juha.
    I have made a solve to the problem, and it works fine now.
    My FS is like:
    declare @newtaxcode as nvarchar(2)
    if (Select $[ORDR.U_avgkode]) = 'U0'
    begin
    set @newtaxcode = 'U0'
    select @newtaxcode
    end
    I set this FS on my taxcode, and refered to my UDF when it changed. Works fine, but the screen is a bit flashy and "slow" when updating 50 order lines in a sales order.
    I am now able to update many lines in a matrix with a single select from a UDF.
    <u>Thanx to Ibai too, for helping me on track.</u>
    One issue that also was a key element is to refer to the defined values for the UDF.
    I had set like this:
    code description
    1    U0
    2    U1
    3    U2
    I changed this too
    code description
    U0   U0
    U1   U1
    U2   U2
    regards
    me

  • Help with Spotlight search and "Copy to this computer"

    I am trying to gather files from clients to my computer (admin). I use the Spotlight Search to find them. They show up in the list results, but for some reasons, I can't copy them to my computer. When I click on the file in the results list, I can't see the path and the file won't copy. I noticed that the files I can't copy are usually stored in users accounts on the client computer. Files that are stored ouside of the "Users" folder on the client computer, I can copy. It also depends on whether the account that "owns" the file is logged in or not. If it is logged in, I can see the path of the file and I can copy it to my computer. If the user is not logged in, I can't see the path and I can't copy.
    I already posted several times about this.(post 3
    post 2
    post 1) and I can see that my last post is getting no reply and is slowly getting buried...
    I am very discouraged because ARD was very expensive for our school to buy, and we bought it mostly for being able to easily gather files from students' computers to the admin computer. I never managed to make it work.
    Our school is in West Africa and there is no support available here. Is there any other place where I can get support for this?
    Thank you for your help.

    I see what you are saying, I had never looked at it this way. Dragging to the desktop doesn't work either. However, like I said, it works fine when the user is logged in. You see, we bought ARD primarily to be able to gather students' files easily to the teacher's computer. My question then is, how do you gather files from client computers? I already tried with the File Search tool but I found that ARD would not find files that actually exist on the client computer.
    Thank you for your reply,
    A desperate ARD user.

  • Search and Replace String Function replaces line feeds when I only want spaces replaced?

    I need to replace every instance of a space or series of spaces in a multi line string with commas (or tabs) so I can dump it into a spreadsheet.
    I am using the regular expresion [\s]+ and it works but it is also replacing the end of lines (\r\n) too.
    How can I make it replace the spaces but leave teh end of lines intact?
    Solved!
    Go to Solution.
    Attachments:
    replace.vi ‏6 KB

    Right click on the search string and change it to '\' Code Display. Enter the space character (\s) correctly - you've got \\s right now.

  • Asking about N79 Browser and copy/paste function

    I think the browser that is in the N79 is pretty darn good! I wonder what is it based on? Is it Safari or Opera? Or is it Nokia's own?
    The only thing lacking is that I cant copy and paste stuff. Lets say I copy a link from a SMS sent to me, how do I paste it at the address bar or at a forum like this?
    Nokia N79 8GB
    SW Version: 11.049 RM-348

    i think it is safariesque one. you might be able to copy and paste by using your hash button or #, hold it down and while holding use navi pad to hilight the area you want to copy and paste. i am not sure if this works on n79 but it does work on other n series models. try this. if it does not work i am sure that someone will come up with the right solution for you.
    Message Edited by radical24 on 05-Jan-2009 09:21 PM
    You know what I love about you the most, the fact that you are not me ! In love with technology and all that it can offer. Join me in discovery....

  • Search and replace string formatting

    Hi,
    I am trying to do a search and replace formatting of a string.
    In the example I am looking for string "PASSED" but it must also start with usbflash and some number + PASSED.
    I can't get the format to have a number from 1-99. The number of replacements should add up to 6 in this case. I have tried with \d for any number, and I also tried [1-99].
    Solved!
    Go to Solution.

    Right click on the Search And Replace String function.  There is an option to use Regular Expressions.  Then give this a try.
    EDIT: You will need to set the Replace All input to TRUE.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines
    Attachments:
    Match Pattern.png ‏12 KB

  • Formatted search - Copy Business Partner address of active screen

    Hello,
    I am using a credit card addon that creates a tab in Business Partner Master Data labeled "Credit Card". On this tab, credit card information is stored for the business partner. This includes CC Name, CC Type, CC Cardholders Name, CC Number etc.
    Credit cards are added on this tab, similar to an address being entered on the address tab. You have to click "Add New"
    The business process is the following:
    - CSR receives call from random customer (no BP data exists)
    - CSR creates new BP
       - Enters address for Bill to and Ship to.
       - We are required by this addon to enter address on credit card for a third time. This is where we would like to streamline the process by creating a formatted search to copy the Bill to information from the Address tab, to the address information on the credit card tab.
    This is where my dilema is. I am not sure how to capture the active record's information and bring it over to the credit card tab.
    Does anyone have an recomendations?
    John Sefton

    From what I have noticed.  You can create individual FMS and place them in the respective fields in the CC Tab.  I could only test this on the BP Remarks and they seem to work.
    For Address Name
    SELECT $[$178.1.0]
    For Street
    SELECT $[$178.2.0]
    For Block
    SELECT $[$178.3.0]
    Please enable system information from the VIEW menu for the other field co-ordinates

  • Problem with activation of Formatted Searches

    There seems to be an error in the activation of formatted searches in SAP B1.
    The following is an example to demonstrate the real situation with a minimum of complexity.
    1. We have defined 2 user defined fields, U_trigger and U_target, in the title area of documents. Both are defined as alphanumeric fields with standard length 10 and some predefined values.
    2. For sales orders we have defined for UDF 'target' that a formatted search 'getTriggerValue' is activated on changes of UDF 'trigger'.
    3. The formatted search 'getTriggerValue' reads the value of UDF 'trigger' and writes it to UDF 'target':
    DECLARE @triggerValue AS nvarchar(10)
    SET @triggerValue = $[ORDR.U_trigger]
    SELECT @triggerValue
    When we add a new document to the database, i.e. the document is in "button-mode" = 'add', there are no problems with the activation of the FS on field 'target' when the value of field 'trigger' is changed!
    After a document is already written to the database and is later displayed on the screen again, the document is in "button-mode" = 'OK'. In this situation the FS on field 'target' IS NOT ACTIVATED when the value of field 'trigger' is changed, i.e. the value of 'trigger' is not copied to 'target'.
    After this first change the document is now in "button-mode" = 'update'. If we now change the value of field 'trigger' a second time the FS on field 'target' is activated an the value is copied from 'trigger' to 'target'.
    If we define the FS of field 'target' with option 'Refresh Regularly' the FS is activated after the first change of field 'trigger' as expected.
    But we CAN NOT USE THIS OPTION AS A STANDARD SOLUTION for our problem, since some fields and their FS can not work with this option and need the standard option 'Display Saved Values' set. Otherwise some fields yield wrong values, since they are working not only with constant predefined values as in the simple example above, but with dates which are set by GETDATE() in the FS, e.g.
    Is this behaviour a bug of SAP (FS is not activated even if the value of the refresh field is changed)?
    If not, what is the idea behind this behaviour?
    And how can I get around this behaviour?
    Thank you for your support!
    Frank Romeni

    Hello Suda!
    Many thanks for your answer!
    Perhaps my explanations are a bit in confusion.
    The example in my question is just to demonstrate the behaviour of the formatted search with option 'Display Saved Values' set, i.e. in a document that is already saved to the database, only after the second change the formatted search is activated.
    I am aware that with the simple formatted search that I have shown as an example everything works fine with the option 'Refresh Regularly'.
    But what is the meaning to activate the formatted search only after the second change when option 'Display Saved Values' is set?
    The reason why we can't use option 'Refresh Regularly' is that in our real application not only constant values are copied from 'trigger' to 'target'.
    Let me give you an example which approaches the real situation more than the first example:
    DECLARE @trigger AS nvarchar(20)
    SET @trigger = $[ORDR.U_trigger]  -- U_trigger / UDF 'trigger'
    DECLARE @save AS datetime
    SET @save = $[ORDR.U_date]        -- U_date / UDF 'date'; save current date
    IF @trigger = 'getDate'
      SELECT GETDATE()
    ELSE IF @trigger = 'getDateConst'
      SELECT '01.01.2008'
    ELSE IF ...
    ELSE
      SELECT @save                    -- no value in @trigger to change date ==> reset
    Option 'Display Saved Values' set: formatted search is activated only after the second change of value of UDF 'trigger'. This is not acceptable!
    Option 'Refresh Regularly' set: Suppose the 'trigger' is set to 'getDate'. The actual date, e.g. 25.06.08, is displayed in UDF 'date'. The document is saved to database. When the document is fetched again on the next day, the formatted search is activated immediately without the change of any values, i.e. 'trigger' still is set to 'getDate'. This is evaluated in the formatted search and the function GETDATE() is called and the now actual date, 26.06.08, is written to UDF 'date'. This is wrong!
    I hope that the new example shows why we can't use option 'Refresh Regularly'!
    We need no regularly refreshed value of UDF 'date', we need an activation of the formatted search only when the value of UDF 'trigger' changes. But why is it activated only after the second change when 'Display Saved Values' is set?
    Thank you for further support!
    Frank Romeni

  • Search and replace string problems

    Hi to all,
    I have problem with Search and replace string function. It shows me a wrong Value (Number) from 15 to 100 is everything OK (15=0, 30=1, 45=2, 100=3), but after 100 ........
    Take look in VI and if you have any ideas post them please
    THX
    Igor 
    Attachments:
    indexing.vi ‏10 KB

    there will be no 15115 string, but 15 or 115 and 15 is 0, 115 is 4. Anyway, i have changed string input format and now its working THX for your help
    Attachments:
    indexing.vi ‏10 KB

Maybe you are looking for

  • Display problem in Nokia XL

    I purchased a Nokia XL last month (Purchased online). After a normal usage of almost 15 days, during office hours, the Display got white vertical lines. If you lock the screen and unlock after some time , the display looks clear, after some time the

  • JMS C API library for AIX

    Does anyone knows where I can locate the library for AIX without having to install Websphere or MQ?

  • Photoshop CC is all in Caps. How do I fix this?

    As of this morning my Photoshop CC is putting everything in Capitals. My Caps is off and the other programs to recognize it. It was fine yesterday it simply started doing it this morning. What should I do?? I have Windows 7. Thanks in advance!

  • Dhcpcd consumes a lot of CPU when wireless switch is off

    If I turn my hardware wireless switch off, dhcpcd goes crazy and uses a CPU core completely. Checking with htop, the command being run is: dhcpcd -4qL -t 30 wlp13s0 where wlp13s0 is my wireless interface. I'm using netctl-auto to connect to the netwo

  • I need to take tracks from a CD-R for new CD-R disks

    Disk Utility says the disk is "read only" and when I insert it, it says "you have inserted a disk containing no volumne that Mac OS X can read" I burned the disk with my school's CD burner, and NEED to edit the disk at home on my computer for some ve