2.1 KiB
2.1 KiB
NDT Request – PT Request Date Test Data
This document lists weld_logs rows where the mobile app can successfully save PT Request Date (backend validation allows new request).
Validation rule (backend)
- Blocked if the joint has
welding_dateset. - Blocked if the joint has any
*_request_noset (VT, RT, UT, PT, MT, PMI, PWHT, HT, Ferrite). - Allowed only when
welding_dateis empty and all request numbers are empty.
Test records (eligible for PT request date)
All of these have welding_date = null and all *_request_no fields empty.
| ID | ISO Number | Joint | Spool | Line Number |
|---|---|---|---|---|
| 75 | IA-80-AH01JL-FA00.100 | 5 | SPL-0001 | IA-80-AH01JL-FA00.100 |
| 82 | IA-80-AH01JL-FA00.100 | 10 | SPL-0002 | IA-80-AH01JL-FA00.100 |
| 88 | IA-80-AH01JL-FA00.100 | 16 | SPL-0003 | IA-80-AH01JL-FA00.100 |
| 90 | IA-80-AH01JL-FA00.100 | 18 | SPL-0003 | IA-80-AH01JL-FA00.100 |
| 94 | IA-80-AH01JL-FA00.100 | 22 | SPL-0003 | IA-80-AH01JL-FA00.100 |
Recommended test row
- ID: 75
- ISO Number: IA-80-AH01JL-FA00.100
- Joint: 5
- Spool: SPL-0001
How to test in the app
- Open NDT Request on the mobile app.
- Use filters if needed: ISO No =
IA-80-AH01JL-FA00.100, Joint No =5, Spool No =SPL-0001(or scroll to find LineIA-80-AH01JL-FA00.100, Joint 5, Spool SPL-0001). - Open the row (ID 75).
- Set PT → Request Date (e.g. 05/02/2026) and optionally NDT company.
- Save.
- In DB, confirm:
weld_logs.pt_request_dateforid = 75is updated.
SELECT id, iso_number, no_of_the_joint_as_per_as_built_survey, spool_number, pt_request_date, pt_request_no
FROM weld_logs WHERE id = 75;
Note
The record you tried earlier (ISO: kw-300-AH03JS-FA00.100-HC, Joint: 29, Spool: SPL0009) is likely rejected by the backend because that joint has welding_date set and/or at least one *_request_no set. Use one of the rows above to verify that PT request date is saved correctly.