Árvore de páginas

Versões comparadas

Chave

  • Esta linha foi adicionada.
  • Esta linha foi removida.
  • A formatação mudou.

...

Obs.: - A coluna "Valor para Edição" quando preenchida, conterá os valores disponíveis para edição do "Conteúdo da linha". Quando a linha coluna "Valor para Edição" estiver vazia, o sistema não permitirá edição do respectivo "Conteúdo da linha".

Controle
Linhas
Controle
Detalhes
Controle
Sequencial
Posição
Inicial
Posição
Final
DecimalInformação da linhaConteúdo da linhaValor para edição 
0H
      
HEADER DE
ARQUIVO                       
ARQUIVO.T.
                                                                                                                                    
                              
0T
      
TRAILER DE
ARQUIVO                      
ARQUIVO.T.
                                                                                                                                    
                              
1D1      
DETALHE SEGMENTO
A                      
AIIF(SEA->EA_MODELO $ "01|02|03|04|10|41|43",.T.,.F.)
                                                                                   
                              
1D2      
DETALHE SEGMENTO
B                      
BIIF(SEA->EA_MODELO $ "01|02|03|04|10|41|43",.T.,.F.)
                                                                                   
                               
1H
      
HEADER DE LOTE - A/
B                    
BIIF(SEA->EA_MODELO $ "01|02|03|04|10|41|43",.T.,.F.)
                                                                                   
                               
1T
      
TRAILER DE LOTE - A/
B                   
BIIF(SEA->EA_MODELO $ "01|02|03|04|10|41|43",.T.,.F.)
                                                                                   
                              
2D1      
DETALHE SEGMENTO
J                      
JIIF(SEA->EA_MODELO $ "31",.T.,.F.)
                                                                                                     
                               
2H
      
HEADER DE LOTE -
J                      
JIIF(SEA->EA_MODELO $ "31",.T.,.F.)
                                                                                                     
                              
2T
      
TRAILER DE LOTE
J                       
JIIF(SEA->EA_MODELO $ "31",.T.,.F.)
                                                                                                     
                              
0H
130CODIGO DO
BANCO                         
BANCO1                              
0H
470LOTE DE
SERVICO                         
SERVICO0                              
0H
880TIPO
REGISTRO                           
REGISTRO0                              
0H
9170USO EXCL
CNAB                           
CNABSPACE(9)
                                                                                                                               
                              
0H
18180TP INSC
EMPRESA                         
EMPRESAIIF(SM0->M0_TPINSC == 3,"1","2")
                                                                                                       
                              
0H
19320NRO INSC
EMPRES                         
EMPRESPADL(ALLTRIM(SM0->M0_CGC),14,"0")
                                                                                                      
                              
0H
33410NRO CONV
BANCO                          
BANCOPADL(ALLTRIM(SEE->EE_CODEMP),9,"0")
                                                                                                    
                              
0H
42450COB CEDENTE
BB                          
BB126                              
0H
46500NRO VAR COB
BB                          
BBSPACE(5)
                                                                                                                               
                                 
0H
51520
RESERVADO                               
RESERVADOSPACE(2)
                                                                                                                               
                               
0H
53570AG MANT
CONTA                           
CONTAPADL(ALLTRIM(SEA->EA_AGEDEP),5,"0")
                                                                                                    
                              
0H
58580DV
AGENCIA                              
AGENCIACNABDVAG()
                                                                                                                             
                              
0H
59700NRO CTA
CORRENT                         
CORRENTPADL(ALLTRIM(SEA->EA_NUMCON),12,"0")
                                                                                                   
                              
0H
71710DV
CONTA                                
CONTACNABDVCC()
                                                                                                                             
                              
0H
72720DV AGEN
CONTA                           
CONTASPACE(1)
                                                                                                                               
                               
0H
731020NOME
EMPRESA                            
EMPRESAPADR(ALLTRIM(SM0->M0_NOMECOM),30,"")
                                                                                                   
                               
0H
1031320NOME
BANCO                              
BANCOPADR("BANCO DO BRASIL S.A.",30,"")
                                                                                                     
                              
0H
1331420USO EXCL
CNAB                           
CNABSPACE(10)
                                                                                                                              
                              
0H
1431430COD
REMESSA                             
REMESSA1                              
0H
1441510DT GER
ARQUIVO                          
ARQUIVOGRAVADATA(DDATABASE,.F.,5)
                                                                                                             
