Arnaldo Cruz
Membros-
Total de ítens
594 -
Registro em
-
Última visita
-
Days Won
2
Tipo de Conteúdo
Blocks
Notes ACBrLibNFe
Fóruns
Downloads
Calendário
Tudo que Arnaldo Cruz postou
-
Falei besteiras o download é descompactado porem com os caracteres estranhos
-
Estou fazendo o download das nfe destinadas já confirmadas. O download é feito em um arquivo zipado , porem quando vou tentar visualizar o arquivo ele não abre porque o texto que tem acentos é substituido por caracteres extranho. Tipo <xNome>DNAC - Tecnologia e Automação Ltda - EPP</xNome> vem <xNome>DNAC - Tecnologia e Automa "Caracterestranho" Ltda - EPP</xNome> Em todas as palavras acentuadas.
-
Estou com um problema com uma impressora bematech mp-2100-th fi no meu sistema eu tenho um configurador que se conecta com a impressora >>> OK abro e fecho as configurações. tenho o sistema de caixa quando vou abrir é feita a conexao porem quando chamo a função abaixo Estado := UECF.Estados[FDataModule.ACBrECF.Estado]; só mim volta 'Não Inicializada' ========= Porem eu coloco a impressora em outra maquina que usa o mesmo sistema a chamo a mesma função Estado := UECF.Estados[FDataModule.ACBrECF.Estado]; ai volta = Livre Outra coisa estranha quando mando o comando abaixo FDataModule.ACBrECF.Ativar; a impressora imprime "Identificaçao do aplicativo" ALguem já teve algum problema assim
-
achei o problema faltava capturar o xml do retorno para depois carregar
-
Estou tentando imprimir o XML do retorno da Carta de correção em fastReport (EVENTOS.fr3) O envio acontece normalmente FDataModule.ACBrNFe1.NotasFiscais.LoadFromFile(cdsNFETransmiCAMINHOXML.AsString); FDataModule.ACBrNFe1.EventoNFe.Evento.Clear; with FDataModule.ACBrNFe1.EventoNFe.Evento.Add do begin infEvento.cOrgao := UFIBGEEmpresa; infEvento.chNFe := cdsNFETransmiCHAVE_ACESSO.AsString; infEvento.CNPJ := CnpjEmpresa; infEvento.dhEvento := now; infEvento.tpEvento := teCCe; infEvento.nSeqEvento := NumSeq; infEvento.detEvento.xCorrecao := Trim(frase); end; FDataModule.ACBrNFe1.EnviarEventoNFe(idLote); MemoResp.Lines.Text := UTF8Encode(FDataModule.ACBrNFe1.WebServices.EnvEvento.RetWS); frase := 'Duplicidade'; with FDataModule.ACBrNFe1.WebServices.EnvEvento.EventoRetorno.retEvento.Items[0] do begin CaminhoCCe := gsAppPath + 'Carta\' + OnlyNumber(FDataModule.ACBrNFe1.EventoNFe.Evento.Items[0].InfEvento.id) + '-procEventoNFe.xml'; if ( RetInfEvento.cStat = 135 ) then begin MemoResp.Lines.SaveToFile(CaminhoCCe); FDataModule.ACBrNFeDANFEFR1.MostrarPreview := True; FDataModule.ACBrNFe1.NotasFiscais.Clear; FDataModule.ACBrNFe1.NotasFiscais.LoadFromString(cdsNFETransmiCAMINHOXML.AsString ); FDataModule.ACBrNFe1.EventoNFe.Evento.Clear; FDataModule.ACBrNFe1.EventoNFe.LerXML(CaminhoCCe); FDataModule.ACBrNFe1.ImprimirEvento; end; O XML é criado no local certo Porem recebo a mensagem de campo cOrgao não informado o erro está porque a função abaixo não ler o xml function TEventoNFe.LerXMLFromString(const AXML: string): Boolean; var RetEventoNFe : TRetEventoNFe; begin RetEventoNFe := TRetEventoNFe.Create; try RetEventoNFe.Leitor.Arquivo := AXML; Result := RetEventoNFe.LerXml; with FEvento.Add do begin infEvento.ID := RetEventoNFe.InfEvento.id;//'131150044754450'; infEvento.cOrgao := RetEventoNFe.InfEvento.cOrgao;//31;// infEvento.tpAmb := RetEventoNFe.InfEvento.tpAmb;//taHomologacao;// infEvento.CNPJ := RetEventoNFe.InfEvento.CNPJ;//'10852339000170';// infEvento.chNFe := RetEventoNFe.InfEvento.chNFe;//'31150111914502000144550010000002141000002144';// infEvento.dhEvento := RetEventoNFe.InfEvento.dhEvento;//Now;// infEvento.tpEvento := RetEventoNFe.InfEvento.tpEvento;//teCCe;// infEvento.nSeqEvento := RetEventoNFe.InfEvento.nSeqEvento;//10;// infEvento.VersaoEvento := RetEventoNFe.InfEvento.VersaoEvento; ( este vem preenchido) daqui para baixo volta valor end; Se eu preenche manualmente os dados o como no codigo acima ,o DANFE é aberto com todos os campo preenchidos exceto o texto da correção, que fica vazio. Agradeço qualquer ajuda
-
Danfe Nfc-E Na Daruma Dr700
Arnaldo Cruz replied to Arnaldo Cruz's tópico in NFC-e - Nota Fiscal do Consumidor Eletrônica
Fiz os testes com Daruma,Bematech e Epson Bematech e Daruma Está OK. Observação. Na NFC pode entrar no campo codigo tanto o codigo interno quanto o codigo de barras; Quando incluido o código de barras uma linha por produto é insuficiente, tanto quanto, quando o valor Unitário for superior a 1.000,00 ou valor total do Item for superior a 9.000,00 Epson Fiz os testes em uma TM-T81 - Fica desconfigurado todo layout Observação Os comandos ESC/pos tem alguns que não funciona pra epson. Por a maioria usarem somente Daruma e Bematech vou deixar a Epson pra depois e vou focar no TEF pra NFC, este será a parte mais complexa pra mim, após terminar volto no DANFe da Epson. -
Danfe Nfc-E Na Daruma Dr700
um tópico no fórum postou Arnaldo Cruz NFC-e - Nota Fiscal do Consumidor Eletrônica
Estou fazendo os testes da impressão do Danfe em 3 Impressoras usando O TACBrNFeDANFeESCPOS MP4200TH Bematech DR700 Daruma TM-T81 Epson Instalei o Driver de spooler da Bematech Instalei o Driver de spooler da Daruma Epson ainda não fiz nada MP4200 Impressão Tudo OK FDataModule.ACBrNFe2.NotasFiscais.Clear ; ACBrNFe2.DANFE := DanfeNfc; if impGerencial = False then begin DanfeNfc.TipoDANFE := tiNFCe; DanfeNfc.Device.Porta := impPorta=(COM3 Daruma com4 Bematech); DanfeNfc.Device.Baud := 115200; if AnsiContainsStr(UpperCase(impCompartilha), 'BEMATECH') then begin DanfeNfc.MarcaImpressora := iBematech ; end else if AnsiContainsStr(UpperCase(impCompartilha), 'EPSON') then begin DanfeNfc.MarcaImpressora := iEpson ; end else if AnsiContainsStr(UpperCase(impCompartilha), 'DARUMA') then begin DanfeNfc.MarcaImpressora := iDaruma; end; DanfeNfc.Device.Ativar; end; FDataModule.ACBrNFe2.NotasFiscais.LoadFromFile('C:\USOFT\Envio\Novembro2014\31141111914502000144650010000000531000000533-NFe.xml'); FDataModule.ACBrNFe2.NotasFiscais.Imprimir; Quando usado na Impressora Daruma DR700 DanfeNfc.Device.Ativar; da o seguinte mensagem Communication erro 5 : Acesso negado -
Delphi 2010 Module Load: Ntdll.dll. No Debug
um tópico no fórum postou Arnaldo Cruz Object Pascal - Delphi & Lazarus
Estou fazendo os testes da mimnha NFC-e Compilei a aplicação e fechei o delphi. Instalei os driver da Daruma 64bits Abri o Delphi Quando tento executar não abre mais mostra as mensagens abaixo. (Observação só para um sistema) os demais abrem inclusive os que usam a DarumaFramework) Module Load: ntdll.dll. No Debug Info. Base Address: $778D0000. Process USOFT.exe (4624) Module Load: KERNEL32.dll. No Debug Info. Base Address: $77380000. Process USOFT.exe (4624) Module Load: KERNELBASE.dll. No Debug Info. Base Address: $75FA0000. Process USOFT.exe (4624) Module Load: OLEAUT32.dll. No Debug Info. Base Address: $759F0000. Process USOFT.exe (4624) Module Load: ole32.dll. No Debug Info. Base Address: $755B0000. Process USOFT.exe (4624) Module Load: msvcrt.dll. No Debug Info. Base Address: $75DD0000. Process USOFT.exe (4624) Module Load: GDI32.dll. No Debug Info. Base Address: $75D40000. Process USOFT.exe (4624) Module Load: USER32.dll. No Debug Info. Base Address: $75EA0000. Process USOFT.exe (4624) Module Load: ADVAPI32.dll. No Debug Info. Base Address: $75B80000. Process USOFT.exe (4624) Module Load: SECHOST.dll. No Debug Info. Base Address: $77250000. Process USOFT.exe (4624) Module Load: RPCRT4.dll. No Debug Info. Base Address: $75710000. Process USOFT.exe (4624) Module Load: SspiCli.dll. No Debug Info. Base Address: $75440000. Process USOFT.exe (4624) Module Load: CRYPTBASE.dll. No Debug Info. Base Address: $75430000. Process USOFT.exe (4624) Module Load: LPK.dll. No Debug Info. Base Address: $75FF0000. Process USOFT.exe (4624) Module Load: USP10.dll. No Debug Info. Base Address: $75AE0000. Process USOFT.exe (4624) Module Load: MSIMG32.dll. No Debug Info. Base Address: $728B0000. Process USOFT.exe (4624) Module Load: VERSION.dll. No Debug Info. Base Address: $75070000. Process USOFT.exe (4624) Module Load: MPR.dll. No Debug Info. Base Address: $71420000. Process USOFT.exe (4624) Module Load: COMCTL32.dll. No Debug Info. Base Address: $72580000. Process USOFT.exe (4624) Module Load: SHLWAPI.dll. No Debug Info. Base Address: $754A0000. Process USOFT.exe (4624) Module Load: WININET.dll. No Debug Info. Base Address: $77270000. Process USOFT.exe (4624) Module Load: Normaliz.dll. No Debug Info. Base Address: $77370000. Process USOFT.exe (4624) Module Load: urlmon.dll. No Debug Info. Base Address: $758B0000. Process USOFT.exe (4624) Module Load: CRYPT32.dll. No Debug Info. Base Address: $75C20000. Process USOFT.exe (4624) Module Load: MSASN1.dll. No Debug Info. Base Address: $770C0000. Process USOFT.exe (4624) Module Load: iertutil.dll. No Debug Info. Base Address: $761A0000. Process USOFT.exe (4624) Module Load: SHELL32.dll. No Debug Info. Base Address: $763A0000. Process USOFT.exe (4624) Module Load: COMDLG32.dll. No Debug Info. Base Address: $75800000. Process USOFT.exe (4624) Module Load: WINSPOOL.DRV. No Debug Info. Base Address: $71E70000. Process USOFT.exe (4624) Module Load: LIBEAY32.dll. No Debug Info. Base Address: $10000000. Process USOFT.exe (4624) Module Load: WSOCK32.dll. No Debug Info. Base Address: $75080000. Process USOFT.exe (4624) Module Load: WS2_32.dll. No Debug Info. Base Address: $77480000. Process USOFT.exe (4624) Module Load: NSI.dll. No Debug Info. Base Address: $00030000. Process USOFT.exe (4624) Module Load: MSVCR80.dll. No Debug Info. Base Address: $71380000. Process USOFT.exe (4624) Module Load: WINMM.dll. No Debug Info. Base Address: $72460000. Process USOFT.exe (4624) Module Load: DarumaFramework.dll. No Debug Info. Base Address: $015E0000. Process USOFT.exe (4624) Module Load: apphelp.dll. No Debug Info. Base Address: $738A0000. Process USOFT.exe (4624) Module Load: IMM32.dll. No Debug Info. Base Address: $75A80000. Process USOFT.exe (4624) Module Load: MSCTF.dll. No Debug Info. Base Address: $76FF0000. Process USOFT.exe (4624) -
Estou fazendo a verificação de mesas abertas após a redução Z UECF.AbreCupom('','','',''); UECF.VendeItem(TPreVendaDetalheVO(ListaPreVendaDetalhe.Items[j]).CodigoInterno), TPreVendaDetalheVO(ListaPreVendaDetalhe.Items[j]).NomeProduto, TPreVendaDetalheVO(ListaPreVendaDetalhe.Items[j]).ECFICMS, TPreVendaDetalheVO(ListaPreVendaDetalhe.Items[j]).Quantidade, TPreVendaDetalheVO(ListaPreVendaDetalhe.Items[j]).ValorUnitario); UECF.SubTotalizaCupom(); UECF.EfetuaFormaPagamento(FDataModule.ACBrECF.FormasPagamento[0].Indice,TPreVendaCabecalhoVO(ListaPreVendaCabecalho.Items).Valor); Nesta chamada "UECF.SubTotalizaCupom();" ele já está cancelando o cupom
-
ninguém ?
-
Ajuda Com A Impressora Mp-4200 Th Nao Fiscal
Arnaldo Cruz replied to Fausto's tópico in Object Pascal - Delphi & Lazarus
Bom já passou algum tempo da abertura do tópico mas vou acrescentar minha dica. Nas impressora não fiscal da Bematech e Daruma existe as dll MP2032(Bematech) e DarumaFrameWork para impressora Daruma. usando as dlls basta ir passado a impressão pelas funções da dll , informar a porta, morem existe a dependencia das dll do fabricante. Observação. pelas dlls tem como verificar se a impressora está ligada, modelo,tamanho do papel etc. usando o FastReport Basta passar o nome do compartilhamento, porem para Bematech tem que alterar a propriedade do relatório PrintMod para pmSplit para que todo relatório seja impresso até o fim corretamente, já para Daruma só imprime até 70 itens se for impresso 71 a impressora trava. nem o suporte da daruma conseguiu resolver este problema. Para resolver definitivamente o problema fiz tudo com o GenericText como Segue abaixo var Cupom : TStringList begin Cumpom := TStringList.Create; Cupom.add(Texto ou variavel); Cupom.SafeToFile(NomedoCompartilhamento); Cupom Free; #ficaadica -
Resolvido - No Acbr Anterior as dcp e bpl eram instaladas no Users na nova versão é instalada na pasta Lib do ACBr, e mesmo eu limpando tudo da instalação anterior dava erro na NFe2. então copiei as dcp e bpl para pasta users e consegui instalar o que faltava.
-
1 - Desinstalei o ACBR, Limpei o Library Path. 2 - deletei as bpl,dcp do delphi. 3 - Antes de fazer a atualização pelo svn fiz uma copia da pasta do ACBR. 4 - Tentei instalar o ACBr atualizado deu os erros abaixo mencionados. 5 - Baixei um ACBr completo 6 - Fiz o processo 1 e 2 7 - Executei o ACBrInstall - aconteceram os erros abaixo mencionados 8 - Executei os passos 1 e 2 9 - Executei o install da pasta do primeiro (ACBr da primeira instalação antes da atualização ) 10 - aconteceram os erros abaixo mencionados D:\AcbrAtual\Fontes\PCN2\pcnAdmCSCNFCe.pas(62) Error: E2003 Undeclared identifier: 'TpcnIndOperacao' D:\AcbrAtual\Fontes\PCN2\pcnAdmCSCNFCe.pas(75) Error: E2005 'TpcnIndOperacao' is not a type identifier D:\AcbrAtual\Fontes\PCN2\pcnAdmCSCNFCe.pas(121) Error: E2003 Undeclared identifier: 'IndOperacaoToStr' D:\AcbrAtual\Fontes\PCN2\pcnAdmCSCNFCe.pas(124) Error: E2003 Undeclared identifier: 'ioRevogaCSC' D:\AcbrAtual\Fontes\ACBrNFe2\ACBrNFeWebServices.pas(74) Fatal: F2063 Could not compile used unit 'pcnAdmCSCNFCe.pas' Compilation failure D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(99) Error: E2003 Undeclared identifier: 'TLayOutCTe' D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(101) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(102) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(103) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(104) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(105) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(106) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(107) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(108) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(109) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(110) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(111) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(112) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(113) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(114) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(115) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(116) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(117) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(118) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(119) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(120) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(121) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(123) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(124) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(125) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(126) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(127) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(128) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(140) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(226) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(328) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(342) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(350) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(358) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(366) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(374) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(382) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(390) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(398) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(406) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(414) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(422) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(430) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(438) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(446) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(454) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(462) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(470) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(478) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(486) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(494) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(502) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(510) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(524) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(539) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(553) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(567) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(581) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeConfiguracoes.pas(227) Fatal: F2063 Could not compile used unit 'ACBrCteUtil' Compilation failure D:\AcbrAtual\Fontes\ACBrMDFe\ACBrMDFeUtil.pas(233) Error: E2010 Incompatible types: 'TLayOutMDFe' and 'TLayOut' D:\AcbrAtual\Fontes\ACBrMDFe\ACBrMDFeUtil.pas(234) Error: E2010 Incompatible types: 'TLayOutMDFe' and 'TLayOut' D:\AcbrAtual\Fontes\ACBrMDFe\ACBrMDFeUtil.pas(235) Error: E2010 Incompatible types: 'TLayOutMDFe' and 'TLayOut' D:\AcbrAtual\Fontes\ACBrMDFe\ACBrMDFeUtil.pas(236) Error: E2010 Incompatible types: 'TLayOutMDFe' and 'TLayOut' D:\AcbrAtual\Fontes\ACBrMDFe\ACBrMDFeUtil.pas(237) Error: E2010 Incompatible types: 'TLayOutMDFe' and 'TLayOut' D:\AcbrAtual\Fontes\ACBrMDFe\ACBrMDFeUtil.pas(245) Error: E2010 Incompatible types: 'TLayOutMDFe' and 'TLayOut' D:\AcbrAtual\Fontes\ACBrMDFe\ACBrMDFeUtil.pas(246) Error: E2010 Incompatible types: 'TLayOutMDFe' and 'TLayOut' D:\AcbrAtual\Fontes\ACBrMDFe\ACBrMDFeUtil.pas(247) Error: E2010 Incompatible types: 'TLayOutMDFe' and 'TLayOut' D:\AcbrAtual\Fontes\ACBrMDFe\ACBrMDFeUtil.pas(248) Error: E2010 Incompatible types: 'TLayOutMDFe' and 'TLayOut' D:\AcbrAtual\Fontes\ACBrMDFe\ACBrMDFeUtil.pas(249) Error: E2010 Incompatible types: 'TLayOutMDFe' and 'TLayOut' D:\AcbrAtual\Fontes\ACBrMDFe\ACBrMDFeUtil.pas(257) Error: E2010 Incompatible types: 'TLayOutMDFe' and 'TLayOut' D:\AcbrAtual\Fontes\ACBrMDFe\ACBrMDFeUtil.pas(258) Error: E2010 Incompatible types: 'TLayOutMDFe' and 'TLayOut' D:\AcbrAtual\Fontes\ACBrMDFe\ACBrMDFeUtil.pas(259) Error: E2010 Incompatible types: 'TLayOutMDFe' and 'TLayOut' D:\AcbrAtual\Fontes\ACBrMDFe\ACBrMDFeUtil.pas(260) Error: E2010 Incompatible types: 'TLayOutMDFe' and 'TLayOut' D:\AcbrAtual\Fontes\ACBrMDFe\ACBrMDFeUtil.pas(261) Error: E2010 Incompatible types: 'TLayOutMDFe' and 'TLayOut' D:\AcbrAtual\Fontes\ACBrMDFe\ACBrMDFeUtil.pas(269) Error: E2010 Incompatible types: 'TLayOutMDFe' and 'TLayOut' D:\AcbrAtual\Fontes\ACBrMDFe\ACBrMDFeUtil.pas(270) Error: E2010 Incompatible types: 'TLayOutMDFe' and 'TLayOut' D:\AcbrAtual\Fontes\ACBrMDFe\ACBrMDFeUtil.pas(271) Error: E2010 Incompatible types: 'TLayOutMDFe' and 'TLayOut' D:\AcbrAtual\Fontes\ACBrMDFe\ACBrMDFeUtil.pas(272) Error: E2010 Incompatible types: 'TLayOutMDFe' and 'TLayOut' D:\AcbrAtual\Fontes\ACBrMDFe\ACBrMDFeUtil.pas(273) Error: E2010 Incompatible types: 'TLayOutMDFe' and 'TLayOut' D:\AcbrAtual\Fontes\ACBrMDFe\ACBrMDFeUtil.pas(281) Error: E2010 Incompatible types: 'TLayOutMDFe' and 'TLayOut' D:\AcbrAtual\Fontes\ACBrMDFe\ACBrMDFeUtil.pas(282) Error: E2010 Incompatible types: 'TLayOutMDFe' and 'TLayOut' D:\AcbrAtual\Fontes\ACBrMDFe\ACBrMDFeUtil.pas(283) Error: E2010 Incompatible types: 'TLayOutMDFe' and 'TLayOut' D:\AcbrAtual\Fontes\ACBrMDFe\ACBrMDFeUtil.pas(284) Error: E2010 Incompatible types: 'TLayOutMDFe' and 'TLayOut' D:\AcbrAtual\Fontes\ACBrMDFe\ACBrMDFeUtil.pas(285) Error: E2010 Incompatible types: 'TLayOutMDFe' and 'TLayOut' D:\AcbrAtual\Fontes\ACBrMDFe\ACBrMDFeUtil.pas(293) Error: E2010 Incompatible types: 'TLayOutMDFe' and 'TLayOut' D:\AcbrAtual\Fontes\ACBrMDFe\ACBrMDFeUtil.pas(294) Error: E2010 Incompatible types: 'TLayOutMDFe' and 'TLayOut' D:\AcbrAtual\Fontes\ACBrMDFe\ACBrMDFeUtil.pas(295) Error: E2010 Incompatible types: 'TLayOutMDFe' and 'TLayOut' D:\AcbrAtual\Fontes\ACBrMDFe\ACBrMDFeUtil.pas(296) Error: E2010 Incompatible types: 'TLayOutMDFe' and 'TLayOut' D:\AcbrAtual\Fontes\ACBrMDFe\ACBrMDFeUtil.pas(297) Error: E2010 Incompatible types: 'TLayOutMDFe' and 'TLayOut' D:\AcbrAtual\Fontes\ACBrMDFe\ACBrMDFeConfiguracoes.pas(210) Fatal: F2063 Could not compile used unit 'ACBrMDFeUtil' Compilation failure D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(99) Error: E2003 Undeclared identifier: 'TLayOutCTe' D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(101) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(102) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(103) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(104) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(105) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(106) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(107) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(108) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(109) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(110) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(111) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(112) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(113) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(114) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(115) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(116) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(117) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(118) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(119) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(120) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(121) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(123) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(124) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(125) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(126) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(127) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(128) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(140) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(226) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(328) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(342) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(350) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(358) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(366) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(374) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(382) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(390) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(398) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(406) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(414) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(422) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(430) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(438) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(446) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(454) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(462) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(470) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(478) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(486) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(494) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(502) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(510) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(524) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(539) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(553) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(567) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeUtil.pas(581) Error: E2005 'TLayOutCTe' is not a type identifier D:\AcbrAtual\Fontes\ACBrCTe\ACBrCTeConfiguracoes.pas(227) Fatal: F2063 Could not compile used unit 'ACBrCteUtil' Compilation failure
-
Colegas estou tentando compilar ACBr_NFCe_ECFVirtual.dpk aparece os seguintes erros procedure LeArqINIVirtual( ConteudoINI: TStrings ) ; override; procedure GravaArqINIVirtual( ConteudoINI: TStrings ) ; override; [DCC Error] ACBrECFVirtualNFCe.pas(135): E2137 Method 'LeArqINIVirtual' not found in base class [DCC Error] ACBrECFVirtualNFCe.pas(136): E2137 Method 'GravaArqINIVirtual' not found in base class [DCC Error] ACBrECFVirtualNFCe.pas(614): E2003 Undeclared identifier: 'ChaveCupom' [DCC Error] ACBrECFVirtualNFCe.pas(635): E2003 Undeclared identifier: 'ChaveCupom' [DCC Error] ACBrECFVirtualNFCe.pas(635): E2015 Operator not applicable to this operand type [DCC Error] ACBrECFVirtualNFCe.pas(684): E2003 Undeclared identifier: 'LeArqINIVirtual' [DCC Error] ACBrECFVirtualNFCe.pas(699): E2003 Undeclared identifier: 'GravaArqINIVirtual' [DCC Fatal Error] ACBr_NFCe_ECFVirtual.dpk(36): F2063 Could not compile used unit '..\..\..\Fontes\ACBrNFe2\ACBrECFVirtualNFCe.pas' porem eu abro a unit ACBrECFVirtualNFCe.pas da pasta fontes e estas procedures estão lá. Outra pergunta Existe um exemplo de testes ECFVirtual para testar a NFC-e ou é no exemplo do ECFteste que selecionamos a impressora ecfvirtual Obrigado
-
Alguem já implantou o recebimento TEF da NFC-e usando o componente TEFD ? e que possa mim dá umas dicas de como posso adaptar o componente. Obrigado.
-
Processo Abre Mas Sistema Não Abre
Arnaldo Cruz replied to carlessoflu's tópico in Object Pascal - Delphi & Lazarus
Colega eu tive este mesmo problema não faz um mês, depois de quebrar muito a cabeça descobri que era o antevirus. Até cheguei a desativar o danado mas mesmo assim continuava o problema. Por fim entrei em contato com o supore do Avast, via TeamView eles acessaram a maquina e fizeram uma correção, era um BUG no SandBox que mesmo desativando ele continuava sendo executado. -
Erro Teclado Android
Arnaldo Cruz replied to Arnaldo Cruz's tópico in Object Pascal - Delphi & Lazarus
Embora o Titulo do Post tenha a palavra Android a duvida é referente ao Delphi. Bom Isaque eu sei que o foro é sobre o ACBr mais lá na opção onde este post foi adicionado está bem claro. Object Pascal Delphi, que é do que se trata este post, mas caso meu entendimento não esteja correto desculpas. -
Fiz um sisteminha no Delphi XE6 pra android coloquei no formulário um campo Edit. Compilo e instalo no celular o apk Neste campo não tem evento nenhum 1 - abro a tela clico no campo abre o teclado Hora sim hora não acontece o seguinte erro Access violation at address 742F7318; accessing addres 000009 Outra hora abrindo e fechando a tela Access violation at address 742F7318; accessing addres 000008 Outra hora Access violation at address 742F7318; accessing addres 000033 Em outra tela coloquei um combobox com 60 itens quando ele abre preciso rolar para selecionar uma das opções. basta eu toca que ele já seleciona , ou as vezes eu rolo o scrool quando ele para já seleciona. As duas coisas deve ser algum macete que não estou sabendo tratar. se alguem puder mim dá uma dica eu agradeço Observação para teste eu criei dois formulários e coloquei apenas um componente por tela. sem evento nenhum. Só pra verificar o erro do teclado.
-
Erro Ao Gerar Apk Delphi Xe6
Arnaldo Cruz replied to Arnaldo Cruz's tópico in Object Pascal - Delphi & Lazarus
No Android se não me engano quando tive esse problema era um Def do beforeconnection do DB xyberx como vc fez pra resolver este problema ? coloquei o deploy e o Before connection como vc indicou e continua dando a mesma mensagem de erro [FireDac][stan]{Def]-254 Definition[nomedaConexao] is not found in [] -
Erro Ao Gerar Apk Delphi Xe6
Arnaldo Cruz replied to Arnaldo Cruz's tópico in Object Pascal - Delphi & Lazarus
O projeto tinha sido migrado do XE5, então resolvi começar um do Zero no XE6 1 - Primeira parte sem conexão com banco de dados fiz a tela principal, e + uma tela. compilei instalei no smartfone fuciona direitinho. 2 Parte Com conexão com banco de Dados SQLite Adicionei um componente de conexao FDConnection e um FDPhySQL LiteDriverLink. Assim abro a tela principal e coloquei um botão que e xecuta a conexao. FDConnection = Autostart Evento BeforeCnnection do FDConnection FDCoonection1.Params .Values['ColummnMetadataSuported'] := false; FDCoonection1.Params .Values['Database'] := GetHomePath + PathDelim + BancoDados.db3'; meu deployment está como abaixo LocalPath = vazio localname = bancodados.db3 Type = File Platforms = [android] Remoth Path = .\assets\internal\ RemoteName = bancodados.db3 testando no windows tudo funciona Quando instalo no celular dá a seguinte mensagem [FireDac][stan]{Def]-254 Definition[nomedaConexao] is not found in [] Alguem sabe como resolver este erro ? Obrigado Observação na uses tem esta Unit (FireDac. stan.Def) -
Numeração Sequencial Da Nfc-E
Arnaldo Cruz replied to Arnaldo Cruz's tópico in Object Pascal - Delphi & Lazarus
POde usar uma serie para cada caixa ? Caixa 1 Serie 1 Caixa 2 Serie 2 Caixa 3 Serie 3 Se isso for possivel está resolvido a questão. Obrigado -
Ao utilizar os skin no delphi XE6 automaticamente é desativado todo tratamento de cores que seja feita para fonte e focu. porem nos componentes nativos tem uma Propriedade StyleElement que desmarcando as cores de fonte e do componente ao receber focu ficam da cor que foi planejada. O problema é que uso dois componentes do JEDI que não tem estas propriedades. TjvCalcEdit TjvDataEdit Alguem sabe se tem como nestes componentes mesmo usando SKIN fazer com que ao receber focu a cor seja alterada. Obrigado
-
Problema Com Delphi Xe6
Arnaldo Cruz replied to Arnaldo Cruz's tópico in Object Pascal - Delphi & Lazarus
reSOLVI DA SEUINTE FORMA no Datamodule coloquei na Uses o midasLIb e o dbxfirebird. e no codigo fonte em geral retirei a codificação que tratava eventos de mouse. -
Problema Com Delphi Xe6
Arnaldo Cruz replied to Arnaldo Cruz's tópico in Object Pascal - Delphi & Lazarus
JUliomar fiz como vc indicou, sorte minha ter feito um backup pois ferrou foi tudo, nem compilar da certo. Olha aparentemente é a conexão com o banco de dados. pois da o erro de access violation e a tela de login e aberta. entro com a senha mestre e o sistema é aberto. porem quando tento acessar qualuqer tela que acessa o banco de dados da o erro de access violation. o que está mim encabulando é porque em algu mas maquinas a conexão é feita e em outras não, se todos usam firebird 2.1 -
Numeração Sequencial Da Nfc-E
Arnaldo Cruz replied to Arnaldo Cruz's tópico in Object Pascal - Delphi & Lazarus
resolvi da seguinte forma no momento da gravação eu pego o ultimo numero da nfc gravada e incremento + 1, nesse caso nunca vai acontecer um pulo ou repetição. o unico BO é que pro caixa mata o StandAlone pois deve ser feito na tabela do servidor.
