Jump to content

dev botao
  • Este tópico foi criado há 3434 dias atrás.
  • Talvez seja melhor você criar um NOVO TÓPICO do que postar uma resposta aqui.

Recommended Posts

Posted

O campo NIVEL esta sendo convertido no formato datetime, pra quem tiver o mesmo problema em exportar o SPED ECF, basta corrigir conforme o código abaixo:

 

procedure TBloco_L.WriteRegistroL100(RegL030: TRegistroL030);
var
  intFor: integer;
begin
  if Assigned(RegL030.RegistroL100) then
  begin
    for intFor := 0 to RegL030.RegistroL100.Count - 1 do
    begin
      with RegL030.RegistroL100.Items[intFor] do
      begin
        Add( LFill('L100')              +
             LFill(CODIGO)              +
             LFill(DESCRICAO)           +
             LFill(TIPO)                +
             LFill(IntToStr(NIVEL))     +
             LFill(COD_NAT,2)           +
             LFill(COD_CTA_SUP)         +
             VLFill(VAL_CTA_REF_INI,2)  +
             LFill(IND_VAL_CTA_REF_INI) +
             VLFill(VAL_CTA_REF_FIN,2)  +
             LFill(IND_VAL_CTA_REF_FIN) );
      end;
      FRegistroL990.QTD_LIN := FRegistroL990.QTD_LIN + 1;
    end;
    RegistroL100Count := RegistroL100Count + RegL030.RegistroL100.Count;
  end;
end;

 

  • Este tópico foi criado há 3434 dias atrás.
  • Talvez seja melhor você criar um NOVO TÓPICO do que postar uma resposta aqui.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.

The popup will be closed in 10 seconds...