Tabela GD5 - Despesas Mat e Med Paciente
Modo: E
Modo Unid.: E
Modo Empr.: E
Sumario:
Campos
| Campo | Titulo | Descricao | Tipo | Contexto | Tamanho |
|---|---|---|---|---|---|
| GD5_FILIAL | Filial | Filial | C | Real | 2 |
| GD5_CODLOC | Setor | Setor | C | Real | 2 |
| GD5_NOMLOC | Descricao | Descricao do setor | C | Virtual | 30 |
| GD5_DATDES | Data | Data do lancamento | D | Real | 8 |
| GD5_HORDES | Hora | Hora do lancamento | C | Real | 5 |
| GD5_QTDDES | Quantidade | Quantidade de Mat/Med | N | Real | 10, 4 |
| GD5_CODBAR | Cod. Barras | Codigo de barras | C | Virtual | 17 |
| GD5_CODDES | Mat/Med | Codigo do Mat/Med | C | Real | 15 |
| GD5_DDESPE | Descricao | Descricao do Mat/Med | C | Virtual | 30 |
| GD5_CODCRM | CRM | CRM do medico | C | Real | 7 |
| GD5_NOMMED | Nome | Nome do medico | C | Virtual | 30 |
| GD5_VALDES | Preco | Preco do Mat/Med | N | Real | 10, 4 |
| GD5_DESPER | Desc. Percen | Desconto em Valor | N | Real | 5, 2 |
| GD5_DESVAL | Desc. Valor | Desconto em Valor | N | Real | 10, 2 |
| GD5_VALTOT | Valor Total | Valor Total | N | Virtual | 10, 2 |
| GD5_TOTDSC | Total c/ Dsc | Total com Desconto | N | Virtual | 10, 2 |
| GD5_DESOBS | Obs. Descont | Observacao Desconto | C | Real | 100 |
| GD5_PCUDES | Preco Custo | Preco de Custo do Mat/Med | N | Real | 10, 4 |
| GD5_UNICON | Unidade | Unidade de Consumo | C | Virtual | 6 |
| GD5_LOTEFO | Lote Fornec. | Num.do Lote no Fornecedor | C | Real | 18 |
| GD5_LOTECT | Lote | Lote | C | Real | 10 |
| GD5_NUMLOT | Sub-Lote | Sub-Lote | C | Real | 6 |
| GD5_DTVALI | Dt Validade | Dt Validade | D | Real | 8 |
| GD5_PERTRO | Perm. Troca | Permite troca do produto | C | Real | 1 |
| GD5_PROALT | Prod. Alter. | Cod. produto alternativo | C | Real | 15 |
| GD5_DPRALT | Descricao | Descricao do Produto | C | Virtual | 35 |
| GD5_GLODES | Ind de Glosa | Indicador de Glosa | C | Real | 1 |
| GD5_CODPCT | Proc. Padrao | Codigo Proced. Padrao | C | Real | 6 |
| GD5_DESPCT | Descricao | Descricao do Proc. Padrao | C | Virtual | 30 |
| GD5_CODKIT | Cod do Kit | Codigo do Kit | C | Real | 5 |
| GD5_DESKIT | Descricao | Descricao do Kit | C | Virtual | 30 |
| GD5_SEQDES | Seq.Despesa | Sequencia da Despesa | C | Real | 8 |
| GD5_NRSEQG | Nro.Seq.Guia | Numero sequencial da guia | C | Real | 6 |
| GD5_PGTMED | Tp Rec Med | Tipo recebimento medico | C | Real | 1 |
| GD5_REPAMB | Repasse(%) | Repasse (%) | N | Real | 6, 2 |
| GD5_REPINT | Rep.Int(%) | Rep. Internacao Normal | N | Real | 7, 2 |
| GD5_VALREP | Repasse | Valor do repasse medico | N | Real | 15, 4 |
| GD5_VALREB | Rep. Bruto | Repasse Bruto | N | Real | 10, 4 |
| GD5_CODPRE | Prestador | Codigo do Prestador | C | Real | 6 |
| GD5_NREXTM | Cod. Extrato | Cod. lcto extrato medico | C | Real | 8 |
| GD5_NUMSEQ | Seq.Mov.Est | Seq. da mov. de estoque | C | Real | 6 |
| GD5_REGATE | Reg. Atendim | Registro de Atendimento | C | Real | 6 |
| GD5_IDMARC | Id. Marca | Identif. Reg. Marcado | C | Real | 2 |
| GD5_SOLICI | Nro Solicit | Numero da Solicitacao | C | Real | 6 |
| GD5_ITESOL | Item | Item da solicitacao | C | Real | 3 |
| GD5_QDEVOL | Qtd.Devolver | Quantidade a devolver | N | Virtual | 11, 4 |
| GD5_FATPAR | Fatura Part. | Fatura como particular | C | Real | 1 |
| GD5_SEQGE5 | Seq.Des.Fat. | Seq. despesa faturamento | C | Real | 8 |
| GD5_CODPCO | Cod Pacote | Codigo do Pacote | C | Real | 10 |
| GD5_CODPRO | Cod.Proprio | codigo proprio | C | Real | 20 |
| GD5_DESPRO | Descricao | Descricao do Produto | C | Real | 30 |
| GD5_LOGARQ | Log do Arq | Log do arquivo | C | Real | 40 |
| GD5_TABELA | Tabela Calc. | Codigo da Tabela Calc. | C | Real | 6 |
| GD5_CGCFOR | CNPJ Forn. | CNPJ Fornecedor Mat. | C | Real | 14 |
| GD5_NNFFOR | Numero NF | Num. Nota Fiscal Forn. | C | Real | 9 |
| GD5_SD3DOC | Num.Doc. Est | Num.Doc Mov. Estoque | C | Real | 6 |
| GD5_VLRGLO | Rep. Glosa | Vlr Repasse de Glosa | N | Real | 10, 4 |
| GD5_VLRREC | Rep. Recup. | Vlr Repasse Recuperado | N | Real | 10, 4 |
| GD5_STATUS | Status | Status | C | Real | 1 |
| GD5_DATSTA | Dt Status | Dt atualizacao status | D | Real | 8 |
| GD5_HORSTA | Hr Status | Hr. atualizacao status | C | Real | 5 |
| GD5_NUMORC | Num Orc Fat | Numero Orcamento Faturam | C | Real | 6 |
| GD5_ITEORC | Item Orcam | Item do Orcamento | C | Real | 2 |
Indices
| Ordem | Chave | Descricao | Nickname |
|---|---|---|---|
| 1 | GD5_FILIAL + GD5_SEQDES | Seq.Despesa | |
| 2 | GD5_FILIAL + GD5_NRSEQG + DTOS(GD5_DATDES) | Nro.Seq.Guia + Data | |
| 3 | GD5_FILIAL + GD5_REGATE + GD5_NRSEQG + GD5_CODDES + GD5_SEQGE5 | Reg. Atendim + Nro.Seq.Guia + Mat/Med + Seq.Des.Fat. | |
| 4 | GD5_FILIAL + GD5_SOLICI + GD5_ITESOL | Nro Solicit + Item | |
| 5 | GD5_FILIAL + DTOS(GD5_DATDES) | Data |
Relacionamentos
| Tabela Origem | Tabela Destino | Expressao Origem | Expressao Destino | Relacionamento |
|---|---|---|---|---|
| Sem dados encontrados na SX9 | ||||