public bool GrabarSolicitudEmpresa(SolicitudEmpresa item, ref Int64 codigo, ref string rMsg) { SolicitudDatos obj = new SolicitudDatos(); Int64 codigorep = 0; string mensajerep = ""; int i = 0; obj.GrabarSolicitudEmpresa(item, ref codigo, ref rMsg); string nameArchivo = "LOGGUARDACORPRP"; HelperLog.EscribirLog("", nameArchivo, "GrabarSolicitudEmpresa nrosec: " + codigo, false); HelperLog.EscribirLog("", nameArchivo, " GrabarSolicitudEmpresa mensaje: " + rMsg, false); if (item.REPRESENTANTE_LEGAL.Count > 0) { for (i = 0; i < item.REPRESENTANTE_LEGAL.Count; i++) { RepresentanteLegal oRepLegal = new RepresentanteLegal(); oRepLegal = (RepresentanteLegal)item.REPRESENTANTE_LEGAL[i]; oRepLegal.SOLIN_CODIGO = codigo; obj.GrabarSolicitudRepLegal(oRepLegal, ref codigorep, ref mensajerep); rMsg = mensajerep; } } return(true); }
public bool GrabarSolicitudEmpresaPort(SolicitudEmpresa item, ref Int64 codigo, ref string rMsg) { SolicitudDatos obj = new SolicitudDatos(); return(obj.GrabarSolicitudEmpresaPort(item, ref codigo, ref rMsg)); }