Frequently Asked Questions
Find answers to the most common questions about the Production Inspection Form application.Login and Authentication
How do I log in to the inspection form?
How do I log in to the inspection form?
- Usuario: Your network username
- Contraseña: Your network password
http://10.107.194.110/insp/api/login-ldap/.What happens if I enter incorrect credentials?
What happens if I enter incorrect credentials?
Where does the system redirect me after login?
Where does the system redirect me after login?
- The system stores your username in
localStorageasusuario_inspeccion - Your full name (first and last name) is stored as
usuario_nombre - You’re redirected to the inspection form, or to the page stored in
redirect_after_loginif you were redirected to login from another page
How does the system remember my login state?
How does the system remember my login state?
localStorage to maintain your session:usuario_inspeccion: Your usernameusuario_nombre: Your full name
Using the Inspection Form
How do I start a new inspection?
How do I start a new inspection?
- The form automatically populates the current fecha (date) and horaInicio (start time)
- Select or verify the equipment information (División, Área, Zona, Equipo)
- The system loads the appropriate inspection questions based on the equipment category
- Fill out the inspection checklist and observations
- Click Enviar to submit
Can I pre-select equipment using a URL parameter?
Can I pre-select equipment using a URL parameter?
- Automatically select that equipment
- Load the associated División, Área, and Zona
- Display the Ubicación Física and Categoría
- Load the appropriate inspection questions for that equipment category
What are the three inspection response options?
What are the three inspection response options?
- OK: Item passes inspection
- NOK: Item fails inspection (not OK)
- No aplica: Item is not applicable to this equipment
Are the División, Área, Zona, and Equipo fields editable?
Are the División, Área, Zona, and Equipo fields editable?
- The equipment selected via URL parameter, OR
- Data loaded from the API endpoints
What information is automatically captured when I submit?
What information is automatically captured when I submit?
- horaFin: End time (captured at submission)
- usuario: Your username from localStorage
- All form data including División, Área, Zona, Equipo
- Inspection responses (técnicos object)
- Observaciones (observations)
Data and API
Where is my inspection data submitted?
Where is my inspection data submitted?
What API endpoints does the application use?
What API endpoints does the application use?
/api/divisiones/- Division list/api/areas/- Area list/api/zonas/- Zone list/api/equipos/- Equipment list/api/preguntas/{categoria}/- Inspection questions for a specific category/api/login-ldap/- LDAP authentication/api/guardar/- Save inspection form
How are inspection questions loaded?
How are inspection questions loaded?
- Equipment is selected (via URL or form)
- System fetches equipment details from
/api/equipos/ - Equipment’s
categoriafield is extracted - Questions are loaded from
/api/preguntas/{categoria}/ - A table is rendered with each question and OK/NOK/NA radio buttons
What happens if the API calls fail?
What happens if the API calls fail?
- Failed API calls return empty arrays
[]as fallback - Console errors are logged for debugging
- Specific error messages like “Error cargando preguntas” or “Error cargando equipo” appear in console
- Form submission errors display “Error al enviar” below the form
Browser and Storage
What happens when I click Cerrar Sesión (logout)?
What happens when I click Cerrar Sesión (logout)?
- Removes
usuario_inspeccionfrom localStorage - Redirects you to
/login - Clears your session data
What if I clear my browser data?
What if I clear my browser data?
- Remove your stored username and session
- Require you to log in again
- Not affect submitted inspection data (stored on server)
Can I use this application on mobile devices?
Can I use this application on mobile devices?
viewportmeta tag set towidth=device-width, initial-scale=1.0- Mobile-friendly form inputs and styling
- Table overflow handling with
overflow-x:autofor the inspection checklist
Form Behavior
What happens after I successfully submit a form?
What happens after I successfully submit a form?
- A status message appears: “Formulario enviado correctamente” (or custom server message)
- All form fields are reset to empty values
- Ubicación and Categoría are cleared
- The inspection questions table is cleared
- You can start a new inspection
Can I see my username while filling out the form?
Can I see my username while filling out the form?
Is there a loading state while the form initializes?
Is there a loading state while the form initializes?
