cancel
Showing results for 
Search instead for 
Did you mean: 

Classic - Formatted Search next BP-ID

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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://)

Answers (1)

Answers (1)

former_member583013
Active Contributor
0 Kudos

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