on 02-01-2018 8:31 PM
Good afternoon !! I can not add an employee to a sales team. Help please!
Test1: prueba1.jpg
var lc_EquipoVentas = act.CurrentEmployeeResponsible;
foreach (var oneEmployee in resultEmployees) {
var employee2 = oneEmployee.ToRoot;
nodeRef = act.CurrentEmployeeResponsible.Create ();
nodeRef.DefaultIndicator = true;
nodeRef.EmployeeID.content = "00000000000007000012"; nodeRef.EmployeeUUID.content = employee2UIDID.content;
nodeRef.PartyRoleCode = "211"; // Miembro de equipo cliente nodeRef.ValidityPeriod.StartDate = lv_startdate;
nodeRef.ValidityPeriod.EndDate = lv_enddate; lc_EquipoVentas.Add (nodeRef);
}
Test2: prueba2.jpg
var lc_EquipoVentas = act.CurrentEmployeeResponsible;
foreach (var oneEmployee in resultEmployees) {
var employee2 = oneEmployee.ToRoot;
create_employee.DefaultIndicator = true;
create_employee.EmployeeID.content = "00000000000007000012"; create_employee.EmployeeUUID.content = employee2UIDID.content; create_employee.PartyRoleCode = "211"; // Miembro de equipo cliente create_employee.ValidityPeriod.StartDate = lv_startdate; create_employee.ValidityPeriod.EndDate = lv_enddate; act.CurrentEmployeeResponsible.Create (create_employee);
}
Salu2
Sara 🙂
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.