This topic is locked

problema con grabaciones en PHPRunner

2/10/2021 12:30:34 PM
PHPRunner General questions
C
cjarerov author

Hola
Tengo un caso de una pantalla donde tengo el registro cabecero y sus detalles para ser actualizados de forma manual usando Custom record update o poniendo afther recor updated, tengo entendido que primero se debe grabar el cabecero y después los detalles, sin embargo en una prueba que hago, donde pongo en el cabecero un proveedor y en el detalle pongo un precio, me manda que no tengo proveedor y por lo tanto no da de alta el cabecero y menos el detalle. ¿Cuál es la sugerencia que me hacen para corregir mi proceso?, no puedo mandar grabar el proveedor, porque este esta en el cabecero y yo estoy procesando el detalle. Uso la versión PHPRunner 9.7
Muchísimas Gracias
Hi there
I have a case of a screen where I have the header record and its details to be updated manually using Custom record update or putting afther recor updated, I understand that the header must first be recorded and then the details, however in a test that I do, where I put a supplier in the headboard and in the detail I put a price, he tells me that I don't have a supplier and therefore does not register the headboard and less the detail. What is the suggestion that you make to correct my process? I cannot send the supplier to record, because it is in the header and I am processing the detail. I use PHPRunner version 9.7
Many thanks

Sergey Kornilov admin 2/10/2021

When you adding or editing master and details on the same page PHPRunner will save the master record first and then it will save details records one by one. The point is that you need to assign details records to the master record which means the master record must exist before we starting saving the details records.
So, always the master record is saved first, then details.