public RegistroJ001 GetRegistroJ001() { RegistroJ001 regJ001 = new RegistroJ001(); regJ001.IND_DAD = 0; return(regJ001); }
private void ProcessarDemonstracoesContabeis() { this.UpdateStatusAsynchronousExecution("Iniciando processamento das demonstrações contábeis"); this.UpdateStatusAsynchronousExecution("Gerando Registro J001"); RegistroJ001 regJ001 = DemonstracoesContabeisService.GetRegistroJ001(); DadosArquivoContabilService.PersistirRegistro(regJ001); IEnumerable <RegistroJ930> registrosJ930 = DemonstracoesContabeisService.GetRegistrosJ930(); foreach (RegistroJ930 regJ930 in registrosJ930) { this.UpdateStatusAsynchronousExecution("Gerando Registro J930"); DadosArquivoContabilService.PersistirRegistro(regJ930); } this.UpdateStatusAsynchronousExecution("Gerando Registro J990"); RegistroJ990 regJ990 = DadosArquivoContabilService.GetRegistroJ990(); DadosArquivoContabilService.PersistirRegistro(regJ990); }