{"DATE()","DDATABASE"}        
0H
1521570HR GER
ARQUIVO                          
ARQUIVOSTRTRAN(TIME(),":","")
                                                                                                                 
                               
0H
1581630NRO SEQ
ARQUIVO                         
ARQUIVOPADL(SEE->EE_ULTDSK,6,"0")
                                                                                                             
                               
0H
1641660NRO VERS
ARQUIV                         
ARQUIV83                              
0H
1671710DENSID
GRAVACAO                         
GRAVACAOSPACE(05)
                                                                                                                              
                                
0H
1721910USO
BANCO                               
BANCOSPACE(20)
                                                                                                                              
                              
0H
1922110USO
EMPRESA                             
EMPRESASPACE(20)
                                                                                                                              
                              
0H
2122400USO EXCLU
CNAB                          
CNABSPACE(29)
                                                                                                                              
                              
1D1130CODIGO
BANCO                            
BANCO1                              
1D1470LOTE DE
SERVICO                         
SERVICO1                              
1D1880TIPO
REGISTRO                           
REGISTRO3                              
1D19130NRO SEQ
LOTE                            
LOTEPADL(INT(INCREMENTA()-1),5,"0")
                                                                                                        
                              
1D114140COD SEG
DETALHE                         
DETALHE
A                                                                                                                                    
                              
1D115150TIPO
MOVIMENTO                          
MOVIMENTO0                              
1D116170COD MOV
REMESSA                         
REMESSA0                              
1D118200COD CAMARA
CENT                         
CENTIIF(SEA->EA_MODELO $ "03|41|43",(IIF(SEA->EA_MODELO=="03","700","018")),"000")
                                                         
                              
1D121230COD BCO
FAVOR                           
FAVORPADL(ALLTRIM(SA2->A2_BANCO),3,"0")
                                                                                                     
                              
1D124280AGENCIA
FAVOREC                         
FAVORECPADL(ALLTRIM(SA2->A2_AGENCIA),5,"0")
                                                                                                   
                              
1D129290DV
AGENCIA                              
AGENCIASA2->A2_
DVAGE                                                                                                                          
DVAGE                              
1D130410CTA CORR
FAVORE                         
FAVOREPADR(ALLTRIM(SA2->A2_NUMCON),12,"0")
                                                                                                   
                               
1D142420DV CTA
CORRENTE                         
CORRENTESA2->A2_DVCTA                                                                                                                                                        
1D143430DV AGEN
CONTA                           
CONTASPACE(1)                                                                                                                                                             
1D144730NOME
FAVORECIDO                         
FAVORECIDOPADR(ALLTRIM(SA2->A2_NOME),30,"")
                                                                                                      
 {"A2_NREDUZ","A2_NOME"}       
1D174930NRO DOC
EMPRESA                         
EMPRESA                                                                                                                                                                     
1D1941010DT
PAGAMENTO                            
PAGAMENTOGRAVADATA(SE2->E2_VENCREA,.F.,5)
                                                                                                       
 {"E2_VENCTO","E2_EMISSAO","E2_VENCREA"} 
