Tabela SOP - Grupo Empresas Centralizadas
Chave Unica: OP_FILIAL + OP_CDEPCZ + OP_EMPRCZ + OP_UNIDCZ + OP_CDESCZ + OP_CDEPGR + OP_EMPRGR + OP_UNIDGR + OP_CDESGR + STR(OP_NRPYGR)
Modo: C
Modo Unid.: C
Modo Empr.: C
Sumario:
Campos
| Campo | Titulo | Descricao | Tipo | Contexto | Tamanho |
|---|---|---|---|---|---|
| OP_FILIAL | Filial | Filial do Sistema | C | Real | 2 |
| OP_CDEPCZ | Grupo | Grupo Centralizador | C | Real | 2 |
| OP_EMPRCZ | Empresa | Empresa centralizadora | C | Real | 12 |
| OP_UNIDCZ | Unid Negocio | Unidade de Negocio Centra | C | Real | 12 |
| OP_CDESCZ | Filial | Filial Centralizadora | C | Real | 2 |
| OP_CDEPGR | Grupo | Grupo Centralizado | C | Real | 2 |
| OP_EMPRGR | Empresa | Empresa Centralizada | C | Real | 12 |
| OP_UNIDGR | Unid Negocio | Unidade de Negocio Centra | C | Real | 12 |
| OP_CDESGR | Grupo Filial | Filial Centralizada | C | Real | 2 |
| OP_NRPYGR | Prioridade | Prioridade Grupo Centrali | N | Real | 2 |
Indices
| Ordem | Chave | Descricao | Nickname |
|---|---|---|---|
| 1 | OP_FILIAL + OP_CDEPCZ + OP_CDESCZ + OP_CDEPGR + OP_CDESGR + STR(OP_NRPYGR) | Grupo + Filial + Grupo + Grupo Filial + Prioridade | |
| 2 | OP_FILIAL + OP_CDEPGR + OP_CDESGR | Grupo + Grupo Filial | |
| 3 | OP_FILIAL + OP_CDEPCZ + OP_EMPRCZ + OP_UNIDCZ + OP_CDESCZ + OP_CDEPGR + OP_EMPRGR + OP_UNIDGR + OP_CDESGR + STR(OP_NRPYGR) | Grupo + Empresa + Unid Negocio + Filial + Grupo + Empresa + Unid Negoc | |
| 4 | OP_FILIAL + OP_CDEPGR + OP_EMPRGR + OP_UNIDGR + OP_CDESGR | Grupo + Empresa + Unid Negocio + Grupo Filial |
Relacionamentos
| Tabela Origem | Tabela Destino | Expressao Origem | Expressao Destino | Relacionamento |
|---|---|---|---|---|
| SOO (Empresas Centralizadoras) | SOP (Grupo Empresas Centralizadas) | OO_CDEPCZ + OO_CDESCZ | OP_CDEPCZ + OP_CDESCZ | 1 para N |