Ocurrencia
Al incluir una oportunidad, se presenta el siguiente error:
variable does not exist ACOLS on {|a,b,c| FWInitCpo(a,b,c),xRet:=(Posicione( "SU5", 1, xFilial( "SU5" ) + GDFieldGet( "AD9_CODCON", Len( aCols ) ), "U5_CONTAT" )),FWCloseCpo(a,b,c,.T.),FwSetVarMem(a,b,xRet),xRet }(PROTHEUSFUNCTIONMVC.PRX)
Ambiente
Cross Segmentos - TOTVS BackOffice (Línea Protheus) - MI - Customer Relationship Management (SIGACRM) - A partir de versión 12
Causa
El error ocurre porque la propiedad X3_RELACAO del campo AD9_NOMCON está con el siguiente valor:
(Posicione( "SU5", 1, xFilial( "SU5" ) + GDFieldGet( "AD9_CODCON", Len( aCols ) ), "U5_CONTAT")
Solución
Para solucionar esta ocurrencia, deberá ajustar la propiedad X3_RELACAO del campo AD9_NOMCON. Asignar el siguiente valor en la propiedad X3_RELACAO:
IIF(!INCLUI,AllTrim(Posicione("SU5",1,xFilial("SU5")+AD9->AD9_CODCON,"U5_CONTAT")),"")

¡Importante!
Crear un respaldo de su ambiente antes de realizar cualquier cambio en la configuración.
0 Comentarios