I am creating Dexterity AddIn using Visual studio. I want to fetch value of some fields and not codes. E.g
Location, Department, Supervisor and Job Title. I am using below code when any changes made to Employees.
public void Initialize()
{
EmpMaintenanceForm.UprEmployeeMnt.SaveRecord.ValidateAfterOriginal += new EventHandler(RegisterEmployee);
}
void RegisterEmployee(object sender, EventArgs e)
{
UprEmployeeMntForm.UprEmployeeMntWindow EmpMaintWindow;
EmpMaintWindow = Dynamics.Forms.UprEmployeeMnt.UprEmployeeMnt;
MessageBox.Show(EmpMaintWindow.JobTitle.Value.ToString()) ---> MGR
MessageBox.Show(EmpMaintWindow.Department.Value.ToString()) ---> HR
MessageBox.Show(EmpMaintWindow.LocalSupervisorName.Value.ToString()) ---> AP
MessageBox.Show(EmpMaintWindow.LocalLocationName.Value.ToString()) ---> NY
}
So I am getting short forms(codes) like MGR,HR, AP and NY.
My question is how can I get full names ? like Manager, Human Resources, Alex Paul and New York ?
PS : I am following this link for addin developement : www.gpug.com/.../getting-started-with-gp-addins-using-visual-studio
*This post is locked for comments