Producto:

Protheus

Ocurrencia:

En la rutina MATA094 ocurre el ErrorLog:

THREAD ERROR ([2192], xxx, xxx)   19/07/2017 14:33:34

variable does not exist N on {|a,b,c| FWInitCpo(a,b,c),xRet:=(RETASC(STR(N),2,.T.)),FWCloseCpo(a,b,c,.T.),FwSetVarMem(a,b,xRet),xRet }(PROTHEUSFUNCTIONMVC.PRX)


[TOTVS build: 7.00.131227A-20170412 NG]

Called from {|a,b,c| FWInitCpo(a,b,c),xRet:=(RETASC(STR(N),2,.T.)),FWCloseCpo(a,b,c,.T.),FwSetVarMem(a,b,xRet),xRet }(PROTHEUSFUNCTIONMVC.PRX) 23/02/2017 14:07:51

Called from INITVALUE(FWFORMGRIDMODEL.PRX) 08/02/2017 12:34:43 line : 398

Called from INITLINE(FWFORMGRIDMODEL.PRX) 08/02/2017 12:34:43 line : 365

Called from FWFORMGRIDMODEL:INITLINE(FWFORMGRIDMODEL.PRX) 08/02/2017 12:34:43 line : 1671

Called from LOAD(FWFORMGRIDMODEL.PRX) 08/02/2017 12:34:43 line : 5191

Called from FWFORMGRIDMODEL:ACTIVATE(FWFORMGRIDMODEL.PRX) 08/02/2017 12:34:43 line : 336

Called from LOAD(FWFORMFIELDSMODEL.PRX) 08/02/2017 12:34:43 line : 5191

Called from FWFORMFIELDSMODEL:ACTIVATE(FWFORMFIELDSMODEL.PRX) 08/02/2017 12:34:43 line : 223

Called from MPFORMMODEL:ACTIVATE(FWFORMMODEL.PRX) 08/02/2017 12:34:45 line : 400

Called from MPFORMMODEL:ACTIVATE(MPFORMMODEL.PRX) 08/02/2017 12:34:48 line : 158

Called from FWFORMVIEW:ACTIVATE(FWFORMVIEW.PRW) 23/02/2017 11:12:44 line : 1569

Called from FWMVCWINDOW:SHOW(FWMVCWINDOW.PRW) 26/11/2015 09:25:21 line : 168

Called from FWMVCWINDOW:ACTIVATE(FWMVCWINDOW.PRW) 26/11/2015 09:25:21 line : 210

Called from FWVIEWEXEC:OPENVIEW(FWVIEWEXEC.PRW) 30/09/2016 13:20:01 line : 482

Called from FWEXECVIEW(PROTHEUSFUNCTIONMVC.PRX) 23/02/2017 14:07:51 line : 4176

Called from A94EXLIBER(MATA094.PRW) 13/04/2017 11:58:49 line : 1471

Called from FWMBROWSE:EXECUTE(FWFORMBROWSE.PRW) 03/02/2017 12:24:58 line : 1064

Called from { || OSELF:EXECUTE("A94EXLIBER",              4,             0,"APROBAR",              1,"","","",               1) }(FWFORMBROWSE.PRW) 03/02/2017 12:24:58 line : 1064

Called from ::MSDIALOG:ACTIVATE line : 1064

Called from FWMBROWSE:ACTIVATE(FWMBROWSE.PRW) 14/03/2017 10:20:44 line : 674

Called from MATA094(MATA094.PRW) 13/04/2017 11:58:49 line : 103

Called from __EXECUTE(APLIB090.PRW) 24/03/2017 12:16:41 line : 601

Called from FWPREEXECUTE(FWPREEXECUTE.PRW) 23/02/2017 19:18:11 line : 82

Called from {||FWPreExecute('Liberación de Dctos V12', 'MATA094()', 1, '02', 'xxxxxxxxxx') }(FWUIMENUF.PRW) 27/03/2017 11:59:29 line : 82

Called from ::TWINDOW:ACTIVATE line : 82

Called from MSAPP:ACTIVATE(FWAPP.PRW) 22/03/2017 16:55:28 line : 670

Called from SIGAADV(APLIB000.PRW) 08/02/2017 12:34:37 line : 55

Called from STATICCALL(APLIB000.PRW) 08/02/2017 12:34:37 line : 55

Paso a paso:

El error ocurre debido a la validación: (RETASC(STR(N),2,.T.) en el campo X3_RELACAO del campo C7_ITEM.

Esta validación no existe en el producto estándar, siendo necesario verificar la causa de la situación en la personalización.

Observaciones: