-----------------------------------------------------------------------------
  DATE: 01/12/2011      TIME: 12:24                                  PAGE:  1
  FILE DEFINITION FOR FILE: RPS (# 1)
-----------------------------------------------------------------------------
  DRIVER NAME               : DATAFLEX
  FILE ROOT NAME            : RPS
  USER DISPLAY NAME         : RPS
  DATAFLEX FILE NAME        : RPS
-----------------------------------------------------------------------------
  RECORD LENGTH             : 8576      ( USED: 8504 )
  MAX NUMBER OF RECORDS     : 10000     ( USED: 0 )
  FILE COMPRESSION          : NONE
  RE-USE DELETED SPACE      : YES
  LOCKING TYPE              : FILE
  HEADER INTEGRITY CHECKING : YES
  TRANSACTION TYPE          : CLIENT ATOMIC
  RECORD IDENTITY INDEX     : 0 ( 0 , 0 )
  FILE LOGIN PARAMETER      : 
  SYSTEM FILE               : NO 
-----------------------------------------------------------------------------

NUM  FIELD NAME       TYPE SIZE  OFFST IX   RELATES TO FILE.FIELD
---  ---------------  ---- ----- ----- --   ---------------------------------
  1  iIdRPS           NUM    8.0     1  3   
  2  nNumero          NUM   14.0     5  1   
  3  sSerie           ASC      5    12  2   
  4  sTipo            ASC      1    17      
  5  sDataEmissao     ASC     19    18  2   
  6  sNatOperacao     ASC      1    37      
  7  sRegimeEspecial  ASC      1    38      
  8  sOpSimples       ASC      1    39      
  9  sIncCultural     ASC      1    40      
 10  sSatus           ASC      1    41      
 11  sNrRPSSubs       ASC     15    42      
 12  sSerieRPSSubs    ASC      5    57      
 13  sTipoRPSSubs     ASC      1    62      
 14  nVlServicos      NUM   14.2    63      
 15  nVlDeducoes      NUM   14.2    71      
 16  nVlPis           NUM   14.2    79      
 17  nVlCofins        NUM   14.2    87      
 18  nVlInss          NUM   14.2    95      
 19  nVlIR            NUM   14.2   103      
 20  nVlCsll          NUM   14.2   111      
 21  iISSRetido       NUM    2.0   119      
 22  nVlISS           NUM   14.2   120      
 23  nVlISSRetido     NUM   14.2   128      
 24  nOutrasRetencoe  NUM   14.2   136      
 25  nBaseCalculo     NUM   14.2   144      
 26  nAliquota        NUM    2.4   152      
 27  nVlLiqNFSe       NUM   14.2   155      
 28  nDescIncondicio  NUM   14.2   163      
 29  nDescCondiciona  NUM   14.2   171      
 30  sItemListaServi  ASC      5   179      
 31  sCodigoCNAE      ASC      8   184      
 32  sCdTribMunicipi  ASC     20   192      
 33  sDiscriminacao   TEX   2000   212      
 34  sCdMunicipio     ASC      7  2212      
 35  sCNPJPrestador   ASC     14  2219      
 36  sIMPrestador     ASC     15  2233      
 37  sCNPJCPFTomador  ASC     14  2248      
 38  sIMTomador       ASC     15  2262      
 39  sRazSociTomador  ASC    115  2277      
 40  sEndTomador      ASC    125  2392      
 41  sNumeroToma      ASC     10  2517      
 42  sCompToma        ASC     60  2527      
 43  sBairroToma      ASC     60  2587      
 44  sCdMunicToma     ASC      7  2647      
 45  sUFToma          ASC      2  2654      
 46  sCEPTomador      ASC      8  2656      
 47  sTelefonTomador  ASC     11  2664      
 48  sEmailTomador    ASC     80  2675      
 49  sRazSocIntermed  ASC    115  2755      
 50  sCNPJCPFInterme  ASC     14  2870      
 51  sIMIntermed      ASC     15  2884      
 52  sCdObra          ASC     15  2899      
 53  sArt             ASC     15  2914      
 54  iSituacao        NUM    2.0  2929      
 55  sProvedor        ASC     10  2930      
 56  sUltimaOperacao  TEX   5008  2940      
 57  sNrLoteReceb     ASC     60  7948      
 58  sDtRecebimento   ASC     60  8008      
 59  sNrProtReceb     ASC     60  8068      
 60  sNrNFSe          ASC     15  8128      
 61  sCdVerificao     ASC      9  8143      
 62  sMotivoCancela   ASC    255  8152      
 63  sCdCancelamento  ASC     10  8407      
 64  sDtCancelamento  ASC     60  8417      
 65  sTributacaoRPS   ASC      1  8477      
 66  iIndCPFCNPJToma  NUM    2.0  8478      
 67  sIETomador       ASC     19  8479      
 68  sTpLograTomador  ASC      3  8498      
 69  sVersao          ASC      4  8501      


INDEX# FIELDS          DES U/C    LENGTH LEVELS SEGMENTS MODE
------ --------------- --- ---    ------ ------ -------- -------
  1    nNumero         NO  NO       7      3       1     ON-LINE

  2    sDataEmissao    NO  NO       31     4       3     ON-LINE
       sSerie          NO  NO 
       nNumero         NO  NO 

  3    iIdRPS          NO  NO       4      2       1     ON-LINE

