Tabela CMU - Id. Produtor
Rotina (SysObj): TAFA272
Chave Unica: CMU_FILIAL + CMU_ID + CMU_VERSAO + CMU_INDAQU + CMU_INSCPR
Modo: E
Modo Unid.: E
Modo Empr.: E
Sumario:
Campos
| Campo | Titulo | Descricao | Tipo | Contexto | Tamanho |
|---|---|---|---|---|---|
| CMU_FILIAL | Filial | Filial do Sistema | C | Real | 2 |
| CMU_ID | ID | Identificador do Registro | C | Real | 6 |
| CMU_VERSAO | Id. Ver. Reg | Id da versao do registro | C | Real | 14 |
| CMU_INSCES | Nr.Inscricao | Numero Inscricao | C | Real | 14 |
| CMU_INDAQU | Id.Aquisicao | Indicativo da Aquisicao | C | Real | 1 |
| CMU_TPINSC | Tp.Inscricao | Tipo Inscricao | C | Real | 1 |
| CMU_INSCPR | Nr.Inscricao | Numero Inscricao | C | Real | 14 |
| CMU_VLBRUT | Val. Bruto | Valor Bruto | N | Real | 16, 2 |
| CMU_VLCONT | Val. Contrib | Valor da Contribuicao | N | Real | 16, 2 |
| CMU_VLGILR | Val. Gilrat | Valor Gilrat | N | Real | 16, 2 |
| CMU_VLSENA | Val. Senar | Valor Senar | N | Real | 16, 2 |
| CMU_NRPROC | Num. Process | Numero Processo | C | Real | 6 |
| CMU_DNRPRO | Des. Process | Descricao Processo | C | Virtual | 220 |
| CMU_INDCP | Ind. Rural | Indicativo da opcao rural | C | Real | 1 |
Indices
| Ordem | Chave | Descricao | Nickname |
|---|---|---|---|
| 1 | CMU_FILIAL + CMU_ID + CMU_VERSAO + CMU_INDAQU + CMU_INSCPR | ID + Id. Ver. Reg + Id.Aquisicao + Nr.Inscricao | |
| 2 | CMU_FILIAL + CMU_INSCPR | Nr.Inscricao |
Relacionamentos
| Tabela Origem | Tabela Destino | Expressao Origem | Expressao Destino | Relacionamento |
|---|---|---|---|---|
| C1G (Processos Referenciados.) | CMU (Id. Produtor) | C1G_ID | CMU_NRPROC | 1 para N |
| C1G (Processos Referenciados.) | CMU (Id. Produtor) | C1G_ID + C1G_ATIVO | CMU_NRPROC + '1' | 1 para N |
| CMT (Tipo Aquisicao) | CMU (Id. Produtor) | CMT_ID + CMT_VERSAO + CMT_INSCES + CMT_INDAQU | CMU_ID + CMU_VERSAO + CMU_INSCES + CMU_INDAQU | 1 para N |
| CMT (Tipo Aquisicao) | CMU (Id. Produtor) | CMT_ID + CMT_VERSAO + CMT_INDAQU | CMU_ID + CMU_VERSAO + CMU_INDAQU | 1 para N |
| CMT (Tipo Aquisicao) | CMU (Id. Produtor) | CMT_INSCES + CMT_INDAQU | CMU_INSCES + CMU_INDAQU | 1 para N |
| CMU (Id. Produtor) | CMV (Detalhamento de Nfs) | CMU_FILIAL + CMU_ID + CMU_INDAQU + CMU_INSCPR | CMV_FILIAL + CMV_ID + CMV_INDAQU + CMV_INSCPR | 1 para N |
| CMU (Id. Produtor) | CMV (Detalhamento de Nfs) | CMU_INSCES + CMU_INDAQU | CMV_INSCES + CMV_INDAQU | 1 para N |
| CMU (Id. Produtor) | CMV (Detalhamento de Nfs) | CMU_ID + CMU_INDAQU + CMU_INSCPR | CMV_ID + CMV_INDAQU + CMV_INSCPR | 1 para N |
| CMU (Id. Produtor) | T1Z (Informacoes do Processo Judici) | CMU_INSCES + CMU_INDAQU + CMU_INSCPR | T1Z_INSCES + T1Z_INDAQU + T1Z_INSCPR | 1 para N |
| CMU (Id. Produtor) | T1Z (Informacoes do Processo Judici) | CMU_ID + CMU_VERSAO + CMU_INSCES + CMU_INDAQU + CMU_INSCPR | T1Z_ID + T1Z_VERSAO + T1Z_INSCES + T1Z_INDAQU + T1Z_INSCPR | 1 para N |
| CMU (Id. Produtor) | T1Z (Informacoes do Processo Judici) | CMU_ID + CMU_VERSAO + CMU_INDAQU + CMU_INSCPR | T1Z_ID + T1Z_VERSAO + T1Z_INDAQU + T1Z_INSCPR | 1 para N |