Skip to Content
author's profile photo Former Member
Former Member

Classic - Formatted Search next BP-ID

Is it possible to check if an ID has been alreday filled in?

I have a formatted search, but it is acutalised automatically when i change the bp-type. but i don't want that the ID is changed when i change the type from lead to customer.

is there any possibility?

Great, Philipp

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 31, 2008 at 12:05 AM

    Hi,

    I had the same issue. I set up a query and FMS to automatically fill in the BP code when I vacated the Group field. Whenever the Group was changed, the BP code would change. (Note, this should also work with the name field)

    After playing around, I came up with this scheme which seems to work.

    Define a UDF, CustCode, and set up an FMS to copy the Cardcode into this field when you vacate the CardCode field.

    SELECT $[OCRD.CardCode]

    I then put an IF statement ahead of the Query that sets BP code that checks to see if the UDF is empty. If it is, the query is executed to populate the BP code and if it is not empty, the query is not executed.

    IF Len ($[OCRD.u_CustCode] ) = 0

    Hope this helps.

    (remove the http://)

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 07, 2007 at 09:09 PM

    Philipp,

    The functionality of <b>Auto Refresh when field changes</b> cannot be changed. This function cannot be made to behave different for different circumstances as in your case.

    If possible, please send me your FMS code and I will take a look at other possbilities.

    Suda

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.