Tabela BY3 - Paramet x Plano x Procedimento
Modo: C
Modo Unid.: E
Modo Empr.: E
Sumario:
Campos
| Campo | Titulo | Descricao | Tipo | Contexto | Tamanho |
|---|---|---|---|---|---|
| BY3_FILIAL | Filial | Filial do Sistema | C | Real | 2 |
| BY3_CODOPE | Operadora | Operadora | C | Real | 4 |
| BY3_SEQNEG | Seq. Negoc. | Sequencia Negociacao | C | Real | 6 |
| BY3_SEQPAR | Seq. Param. | Sequencia Parametrizacao | C | Real | 6 |
| BY3_CODGRU | Grp Produto | Grp Produto | C | Real | 4 |
| BY3_CODPRO | Produto | Cod. Produto | C | Real | 4 |
| BY3_VERPRO | Versao Prod. | Versao Prod. | C | Real | 3 |
| BY3_CODTAB | Cod. Tabela | Codigo Tabela | C | Real | 3 |
| BY3_DESTAB | Desc. Tabela | Desc Tab | C | Real | 30 |
| BY3_CODPAD | Cod Padrao | Codigo Padrao | C | Real | 2 |
| BY3_NIVEL | Nivel | Nivel | C | Real | 2 |
| BY3_PRODE | Cod Proc De | Procedimento De | C | Real | 12 |
| BY3_PROATE | Cod Proc Ate | Procedimento Ate | C | Real | 12 |
| BY3_ATEND | Atd. Prefer. | Atendimento Preferencial | C | Real | 2 |
| BY3_URG | Atd. Urgenc. | Atendimento Urgencia | C | Real | 1 |
| BY3_ELET | Atd. Eletivo | Atendimento Eletivo | C | Real | 1 |
| BY3_ATEINT | Atd Interno | Atd Interno | C | Real | 1 |
| BY3_ATEEXT | Atd Externo | Atd Externo | C | Real | 1 |
| BY3_INDIC | Div. Indicad | Divulga Indicador | C | Real | 1 |
| BY3_INDAMB | Div. Atd Amb | Divulga Atd Ambulatorial | C | Real | 1 |
| BY3_NET | Div Internet | Divulga na Internet | C | Real | 1 |
| BY3_CALL | Div Call Cte | Divulga Call Center | C | Real | 1 |
| BY3_PF | Atd. Ctr PF | Atende Ctr PF | C | Real | 1 |
| BY3_PJ | Atd Ctr PJ | Atende Ctr PJ | C | Real | 1 |
| BY3_VALCH | Vlr Us Pag | Valor US | N | Real | 16, 4 |
| BY3_BLOPAG | Bloq Pag | Bloqueia Pagamento? | C | Real | 1 |
| BY3_VALREA | Vlr Real Pag | Valor em Real | N | Real | 16, 4 |
| BY3_USRECT | Vlr Us Rec | Valor Us Recebimento | N | Real | 16, 4 |
| BY3_ATIVO | Ativo? | Ativo? | C | Real | 1 |
| BY3_VLRECT | Vlr Real Rec | Valor em Real Recebimento | N | Real | 16, 4 |
| BY3_PERDES | Perc De Desc | Percentual de Desconto | N | Real | 16, 4 |
| BY3_BANDA | Banda | Banda | N | Real | 16, 4 |
Indices
| Ordem | Chave | Descricao | Nickname |
|---|---|---|---|
| 1 | BY3_FILIAL + BY3_CODOPE + BY3_SEQNEG + BY3_SEQPAR + BY3_CODGRU + BY3_CODPRO + BY3_VERPRO | Operadora + Seq. Negoc. + Seq. Param. + Grp Produto + Produto + Versao | |
| 2 | BY3_FILIAL + BY3_CODGRU + BY3_CODPRO + BY3_VERPRO | Grp Produto + Produto + Versao Prod. |
Relacionamentos
| Tabela Origem | Tabela Destino | Expressao Origem | Expressao Destino | Relacionamento |
|---|---|---|---|---|
| BF8 (Tabelas de Honorarios) | BY3 (Paramet x Plano x Procedimento) | BF8_CODINT + BF8_CODIGO | BY3_CODOPE + BY3_CODTAB | 1 para N |
| BR4 (Tipo de Tabela Padrao) | BY3 (Paramet x Plano x Procedimento) | BR4_CODNIV | BY3_NIVEL | N para N |
| BR4 (Tipo de Tabela Padrao) | BY3 (Paramet x Plano x Procedimento) | BR4_CODPAD | BY3_CODPAD | 1 para N |