Passo a passo: | Causa THREAD ERROR ([29806], Luciano, DESKTOP-TD7FLCF) 04/12/2017 15:56:18 variable does not exist A020SXB on {|oLookUP|A020SXB#A020Visual('SA2')}(PROTHEUSLOOKUP.PRW) 05/10/2017 18:39:41 [TOTVS build: 7.00.131227A-20171002 NG] Called from {|oLookUP|A020SXB#A020Visual('SA2')}(PROTHEUSLOOKUP.PRW) 05/10/2017 18:39:41 Called from FWMVCVISUAL(PROTHEUSLOOKUP.PRW) 05/10/2017 18:39:41 line : 529 Called from {|oLookUP| FWMVCVisual(oLookUP)}(PROTHEUSLOOKUP.PRW) 05/10/2017 18:39:41 line : 529 Called from {||(Eval(self:bVisualFunc,self))}(FWLOOKUP.PRW) 05/10/2017 18:39:41 line : 529 Called from ::MSDIALOG:ACTIVATE line : 529 Called from FWDIALOGMODAL:ACTIVATE(FWDIALOGMODAL.PRW) 05/10/2017 18:39:40 line : 463 Called from FWLOOKUP:OPEN12(FWLOOKUP.PRW) 05/10/2017 18:39:41 line : 812 Called from FWLOOKUP:SHOW(FWLOOKUP.PRW) 05/10/2017 18:39:41 line : 503 Called from {|x,y| lDoInitCpo:=FWPreShow(x,y), xRet:=self:Show(x,y), IIf(lDoInitCpo,FWPosShow(x,y,xRet), ), xRet }(PROTHEUSLOOKUP.PRW) 05/10/2017 18:39:41 line : 503 Called from FWLOOKUP:ACTIVATE(FWLOOKUP.PRW) 05/10/2017 18:39:41 line : 245 Called from CONPAD1(MSLIB.PRW) 05/10/2017 18:39:41 line : 4055 Called from {|| aSavRet:= SaveCpoRetFwGet(), if(ConPad1(,,,Self:cF3,Self:cRetF3,,,"M->RC1_FORNEC",Self, Eval(Self:bSetGet) ),(Self:lModified:= .T., GetF3RetFwGet(Self:oWnd,Self:hWnd,Self:cF3)),),aCpoRet := aClone(aSavRet)}(FWTGET.PRW) 05/10/2017 18:39:41 line : 4055 Called from ::MSDIALOG:ACTIVATE line : 4055 Called from AXALTERA(MATXATU.PRX) 08/09/2017 17:29:46 line : 383 Called from GPM660ALT(GPEM660.PRX) 20/09/2017 17:42:54 line : 623 Called from FWMBROWSE:EXECUTE(FWFORMBROWSE.PRW) 05/10/2017 18:39:41 line : 1064
Ambiente (Protheus - Recursos Humanos - Versão 12.1.17)
Solução O erro reportado depende de alteração de dicionario que será disponibilizado no próximo release. Para solucionar o problema até a disponibilização do próximo release será necessário executar os seguintes procedimentos:
Alterar seguintes registros na SXB : Localize os registros XB_ALIAS = FOR e SA2, alterar as chamadas da função A020SXB, colocando os parenteses, deixando dessa forma: A020SXB()
No campo X3_CONTEM: 01#A020SXB()#A020Visual('SA2')
Documento técnico 1187893 MPRIMESP-10987 DT Correção SXB nas chamadas da função A020SXB |