APONTAMENTO DE EVENTOS
A tabela FSR faz parte do sistema ERP Protheus da TOTVS e é utilizada para apontamento de eventos.
Ela pertence ao dicionário de dados do Protheus (SX2) e armazena informações essenciais utilizadas em processos como cadastros, movimentações e integrações do sistema.
A tabela FSR possui diversos campos (SX3), cada um com regras específicas como tipo, tamanho e validações, além de índices (SIX) que otimizam a performance das consultas.
Nesta página você pode consultar a estrutura completa da tabela FSR, incluindo todos os campos e índices relacionados.
| Propriedade | Valor |
|---|---|
| X2_CHAVE | FSR |
| X2_PATH | \DATA\ |
| X2_ARQUIVO | FSR990 |
| X2_NOME | APONTAMENTO DE EVENTOS |
| X2_NOMESPA | APUNTE DE EVENTOS |
| X2_NOMEENG | EVENT ANNOTATION |
| X2_ROTINA | - |
| X2_MODO | E |
| X2_MODOUN | E |
| X2_MODOEMP | E |
| X2_DELET | 0 |
| X2_TTS | - |
| X2_UNICO | FSR_FILIAL+FSR_MSIDEN |
| X2_PYME | S |
| X2_MODULO | 65 |
| X2_DISPLAY | - |
| X2_SYSOBJ | - |
| X2_USROBJ | - |
| X2_POSLGT | 1 |
| X2_CLOB | 2 |
| X2_AUTREC | 2 |
| X2_TAMFIL | 2 |
| X2_TAMUN | 0 |
| X2_TAMEMP | 0 |
| X2_STAMP | 2 |
| X2_INSDT | 2 |
| D_E_L_E_T_ | - |
| R_E_C_N_O_ | 4479 |
| R_E_C_D_E_L_ | 0 |
| X3_ARQUIVO | X3_ORDEM | X3_CAMPO | X3_TIPO | X3_TAMANHO | X3_DECIMAL | X3_TITULO | X3_TITSPA | X3_TITENG | X3_DESCRIC | X3_DESCSPA | X3_DESCENG | X3_PICTURE | X3_VALID | X3_USADO | X3_RELACAO | X3_F3 | X3_NIVEL | X3_RESERV | X3_CHECK | X3_TRIGGER | X3_PROPRI | X3_BROWSE | X3_VISUAL | X3_CONTEXT | X3_OBRIGAT | X3_VLDUSER | X3_CBOX | X3_CBOXSPA | X3_CBOXENG | X3_PICTVAR | X3_WHEN | X3_INIBRW | X3_GRPSXG | X3_FOLDER | X3_PYME | X3_CONDSQL | X3_CHKSQL | X3_IDXSRV | X3_ORTOGRA | X3_IDXFLD | X3_TELA | X3_PICBRV | X3_AGRUP | X3_POSLGT | X3_MODAL | X3_CHKSUM | X3_ADDSUM | D_E_L_E_T_ | R_E_C_N_O_ | R_E_C_D_E_L_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| FSR | 01 | FSR_FILIAL | C | 2 | 0 | Filial | Sucursal | Branch | Filial do Sistema | Sucursal | System branch | - | - | x x x x x x x x x x x x x x x | - | - | 1 | xxxxxx x | - | - | - | N | A | R | - | - | - | - | - | - | - | - | 033 | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 72837 | 0 |
| FSR | 02 | FSR_DATA | D | 8 | 0 | Data Evento | Fch Evento | Event Date | Data do Evento | Fecha del Evento | Event Date | @! | M->FSR_DATA <= dDataBase .and. GavDatMin(M->FSR_DATA) | x x x x x x x x x x x x x x x x | DDATABASE | - | 1 | xxxxxxxx | - | - | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 72838 | 0 |
| FSR | 03 | FSR_DATDIG | D | 8 | 0 | Dt.Digitação | Fecha Dig. | Typing date | Data de Digitação | Fecha de digitacion | Typing date | @D | - | x x x x x x x x x x x x x x x x | DDATABASE | - | 1 | xxxxxx x | - | - | - | N | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 72839 | 0 |
| FSR | 04 | FSR_CODCLI | C | 6 | 0 | Cliente | Cliente | Client | Código do Cliente | Codigo del Cliente | Client code | @! | GavTemChav("SA1",M->FSR_CODCLI,1,.F.,.T.,.F.) | x x x x x x x x x x x x x x x x | - | SA1 | 1 | xxxx | - | S | - | S | A | R | - | - | - | - | - | - | - | - | 001 | - | S | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 72840 | 0 |
| FSR | 05 | FSR_LOJA | C | 2 | 0 | Loja | Tienda | Unit | Loja do Cliente | Tienda del Cliente | Client unit | @! | GavTemChav("SA1",M->FSR_CODCLI+M->FSR_LOJA,1,.F.,.T.) | x x x x x x x x x x x x x x x x | - | - | 1 | xxxxxxxx | - | S | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 72841 | 0 |
| FSR | 06 | FSR_NOMCLI | C | 60 | 0 | Nome | Nombre | Name | Nome do Cliente | Nombre del Cliente | Client name | @! | - | x x x x x x x x x x x x x x x x | IF(!INCLUI,GAVNCLIASS(FSR->FSR_ASSUNT,1)," ") | - | 1 | xxxxxx x | - | - | - | N | V | V | - | - | - | - | - | - | - | GAVNCLIASS(FSR->FSR_ASSUNT,1) | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 72842 | 0 |
| FSR | 07 | FSR_CONTRA | C | 10 | 0 | Num.Contrato | Nº Contrato | Contract No. | Numero do Contrato | Numero del Contrato | Contract Number | @! | GVM004FOK() | x x x x x x x x x x x x x x x x | - | FSCFSR | 1 | xxxxxx x | - | S | - | S | A | R | - | - | - | - | - | - | !EMPTY(M->FSR_CODCLI) | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 72843 | 0 |
| FSR | 08 | FSR_ASSUNT | C | 11 | 0 | Cod.Assunto | Cod. Asunto | Subject code | Codigo do Assunto | Codigo del Asunto | Subject code | @! | GVM004FOK() | x x x x x x x x x x x x x x x x | - | FSBFSR | 1 | xxxxxx x | - | S | - | S | A | R | - | - | - | - | - | - | !EMPTY(M->FSR_CODCLI) | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 72844 | 0 |
| FSR | 09 | FSR_TIPEVC | C | 3 | 0 | Tipo Evento | Tipo Evento | Event type | Tipo Evento Contratual | Tipo Evento Contractual | Contractual Event Type | @! | GavTemChav("FSQ",M->FSR_TIPEVC,"FSQ_CODIGO",.F.,.T.) | x x x x x x x x x x x x x x x x | - | FSQ | 1 | xxxxxxxx | - | S | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 72845 | 0 |
| FSR | 10 | FSR_DESCRI | C | 48 | 0 | Desc.Ev.Cont | Desc.Ev.Cont | Cont.Ev.Desc | Descr. Evento Contratual | Descr. Evento Contractual | Contractual Event Descr. | @! | - | x x x x x x x x x x x x x x x x | IF(!INCLUI,GAVIDIOMA("FSQ",FSR->FSR_TIPEVC,,FSR->FSR_ASSUNT)," ") | - | 1 | xxxxxx x | - | - | - | S | V | V | - | - | - | - | - | - | - | GAVIDIOMA("FSQ",FSR->FSR_TIPEVC,,FSR->FSR_ASSUNT) | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 72846 | 0 |
| FSR | 11 | FSR_ANTREC | C | 1 | 0 | Ant.Recebim? | ¿Ant. cobro? | Adv. collect | Antecipação Recebimento | Anticipo cobro | Advanced collection | @! | Pertence("12") | x x x x x x x x x x x x x x x x | "2" | - | 1 | xxxxxxxx | - | S | - | S | A | R | - | - | 1=Sim;2=Não | 1=Si;2=No | 1=Yes;2=No | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 72847 | 0 |
| FSR | 12 | FSR_TPAPON | C | 1 | 0 | Tipo Adiant. | TipoAnticipo | Advance type | Tipo de Adiantamento | Tipo de anticipo | Advance type | @! | Pertence("123") .AND. GVM004FOK() | x x x x x x x x x x x x x x x x | - | - | 1 | xxxxxxxx | - | - | - | S | A | R | - | - | 1=Honorários;2=Despesas;3=Ambos | 1=Honorarios;2=Gastos;3=Ambos | 1=Fees;2=Expenses;3=Both | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 72848 | 0 |
| FSR | 13 | FSR_COMPL | M | 80 | 0 | Compl.Desc. | Compl.Desc. | Desc. Compl. | Complemento da Descricao | Complemento de Descrpcion | Description Complement | - | - | x x x x x x x x x x x x x x x x | IIf( INCLUI, "" , MSMM(FSR->FSR_CODMPL,80,,,,,,,,"FTZ")) | - | 1 | xxxxxxxx | - | - | - | S | A | V | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 72849 | 0 |
| FSR | 14 | FSR_TIMEK | C | 8 | 0 | Timekeeper | Timekeeper | Timekeeper | Timekeeper Evento Contrat | Timekeeper Evento Contrac | Contr. Ev. Timekeeper | @! | Existcpo("FSA") | x x x x x x x x x x x x x x x x | - | FSAFSR | 1 | xxxxxx x | - | S | - | S | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 72850 | 0 |
| FSR | 15 | FSR_NOMTMK | C | 30 | 0 | Nome Tmkp. | Nombre Tmkp. | Tmkp. Name | Nome do Timekeeper | Nombre del Timekeeper | Timekeeper Name | @! | - | x x x x x x x x x x x x x x x x | IF(!INCLUI,POSICIONE("FSA",1,XFILIAL("FSA")+FSR->FSR_TIMEK,"FSA_APELID")," ") | - | 1 | xxxxxx x | - | - | - | S | V | V | - | - | - | - | - | - | - | POSICIONE("FSA",1,XFILIAL("FSA")+FSR->FSR_TIMEK,"FSA_APELID") | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 72851 | 0 |
| FSR | 16 | FSR_NUMDOC | C | 8 | 0 | Num.Docto. | Nº Docto. | Document No. | Numero do Documento | Numero del Documento | Document Number | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | xxxxxx x | - | - | - | N | A | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 72852 | 0 |
| FSR | 17 | FSR_VLRUNI | N | 14 | 2 | Vlr.Unitario | Val.Unitario | Unit Value | Vlr.Unitario | Valor Unitario | Unit Value | @E 999,999,999.99 | - | x x x x x x x x x x x x x x x x | - | - | 1 | xxxxxx x | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 72853 | 0 |
| FSR | 18 | FSR_VLREAL | N | 14 | 2 | Valor Real | Valor Real | Actual Value | Valor real do apontamento | Valor real del apunte | Annotation Actual Value | @E 999,999,999.99 | - | x x x x x x x x x x x x x x x x | - | - | 1 | xxxxxxxx | - | - | - | S | A | R | - | - | - | - | - | - | GVM004VExc() | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 1 | - | - | - | 72854 | 0 |
| FSR | 19 | FSR_MOEDA | C | 1 | 0 | Moeda | Moneda | Currency | Moeda do Contrato | Moneda de contrato | Contract currency | @! | - | x x x x x x x x x x x x x x x x | - | - | 1 | xxxxxx x | - | - | - | N | V | R | - | - | #GVGetMoedas() | #GVGetMoedas() | #GVGetMoedas() | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 72855 | 0 |
| FSR | 20 | FSR_FFATU | C | 1 | 0 | Flag Fatura | Flag Factura | Invoice Flag | Flat de Fatura | Flat de Factura | Invoice Flag | @! | - | x x x x x x x x x x x x x x x | "2" | - | 1 | xxxxxx x | - | - | - | N | V | R | - | Pertence("12") | 1=Sim;2=Nao | 1=Si;2=No | 1=Yes;2=No | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 72856 | 0 |
| FSR | 21 | FSR_IDPFAT | C | 7 | 0 | Id. Pre-Fat | Id. Fact. Pr | Pre-Inv. Id. | Id. da Pre-Fatura | Id. de la Factura Previa | Pre-Invoice Id. | @! | - | x x x x x x x x x x x x x x x | - | - | 1 | xxxxxx x | - | - | - | N | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 72857 | 0 |
| FSR | 22 | FSR_MSIDEN | C | 8 | 0 | Ident.Reg. | Ident.Reg. | Rec. Ident. | Ident. Registros | Ident. Registros | Record Identification | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | xxxxxx x | - | - | - | N | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 72858 | 0 |
| FSR | 23 | FSR_IDADI | C | 8 | 0 | ID Origem | ID Origen | Origin ID | ID Apontamento Original | ID Apunte Original | Original Annotation ID | @! | - | x x x x x x x x x x x x x x x | - | - | 1 | xxxxxx x | - | - | - | N | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 72859 | 0 |
| FSR | 24 | FSR_DTORI | D | 8 | 0 | Dt. Origem | Fch. Origen | Origin Date | Dt. Apontamento Original | Fch. Apunte Original | Original Annotation Date | @! | - | x x x x x x x x x x x x x x x | - | - | 1 | xxxxxx x | - | - | - | N | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 72860 | 0 |
| FSR | 25 | FSR_ASSORI | C | 11 | 0 | Ass. Orig. | As. Orig. | Orig. Wizard | Assunto Original | Asunto Original | Original subject | @! | - | x x x x x x x x x x x x x x x | - | - | 1 | xxxxxx x | - | - | - | N | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 72861 | 0 |
| FSR | 26 | FSR_ORIGEM | C | 8 | 0 | Origem | Origen | Origin | Origem do Apontamento | Origen del Apunte | Annotation Origin | @! | - | x x x x x x x x x x x x x x x | - | - | 1 | xxxxxx x | - | - | - | N | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 72862 | 0 |
| FSR | 27 | FSR_DESCTR | C | 48 | 0 | Desc.Traduz. | Desc.Traduc. | Desc.Transl. | Descricao Traduzida | Descripcion Traducida | Description Translated | - | - | x x x x x x x x x x x x x x x x | - | - | 1 | xxxxxx x | - | - | - | S | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 72863 | 0 |
| FSR | 28 | FSR_COMPTR | M | 80 | 0 | Compl.Traduz | Compl.Traduc | Transl.Compl | Complemento Traduzido | Complemento Traducido | Translated Complement | - | - | x x x x x x x x x x x x x x x x | IIf( INCLUI, "" , MSMM(FSR->FSR_CODPTR,80,,,,,,,,"FTZ")) | - | 1 | xxxxxx x | - | - | - | S | A | V | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 72864 | 0 |
| FSR | 29 | FSR_CODMPL | C | 6 | 0 | Cod. Memo | Cod. Memo | Memo code | Codigo do Memo | Codigo de Memo | Memo code | @! | - | x x x x x x x x x x x x x x x | - | - | 1 | xxxxxx x | - | - | - | N | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 72865 | 0 |
| FSR | 30 | FSR_CODPTR | C | 6 | 0 | Cod. Memo | Cod. Memo | Memo code | Codigo do Memo | Codigo de Memo | Memo code | @! | - | x x x x x x x x x x x x x x x | - | - | 1 | xxxxxx x | - | - | - | N | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 72866 | 0 |
| FSR | 31 | FSR_OK | C | 2 | 0 | Marca | Marca | Brand | Campo para MarkBrowse | Campo para MarkBrowse | Field for MarkBrowse | @! | - | x x x x x x x x x x x x x x x | - | - | 1 | xxxxxx x | - | - | - | N | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 72867 | 0 |
| FSR | 32 | FSR_DTLCFT | D | 8 | 0 | Lanc.Ctb.Fat | Fc.Ctb.Fact. | Inv Acc. Ent | Data Lanc.Cont.da Fatura | Fch. Reg. Cont.de Factura | Inv. Accounting Entry Dt. | @D | - | x x x x x x x x x x x x x x x | - | - | 1 | xxxxxx x | - | - | - | N | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 72868 | 0 |
| FSR | 33 | FSR_DATFAT | D | 8 | 0 | Dt.Faturam. | Fch.Facturac | Billing date | Data do Faturamento | Fecha de la Facturacion | Billing date | @D | - | x x x x x x x x x x x x x x x | - | - | 1 | xxxxxx x | - | - | - | N | V | R | - | - | - | - | - | - | - | - | - | - | S | - | - | N | N | N | - | - | - | 1 | 2 | - | - | - | 72869 | 0 |
| INDICE | ORDEM | CHAVE | DESCRICAO | DESCSPA | DESCENG | PROPRI | F3 | NICKNAME | SHOWPESQ | IX_VIRTUAL | IX_VIRCUST | D_E_L_E_T_ | R_E_C_N_O_ | R_E_C_D_E_L_ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| FSR | 1 | FSR_FILIAL+DTOS(FSR_DATA)+FSR_ASSUNT+FSR_TIPEVC | Data Evento + Cod.Assunto + Tipo Evento | Fch Evento + Cod. Asunto + Tipo Evento | Event Date + Subject code + Event type | S | - | FSR_DATA | S | 2 | 3 | - | 10675 | 0 |
| FSR | 2 | FSR_FILIAL+FSR_IDPFAT+FSR_CONTRA+DTOS(FSR_DATA) | Id. Pre-Fat + Num.Contrato + Data Evento | Id. Fact. Pr + Nº Contrato + Fch Evento | Pre-Inv. Id. + Contract No. + Event Date | S | - | FSR_IDCONT | S | 2 | 3 | - | 10676 | 0 |
| FSR | 3 | FSR_FILIAL+FSR_IDADI | ID Origem | ID Origen | Origin ID | S | - | FSR_IDADI | S | 2 | 3 | - | 10677 | 0 |
| FSR | 4 | FSR_FILIAL+FSR_ASSUNT+FSR_CONTRA+FSR_TIPEVC+DTOS(FSR_DATA) | Cod.Assunto + Num.Contrato + Tipo Evento + Data Evento | Cod. Asunto + Nº Contrato + Tipo Evento + Fch Evento | Subject code + Contract No. + Event type + Event Date | S | - | FSR_ASSUNT | S | 2 | 3 | - | 10678 | 0 |
| FSR | 5 | FSR_FILIAL+FSR_IDPFAT+DTOS(FSR_DATA) | Id. Pre-Fat + Data Evento | Id. Fact. Pr + Fch Evento | Pre-Inv. Id. + Event Date | S | - | FSR_IDPFAT | S | 2 | 3 | - | 10679 | 0 |
| FSR | 6 | FSR_FILIAL+FSR_TIPEVC | Tipo Evento | Tipo Evento | Event type | S | - | FSR_TIPEVC | S | 2 | 3 | - | 10680 | 0 |
| FSR | 7 | FSR_FILIAL+FSR_IDPFAT+FSR_ASSUNT+DTOS(FSR_DATA) | Id. Pre-Fat + Cod.Assunto + Data Evento | Id. Fact. Pr + Cod. Asunto + Fch Evento | Pre-Inv. Id. + Subject code + Event Date | S | - | FSR_IDASSU | S | 2 | 3 | - | 10681 | 0 |
| FSR | 8 | FSR_FILIAL+DTOS(FSR_DATA)+FSR_CONTRA+FSR_ASSUNT | Data Evento + Num.Contrato + Cod.Assunto | Fch Evento + Nº Contrato + Cod. Asunto | Event Date + Contract No. + Subject code | S | - | FSR_DTCONT | S | 2 | 3 | - | 10682 | 0 |
Ela é utilizada para apontamento de eventos dentro do sistema ERP Protheus.
Nesta página você pode visualizar todos os campos, incluindo tipo, tamanho e validações.
Os índices são estruturas que melhoram a performance de busca e acesso aos dados dentro do Protheus.