Versão atual:

Erro execauto mata410

Estou com um problema ao chamar o execauto da MATA410 e não consigo encontrar a causa. O problema não é o cliente selecionado, como informa no início do log. Alguém sabe o que pode ser?

Tabela SC5 07/06/2021 01:04:02 Tipo Pedido - C5_TIPO := N Cliente - C5_CLIENTE := 00048599 < -- Invalido Loja - C5_LOJACLI := 001 Cli.Entrega - C5_CLIENT := 00048599 Loja Entrega - C5_LOJAENT := 001 Transp. - C5_TRANSP :=Tipo Frete - C5_TPFRETE := C Tipo Cliente - C5_TIPOCLI := R Cond. Pagto - C5_CONDPAG := 004 Num.Ped.Cli. - C5_XPEDCLI :=Tabela - C5_TABELA := 001 Natureza - C5_NATUREZ := 10002Desconto 1 - C5_DESC1 := 45 DT Emissao - C5_EMISSAO := 07/06/2021 Moeda - C5_MOEDA := 1 N. Documento - C5_XDOC :=Serie - C5_XSERIE := - C5_TPLIB := 2 Erro --> Ocorreu um erro durante a validacao: type mismatch on { || if(aCols[n,Len(aCols[n])], 12632256, 16777215)} line : 420 Called from REFRESH line : 0 Called from A410RECALC line : 1219 Called from EVALVALID line : 1171 Called from ENCHAUTO line : 368 Called from A410INCLUI line : 1234 Called from MBROWSEAUTO line : 86 Called from MATA410 line : 134 Called from {|X,Y,Z| MATA410(X,Y,Z)} line : 133 Called from MSEXECAUTO line : 3003 Called from SEPSCP line : 133 Called from U_MT410TOK line : 101 Called from EXECBLOCK line : 163 Called from A410VLDTOK line : 92 Called from { ||NOPCA:=1,IF(A410VLDTOK(NOPC,ARECNOSE1RA) .AND. OGETD:TUDOOK(),IF(!OBRIGATORIO(AGETS,ATELA),NOPCA:=0,ODLG:END()),NOPCA:=0)} line : 1221 Called from SAFEEVAL line : 7345 Called from { || ( LOKOK:=IF(LMESSAGEDEL,IIF(FINDFUNCTION("APMSGYESNO"), APMSGYESNO(OEMTOANSI(FWI18NLANG("MSLIB","STR0014",14)), OEMTOANSI(FWI18NLANG("MSLIB","STR0015",15))), (CMSGYESNO:="MSGYESNO", &CMSGYESNO.(OEMTOANSI(FWI18NLANG("MSLIB","STR0014",14)), OEMTOANSI(FWI18NLANG("MSLIB","STR0015",15))))), .T. ),LOK:=IF(LOKOK,(REGOTO(NREG,CALIAS),SAFEEVAL(BOK)), .F. ),EVALRETOK(LOK,NBAR),IF(TYPE("INCLUI") = "L" .AND. NNIVELBAR == 0 .AND. (VALTYPE(LOK) <> "L" .OR. LOK),LLOOP := INCLUI,)) } line : 987 Called from { || EVAL(BOK) } line : 415 Called from ACTIVATE line : 0 Called from A410INCLUI line : 1221 Called from EXECUTE line : 1142 Called from { || OSELF:EXECUTE("A410INCLUI", 3, 0,"INCLUIR", 3,"","INCLUIR","", 3) } line : 575 Called from ACTIVATE line : 0 Called from ACTIVATE line : 690 Called from BROWSEDEF line : 341 Called from MATA410 line : 156 Called from __EXECUTE line : 721 Called from MDIEXECUTE line : 896


Versão (1):

Ver a versão formatada

Erro execauto mata410

Comentário

new question