Esempio n. 1
0
     $resultado = $o_ActionRrhh->arbolCentroCosto();
     break;
 case 'tablaAreaCCosto':
     require_once "ActionRrhh.php";
     header("Content-type: text/xml");
     $o_ActionRrhh = new ActionRrhh();
     $resultado = $o_ActionRrhh->tablaAreaCCosto($parametros["p2"]);
     break;
 case 'grabarArea':
     require_once "ActionRrhh.php";
     $o_ActionRrhh = new ActionRrhh();
     $datos = array();
     $datos["descripcion"] = strtoupper($parametros["p2"]);
     $datos["abrevia"] = strtoupper($parametros["p3"]);
     $datos["estado"] = $parametros["p4"];
     $resultado = $o_ActionRrhh->grabarArea($datos);
     break;
 case 'grabarAreaJerarquicamente':
     require_once "ActionMantenimientoGeneral.php";
     $o_ActionMantenimientoGeneral = new ActionMantenimientoGeneral();
     $datos = array();
     $datos["idDependencia"] = strtoupper($parametros["p2"]);
     $datos["descripcion"] = strtoupper($parametros["p3"]);
     $datos["abrevia"] = strtoupper($parametros["p4"]);
     $datos["estado"] = $parametros["p5"];
     $datos["nivel"] = $parametros["p6"];
     $resultado = $o_ActionMantenimientoGeneral->grabarAreaJerarquicamente($datos);
     break;
 case 'actualizarEstadoSedeEmpresaArea':
     require_once "ActionMantenimientoGeneral.php";
     $o_ActionMantenimientoGeneral = new ActionMantenimientoGeneral();