Árvore de páginas

Versões comparadas

Chave

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

...

Aviso
titleImportante

A coluna "Opções de Edição" contém as lista de possíveis valores para edição da expressão do "Conteúdo". Os campos que não possuem listas de edição, não permitem edição no processo de download dos modelos.

Controle

LinhasControle

DetalhesControle

SequencialPosição

InicialPosição

Final
InicialDecimalInformaçãoConteúdoOpções de Edição
0H
      
HEADER DE
ARQUIVO
ARQUIVO                       .T.                                                                                                                                    
0T
      
TRAILER DE
ARQUIVO
ARQUIVO                      .T.
                              
                                                                                                                                    
1D1      
DETALHE SEGMENTO
A
A                      IIF(SEA->EA_MODELO $ "01|02|03|04|10|41|43",.T.,.F.)
                              
                                                                                   
1D2      
DETALHE SEGMENTO
B
B                      IIF(SEA->EA_MODELO $ "01|02|03|04|10|41|43",.T.,.F.)
 
                                                                                   
                              

1H
      
HEADER DE LOTE - A/
B
B                    IIF(SEA->EA_MODELO $ "01|02|03|04|10|41|43",.T.,.F.)
 
                                                                                   
                              

1T
      
TRAILER DE LOTE - A/
B
B                   IIF(SEA->EA_MODELO $ "01|02|03|04|10|41|43",.T.,.F.)                                                                                   
                              

2D1      
DETALHE SEGMENTO
J
J                      IIF(SEA->EA_MODELO $ "30/31",.T.,.F.)
 
                                                                                                  
2
                              
D2
H
      
HEADER DE LOTE - J

DETALHE SEGMENTO J52                    IIF(SEA->EA_MODELO $ "30/31",.T.,.F.)
                              
                                                                                                  
2
T
H
      
TRAILER

HEADER DE LOTE
J
- J                      IIF(SEA->EA_MODELO $ "30/31",.T.,.F.)
                                                                                                  
2T
      
TRAILER DE LOTE J                       IIF(SEA->EA_MODELO $ "30/31",.T.,.F.)                                                                                                  
                              

0H
130CODIGO DO
BANCO
BANCO                         1
                              

0H
470LOTE DE
SERVICO
SERVICO                         0
                              

0H
880TIPO
REGISTRO
REGISTRO                           0
                              

0H
9170USO EXCL
CNAB
CNAB                           SPACE(9)                                                                                                                               
                              

0H
18180TP INSC
EMPRESA
EMPRESA                         IIF(SM0->M0_TPINSC == 3,"1","2")                                                                                                       
                              

0H
19320NRO INSC
EMPRES
EMPRES                         PADL(ALLTRIM(SM0->M0_CGC),14,"0")
                              
                                                                                                      
0H
33410NRO CONV
BANCO
BANCO                          PADL(ALLTRIM(SEE->EE_CODEMP),9,"0")                                                                                                    
                              

0H
42450COB CEDENTE
BB
BB                          126
                              

0H
46500NRO VAR COB
BB
BB                          SPACE(5)
                                 
                                                                                                                               
0H
51520
RESERVADO
RESERVADO                               SPACE(2)
 
                                                                                                                               
                              

0H
53570AG MANT
CONTA
CONTA                           PADL(ALLTRIM(SEA->EA_AGEDEP),5,"0")                                                                                                    
                              

0H
58580DV
AGENCIA
AGENCIA                              CNABDVAG()
                              
                                                                                                                             
0H
59700NRO CTA
CORRENT
CORRENT                         PADL(ALLTRIM(SEA->EA_NUMCON),12,"0")
                              
                                                                                                   
0H
71710DV
CONTA
CONTA                                CNABDVCC()                                                                                                                             
                              

0H
72720DV AGEN
CONTA
CONTA                           SPACE(1)
                               
                                                                                                                               
0H
731020NOME
EMPRESA
EMPRESA                            PADR(ALLTRIM(SM0->M0_NOMECOM),30,"")
                               
                                                                                                   
0H
1031320NOME
BANCO
BANCO                              PADR("BANCO DO BRASIL S.A.",30,"")                                                                                                     
                              

