ERPSeeker

Tabela DPARTICICONSORCIOSEMPRESASECF

Dados do registro Y640 ECF
13campos2relacionamentos

Campos da tabela DPARTICICONSORCIOSEMPRESASECF

13 campos no dicionário de dados do TOTVS RM.

13
CampoDescrição
CODCOLIGADA
smallint
não nulo
Código coligada
CODFILIAL
smallint
não nulo
Código filial
IDPARAMSECF
int
não nulo
Id. Parâmetros da ECF
IDPARTICICONSORCIOSEMPRESASECF
int
não nulo
Id. Participação Consórcios Empresas da ECF
CNPJ
VARCHAR(20)
não nulo
CNPJ do consórcio no qual a pessoa jurídica participou no período a que se refere esta declaração
COND_DECL
smallint
não nulo
Condição do Declarante no Consórcio
VL_CONS
numeric
Receita d o Consórcio
CNPJ_LID
VARCHAR(20)
não nulo
CNPJ da Empresa Líder do Consórcio
VL_DECL
numeric
não nulo
Receita d o Declarante n o Consórcio
RECCREATEDBY
VARCHAR(50)
Usuário criador do registro
RECCREATEDON
datetime
Data de criação do registro
RECMODIFIEDBY
VARCHAR(50)
Autor da última modificação no registro
RECMODIFIEDON
datetime
Data da última modificação no registro

SELECT de exemplo da tabela DPARTICICONSORCIOSEMPRESASECF

Sintaxe SQL Server. Ajuste TOP/LIMIT conforme o banco.

SQL · SQL Server
SELECT TOP 100
  DPARTICICONSORCIOSEMPRESASECF.CODCOLIGADA,
  DPARTICICONSORCIOSEMPRESASECF.CODFILIAL,
  DPARTICICONSORCIOSEMPRESASECF.IDPARAMSECF,
  DPARTICICONSORCIOSEMPRESASECF.IDPARTICICONSORCIOSEMPRESASECF,
  DPARTICICONSORCIOSEMPRESASECF.CNPJ,
  DPARTICICONSORCIOSEMPRESASECF.COND_DECL,
  DPARTICICONSORCIOSEMPRESASECF.VL_CONS,
  DPARTICICONSORCIOSEMPRESASECF.CNPJ_LID
FROM DPARTICICONSORCIOSEMPRESASECF

Exemplo com JOIN

SELECT TOP 100
  *
FROM DPARTICICONSORCIOSEMPRESASECF
INNER JOIN DPARAMSECFFILIAL
  ON DPARTICICONSORCIOSEMPRESASECF.CODCOLIGADA = DPARAMSECFFILIAL.CODCOLIGADA
 AND DPARTICICONSORCIOSEMPRESASECF.CODFILIAL = DPARAMSECFFILIAL.CODFILIAL
 AND DPARTICICONSORCIOSEMPRESASECF.IDPARAMSECF = DPARAMSECFFILIAL.IDPARAMSECF

Relacionamentos da tabela DPARTICICONSORCIOSEMPRESASECF

Tabelas ligadas a esta pelo dicionário de dados, com a condição de JOIN.

  • DPARAMSECFFILIALParâmetros geração Escrituração Contábil Fiscal
    DPARTICICONSORCIOSEMPRESASECF.CODCOLIGADA = DPARAMSECFFILIAL.CODCOLIGADA AND DPARTICICONSORCIOSEMPRESASECF.CODFILIAL = DPARAMSECFFILIAL.CODFILIAL AND DPARTICICONSORCIOSEMPRESASECF.IDPARAMSECF = DPARAMSECFFILIAL.IDPARAMSECF
  • DPARTICIPANTESCONSORCIOSECFDados do registro Y650 ECF
    DPARTICICONSORCIOSEMPRESASECF.CODCOLIGADA = DPARTICIPANTESCONSORCIOSECF.CODCOLIGADA AND DPARTICICONSORCIOSEMPRESASECF.CODFILIAL = DPARTICIPANTESCONSORCIOSECF.CODFILIAL AND DPARTICICONSORCIOSEMPRESASECF.IDPARAMSECF = DPARTICIPANTESCONSORCIOSECF.IDPARAMSECF AND DPARTICICONSORCIOSEMPRESASECF.IDPARTICICONSORCIOSEMPRESASECF = DPARTICIPANTESCONSORCIOSECF.IDPARTICICONSORCIOSEMPRESASECF

Tabelas próximas no índice do RM

O ERPSeeker é um projeto independente, sem vínculo com a TOTVS. A estrutura pode variar conforme a versão e as customizações do seu ambiente.