1D11021040TIPO
MOEDA                              
MOEDABRL                                                                                                                                                                
1D11051195QTD
MOEDA                               
MOEDAREPLICATE("0",5)                                                                                                                                                     
1D11201342VALOR
PAGTO                             
PAGTOPADL(SE2->(E2_SALDO+E2_SDACRESC-E2_SDDECRESC)*100,15,"0")
                                                                              
                              
1D11351540NRO DOC ATR
BCO                         
BCOSPACE(20)                                                                                                                                                            
1D11551620DT REAL
PAGTO                           
PAGTOREPLICATE("0",8)                                                                                                                                                     
1D11631772VLR REAL
PAGTO                          
PAGTOREPLICATE("0",15)                                                                                                                                                    
1D11782170OUTRAS
INFORMAC                         
INFORMACREPLICATE("0",40)                                                                                                                                                    
1D12182190COMPL TIPO
SERV                         
SERV                                                                                                                                                                     
1D12202240COD FINAL
TED                           
TED                                                                                                                                                                     
1D12252260COMPL FINAL
PAG                         
PAG                                                                                                                                                                     
1D12272290USO EXCL
CNAB                           
CNABSPACE(3)                                                                                                                                                             
1D12302300AVISO
FAVORECID                         
FAVORECID0                              
1D12312400
OCORRENCIAS                             
OCORRENCIASSPACE(10)                                                                                                                                                            
1D2130COD
BANCO                               
BANCO1                              
1D2470LOTE
SERVICO                            
SERVICO1                              
1D2880TIPO
REGISTRO                           
REGISTRO3                              
1D29130NRO SEQ REG
LT                          
LTPADL(INT(INCREMENTA()-1),5,"0")                                                                                                                                      
1D214140COD SEG REG
DET                         
DETB                                                                                                                                                                  
1D215170USO EXCL
CNAB                           
CNABSPACE(3)                                                                                                                                                             
1D218180TIPO
INSCRICAO                          
INSCRICAOIIF(SA2->A2_TIPO == "J","2","1")                                                                                                                                     
1D219320NRO
INSCRICAO                           
INSCRICAOPADR((ALLTRIM(SA2->A2_CGC)),14,"0")                                                                                                                                  
1D233620
ENDERECO                                
ENDERECOPADR(ALLTRIM(SA2->A2_END),30,"")                                                                                                                                     
1D263670
NUMERO                                  
NUMEROIIF(EMPTY(SA2->A2_NR_END),REPLICATE("0",5),PADL(ALLTRIM(SA2->A2_NR_END),5,"0"))
                                                        
                              
1D268820
COMPLEMENTO                             
COMPLEMENTOSPACE(15)                                                                                                                                                            
1D283970
BAIRRO                                  
BAIRROPADR(ALLTRIM(SA2->A2_BAIRRO),15,"")
                                                                                                    
                              
1D2981170
CIDADE                                  
CIDADEPADR(ALLTRIM(SA2->A2_MUN),20,"")
                                                                                                       
                               
1D21181250
CEP                                     
CEPPADL(ALLTRIM(SA2->A2_CEP),8,"0")
                                                                                                       
                              
1D21261270
ESTADO                                  
ESTADOPADR(ALLTRIM(SA2->A2_EST),2,"")
                                                                                                        
                               
1D21281350DATA
VENCIMENTO                         
VENCIMENTOGRAVADATA(SE2->E2_VENCTO,.F.,5)
                                                                                                        
                                
1D21361502VALOR
DOCUMENTO                         
DOCUMENTOPADL(SE2->(E2_SALDO)*100,15,"0")
                                                                                                       
                              
1D21511652VALOR
ABATIMENT                         
ABATIMENTPADL(SE2->(E2_SDDECRESC)*100,15,"0")
                                                                                                   
                              
1D21661802VALOR
DESCONTO                          
DESCONTOREPLICATE("0",15)                                                                                                                                                    
1D21811952VALOR
MORA                              
MORAPADL(SE2->(E2_SDACRESC)*100,15,"0")
                                                                                                    
                              
1D21962102
MULTA                                   
MULTAREPLICATE("0",15)                                                                                                                                                    
1D22112250COD DOC
FAVOREC                         
FAVORECSPACE(15)                                                                                                                                                            
1D22262260AVISO
FAVORECID                         
FAVORECID0                              
1D22272320USO EXCL
SIAPE                          
SIAPESPACE(6)                                                                                                                                                             
1D22332400USO EXCL
CNAB                           
CNABSPACE(8)                                                                                                                                                             
1H
130COD
BANCO                               
BANCO1                              
1H
470LOTE
SERVICO                            
SERVICO1                              
1H
880TIPO
REGISTRO                           
REGISTRO1                              
1H
990TIPO
OPERACAO                           
OPERACAOC                                                                                                                                                                  
1H
10110TIPO
SERVICO                            
SERVICO20                              
1H
12130FORMA
LANCTO                            
LANCTO1                              
1H
14160NRO VERS
LOTE                           
LOTE42                              
1H
17170USO EXCL
CNAB                           
CNABSPACE(1)                                                                                                                                                             
1H
18180TIPO INSC
EMPRE                         
EMPREIIF(SM0->M0_TPINSC == 3,"1","2")                                                                                                                                     
1H
19320NRO INSC
EMPRES                         
EMPRESPADL(ALLTRIM(SM0->M0_CGC),14,"0")
                                                                                                      
                              
1H
33410
CONVENIO                                
CONVENIOPADL(ALLTRIM(SEE->EE_CODEMP),9,"0")
                                                                                                    
                              
1H
42450COB CEDENTE
BB                          
BB126                              
1H
46500NRO CART COB
BB                         
BBSPACE(5)                                                                                                                                                             
1H
51520IDEN REMES
TEST                         
TESTTS                                                                                                                                                                 
1H
53570AGENCIA
MANTENE                         
MANTENEPADL(ALLTRIM(SEA->EA_AGEDEP),5,"0")
                                                                                                    
                              
1H
58580DV
AGENCIA                              
AGENCIACNABDVAG()                                                                                                                                                           
1H
59700NRO CTA
CORRENT                         
CORRENTPADL(ALLTRIM(SEA->EA_NUMCON),12,"0")
                                                                                                   
                              
1H
71710DV CTA
CORRENTE                         
CORRENTECNABDVCC()                                                                                                                                                           
1H
72720DV AGE
CONTA                            
CONTASPACE(1)                                                                                                                                                             
1H
731020NOME DA
EMPRESA                         
EMPRESAPADR(ALLTRIM(SM0->M0_NOMECOM),30,"")
                                                                                                   
                              
1H
1031420MENSAGEM
1                              
1SPACE(40)                                                                                                                                                            
1H
1431720
ENDERECO                                
ENDERECOPADR(IIF(EMPTY(SM0->M0_ENDENT),SM0->M0_ENDENT,SM0->M0_ENDENT),30,"")
                                                                   
                              
1H
1731770
NUMERO                                  
NUMEROREPLICATE("0",5)                                                                                                                                                     
1H
1781920
COMPLEMENTO                             
COMPLEMENTOPADR(ALLTRIM(SM0->M0_COMPENT),15,"")
                                                                                                   
                              
1H
1932120
CIDADE                                  
CIDADEPADR(IIF(EMPTY(SM0->M0_CIDENT),SM0->M0_CIDCOB,SM0->M0_CIDENT),20,"")
                                                                   
                              
1H
2132200
CEP                                     
CEPPADR(IIF(EMPTY(SM0->M0_CEPENT),SM0->M0_CEPCOB,SM0->M0_CEPENT),8,"0")
                                                                   
                              
1H
2212220
ESTADO                                  
ESTADOPADR(IIF(EMPTY(SM0->M0_ESTENT),SM0->M0_ESTCOB,SM0->M0_ESTENT),2,"")
                                                                    
                              
1H
2232300USO EXCL
CNAB                           
CNABSPACE(8)                                                                                                                                                             
1H
2312400
OCORRENCIAS                             
OCORRENCIASSPACE(10)                                                                                                                                                            
1T
130COD BCO
COMPENS                         
COMPENS1                              
1T
470LOTE
SERVICO                            
SERVICO1                              
1T
880TIPO
REGISTRO                           
REGISTRO5                              
1T
9170USO EXCL
CNAB                           
CNABSPACE(09)                                                                                                                                                            
1T
18230QTDE REG
LOTES                          
LOTESIIF(SEA->EA_MODELO $ "01/03/41/43",PADL((NTOTCNAB2*2)+2,6,"0"),PADL((NTOTCNAB2+2),6,"0"))
                                              
                              
1T
24412SOMAT
VALORES                           
VALORESPADL(SOMAVALOR(),18,"0")                                                                                                                                             
1T
42595SOMAT QTD
MOEDA                         
MOEDAREPLICATE("0",18)                                                                                                                                                    
1T
60650NRO AVISO
DEBIT                         
DEBITREPLICATE("0",6)                                                                                                                                                     
1T
662300USO EXCL
CNAB                           
CNABSPACE(165)                                                                                                                                                           
1T
2312400
OCORRENCIAS                             
OCORRENCIASSPACE(10)                                                                                                                                                            
2D1130COD
BANCO                               
BANCO1                              
2D1470LOTE
SERVICO                            
SERVICO1                              
2D1880CODIGO
REGISTRO                         
REGISTRO3                              
2D19130
NSR                                     
NSRPADL(INT(INCREMENTA()-1),5,"0")                                                                                                                                      
2D114140CODIGO
SEGMENTO                         
SEGMENTOJ                                                                                                                                                                  
2D115150TIPO
MOVIMENTO                          
MOVIMENTO0                              
2D116170CODIGO
MOVIMENT                         
MOVIMENT0                              
2D118610CODIGO
BARRAS                           
BARRASSUBSTR(SE2->E2_CODBAR,1,44)
                                                                                                            
                              
2D162910NOME
CEDENTE                            
CEDENTEPADR(ALLTRIM(SA2->A2_NOME),30,"")
                                                                                                      
                               
2D192990DATA
VENCIMENTO                         
VENCIMENTOGRAVADATA(SE2-E2_VENCTO,.F.,5)
                                                                                                         
                               
2D11001142VALOR
TITULO                            
TITULOPADL(SE2->(E2_SALDO)*100,15,"0")
                                                                                                       
                              
2D11151292VLR DESC
ABATIM                         
ABATIMPADL(SE2->(E2_SDDECRESC)*100,15,"0")
                                                                                                   
                              
2D11301443VLR MORA
MULTA                          
MULTAPADL(SE2->(E2_SDACRESC)*100,16,"0")
                                                                                                    
                               
2D11451520DATA
PAGAMENTO                          
PAGAMENTOGRAVADATA(SE2->E2_VENCREA,.F.,5)
                                                                                                       
