Acbrsat error after SNV update

Asked

Viewed 179 times

1

I use Acbrsat in a box front, it happens that after updating Acbrsat by SVN my project does not compile more, gives error in the following lines

if ACBrSAT1.Modelo = mfe_Integrador_XML then
begin
  TACBrSATMFe_integrador_XML(ACBrSAT1.SAT).PastaInput := 'C:\Integrador\Input\';
  TACBrSATMFe_integrador_XML(ACBrSAT1.SAT).PastaOutput := 'C:\Integrador\Output\';
  TACBrSATMFe_integrador_XML(ACBrSAT1.SAT).Timeout := 30;
end;

It complains that it does not find the property Pastainput / Pastaoutput and Timeuot

Does anyone know which properties have been replaced?

Some other lines that gave error in other properties I managed to hit, but these I did not find in Unit

  • I already solved the problem, I’m waiting for the timeout so I can answer the question.

1 answer

1

After upgrading Abcrsat via SVN I needed to make two changes to my codes

1:

of:

  ACBrSATExtratoFortes1.Margens.Topo := 5;
  ACBrSATExtratoFortes1.Margens.Fundo := 5;
  ACBrSATExtratoFortes1.Margens.Esquerda := 4;
  ACBrSATExtratoFortes1.Margens.Direita := 4;
  ACBrSATExtratoFortes1.MostrarPreview := True;  
  ACBrSATExtratoFortes1.PrinterName := 'EPSON TM-T20';

for:

  ACBrSATExtratoFortes1.MargemSuperior := 5;
  ACBrSATExtratoFortes1.MargemInferior := 5;
  ACBrSATExtratoFortes1.MargemEsquerda := 4;
  ACBrSATExtratoFortes1.MargemDireita := 4;
  ACBrSATExtratoFortes1.MostraPreview := True;
  ACBrSATExtratoFortes1.Impressora := 'EPSON TM-T20';

2:

Add the Acbrintegrador1 compote previously used by the class:

  TACBrSATMFe_integrador_XML(ACBrSAT1.SAT).PastaInput := 'C:\Integrador\Input\';
  TACBrSATMFe_integrador_XML(ACBrSAT1.SAT).PastaOutput := 'C:\Integrador\Output\';
  TACBrSATMFe_integrador_XML(ACBrSAT1.SAT).Timeout := 30;

and change lines to:

  ACBrIntegrador1.PastaInput := 'C:\simpdv\Integrador\Input\';
  ACBrIntegrador1.PastaOutput := 'C:\simpdv\Integrador\Output\';
  ACBrIntegrador1.Timeout := 30;

Browser other questions tagged

You are not signed in. Login or sign up in order to post.