0H
1331420USO EXCL
CNAB
CNAB                           SPACE(10)                                                                                                                              
                              

0H
1431430COD
REMESSA
REMESSA                             1
                              

0H
1441510DT GER
ARQUIVO
ARQUIVO                          GRAVADATA(DDATABASE,.F.,5)
  • DATE()
  • DDATABASE       
                                                                                                                 
    0H
    1521570HR GER
    ARQUIVO
    ARQUIVO                          STRTRAN(TIME(),":","")
     
                                                                                                                     
                                  

    0H
    1581630NRO SEQ
    ARQUIVO
    ARQUIVO                         PADL(SEE->EE_ULTDSK,6,"0")
     
                                                                                                                 
                                  

    0H
    1641660NRO VERS
    ARQUIV
    ARQUIV                         83
                                  

    0H
    1671710DENSID
    GRAVACAO
    GRAVACAO                         SPACE(05)
      
                                                                                                                                  
                                  

    0H
    1721910USO
    BANCO
    BANCO                               SPACE(20)
                                  
                                                                                                                                  
    0H
    192
    211
    2220USO
    EMPRESA
    EMPRESA                             SPACE(
    20
    31)                                                                                                                              
                                  

    0H
    212

    223
    240
    2250
    USO EXCLU CNAB
    IDENTIFICACAO                           SPACE(
    29
    3)                                                                                                                               
                                  

    0
    1
    H
    D

    226
    1
    228
    1
    0
    3
    CONTROLE VANS                           0
    CODIGO BANCO

    0
    1
    H
                                  

    229
    1
    230
    D
    0
    17
    SERVICO                                 
    4
    0
    0
    LOTE DE SERVICO
    H
    1

    2312400USO EXCLU CNAB                          SPACE(10)                                                                                                                              
    1D1130CODIGO BANCO                            1
    1D1470LOTE DE SERVICO                         STRZERO(FNLOTECNAB(),4)                                                                                                                
                                  

    1D1880TIPO
    REGISTRO
    REGISTRO                           3
                                  

    1D19130NRO SEQ
    LOTE
    LOTE                            PADL(
    INT(INCREMENTA
    FNTITLOTE()
    -1)
    ,5,"0")                                                                                                                
                                  

    1D114140COD SEG
    DETALHE
    DETALHE                         
    A                                                                                                                                    
                                  

    1D115150TIPO
    MOVIMENTO
    MOVIMENTO                          0
                                  

    1D116170COD MOV
    REMESSA
    REMESSA                         0
                                  

    1D118200COD CAMARA
    CENT
    CENT                         IIF(SEA->EA_MODELO $ "03|41|43",(IIF(SEA->EA_MODELO=="03","700","018")),"000")                                                         
                                  

    1D121230COD BCO
    FAVOR
    FAVOR                           PADL(ALLTRIM(SA2->A2_BANCO),3,"0")
                                  
                                                                                                         
    1D124280AGENCIA
    FAVOREC
    FAVOREC                         PADL(ALLTRIM(SA2->A2_AGENCIA),5,"0")
                                  
                                                                                                       
    1D129290DV
    AGENCIA
    AGENCIA                              SA2->A2_
    DVAGE
    DVAGE                                                                                                                          
                                  

    1D130410CTA CORR
    FAVORE
    FAVORE                         PADR(ALLTRIM(SA2->A2_NUMCON),12,"0")
                                   
                                                                                                       
    1D142420DV CTA
    CORRENTE
    CORRENTE                         SA2->A2_DVCTA                                                                                                                          
                                  

    1D143430DV AGEN
    CONTA
    CONTA                           SPACE(1)                                                                                                                               
                                  

    1D144730NOME
    FAVORECIDO
    FAVORECIDO                         PADR(ALLTRIM(SA2->A2_NOME),30,"")
     
    • A2_NREDUZ
    • A2_NOME      
                                                                                                          
    1D174930NRO DOC
    EMPRESA                                                                                                                                                                     1
    EMPRESA                         PADR(ALLTRIM(SE2->E2_IDCNAB),20,"")                                                                                                    
    D

    1D1941010DT
    PAGAMENTO
    • E2_VENCTO
    • E2_EMISSAO
    • E2_VENCREA
    PAGAMENTO                            GRAVADATA(SE2->E2_VENCREA,.F.,5)
     
                                                                                                           
    1D11021040TIPO
    MOEDA
    MOEDA                              BRL                                                                                                                                  
                                  

    1D11051195QTD
    MOEDA
    MOEDA                               REPLICATE("0",5)                                                                                                                       
                                  

    1D11201342VALOR
    PAGTO
    PAGTO                             PADL(SE2->(E2_SALDO+E2_SDACRESC-E2_SDDECRESC)*100,15,"0")                                                                              
                                  

    1D11351540NRO DOC ATR
    BCO
    BCO                         SPACE(20)                                                                                                                              
                                  

    1D11551620DT REAL
    PAGTO
    PAGTO                           REPLICATE("0",8)                                                                                                                       
                                  

    1D11631772VLR REAL
    PAGTO
    PAGTO                          REPLICATE("0",15)                                                                                                                      
                                  

    1D11782170OUTRAS
    INFORMAC
    INFORMAC                         REPLICATE("0",40)                                                                                                                      
                                  

    1D12182190COMPL TIPO
    SERV
    SERV                         SPACE(2)                                                                                                                               
                                                                                                                                                                         

    1D12202240COD FINAL
    TED
    TED                           SPACE(5)                                                                                                                               
                                                                                                                                                                                                                                                                                                                                              

    1D12252260COMPL FINAL
    PAG
    PAG                         SPACE(2)                                                                                                                               
    1D12272290USO EXCL
    CNAB
    CNAB                           SPACE(3)                                                                                                                               
                                  

    1D12302300AVISO
    FAVORECID
    FAVORECID                         0
                                  

    1D12312400
    OCORRENCIAS
    OCORRENCIAS                             SPACE(10)                                                                                                                              
                                  

    1D2130COD
    BANCO
    BANCO                               1
                                  

    1D2470LOTE
    SERVICO1
    SERVICO                            STRZERO(FNLOTECNAB(),4)                                                                                                                
                                  

    1D2880TIPO
    REGISTRO
    REGISTRO                           3
                                  

    1D29130NRO SEQ REG
    LT
    LT                          PADL(
    INT
    FNTITLOTE(
    INCREMENTA(
    )
    -1)
    ,5,"0")
                                                                                                            
                                                                                                                    
                                  

    1D214140COD SEG REG
    DET
    DET                         B                                                                                                                                    
                                  

    1D215170USO EXCL
    CNAB
    CNAB                           SPACE(3)                                                                                                                               
                                  

    1D218180TIPO
    INSCRICAO
    INSCRICAO                          IIF(SA2->A2_TIPO == "J","2","1")                                                                                                       
                                  

    1D219320NRO
    INSCRICAO
    INSCRICAO                           PADR((ALLTRIM(SA2->A2_CGC)),14,"0")                                                                                                    
                                  

    1
    1
    D233620
    ENDERECO
    ENDERECO                                PADR(ALLTRIM(SA2->A2_END),30,"")                                                                                                       
                                  

    1D263670
    NUMERO
    NUMERO                                  IIF(EMPTY(SA2->A2_NR_END),REPLICATE("0",5),PADL(ALLTRIM(SA2->A2_NR_END),5,"0"))                                                        
                                  

    1D268820
    COMPLEMENTO
    COMPLEMENTO                             SPACE(15)                                                                                                                              
                                  

    1D283970
    BAIRRO
    BAIRRO                                  PADR(ALLTRIM(SA2->A2_BAIRRO),15,"")
                                  
                                                                                                        
    1D2981170
    CIDADE
    CIDADE                                  PADR(ALLTRIM(SA2->A2_MUN),20,"")
     
                                                                                                           
                                  

    1D2118
    125
    1220
    CEP
    CEP                                     PADL(ALLTRIM(SA2->A2_CEP),
    8
    5,"0")                                                                                                       
                                  

    1D2
    126
    123
    127
    1250
    ESTADO
    COMPLEM CEP                             PADL(SUBSTR
    PADR
    (ALLTRIM(SA2->A2_
    EST
    CEP),6,3),
    2
    3,"0")
     
                                                                                               
                                  

    1D2
    128
    126
    135
    1270
    DATA VENCIMENTOGRAVADATA(SE2-
    ESTADO                                  PADR(ALLTRIM(SA2->A2_EST),2,"")                                                                                                        
    1D21281350DATA VENCIMENTO                         GRAVADATA(SE2->E2_VENCTO,.F.,5)
      
                                                                                                            
                                  

    1D21361502VALOR
    DOCUMENTO
    DOCUMENTO                         PADL(SE2->(E2_SALDO)*100,15,"0")                                                                                                       
                                  

    1D21511652VALOR
    ABATIMENT
    ABATIMENT                         PADL(SE2->(E2_SDDECRESC)*100,15,"0")
                                  
                                                                                                       
    1D21661802VALOR
    DESCONTO
    DESCONTO                          REPLICATE("0",15)                                                                                                                      
                                  

    1D21811952VALOR
    MORA
    MORA                              PADL(SE2->(E2_SDACRESC)*100,15,"0")                                                                                                    
                                  

    1D21962102
    MULTA
    MULTA                                   REPLICATE("0",15)                                                                                                                      
                                  

    1D22112250COD DOC
    FAVOREC
    FAVOREC                         SPACE(15)                                                                                                                              
                                  

    1D22262260AVISO
    FAVORECID
    FAVORECID                         0
                                  

    1D22272320USO EXCL
    SIAPE
    SIAPE                          SPACE(6)                                                                                                                               
                                  

    1D22332400USO EXCL
    CNAB
    CNAB                           SPACE(8)                                                                                                                               
                                  

    1H
    130COD
    BANCO
    BANCO                               1
                                  

    1H
    470LOTE
    SERVICO1                              
    SERVICO                            STRZERO(FNLOTECNAB(),4)                                                                                                                
    1H
    880TIPO
    REGISTRO
    REGISTRO                           1
                                  

    1H
    990TIPO
    OPERACAO
    OPERACAO                           C                                                                                                                                    
                                  

    1H
    10110TIPO
    SERVICO
    SERVICO                            20
                                  

    1H
    12130FORMA
    LANCTO
    LANCTO                            1
                                  

    1H
    14160NRO VERS
    LOTE
    LOTE                           42
                                  

    1H
    17170USO EXCL
    CNAB
    CNAB                           SPACE(1)                                                                                                                               
                                  

    1H
    18180TIPO INSC
    EMPRE
    EMPRE                         IIF(SM0->M0_TPINSC == 3,"1","2")                                                                                                       
                                  

    1H
    19320NRO INSC
    EMPRES
    EMPRES                         PADL(ALLTRIM(SM0->M0_CGC),14,"0")                                                                                                      
                                  

    1H
    33410
    CONVENIO
    CONVENIO                                PADL(ALLTRIM(SEE->EE_CODEMP),9,"0")                                                                                                    
                                  

    1H
    42450COB CEDENTE
    BB
    BB                          126
                                  

    1H
    46500NRO CART COB
    BB
    BB                         SPACE(5)                                                                                                                               
                                  

    1H
    51520IDEN REMES
    TEST
    TEST                         TS                                                                                                                                   
                                  

    1H
    53570AGENCIA
    MANTENE
    MANTENE                         PADL(ALLTRIM(SEA->EA_AGEDEP),5,"0")                                                                                                    
                                  

    1H
    58580DV
    AGENCIA
    AGENCIA                              CNABDVAG()                                                                                                                             
                                  

    1H
    59700NRO CTA
    CORRENT
    CORRENT                         PADL(ALLTRIM(SEA->EA_NUMCON),12,"0")
                                  
                                                                                                       
    1H
    71710DV CTA
    CORRENTE
    CORRENTE                         CNABDVCC()                                                                                                                             
                                  

    1H
    72720DV AGE
    CONTA
    CONTA                            SPACE(1)                                                                                                                               
                                  

    1H
    731020NOME DA
    EMPRESA
    EMPRESA                         PADR(ALLTRIM(SM0->M0_NOMECOM),30,"")
                                  
                                                                                                       
    1H
    1031420MENSAGEM
    1
    1                              SPACE(40)                                                                                                                              
                                  

    1H
    1431720
    ENDERECO
    ENDERECO                                PADR(IIF(EMPTY(SM0->M0_ENDENT),SM0->M0_ENDENT,SM0->M0_ENDENT),30,"")                                                                   
                                  

    1H
    1731770
    NUMERO
    NUMERO                                  REPLICATE("0",5)                                                                                                                       
                                  

    1H
    1781920
    COMPLEMENTO
    COMPLEMENTO                             PADR(ALLTRIM(SM0->M0_COMPENT),15,"")                                                                                                   
                                  

    1H
    1932120
    CIDADE
    CIDADE                                  PADR(IIF(EMPTY(SM0->M0_CIDENT),SM0->M0_CIDCOB,SM0->M0_CIDENT),20,"")                                                                   
                                  

    1H
    213
    220
    2170
    CEP
    CEP                                     PADR(IIF(EMPTY(SM0->M0_CEPENT),SM0->M0_CEPCOB,SM0->M0_CEPENT),
    8
    5,"0")                                                                   
                                  

    1H
    221

    218
    222
    2200
    ESTADO
    COMPLEM CEP                             PADR(SUBSTR(IIF(EMPTY(SM0->M0_
    ESTENT
    CEPENT),SM0->M0_
    ESTCOB
    CEPCOB,SM0->M0_
    ESTENT
    CEPENT),6,3),
    2
    3,"0")
                                                           
    1H
    2212220ESTADO                                  PADR(IIF(EMPTY(SM0->M0_ESTENT),SM0->M0_ESTCOB,SM0->M0_ESTENT),2,"")                                                                    
                                  

    1H
    2232300USO EXCL
    CNAB
    CNAB                           SPACE(8)                                                                                                                               
                                  

    1H
    2312400
    OCORRENCIAS
    OCORRENCIAS                             SPACE(10)                                                                                                                              
                                  

    1T
    130COD BCO
    COMPENS
    COMPENS                         1
                                  

    1T
    470LOTE
    SERVICO1                              
    SERVICO                            STRZERO(FNLOTECNAB(),4)                                                                                                                
    1T
    880TIPO
    REGISTRO
    REGISTRO                           5
                                  

    1T
    9170USO EXCL
    CNAB
    CNAB                           SPACE(
    09
    9)
                                                                                                                                                                
                                                                                                                                   
    1T
    18230QTDE REG
    LOTESIIF(SEA->EA_MODELO $ "01/03/41/43",
    LOTES                          PADL(FNLINLOTE(
    NTOTCNAB2*2
    )
    +2                              
    ,6,"0")
    ,PADL((NTOTCNAB2+2),6,"0"))
                                                                                                                    
    1T
    24412SOMAT
    VALORES
    VALORES                           PADL(SOMAVALOR(),18,"0")                                                                                                               
                                  

    1T
    42595SOMAT QTD
    MOEDA
    MOEDA                         REPLICATE("0",18)                                                                                                                      
                                  

    1T
    60650NRO AVISO
    DEBIT
    DEBIT                         REPLICATE("0",6)                                                                                                                       
                                  

    1T
    662300USO EXCL
    CNAB
    CNAB                           SPACE(165)                                                                                                                             
                                  

    1T
    2312400
    OCORRENCIAS                              
    OCORRENCIAS                             
    SPACE(10)                                                                                                                              
    REPLICATE("0",10)                                                                                                                      
    2D1130COD
    BANCO
    BANCO                               1
                                  

    2D1470LOTE
    SERVICO1
    SERVICO                            STRZERO(FNLOTECNAB(),4)                                                                                                                
                                  

    2D1880CODIGO
    REGISTRO
    REGISTRO                         3
                                  

    2D19130
    NSR
    NUM SEQ LOTE                            PADL(
    INT(INCREMENTA
    FNTITLOTE()
    -1)
    ,5,"0")
                                                                                                                                          
                                                                                                                    
    2D114140CODIGO
    SEGMENTO
    SEGMENTO                         J                                                                                                                                    
                                  

    2D115150TIPO
    MOVIMENTO
    MOVIMENTO                          0
                                  

    2D116170CODIGO
    MOVIMENT
    MOVIMENT                         0
                                  

    2D118610CODIGO
    BARRAS
    BARRAS                           SUBSTR(SE2->E2_CODBAR,1,44)                                                                                                            
                                  

    2D162910NOME
    CEDENTE
    CEDENTE                            PADR(ALLTRIM(SA2->A2_NOME),30,"")
                                   
                                                                                                          
    2D192990DATA
    VENCIMENTO
    VENCIMENTO                         GRAVADATA(SE2-
    E2
    >E2_VENCTO,.F.,5)
                                   
                                                                                                            
    2D11001142VALOR
    TITULO
    TITULO                            PADL(SE2->(E2_SALDO)*100,15,"0")
                                  
                                                                                                           
    2D11151292VLR DESC
    ABATIM
    ABATIM                         PADL(SE2->(E2_SDDECRESC)*100,15,"0")                                                                                                   
                                  

    2D11301443VLR MORA
    MULTA
    MULTA                          PADL(SE2->(E2_SDACRESC)*100,16,"0")
     
                                                                                                        
                                  

    2D11451520DATA
    PAGAMENTO
    • E2_VENCTO
    • E2_EMISSAO
    • E2_VENCREA
    PAGAMENTO                          GRAVADATA(SE2->E2_VENCREA,.F.,5)
                                                                                                           
    2D11531672VALOR
    PAGAMENTO
    PAGAMENTO                         PADL(SE2->(E2_SALDO+E2_SDACRESC-E2_SDDECRESC)*100,15,"0")                                                                              
                                  

    2D11681825QTD
    MOEDA
    MOEDA                               REPLICATE("0",15)                                                                                                                      
                                  

    2D11832020NRO ATRIB
    EMPRE
    EMPRE                         PADR(ALLTRIM(SE2->E2_IDCNAB),20,"")
     
                                                                                                        
                                  

    2D12032220NRO ATRIB
    BANCO 
    BANCO                         REPLICATE("0",20)
     
                                                                                                                          
                                  

    2D1223224
    0CODIGO MOEDA9
    0CODIGO MOEDA                            9
    2D12252300USO EXCL CNAB                           SPACE(6)                                                                                                                               
    2D12312400OCORRENCIAS                             SPACE(10)                                                                                                                              
    2D2130COD BANCO                               1
    2D2470LOTE SERVICO                            STRZERO(FNLOTECNAB(),4)                                                                                                                
    2D2880CODIGO REGISTRO                         3
    2D29130NUM SEQ LOTE                            PADL(FNTITLOTE(),5,"0")                                                                                                                
    2D214140CODIGO SEGMENTO                         J                                                                                                                                    
    2D215150TIPO MOVIMENTO                          0
    2D216170CODIGO MOVIMENT                         0
    2D218190IDENT REG ADIC                          52
    2D220200TP INSC PAGADOR                         IIF(SM0->M0_TPINSC == 3,"1","2")                                                                                                       
    2D221350NRO INSC PAG                            PADL(ALLTRIM(SM0->M0_CGC),15,"0")                                                                                                      
    2D236750NOME PAGADOR                            PADR(ALLTRIM(SM0->M0_NOMECOM),40,"")                                                                                                   
    2D276760TP INSC BENEF                           IIF(SA2->A2_TIPO == "F","1","2")                                                                                                       
    2D277910NRO INSC BENEF                          PADL(ALLTRIM(SA2->A2_CGC),15,"0")                                                                                                      
    2D2921310NOME BENEF                              PADR(ALLTRIM(SA2->A2_NOME),40,"")                                                                                                      
    2D21321320TP INSC PG AVAL                         0
    2D21331470NRO INSC P AVAL                         REPLICATE("0",15)                                                                                                                      
                                  

    2D
    1
    2
    225
    148
    230
    1870
    USO EXCL CNAB
    NOME PG AVAL                            SPACE(
    6
    40)
                                                                                                                                   
                                                                                                                                  
                                  

    2D
    1
    2
    231
    1882400
    OCORRENCIAS
    USE CNAB                                SPACE(
    10
    53)                                                                                                                              
                                  

    2H
    130COD
    BANCO
    BANCO                               1
                                  

    2H
    470LOTE
    SERVICO1
    SERVICO                            STRZERO(FNLOTECNAB(),4)                                                                                                                
                                  

    2H
    880TIPO
    REGISTRO
    REGISTRO                           1
                                  

    2H
    990TIPO
    OPERACAO
    OPERACAO                           C                                                                                                                                    
                                  

    2H
    10110TIPO
    SERVICO
    SERVICO                            20
                                  

    2H
    12130FORMA
    LACTO
    LACTO                             
                                                                                                                                           
    1
                                  

    2H
    14160NRO VERSAO 
    LOT
    LOT                         30
                                  

    2H
    17170USO EXCL
    CNAB
    CNAB                           SPACE(1)                                                                                                                               
                                  

    2H
    18180TIPO INSC
    BENEF
    BENEF                         IIF(SM0->M0_TPINSC == 3,"1","2")
                                                                                                            
                                                                                                           
                                  

    2H
    19320NRO INSC
    BENEF
    BENEF                          PADL(ALLTRIM(SM0->M0_CGC),14,"0")                                                                                                      
                                  

    2H
    33410CODIGO
    BENEF
    BENEF                            PADL(ALLTRIM(SEE->EE_CODEMP),9,"0")
     
                                                                                                        
                                  

    2H
    42450TIPO
    COMPROMISS
    COMPROMISS                         126
                                  

    2H
    46500COD
    COMPROMISS
    COMPROMISS                          SPACE(5)                                                                                                                               
                                  

    2H
    51520USO EXCL
    CNAB
    CNAB                           TS                                                                                                                                   
                                  

    2H
    53570AGENCIA
    MANTENE
    MANTENE                         PADL(ALLTRIM(SEA->EA_AGEDEP),5,"0")                                                                                                    
                                  

    2H
    58580DV
    AGENCIA
    AGENCIA                              CNABDVAG()                                                                                                                             
                                  

    2H
    59700NRO CTA
    CORRENT
    CORRENT                         PADL(ALLTRIM(SEA->EA_NUMCON),12,"0")                                                                                                   
                                  

    2H
    71710DV CTA
    CORRENTE
    CORRENTE                         CNABDVCC()                                                                                                                             
                                  

    2H
    72720DV AGE
    CONTA
    CONTA                            SPACE(1)                                                                                                                               
                                  

    2H
    731020NOME DA
    EMPRESA
    EMPRESA                         PADR(ALLTRIM(SM0->M0_NOMECOM),30,"")                                                                                                   
                                  

    2H
    1031420MENSAGEM
    1
    1                              SPACE(40)                                                                                                                              
                                  

    2H
    1431720
    ENDERECO
    ENDERECO                                PADR(IIF(EMPTY(SM0->M0_ENDENT),SM0->M0_ENDENT,SM0->M0_ENDENT),30,"")
                                  
                                                                       
    2H
    1731770
    NUMERO
    NUMERO                                  REPLICATE("0",5)                                                                                                                       
                                  

    2H
    1781920
    COMPLEMENTO
    COMPLEMENTO                             PADR(ALLTRIM(SM0->M0_COMPENT),15,"")                                                                                                   
                                  

    2H
    1932120
    CIDADE
    CIDADE                                  PADR(IIF(EMPTY(SM0->M0_CIDENT),SM0->M0_CIDCOB,SM0->M0_CIDENT),20,"")
                                                                       
    2H
    2132170CEP                                     PADR(IIF(EMPTY(SM0->M0_CEPENT),SM0->M0_CEPCOB,SM0->M0_CEPENT),5,"0")                                                                   
                                  

    2H
    213

    2182200
    CEP
    COMPLEM CEP                             PADR(SUBSTR(IIF(EMPTY(SM0->M0_CEPENT),SM0->M0_CEPCOB,SM0->M0
    _CEPENT
    _CEPENT),6,3),
    8
    3,"0")                                                       
                                  

    2H
    2212220
    ESTADO
    ESTADO                                  PADR(IIF(EMPTY(SM0->M0_ESTENT),SM0->M0_ESTCOB,SM0->M0_ESTENT),2,"")                                                                    
                                  

    2H
    2232300USO EXCL
    CNAB
    CNAB                           SPACE(8)                                                                                                                               
                                  

    2H
    2312400
    OCORRENCIAS
    OCORRENCIAS                             SPACE(10)                                                                                                                              
                                  

    2T
    130COD BCO
    COMPENS
    COMPENS                         1
                                  

    2T
    470LOTE
    SERVICO1                              
    SERVICO                            STRZERO(FNLOTECNAB(),4)                                                                                                                
    2T
    880TIPO
    REGISTRO
    REGISTRO                           5
                                  

    2T
    9170USO EXCL
    CNAB
    CNAB                           SPACE(
    09
    9)
                                                                                                                                  
                                                                                                                                   
                                  

    2T
    18230QTDE REG
    LOTES
    LOTES                          PADL(FNLINLOTE(
    NTOTCNAB2*2
    )
    +2
    ,6,"0")
                                                                                                                
                                                                                                                    
                                  

    2T
    24412SOMAT
    VALORES
    VALORES                           PADL(SOMAVALOR(),18,"0")                                                                                                               
                                  

    2T
    42595SOMAT QTD
    MOEDA
    MOEDA                         REPLICATE("0",18)                                                                                                                      
                                  

    2T
    60650NRO AVISO
    DEBIT
    DEBIT                         REPLICATE("0",6)                                                                                                                       
                                  

    2T
    662300USO EXCL
    CNAB
    CNAB                           SPACE(165)                                                                                                                             
                                  

    2T
    2312400
    OCORRENCIAS
    OCORRENCIAS                             
    SPACE
    REPLICATE("0",10)
                                                                                                                                  
                                                                                                                          
                                  

    0T
    130COD
    BANCO
    BANCO                               1
                                  

    0T
    470LOTE
    SERVICO
    SERVICO                            9999
                                  

    0T
    880TIPO
    REGISTRO
    REGISTRO                           9
                                  

    0T
    9170USO EXCL
    CNAB
    CNAB                           SPACE(9)                                                                                                                               
                                  1                              

    0T
    18230QTDE LOTES
    ARQ
    ARQ                          STRZERO(FNLOTECNAB(),6)                                                                                                                
    0T
    24290QTDE
    REGISTROS
    REGISTROS                          
    PADL
    STRZERO(FNLINCNAB(
    NTOTCNAB2*3
    )
    +4
    ,6
    ,"0")                                                                                                                                          
    )                                                                                                                 
    0T
    30350QTDE
    CONTAS
    CONTAS                             REPLICATE("0",.6)                                                                                                                      
                                  

    0T
    362400USO EXCL
    CNAB
    CNAB                           SPACE(205)                                                                                                                             
                                  


    Opções de Edição