fetch on pickinglist

fetch on pickinglist

Hi

I have a system in which I have a piece of code called(Action on input):

dat  =  EmplDetails  [Name == input.EGName];
input.EGDepartment = dat.Department;
input.EGEmail_1 = dat.MailId;

This works fine!

I would now like to add a new field named Plant (fieldname "plant") also in the appl. "EmplDetails". This however is a pickinglist. How can this be done?



BR

Skouboe