Hi Sunil,
At present, I will use the following way:
var EmpID = Partner.Identification.GetFirst().BusinessPartnerID.Substring(54,6);
to get the Employee ID
Because that field is what I use in the edit screen generating on adapt mode.
I do not know how to define the type ID, let me use the RemoveLeadingZero fucntion
I do not know whether there is a better way
Is there a better way to do it? Please provide me some suggestions or reference code.
Thank you very much.
Best regards,
Daniel