Jump to content
Fivewin Brasil

Sintegra a partir da MFD do ECF


marcioe

Recommended Posts

amigos, um cliente nosso teve a CPU danificada por uma descarga eletrica no final de semana.

Porem o ultimo bkp dele é de 02 dias antes (ele fez na sexta e o pc pifou no domingo a noite), o a placa mae fritou ,hd fritou

 

Porem a impressora fiscal está ok BLZ

 

Tem como gerar os arquivos do sintegra pelos dados da impressora.  da memoria dela.

Link to comment
Share on other sites

Com esse comando voce pode extrair o sintegra do ecf o resto ( notas e entrada e saidas ) vc pega do seu sistema 

 

Bematech_FI_RelatorioSintegraMFD

 

exemplo:

 

 
         retorno = 0
         w_fone_:=strtran(left(w_fone,13),"-","")
         w_fone_:=strtran(w_fone_,"/","")
         w_fone_:=strtran(w_fone_,"(","")
         w_fone_:=alltrim(strtran(w_fone_,")",""))
 
         retorno:=Bematech_FI_RelatorioSintegraMFD ( 63 ,"c:\guardiao\temp\SINTEGRA.TXT",strzero(month(wdtin),2),str(year(wdtin),4)   ,;
                                                      left(w_empr,35) , left(w_ende,34) , left(w_numer,5) , left(w_compl,22) , left(w_bair,15) ,;
                                                      left(w_cida,27) +" "+ w_esta , w_cep_ , left(w_fone_,12) , left(w_fone_,10) , left(w_respo,18)  )
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...