Update1 problem [message #2209] |
Tue, 14 July 2009 13:04 |
edortizq
Messages: 82 Registered: August 2008 Location: Ecuador
|
Member |
|
|
How can I do for debug the validateUpdate() function; it returns two errors when it run:
- fechageneracion[0]: Unknown value for 'type': {null}
- usuariogeneracion[0]: Unknown value for 'type': {null}
However, those two fields have these values during the execution of _cm_pre_updateRecord() function:
idlote='204' AND idtarifa='107' AND idsecuencia='1' AND idautorizacion='1' AND numerotickets='0000000010' AND fechacreacion='2009-07-03 11:07:28' AND fechaactualizacion IS NULL AND estado='1' AND autorizacionsri='1107100522' AND descripciontarifa='Platea Av. Quito - Cortesia' AND fechageneracion='2009-07-14 03:10:43' AND fechaimpresion IS NULL AND fechacontabilizacion IS NULL AND usuariogeneracion='MGR' AND usuarioimpresion IS NULL AND usuariocontabilizacion IS NULL AND idticketinicial IS NULL AND idticketfinal IS NULL AND avance IS NULL AND tickets_imprime='100'
The _cm_pre_updateRecord() does nothing, only executes an array2where for capture the field values on a text file. (results shown).
The fields are datetime and string.
Some suggestion to solve this problem???
Thanks for advice.
[Updated on: Tue, 14 July 2009 13:06] Report message to a moderator
|
|
|
|
|