Tabela FPG - CUSTOS EXTRAS
Chave Unica: FPG_FILIAL + FPG_PROJET + FPG_NRAS + FPG_SEQ
Modo: E
Modo Unid.: E
Modo Empr.: E
Sumario:
Campos
| Campo | Titulo | Descricao | Tipo | Contexto | Tamanho |
|---|---|---|---|---|---|
| FPG_FILIAL | Filial | Filial do Sistema | C | Real | 2 |
| FPG_PROJET | Projeto | Projeto | C | Real | 22 |
| FPG_OBRA | Obra | Obra | C | Real | 3 |
| FPG_NRAS | Nr. AS | Nr. AS | C | Real | 27 |
| FPG_TIPO | Tipo | Tipo | C | Real | 1 |
| FPG_CUSTO | Custo | Custo | C | Real | 9 |
| FPG_CODDES | Equipamento | Equipamento | C | Real | 16 |
| FPG_DESCC | Desc. CC | Descricao Centro de Custo | C | Virtual | 40 |
| FPG_DESPES | Desc.Equip. | Desc.Equipamento | C | Real | 40 |
| FPG_PRODUT | Produto | Produto | C | Real | 15 |
| FPG_DESCRI | Desc.Produto | Desc.Produto | C | Real | 50 |
| FPG_QUANT | Quantidade | Quantidade | N | Real | 12, 2 |
| FPG_VLUNIT | Vl.Unitario | Vl.Unitario | N | Real | 14, 2 |
| FPG_VALOR | Valor Total | Valor Total | N | Real | 12, 4 |
| FPG_TAXAP | Taxa Percent | Taxa Percent | N | Real | 5, 2 |
| FPG_TAXAV | Taxa Valor | Taxa Valor | N | Real | 12, 2 |
| FPG_VALTOT | Valor+Taxa | Valor+Taxa | N | Real | 12, 2 |
| FPG_COBRA | Cobrar? | Cobrar do Cliente? | C | Real | 1 |
| FPG_DTENT | Dt.Entrada | Dt.Entrada | D | Real | 8 |
| FPG_DTPAG | Dt.Pagto | Dt.Pagto | D | Real | 8 |
| FPG_STATUS | Status | Status | C | Real | 1 |
| FPG_OK | OK | OK | C | Real | 2 |
| FPG_DOCORI | Docto Origem | Docto Origem | C | Real | 30 |
| FPG_RECORI | Recno Origem | Recno Origem | N | Real | 10 |
| FPG_COBRAT | Cobrar Taxa? | Cobrar Taxa de Intermedia | C | Real | 1 |
| FPG_JUNTO | Junto? | Junto? | C | Real | 1 |
| FPG_PVNUM | Pedido Venda | Pedido de Venda | C | Real | 6 |
| FPG_PVITEM | Item PV | Item Pedido de Venda | C | Real | 2 |
| FPG_NATURE | Natureza | Natureza p/ PV C.Extra | C | Real | 10 |
| FPG_DESCNA | Desc.Nat. | Descricao Natureza | C | Virtual | 30 |
| FPG_SEQ | Sequencia | Seq. lancamento | C | Real | 6 |
Indices
| Ordem | Chave | Descricao | Nickname |
|---|---|---|---|
| 1 | FPG_FILIAL + FPG_PROJET + FPG_NRAS + FPG_OBRA + FPG_SEQ | Projeto + Nr. AS + Obra + Sequencia | |
| 2 | FPG_FILIAL + FPG_PROJET + FPG_NRAS + FPG_PRODUT | Projeto + Nr. AS + Produto | |
| 3 | FPG_FILIAL + FPG_TIPO + FPG_DOCORI | Tipo + Docto Origem |
Relacionamentos
| Tabela Origem | Tabela Destino | Expressao Origem | Expressao Destino | Relacionamento |
|---|---|---|---|---|
| CTT (Centro de Custo) | FPG (CUSTOS EXTRAS) | CTT_CUSTO | FPG_CUSTO | 1 para N |
| FP0 (PROJETOS) | FPG (CUSTOS EXTRAS) | FP0_PROJET | FPG_PROJET | 1 para N |
| FPA (LOCACAO X PROJETO) | FPG (CUSTOS EXTRAS) | FPA_GRUA | FPG_CODDES | 1 para N |
| FQ5 (VIAGEM) | FPG (CUSTOS EXTRAS) | FQ5_AS | FPG_NRAS | 1 para N |
| SB1 (Descricao Generica do Produto) | FPG (CUSTOS EXTRAS) | B1_COD | FPG_PRODUT | 1 para N |
| SED (Naturezas) | FPG (CUSTOS EXTRAS) | ED_CODIGO | FPG_NATURE | 1 para N |