{"E2_VENCTO","E2_EMISSAO","E2_VENCREA"} 
2D11531672VALOR
PAGAMENTO                         
PAGAMENTOPADL(SE2->(E2_SALDO+E2_SDACRESC-E2_SDDECRESC)*100,15,"0")
                                                                              
                              
2D11681825QTD
MOEDA                               
MOEDAREPLICATE("0",15)                                                                                                                                                    
2D11832020NRO ATRIB
EMPRE                         
EMPREPADR(ALLTRIM(SE2->E2_IDCNAB),20,"")
                                                                                                    
                               
2D12032220NRO ATRIB
BANCO                         
BANCO REPLICATE("0",20)
                                                                                                                      
                               
2D12232240CODIGO
MOEDA                            
MOEDA9                              
2D12252300USO EXCL
CNAB                           
CNABSPACE(6)                                                                                                                                                             
2D12312400
OCORRENCIAS                             
OCORRENCIASSPACE(10)                                                                                                                                                            
2H
130COD
BANCO                               
BANCO1                              
2H
470LOTE
SERVICO                            
SERVICO1                              
2H
880TIPO
REGISTRO                           
REGISTRO1                              
2H
990TIPO
OPERACAO                           
OPERACAOC                                                                                                                                                                  
2H
10110TIPO
SERVICO                            
SERVICO20                              
2H
12130FORMA
LACTO                             
LACTO                                                                                                                                                                     
2H
14160NRO VERSAO 
LOT                         
LOT30                              
2H
17170USO EXCL
CNAB                           
CNABSPACE(1)                                                                                                                                                             
2H
18180TIPO INSC
BENEF                         
BENEFIIF(SM0->M0_TPINSC== 3,"1","2")                                                                                                                                      
2H
19320NRO INSC
BENEF                          
BENEFPADL(ALLTRIM(SM0->M0_CGC),14,"0")                                                                                                                                    
2H
33410CODIGO
BENEF                            
BENEFPADL(ALLTRIM(SEE->EE_CODEMP),9,"0")
                                                                                                    
                               
2H
42450TIPO
COMPROMISS                         
COMPROMISS126                              
2H
46500COD
COMPROMISS                          
COMPROMISSSPACE(5)                                                                                                                                                             
2H
51520USO EXCL
CNAB                           
CNABTS                                                                                                                                                                 
2H
53570AGENCIA
MANTENE                         
MANTENEPADL(ALLTRIM(SEA->EA_AGEDEP),5,"0")
                                                                                                    
                              
2H
58580DV
AGENCIA                              
AGENCIACNABDVAG()                                                                                                                                                           
2H
59700NRO CTA
CORRENT                         
CORRENTPADL(ALLTRIM(SEA->EA_NUMCON),12,"0")
                                                                                                   
                              
2H
71710DV CTA
CORRENTE                         
CORRENTECNABDVCC()                                                                                                                                                           
2H
72720DV AGE
CONTA                            
CONTASPACE(1)                                                                                                                                                             
2H
731020NOME DA
EMPRESA                         
EMPRESAPADR(ALLTRIM(SM0->M0_NOMECOM),30,"")
                                                                                                   
                              
2H
1031420MENSAGEM
1                              
1SPACE(40)                                                                                                                                                            
2H
1431720
ENDERECO                                
ENDERECOPADR(IIF(EMPTY(SM0->M0_ENDENT),SM0->M0_ENDENT,SM0->M0_ENDENT),30,"")
                                                                   
                              
2H
1731770
NUMERO                                  
NUMEROREPLICATE("0",5)                                                                                                                                                     
2H
1781920
COMPLEMENTO                             
COMPLEMENTOPADR(ALLTRIM(SM0->M0_COMPENT),15,"")
                                                                                                   
                              
2H
1932120
CIDADE                                  
CIDADEPADR(IIF(EMPTY(SM0->M0_CIDENT),SM0->M0_CIDCOB,SM0->M0_CIDENT),20,"")
                                                                   
                              
2H
2132200
CEP                                     
CEPPADR(IIF(EMPTY(SM0->M0_CEPENT),SM0->M0_CEPCOB,SM0->M0_CEPENT),8,"0")
                                                                   
                              
2H
2212220
ESTADO                                  
ESTADOPADR(IIF(EMPTY(SM0->M0_ESTENT),SM0->M0_ESTCOB,SM0->M0_ESTENT),2,"")
                                                                    
                              
2H
2232300USO EXCL
CNAB                           
CNABSPACE(8)                                                                                                                                                             
2H
2312400
OCORRENCIAS                             
OCORRENCIASSPACE(10)                                                                                                                                                            
2T
130COD BCO
COMPENS                         
COMPENS1                              
2T
470LOTE
SERVICO                            
SERVICO1                              
2T
880TIPO
REGISTRO                           
REGISTRO5                              
2T
9170USO EXCL
CNAB                           
CNABSPACE(09)                                                                                                                                                            
2T
18230QTDE REG
LOTES                          
LOTESPADL((NTOTCNAB2*2)+2,6,"0")                                                                                                                                          
2T
24412SOMAT
VALORES                           
VALORESPADL(SOMAVALOR(),18,"0")                                                                                                                                             
2T
42595SOMAT QTD
MOEDA                         
MOEDAREPLICATE("0",18)                                                                                                                                                    
2T
60650NRO AVISO
DEBIT                         
DEBITREPLICATE("0",6)                                                                                                                                                     
2T
662300USO EXCL
CNAB                           
CNABSPACE(165)                                                                                                                                                           
2T
2312400
OCORRENCIAS                             
OCORRENCIASSPACE(10)                                                                                                                                                            
0T
130COD
BANCO                               
BANCO1                              
0T
470LOTE
SERVICO                            
SERVICO9999                              
0T
880TIPO
REGISTRO                           
REGISTRO9                              
0T
9170USO EXCL
CNAB                           
CNABSPACE(9)                                                                                                                                                             
0T
18230QTDE LOTES
ARQ                          
ARQ1                              
0T
24290QTDE
REGISTROS                          
REGISTROSPADL((NTOTCNAB2*3)+4,6,"0")                                                                                                                                          
0T
30350QTDE
CONTAS                             
CONTASREPLICATE("0",.6)                                                                                                                                                    
0T
362400USO EXCL
CNAB                           
CNABSPACE(205)