cancel
Showing results for 
Search instead for 
Did you mean: 

Choose from list employee but show name instead of code

lsauser
Participant
0 Kudos
156

Hi all,

We had a choose from list on the service call for default technician which appears to have shifted since turning on multiple scheduling.

I need to get this technician field back onto the main form (via udf) where it can be used to show the default technician from the BP master data.

My issue is if i have a choose from list from the employee master data it is returning the code into the edittext field whereas i need the employee name but still have the choose from list and golden arrow to work.

Appreciate the assistance on this.

Accepted Solutions (0)

Answers (1)

Answers (1)

ANKIT_CHAUHAN
Product and Topic Expert
Product and Topic Expert

Hi lsauser,

CFL works based on ChooseFromListAlias. Therefore, I do not think that you can show Name instead of Code if ChooseFromListAlias is set to Code.

However, you can try the following:

1. Create 2 EditTexts.

2. When value is selected from CFL, one EditText should contain Code value and another one should contain Name value.

3. You can make Code EditText invisible.

4. Create a Linked Button (golden arrow) and set the Linked Object with the invisible EditText.

Hope it helps!

Kind regards,

ANKIT CHAUHAN

SAP Business One Support

lsauser
Participant
0 Kudos

Hi ankit.chauhan1 ,

Thanks for your response, to clarify this is what i am trying to achieve. Same as below but with a UDF.

I'm not sure how this can be achieved without overlapping fields?