Você está na página 1de 107

Engine & Database

Changes
ERP PRIMAVERA V8.10

Version 1.0
March 2013

Index
Index ................................................................................................................................. 2
Introduction ..................................................................................................................... 13
Object Model .................................................................................................................... 14
Business Entities (BE) ....................................................................................................14
CblBEAcumuladoProjecto................................................................................................. 14
CblBECnfDocExercicioLigCBL ............................................................................................ 14
CblBELinhaDocContaProjecto ........................................................................................... 14
CblBEGrupoHierarquicoElemento ...................................................................................... 15
CblBELinhaDocGeral (Update) .......................................................................................... 15
CblBELinhaOrcamentoCCusto ........................................................................................... 15
CblBELinhaOrcamentoProjectoWBS ................................................................................... 16
CblBEOrcamentoCCusto .................................................................................................. 16
CblBEOrcamentoConta .................................................................................................... 16
CblBEOrcamentoProjectoWBS .......................................................................................... 16
CblBEProjectoWBSItem ................................................................................................... 16
CblBETipoActividade ....................................................................................................... 17
CblBETipoActividadeOrigem ............................................................................................. 17
CblBEPlanoContas .......................................................................................................... 17
GcpBEAvenca ................................................................................................................ 17
GcpBECheque ................................................................................................................ 18
GcpBECondPagamento .................................................................................................... 18
GcpBEDocumentoAceite .................................................................................................. 18
GcpBEDocumentoCompra ................................................................................................ 18
GcpBEDocumentoDesconto .............................................................................................. 18
GcpBEDocumentoInterno ................................................................................................ 19
GcpBEDocumentoLiq ...................................................................................................... 19
GcpBEDocumentoLiqTitul ................................................................................................ 19
GcpBEDocumentoStock ................................................................................................... 19
GcpBEDocumentoRecambio ............................................................................................. 19
GcpBEDocumentoReforma ............................................................................................... 19
GcpBEDocumentoVenda .................................................................................................. 19
GcpBEHistorico .............................................................................................................. 19

Pg 2

GcpBEListaContaEstDoc .................................................................................................. 20
GcpBELinhaAceite .......................................................................................................... 20
GcpBELinhaDesconto ...................................................................................................... 20
GcpBELinhaDocumentoCompra ........................................................................................ 20
GcpBELinhaDocumentoInterno ......................................................................................... 20
GcpBELinhaDocumentoStock ........................................................................................... 20
GcpBEDocumentoRastreab .............................................................................................. 21
GcpBELinhaDocumentoTesouraria..................................................................................... 21
GcpBELinhaDocumentoVenda .......................................................................................... 21
GcpBELinhaLiqTitulo ....................................................................................................... 21
GcpBELinhaPendente ...................................................................................................... 21
GcpBELinhaRastreabilidade.............................................................................................. 21
GcpBELinhaRecambio ..................................................................................................... 21
GcpBELinhaReforma ....................................................................................................... 21
GcpBELinhaTesouraria .................................................................................................... 22
GcpBEParametros .......................................................................................................... 22
GcpBEParamsCCTListaPendentes ...................................................................................... 22
GcpBEPendente ............................................................................................................. 22
GcpBEProjecto ............................................................................................................... 23
GcpBEProjectoEstado...................................................................................................... 23
GcpBEProjectoHistoricoEstado .......................................................................................... 23
GcpBERubricaCCT .......................................................................................................... 23
GcpBESerieCheques ....................................................................................................... 23
GcpBETabCCorrentes ...................................................................................................... 24
ImoBEApolice ................................................................................................................ 24
ImoBECompanhia .......................................................................................................... 24
ImoBEHistoricoApoliceEncargo ......................................................................................... 24
ImoBEHistoricoApoliceEncargos ........................................................................................ 25
RhpBEAnaliticaEnt .......................................................................................................... 25
RHPBEFalta ................................................................................................................... 26
RhpBECadastroHistorico .................................................................................................. 26
RhpBECadastroFalta ....................................................................................................... 26
RhpBECadastroSegsocial ................................................................................................. 26
RhpBECentroCustoEnt .................................................................................................... 26

Pg 3

RhpBEFuncaoEnt ............................................................................................................ 27
RhpBEFuncRemCBLAnalitica ............................................................................................ 27
RhpBEFuncRemCBLCCusto .............................................................................................. 27
RhpBEFuncRemCBLPFuncional ......................................................................................... 27
RhpBEInstituicaoHistorico ................................................................................................ 27
RhpBEInstituicaoHistoricos .............................................................................................. 28
RhpBEMotivoAcerto ........................................................................................................ 29
RhpBELimiteIsencaoRem ................................................................................................. 29
RhpBENivelQualificacao ................................................................................................... 29
RhpBEProcFalta ............................................................................................................. 29
RhpBEProcHoraExtra ...................................................................................................... 30
RhpBEProcRemFalta ....................................................................................................... 30
RHPBERemuneracao ....................................................................................................... 30
RhpBESegurancaSocial ................................................................................................... 30
RhpBESegSocialDesconto ................................................................................................ 30
RhpBESegSocialDescontos............................................................................................... 31
RhpBESindicato ............................................................................................................. 31
RhpBEValorDescontadoFalta ............................................................................................ 31
Business Services (BS) ..................................................................................................31
CblBSAcumuladosProjectos.............................................................................................. 32
CblBSClassesProjectoWBS ............................................................................................... 32
CblBSDocumentos .......................................................................................................... 33
CblBSGrupoHierarquicoElemento ...................................................................................... 33
CblBSGruposContas........................................................................................................ 33
CblBSOrcamentosCCusto................................................................................................. 34
CblBSOrcamentosConta .................................................................................................. 34
CblBSOrcamentosProjectoWBS......................................................................................... 35
CblBSParametros (Change) ............................................................................................. 35
CblBSPlanoContas .......................................................................................................... 35
GcpBSProjecto ............................................................................................................... 36
GcpBSProjectoEstados .................................................................................................... 36
CblBSProjectoWBS ......................................................................................................... 36
CblBSTiposDocActividades ............................................................................................... 37
GcpBSAvencas............................................................................................................... 37

Pg 4

GcpBSCompras .............................................................................................................. 37
GcpBSCondPagamento.................................................................................................... 37
GcpBSHistorico .............................................................................................................. 37
GcpBSIternos ................................................................................................................ 38
GcpBSLiquidacoes .......................................................................................................... 38
GcpBSPendentes ............................................................................................................ 38
GcpBSRubricasCCT ......................................................................................................... 38
GcpBSStocks ................................................................................................................. 38
GcpBSTabCCorrentes...................................................................................................... 38
GcpBSTesouraria ........................................................................................................... 38
GcpBSVendas ................................................................................................................ 39
ICblBSDocumentos......................................................................................................... 39
ImoBSApolices .............................................................................................................. 39
ImoBSDocumentos......................................................................................................... 40
ImoBSLigacaoCBL .......................................................................................................... 40
RhpBSAnaliticasFunc ...................................................................................................... 40
RhpBSCadastroFaltas ..................................................................................................... 41
RhpBSCadastroHistorico .................................................................................................. 41
RhpBSCadastroHorasExtra .............................................................................................. 42
RhpBSCentrosCustoFunc ................................................................................................. 43
RhpBSFuncoesFunc ........................................................................................................ 43
RhpBSLigacaoCBL .......................................................................................................... 44
RhpBSLimitesIsencaoRem ............................................................................................... 44
RHPBSMotivosAcerto ...................................................................................................... 45
RhpBSMovimentos ......................................................................................................... 46
RhpBSProcessamento ..................................................................................................... 46
RhpBSRemuneracoes...................................................................................................... 46
RhpBSSegSocialDescontos .............................................................................................. 46
RhpBSSindicatos ............................................................................................................ 47
Data Services (DS).........................................................................................................47
CblDSAcumuladosProjectos ............................................................................................. 47
CblDSCnfDocLigCBL ....................................................................................................... 47
CblDSDocumentos ......................................................................................................... 48
CblDSFormulas .............................................................................................................. 49

Pg 5

CblDSGrupoHierarquicoElemento ...................................................................................... 49
CblDSPlanoContas .......................................................................................................... 49
GcpDSAvencas .............................................................................................................. 50
GcpDSCompras ............................................................................................................. 50
GcpDSCondPagamento ................................................................................................... 50
GcpBSDocumentos ......................................................................................................... 50
GcpDSHistorico .............................................................................................................. 51
GcpDSInternos .............................................................................................................. 51
GcpDSLiquidacoes .......................................................................................................... 51
GcpDSParametros .......................................................................................................... 51
GcpDSPendentes ........................................................................................................... 52
GcpDSProjecto .............................................................................................................. 52
GcpDSProjectoEstados .................................................................................................... 52
GcpDSRubricasCCT ........................................................................................................ 52
GcpDSRubricaCCT .......................................................................................................... 52
GcpDSStocks................................................................................................................. 52
GcpDSTabCCorrentes ..................................................................................................... 53
GcpDSTesouraria ........................................................................................................... 53
GcpDSVendas ................................................................................................................ 53
ICblDSDocumentos ........................................................................................................ 53
ImoDSDocumentos ........................................................................................................ 54
ImoDSLigacaoCBL .......................................................................................................... 54
RHPDSLimitesIsencaoRem ............................................................................................... 54
RHPDSMotivosAcerto ...................................................................................................... 55
RHPDSRemuneracoes ..................................................................................................... 56
Data Model ....................................................................................................................... 57
Tables............................................................................................................................57
AcumuladosContas ......................................................................................................... 57
AcumuladosProjectos ...................................................................................................... 57
AcumuladosProjectosCCusto ............................................................................................ 58
AcumuladosProjectosFuncoes........................................................................................... 59
AcumuladosProjectosOrigens ........................................................................................... 60
Anexos ......................................................................................................................... 61
Apolices ........................................................................................................................ 61

Pg 6

Apuramentos................................................................................................................. 61
Avencas ....................................................................................................................... 61
BancosFormatos ............................................................................................................ 62
CabecCompras .............................................................................................................. 62
CabecDoc ..................................................................................................................... 62
CabecInternos ............................................................................................................... 63
CabecLiq....................................................................................................................... 63
CabecMovCBL ................................................................................................................ 63
CabecStock ................................................................................................................... 63
CabecTesouraria ............................................................................................................ 63
CadastroHistorico ........................................................................................................... 63
CadastroHorasExtra ....................................................................................................... 63
CadastroOcorrencias (new) ............................................................................................. 64
CadastroRetroactivos...................................................................................................... 64
CadastroRetroValores ..................................................................................................... 64
CadastroSegSocial ......................................................................................................... 64
CblDocRascEfectivos ....................................................................................................... 65
CblGruposHierarquicos .................................................................................................... 65
CblGruposHierarquicosElementos ..................................................................................... 65
CblNumTiposDocumentosControlling (new) ........................................................................ 65
CblRascunhosCabecMovCbl (new) ..................................................................................... 66
CblRascunhosContaCorrenteCBL ....................................................................................... 66
CblRascunhosLigacaoMovIMO (new) ................................................................................. 67
CblRascunhosMovimentos (new) ...................................................................................... 67
CblRascunhosMovimentosFluxo (new) ............................................................................... 69
CblRascunhosRetencoesFonteCBL (new) ............................................................................ 69
CblTiposDocumentosControlling (new) .............................................................................. 70
CblTiposActividade ......................................................................................................... 70
CblTiposActividadeOrigens ............................................................................................... 70
CGA ............................................................................................................................. 70
ChavesReparticao .......................................................................................................... 71
ChavesReparticaoAnalitica ............................................................................................... 71
ChavesReparticaoFuncoes ............................................................................................... 71
Cheques (new) .............................................................................................................. 71

Pg 7

CiclosDistribuicaoCustos.................................................................................................. 71
ClassesProjectoWBS ....................................................................................................... 72
ClassificacaoDocumentos ................................................................................................ 72
Clientes ........................................................................................................................ 72
Companhias .................................................................................................................. 72
ContasBancarias ............................................................................................................ 72
CnfDocLigCBL ................................................................................................................ 72
CondicoesAplicabilidade .................................................................................................. 73
CondicoesAplicabilidadeEntidades ..................................................................................... 73
CondPag ....................................................................................................................... 73
ContasApuramentos ....................................................................................................... 73
ContasBancarias ............................................................................................................ 74
ContasPlanoAltPlanoBase ................................................................................................ 74
COP_Obras ................................................................................................................... 74
DeclRendimentos ........................................................................................................... 74
Descritivos .................................................................................................................... 75
Diagramas_ProjectFileManager ........................................................................................ 75
Diarios ......................................................................................................................... 75
DocumentosBancos ........................................................................................................ 75
DocumentosCBL ............................................................................................................ 75
DocumentosCBLFluxos .................................................................................................... 75
DocumentosCCT ............................................................................................................ 75
DocumentosCompra ....................................................................................................... 76
DocumentosControlling ................................................................................................... 76
DocumentosExternos ...................................................................................................... 77
DocumentosLiqCustos..................................................................................................... 77
DocumentosStk ............................................................................................................. 77
DocumentosVenda ......................................................................................................... 77
Estabelecimentos ........................................................................................................... 77
ExerciciosCBL ................................................................................................................ 78
FAC_CabecContratos ...................................................................................................... 78
FAC_LinhasContratos ...................................................................................................... 79
Faltas ........................................................................................................................... 79
FechosMesCabec ............................................................................................................ 79

Pg 8

Fluxos .......................................................................................................................... 80
FuncAnalitica ................................................................................................................. 80
Fornecedores ................................................................................................................ 80
FuncAnalitica ................................................................................................................. 80
FuncCCusto ................................................................................................................... 80
Funcionrios.................................................................................................................. 80
FuncFormasPagamento ................................................................................................... 81
FuncPlanoFuncional ........................................................................................................ 81
FuncRemCBLAnalitica ..................................................................................................... 81
FuncRemCBLCCusto ....................................................................................................... 81
FuncRemCBLPFuncional .................................................................................................. 82
FunndosPensao.............................................................................................................. 82
GcpBERubricaCCT .......................................................................................................... 82
GPR_Alternativas ........................................................................................................... 82
GPR_ CalculosNecessidadesRestricoes .................................................................................. 82
GPR_CentrosTrabalho ..................................................................................................... 82
GPR_DocumentosRel ...................................................................................................... 82
GPR_GamasResultados ................................................................................................... 83
GPR_GamasResultados ................................................................................................... 83
GPR_GamasResultadosLista ............................................................................................. 83
GPR_Resultados............................................................................................................. 83
GruposAuturizao ......................................................................................................... 83
GruposContas................................................................................................................ 84
Historico ....................................................................................................................... 84
HistoricoExPS2 .............................................................................................................. 84
IndeminizacaoDespedimento ........................................................................................... 84
IndepAcumulado ............................................................................................................ 84
IndepAnalitica ............................................................................................................... 84
IndepCCusto ................................................................................................................. 85
Independente ................................................................................................................ 85
IndepFormasPagamento ................................................................................................. 85
IndepPlanoFuncional....................................................................................................... 85
IndicesEstatisticos.......................................................................................................... 85
InstituicoesHistorico ....................................................................................................... 86

Pg 9

IVA .............................................................................................................................. 86
Lanamentos ................................................................................................................. 86
LigacaoContabilidade ...................................................................................................... 86
LimitesIsencaoRemuneracoes .......................................................................................... 87
LinhasCiclosDistribuicaoCustos ......................................................................................... 87
LinhasClassificacaoDocumentos ........................................................................................ 87
LinhasCompras .............................................................................................................. 88
LinhasComprasStatus ..................................................................................................... 88
LinhasDestinoApuramentos ............................................................................................. 88
LinhasDoc ..................................................................................................................... 88
LinhasDocControlling ...................................................................................................... 88
LinhasDocRascunhos ...................................................................................................... 89
LinhasDocStatus ............................................................................................................ 89
LinhasDocStatusrascunhos .............................................................................................. 89
LinhasIndicesEstatisticosFuncoes ...................................................................................... 89
LinhasIndicesEstatisticosCCusto ....................................................................................... 89
LinhasIndicesEstatisticosProjectoWBS ............................................................................... 89
LinhasInternos .............................................................................................................. 90
LinhasLiq ...................................................................................................................... 90
LinhasLiqCustos ............................................................................................................. 90
LinhasInternosStatus ...................................................................................................... 91
LinhasModelosDoc .......................................................................................................... 91
LinhasNormasLiquidacao ................................................................................................. 91
LinhasOpFuturas ............................................................................................................ 91
LinhasOVendaCicloVenda ................................................................................................ 91
LinhasPendentes ............................................................................................................ 92
LinhasPlanoContas ......................................................................................................... 92
LinhasStkStatus ............................................................................................................. 92
LinhasStk ..................................................................................................................... 92
LinhasTesouraria............................................................................................................ 92
LinhasTransformacoes .................................................................................................... 93
LiquidacaoCustos ........................................................................................................... 93
ModelosDoc................................................................................................................... 93
Movimentos .................................................................................................................. 93

Pg 10

MovimentosBancos......................................................................................................... 94
MovimentosFuncionarios ................................................................................................. 94
MovimentosProjecto ....................................................................................................... 94
MotivosAcerto................................................................................................................ 95
NormasLiquidacao .......................................................................................................... 96
NumeradoresDiarios ....................................................................................................... 96
NumeradoresDocumentosCBL .......................................................................................... 96
NiveisQualificacao .......................................................................................................... 96
Ocorrencias ................................................................................................................... 96
OcorrenciasFaltas........................................................................................................... 96
Orcamentos .................................................................................................................. 97
OrcamentosCentrosCusto ................................................................................................ 97
OrcamentosProjectoWBS ................................................................................................. 97
Pagamentos .................................................................................................................. 97
PagamentosIndep .......................................................................................................... 98
ParametrosCBL .............................................................................................................. 99
ParametrosCRM ............................................................................................................. 99
ParametrosGCP ............................................................................................................. 99
ParametrosGPR ............................................................................................................. 99
ParametrosRHP.............................................................................................................. 99
Pendentes ................................................................................................................... 100
PlanoCentros ............................................................................................................... 100
PlanoContas ................................................................................................................ 100
PlanoFuncional ............................................................................................................ 101
PlanoIVA..................................................................................................................... 101
PlanoRenovacoes ......................................................................................................... 101
PlanoRenovacoesFunc ................................................................................................... 101
PlanosAlternativos........................................................................................................ 101
PlanoSelo ................................................................................................................... 101
PocsAlternativos .......................................................................................................... 101
ProjectoEstados ........................................................................................................... 102
ProjectoWBSItem ......................................................................................................... 102
RastreabilidadeEstornos ................................................................................................ 102
Recibos ...................................................................................................................... 103

Pg 11

Reparticoes ................................................................................................................. 104


ReparticoesAnalitica ..................................................................................................... 104
ReparticoesFuncoes ...................................................................................................... 104
RubricasCCT................................................................................................................ 104
SAFTTiposDocumentos.................................................................................................. 104
SegSocial.................................................................................................................... 104
SegSocialDescontos ..................................................................................................... 105
SeriesCheques ............................................................................................................. 105
SeriesCompras ............................................................................................................ 105
Sindicatos ................................................................................................................... 106
TabImpostoSelo........................................................................................................... 106
TabIRS ....................................................................................................................... 106
TabIRSRemNaoFixas .................................................................................................... 106
TiposEstados ............................................................................................................... 106
TiposLancamento ......................................................................................................... 106
TiposTaxaIva ............................................................................................................... 106

Pg 12

Introduction
This document presents the changes made to the engines and to the database since the v8.00 to v8.10. Only the changes registered
are mentioned.

In order to get a more precise and complete information, you are recommended to read the various documents
available in the PRIMAVERA KnowledgeBase, mainly Engines Documentation and Database Documentation.

PKB

Engines Documentation

Database Documentation

Pg 13

Object Model
Business Entities (BE)
CblBEAcumuladoProjecto
Property

Type

Description

Change Type

Ano

Integer

The year

TipoLancamento

String

The posting

Moeda

String

The currency

ProjectoID

String

Identificador do Projecto

Projecto

String

Cdigo do Projecto

WBSItem

String

The WBS item

MesCreditos(0 To 15)

Currency

MesDebitos(0 To 15)

Currency

EmModoEdicao

Boolean

The credit value for month 00 to month


15
The debit value for month 00 to month
15
Indicates if its a new register or not.

Estado

String

TipoOrigem

String

Indicates if the source is Account, Cost


center or function

Property

Type

Description

IntegraComoRascunho

Bit

This property will hold if the document


integrate with CBL in daft mode

ProjectosCBL

Bit

Sets whether the Project and WBS are


filled through the values of the Chart of
Accounts.

N
C
C

CblBECnfDocExercicioLigCBL
Change Type

CblBELinhaDocContaProjecto
Property

Type

Description

Change Type

IDMovimento

String

Source line ID

ProjectoID

String

Project Unique Identifier

Projecto

String

Project code

Pg 14

WBSItem

String

Projects WBS item

TipoLancamento

String

Valor

Currency

ValorOrigem

Currency

ValorAlt

Currency

Cambio

Double

CambioOrigem

Double

CambioMAlt

Double

Natureza

String

Percentagem

Double

Estado

String

Moeda

String

Descricao

String

Liquidado

Boolean

ValorLiquidado

Currency

CblBEGrupoHierarquicoElemento
Property
SubElemento

Type

Description

String

The project

Change Type
N

CblBELinhaDocGeral (Update)
Property

Type

Description

LinhasProjectos

CblBELinhasDocContaProjectos

Add new entry for


Projects

Change Type
C

CblBELinhaOrcamentoCCusto
Property

Type

Description

Change Type

Centro

String

The cost centre code

Conta

String

The accounting code

DescricaoConta

String

The accounting description

Natureza

String

The nature

ObservacoesGra
vacao

String

The observations

MesValor

Currency

The month values (1 to 12)

Pg 15

CblBELinhaOrcamentoProjectoWBS
Property

Type

Description

Projecto

String

The project code

Change Type
C

WBSItem

String

The wbs element code

Conta

String

The accounting code

DescricaoConta

String

The accounting description

Natureza

String

The nature

ObservacoesGravacao

String

The observations

MesValor

Currency

The month values (0 to 12)

CblBEOrcamentoCCusto
Property

Type

Description

Change Type

TipoLancamento

String

The posting type

Orcamento

String

The budget

Moeda

String

The currency

Ano

String

The year

CblBEOrcamentoConta
Property

Type

Description

Change Type

Conta

String

The accounting code

DescricaoConta

String

The accounting description

Natureza

String

The nature

ObservacoesGravacao

String

The observations

MesValor

Currency

The month values (1 to 12)

CblBEOrcamentoProjectoWBS
Property

Type

Description

Change Type

TipoLancamento

String

The posting type

Orcamento

String

The budget

Moeda

String

The currency

Ano

String

The year

Change Type

CblBEProjectoWBSItem
Property

Type

Description

Codigo

String

The element code

Descricao

String

The element description

Pg 16

CodigoPai

String

The father element code

ProjectId

String

Posicao

Integer

The Project identifier of the project that the


element belongs to
The element position within is siblings

DataIni

Datetime

The element initial date

DataFim

Datetime

The element final date

TipoEntidade

String

Entidade

String

The entity type of the entity associated to


the element
The entity associated to the element

GrupoAutorizacao

String

The element autorization group

Estatistico

Boolean

Activo

Boolean

Indicates that the element is udes for


statistical data
Indicates that the element is active or not

Classe

String

The element code

Property

Type

Description

Actividade

String

The activity code

ContaCredito

String

The credit account

CblBETipoActividade
Change Type

CblBETipoActividadeOrigem
Property

Type

Description

Change Type

Actividade

String

The activity code

ContaCredito

String

The credit account

CblBEPlanoContas
Property

Type

Description

Projecto

String

The project code

Change Type
C

WBSItem

String

The element code

NaturezaEsperada

String

The espected account nature

Property

Type

TipoEntidade

String

Description
Type of entity (client or Other Debtor)

Entidade

String

TipoEntidadeFac

GcpBEAvenca
Change Type
C
C

String

Entity code
Type billing entity (client or Other Debtor)

EntidadeFac

String

Code of the billing entity

Inactiva

Boolean

State

Pg 17

Cliente

String

Valor

Double

Client
Value of retainer

R
C

GcpBECheque
Property

Type

Description

ContaBancaria

String

Bank account associated

Serie

String

Cheque series.

Numero

String

Cheque Number

Estado

Integer

IdLinhaTesouraria

String

Identifier line treasury

DataImpressao

Date

Date of issuance

UtilizadorImpressao

String

User who issued

DataAnulacao

Date

Date of cancellation

UtilizadorAnulacao

String

User annulling

MotivoAnulacao

String

Reason for cancellation

Property

Type

Description

DescontoIncluiIVA

Bit

This property will hold if the discount


includes VAT tax

Change Type
C/R/U

GcpBECondPagamento
Change Type
C

GcpBEDocumentoAceite
Property

Type

Description

WBSItem

string

WBS element id

Change Type
C/R/U

GcpBEDocumentoCompra
Property

Type

Description

WBSItem

Nvarchar

WBS element Id

Change Type
C/R/U

Description
WBS element id

Change Type

GcpBEDocumentoDesconto
Property

Type

WBSItem

string

C/R/U

Pg 18

GcpBEDocumentoInterno
Property

Type

WBSItem

Description
WBS element id

Change Type

Nvarchar

Type
Boolean

Description
Define if it is a reverse Document

Change Type

Description
WBS element id

Change Type

Change Type

C/R/U

GcpBEDocumentoLiq
Property
Estorno

GcpBEDocumentoLiqTitul
Property

Type

WBSItem

string

C/R/U

GcpBEDocumentoStock
Property

Type

Description

WBSItem

string

WBS element (filled when is equal in all lines)

C/R/U

ContaOrigem

string

C/R/U

AnaliticaOrigem

string

Identifies the general account of the original


accounting.
Identifies Original Analytic Account
Identifies the original Functional Account

C/R/U

FuncionalOrigem

C/R/U

GcpBEDocumentoRecambio
Property

Type

WBSItem

string

Description
WBS element id

Change Type
C/R/U

GcpBEDocumentoReforma
Property

Type

Description

WBSItem

string

WBS element id

Change Type
C/R/U

Property

Type

Description

Change Type

WBSItem

Nvarchar

WBS element id

Type

Description

GcpBEDocumentoVenda
C/R/U

GcpBEHistorico
Property

Change Type

Pg 19

WBSItem

Nvarchar

WBS element id

C/R/U

Change Type

GcpBEListaContaEstDoc
Property

Type

Conta
Estado

String

Description
Account Identifier

String

State identifier

Modulo

String

Module Identifier

String

Document type identifier

Property

Type

Description

WBSItem

string

WBS element id

Property

Type

Description

WBSItem

string

WBS element id

C/R/U

Change Type

TipoDoc

GcpBELinhaAceite
Change Type
C/R/U

GcpBELinhaDesconto
Change Type

GcpBELinhaDocumentoCompra
Property

Type

Description

WBSItem

Nvarchar

Item identification

C/R/U

GcpBELinhaDocumentoInterno
Property

Type

Description

WBSItem

Nvarchar

Item identification

Change Type
C/R/U

GcpBELinhaDocumentoStock
Property

Type

Description

WBSItem

Nvarchar

C/R/U

ContaCBL

string

Item identification
Identifies the General Accounting Account

Change Type

AnaliticaCBL

string

Identifies Analytic Account

C/R/U

FuncionalCBL

string

Identifies Functional Account

C/R/U

C/R/U

Pg 20

GcpBEDocumentoRastreab
Property

Type

Description

NumDocExt

String

Store the number of external document

Change Type
C

GcpBELinhaDocumentoTesouraria
Property

Type

Description

WBSItem

Nvarchar

Item identification

Change Type
C/R/U

GcpBELinhaDocumentoVenda
Property

Type

Description

WBSItem

nvarchar

Item identification

Property

Type

Description

WBSItem

string

Item identification

Property

Type

Description

WBSItem

Nvarchar

Item identification

Change Type
C/R/U

GcpBELinhaLiqTitulo
Change Type
C/R/U

GcpBELinhaPendente
Change Type
C/R/U

GcpBELinhaRastreabilidade
Property

Type

Description

NumDocExt

String

Store the number of external document

Property

Type

Description

WBSItem

string

Item identification

Property

Type

Description

WBSItem

string

Item identification

Change Type
C

GcpBELinhaRecambio
Change Type
C/R/U

GcpBELinhaReforma
Change Type
C/R/U

Pg 21

GcpBELinhaTesouraria
Property

Type

Description

WBSItem

Nvarchar

Item identification

Change Type
C/R/U

GcpBEParametros
Property

Type

Change Type

Boolean

Description
validates nature

ValidaNatItensTesouraria

Property

Type

Description

Change Type

TipoEntidade
IncluirEntidadesAssociad
as

String

Entity type identifier

Boolean

Identifies whether to include


associated entities

DataDocInicial

Date

Start date

DataDocFinal

GcpBEParamsCCTListaPendentes

Date

End date

ValidaDataLimite

Boolean

Validates payment deadline

DataLimite

Date

deadline

MoedaOrig

String

currency

TipoLancamento

String

Type of Release

ModoPag

String

Payment mode

NumRemessa

String

TipoDocLiq

String

Settlement document type

MoedaLiq

String

Settlement currency

ObraIDs

Object

Collection with Works

ContaEstados

Object

Collection with documents and states

RestricaoEntidades

Object

Collection with entities

DataDocLiq

Date

settlement document date

CambioLiq

Double

NumDocExterno

String

Currency Exchange on the date of


settlement
Document Number

CamposSelect

String

Fields that the query returns

TipoTerceiro

String

C
C

GcpBEPendente
Property

Type

Description

WBSItem

Nvarchar

Item identification

Change Type
C/R/U

Pg 22

GcpBEProjecto
Property

Type

Referencia

string

Description
Reference

Prioridade

int

Project priority

Property

Type

Description

Bloqueado

Bit

Identifies if the project is blocked

Change Type
C/R/U
C/R/U

GcpBEProjectoEstado
Change Type
C/R/U

GcpBEProjectoHistoricoEstado
Property

Type

Description

Bloqueado

Bit

Identifies if the project is blocked

Change Type

Property

Type

Description

Inactivo

Boolean

Defines if item is inactive

IdProjecto

string

Project Id

C/R/U

WBSItem

string

Wbs item id

C/R/U

Property

Type

Description

Change Type

ContaBancaria

String

Associated bank account

C/R/U

GcpBERubricaCCT
Change Type
C

GcpBESerieCheques
C/R/U

Cheque series

Srie
NumeroInicial

String

Cheque initial number

NumeroFinal

String

Cheque final number

Validade

Date

Cheque expiration

LocalEmissao

String

Local issue

Activa

Boolean

indicates if the series is active

Omissao

Boolean

Indicates the default series

Observacoes

String

Observations

Pg 23

GcpBETabCCorrentes
Property

Type

Description

PermiteEstorno

Boolean

Uses reverse document

Change Type
C/R/U

DocumentoEstorno

String

Document Type

C/R/U

SerieDocEstorno

String

Serie

C/R/U

ImoBEApolice
Property

Type

Description

HistoricoApoliceEnc
argos

ImoBEHistoricoApo
liceEncargo

Collection with all discounts of


the current line of Insurance
Policy code.

Change Type
C

ImoBECompanhia
Property
CodigoSeguradora

Type

Description

String

Company code according to the Insurer

Change Type
C

ImoBEHistoricoApoliceEncargo
Property

Type

EmModoEdicao

Boolean

ID

String

IDApolice

String

DescontoEmpregado

Double

DescontoEmpresa

Double

Percentual

Boolean

Moeda

String

AnoFiscalReferencia

Integer

MesFiscalReferencia

Byte

Description

Change Type
C

Boolean with stat of data (edition=True;


New=False)

Unique key of record.

Property with key of an institution of


Insurance Policy.

Value rate of employed

Value rate of firm

Indicates whether the value recorded for


the union's discount rate or not

Currency in which the values listed


For internal use Save the next year of
processing, when the date of application
is in a period equal to or before the last
payment.

For internal use Save the next month


of processing, when the date of

Pg 24

application is in a period equal to or


before the last payment.

DataAplicacao

Date

Date from which the discount applies

ImoBEHistoricoApoliceEncargos
Property

Type

Description

Change Type

Edita

ImoBEHistoricoApoliceEncargo

Edits an object of type


ImoBEHistoricoApoliceEncargo

ImoBEHistoricoApoliceEncargo

Edits an object of type


ImoBEHistoricoApoliceEncargo
, through a logical key

EditaLogico

Boolean

Returns true if the index


exists in the collection, else
return false.

Existe

Returns the index in the


collection of arguments:

IndiceDe

Integer

IdApolice

Data

Insere

Insert a record in collection

NumItens

Return the number of items in


a collection

Removes an element from the


collection, when identified by
argument.

Remove all elements of


collection.

Remove

Variant

RemoveTod
os

RhpBEAnaliticaEnt
Property
MesCBL

Type

Description

Change Type

Integer

Accounting month referred allocation

AnoFiscal

Integer

Calendar year to which the allocation relates.

MesFiscal

Integer

Calendar month to which the allocation relates.

Pg 25

RHPBEFalta
Property
HorasNaoTrabalhadasRU

Type
Varchar(5)

Description

Change Type
C

HorasNormaisNaoRemuneradasRU

Varchar(5)

RhpBECadastroHistorico
Property
Acerto

Type

Description

Integer

Indicates the number of rectification item.

Change Type
U

RhpBECadastroFalta
Type

Description

Integer

Indicates the number of rectification item.

Property
IDApolice

Type

Description

String

ID associated insurance policy.

Apolice

String

Code associated with the insurance policy.

Companhia

String

Code associated with the insurance


company.

Profissao

String

Associated profession code

NumDiasIsento

Double

Number of days exempt.

ValorIsentoSubsAlim

Double

Value meal allowance exempt

Property
Acerto

Change Type
U

RhpBECadastroSegsocial
Change Type

RhpBECentroCustoEnt
Property
MesCBL

Type

Description

Integer

Accounting month to the referred allocation

Change Type
C

AnoFiscal

Integer

Calendar year to which the allocation relates.

Pg 26

MesFiscal

Integer

Calendar month to which the allocation relates.

RhpBEFuncaoEnt
Property
MesCBL

Type

Description

Change Type

Integer

Accounting month to the referred allocation

AnoFiscal

Integer

Calendar year to which the allocation relates.

MesFiscal

Integer

Calendar month to which the allocation relates.

RhpBEFuncRemCBLAnalitica
Property
MesCBL

Type

Description

Integer

Accounting month to the referred allocation

Change Type
C

AnoFiscal

Integer

Calendar year to which the allocation relates.

MesFiscal

Integer

Calendar month to which the allocation relates.

RhpBEFuncRemCBLCCusto
Property
MesCBL

Type

Description

Integer

Accounting month to the referred allocation

Change Type
C

AnoFiscal

Integer

Calendar year to which the allocation relates.

MesFiscal

Integer

Calendar month to which the allocation relates.

RhpBEFuncRemCBLPFuncional
Property
MesCBL

Type

Description

Change Type

Integer

Accounting month to the referred allocation

AnoFiscal

Integer

Calendar year to which the allocation relates.

MesFiscal

Integer

Calendar month to which the allocation relates.

RhpBEInstituicaoHistorico
Property
EmModoEdicao

Type
Boolea
n

Description

Change Type
C

Boolean with stat of data (edition=True;


New=False)

Pg 27

ID

String

Entidade

String

Instituicao

Byte

DescontoEmpregad
o

Double

DescontoEmpresa

Double

Valor

Double

ValorMinimo

Double

Percentual

Boolea
n

Moeda

String

AnoFiscalReferencia

Integer

MesFiscalReferencia

Byte

DataAplicacao

Date

Unique key of record.

Property with code of an institution.

Code of type institution:


1- GCA
2- Pension Funds
3- Unions

C
Value rate of employed
C

Value rate of firm

Value that the employee discounts for union

Minimum amount that the employee


discounts for union

Indicates whether the value recorded for


the union's discount rate or not

Currency in which the values listed


For internal use Save the next year of
processing, when the date of application is
in a period equal to or before the last
payment.

For internal use Save the next month of


processing, when the date of application is
in a period equal to or before the last
payment.

Date from which the discount applies

RhpBEInstituicaoHistoricos
Property

Type

Description

Edita

RhpBEInstituicaoHisto
rico

Edits an object of type


RhpBEInstituicaoHistorico

EditaLogico

RhpBEInstituicaoHisto
rico

Edits an object of type


RhpBEInstituicaoHistorico, through
a logical key

Existe

Boolean

Returns true if the index exists in


the collection, else return false.

IndiceDe

Integer

Change Type

Returns the index in the collection


of arguments:
-

Entity

Pg 28

Institution

Date

Insere

Insert a record in collection

NumItens

Return the number of items in a


collection

Remove

Removes an element from the


collection, when identified by
argument

Variant

RemoveTodos

Remove all elements of collection.

RhpBEMotivoAcerto
Property

Type

Description

Motivo

String

The identifier of the motive.

Change Type
C

Descricao

String

Description of the motive.

RhpBELimiteIsencaoRem
Property

Type

Description

Change Type

IDLinha

String

The identifier of the line.

DataAplicacao

Date

The date of the current line of Exemption limit.

RhpBENivelQualificacao
Property
NivelQualificacao

Type

Description

Change Type

String

Qualification Level

Descricao

String

Qualification level description

ColunaBS

Integer

Identifies the column in social balance.

CodigoRU

Integer

Identifies the code equivalence in Table A of the


relatrio nico.

RhpBEProcFalta
Property
Acerto

Type

Description

Integer

Indicates the number of rectification item.

Change Type
U

Pg 29

RhpBEProcHoraExtra
Property
Acerto

Type

Description

Integer

Indicates the number of rectification item.

Change Type
U

RhpBEProcRemFalta
Property
Acerto

Type

Description

Change Type

Integer

Indicates the number of rectification item.

RHPBERemuneracao
Property
MagneticoSeguros

Type

Description

Change Type

Boolean

RhpBESegurancaSocial
Property

Type

Description

SegSocialDescontos

RhpBESegSocialDe
scontos

Collection with all discounts of


the current line of Social Security
code.

Change Type
C

RhpBESegSocialDesconto
Property

Type

ID

String

AnoFiscalReferencia

Integer

MesFiscalReferencia

Byte

DataAplicacao

Date

Description

Change Type

Unique key of record.

For internal use Save the next year of


processing, when the date of application is
in a period equal to or before the last
payment.

For internal use Save the next month of


processing, when the date of application is
in a period equal to or before the last
payment.

Date from which the discount applies

Pg 30

RhpBESegSocialDescontos
Type

Description

Edita

RhpBESegSocialDesconto

Edits an object of type


RhpBESegSocialDesconto

RhpBESegSocialDesconto

Edits an object of type


RhpBESegSocialDesconto,
through a logical key

EditaLogico

Existe

Boolean

Returns true if the index exists in


the collection, else return false.

Returns the index in the


collection of arguments:

Property

IndiceDe

Integer

Entity

Date

Change Type
C

Insere

Insert a record in collection

NumItens

Return the number of items in a


collection

Remove

Removes an element from the


collection, when identified by
argument
Remove all elements of
collection.

Variant

RemoveTod
os

RhpBESindicato
Property

Type

Description

InstituicaoHistoricos

RhpBEInstituicao
Historicos

Collection with all discounts of


the current line of Unions code.

Change Type
C

RhpBEValorDescontadoFalta
Property
Acerto

Type

Description

Integer

Indicates the number of rectification item.

Change Type
U

Business Services (BS)


Pg 31

CblBSAcumuladosProjectos
Implement the standard BS methods

Method
Existe()

Return Type

Description

Boolean

Test if exists by Project code

ExisteID()

Test if exists by Project ID

Edita()

Edit by Project Code

EditaID()

Edit by Project ID

Change Type
C

ValidaActualizacao()
Removal validation by Project
code

ValidaRemocao()
ValidaRemocaoID()

Removal validation by Project


ID
DaValorAtributo()

Variant

Field value by Project code

DaValorAtributoID()

Field value by Project ID

ActualizaValorAtributo()

Update field by Project code

ActualizaValorAtributoID()

Update field by Project ID

ActualizaValorAtributos()

Update fields by Project code

ActualizaValorAtributosID()

Update fields by Project ID

Remove()

Remove Project/WBS by year

RemoveID()

Remove ProjectID/WBS by
year

RemoveTodosID()

DaValorAtributosID()

Remove all years Project


ID/WBS

Actualiza()
DaValorAtributos()

StdBECampos

Field value by Project code

Field value by Project ID

CblBSClassesProjectoWBS
Create the necessary methods to handle the WBS classes creation, maintenance and deletion.
Added the following functions to the class:

Pg 32

Actualiza

ActualizaValorAtributo

ActualizaValorAtributos

DaDefCamposUtil

DaValorAtributo

DaValorAtributos

Edita

Existe

Remove

ValidaActualizacao

ValidaRemocao

CblBSDocumentos
Added the following functions to the class:

ValidaActualizacao - Add Project validations;

ValidaRemocao;

PreencheReflexoes force Project reflections;

DaValorAtributosRascunhoID;

DaValorAtributosRascunho;

DaValorAtributoRascunhoID.

CblBSGrupoHierarquicoElemento
Changed the following functions to the class:

InsereElemento

ValidaInsereElemento

RemoveElemento

ValidaRemoveElemento

ValidaActualizacaoCabecalho

CblBSGruposContas
Create the necessary methods to handle the WBS elements association.
Changed the following functions to the class:

Edita

Actualiza

Pg 33

CblBSOrcamentosCCusto
Added the following functions to the class:

Actualiza

ActualizaValorAtributo

ActualizaValorAtributos

DaDefCamposUtil

DaValorAtributo

DaValorAtributos

Edita

EditaComRestricoes

Existe

ExisteOrcamentoConta

LstContasOrcamentadas

LstExerciciosOrcamentos

LstCentrosOrcamentados

Remove

RemoveOrcamentoConta

ValidaActualizacao

ValidaRemocao

ValidaRemocaoOrcamentoConta

CblBSOrcamentosConta
Added the following functions to the class:

Actualiza

ActualizaValorAtributo

ActualizaValorAtributos

DaDefCamposUtil

DaValorAtributo

DaValorAtributos

Edita

EditaComRestricoes

Existe

ExisteOrcamentoConta

LstContasOrcamentadas

LstExerciciosOrcamentos

Remove

RemoveOrcamentoConta

ValidaActualizacao

ValidaRemocao

ValidaRemocaoOrcamentoConta

Pg 34

CblBSOrcamentosProjectoWBS
Added the following functions to the class:

Actualiza

ActualizaValorAtributo

ActualizaValorAtributos

DaDefCamposUtil

DaValorAtributo

DaValorAtributos

Edita

EditaComRestricoes

Existe

ExisteOrcamentoConta

ExisteOrcamentoWBSItem

ExisteOrcamentoWBSItemConta

LstContasOrcamentadas

LstExerciciosOrcamentos

LstProjectosOrcamentados

LstWBSItensOrcamentados

Remove

RemoveOrcamentoWBSItemConta

ValidaActualizacao

ValidaRemocao

ValidaRemocaoOrcamentoWBSItemConta

CblBSParametros (Change)
Changed the following functions to the class:

Actualiza

Edita

CblBSPlanoContas
Create the necessary methods to handle the WBS elements association.
Changed the following functions to the class:

LimpaPropriedadesContaRazao

ActualizaContaMovimento

Edita

Actualiza

Pg 35

Changed the following functions to the class:

Edita

Actualiza

Remove

DaValorAtributo

DaValorAtributos

ActualizaValorAtributo

ActualizaValorAtributos

Existe

ActividadeEmUso

ValidaActualizacao

ValidaRemocao

GcpBSProjecto
Added the following functions to the class:

Bloqueado;

BloqueadoID.

GcpBSProjectoEstados
Added the following functions to the class:

Utilizado
Changed the following functions to the class:

Actualiza

Edita

CblBSProjectoWBS
Create the necessary methods to handle the WBS elements creation, maintenance and deletion.
Added the following functions to the class:

Actualiza

ActualizaItem

ActualizaValorAtributo

ActualizaValorAtributos

DaDefCamposUtil

DaValorAtributo

DaValorAtributos

Edita

Pg 36

EditaItem

Existe

ExisteItem

RemoveItem

Remove

ValidaActualizacao

ValidaActualizacaoItem

ValidaRemocaoItem

ValidaRemocao

DaDescricao

CblBSTiposDocActividades
Changed the following functions to the class:

ValidaActualizacao

GcpBSAvencas
Method

Type

LstAvencasProcessar

StdBELista

Description

Change Type
C

GcpBSCompras
Changed the following functions to the class:

ValidaActualizacao (Remove validation of CCOP Items)

PreencheXMLHistorico

GcpBSCondPagamento
Add to Edita and Actualiza this new property (defined on business Entities) in order to be saved and read
from data base.

GcpBSHistorico
Added the following functions to the class:

DaValorAtributoIDDoc

DaValorAtributosIDDoc

Pg 37

GcpBSIternos
Changed the following functions to the class:

ValidaActualizacao (Remove validation of CCOP Items)

GcpBSLiquidacoes
Changed the following functions to the class:

LstLiquidacoes

GcpBSPendentes
Changed the following functions to the class:

ValidaActualizacao (Remove validation of CCOP Items)

GcpBSRubricasCCT
Alter functions in order to save new field

GcpBSStocks
Changed the following functions to the class:

ValidaActualizacao (Remove validation of CCOP Items)

GcpBSTabCCorrentes
Changed the following functions to the class:

ValidaActualizacao (Add validation off reserve document)

GcpBSTesouraria
Changed the following functions to the class:

ValidaActualizacaoLinhas

ValidaActualizao

Pg 38

GcpBSVendas
Changed the following functions to the class:

ValidaActualizacao (Remove validation of CCOP Items)

PreencheXMLHistorico

ICblBSDocumentos
Added the following functions to the class:

DaValorAtributosRascunhoID;

DaValorAtributosRascunho;

DaValorAtributoRascunhoID;

ExisteComum;

DaValorAtributoComum;

RemoveComum;

EditaComum;

DaValorAtributosLinhaRascunhoID;

EditaRascunhoID;

DaValorAtributosLinhaIDComum;

ActualizaTabelasRascunhos.

ImoBSApolices
Added the following functions to the class:

DaDescontosHistorico (Returns by reference the discounts linked to an


Insurance Policy, which apply a start date. If the value was found returns
True (as a result of the function).)

Parameter

Type

IdApolice

IN

Data

IN

Description

Possible values

DescontoEmpresa

OUT

This parameter is used to filter one


line by the.
Date on which the partial discounts
apply
Discount value of the employee

String Values

DescontoEmpregado

OUT

Discount value of the firm

Output Double

Percentual

OUT

indicates whether the value is


returned or not the percentage value

Output Boolean

Small Date
Output Double

Pg 39

DaUltimaDataAplicacao (Returns the last date of application registered)

Type

Parameter

IN

IdApolice

Description
This parameter is used to filter
one line by the.

Possible values
String Values

ImoBSDocumentos
Changed the following methods to the class:

DaProximoLancamento

Parameter

Type

Description

TipoLancamento

String

Release Type identification

Change Type
NO

DaUltimoLancamento

Parameter

Type

Description

TipoLancamento

String

Release Type identification

Change Type
NO

ImoBSLigacaoCBL
Changed the following methods:

ListaMovimentosProcessar

Parameter

Type

Description

AtePeriodo

Integer

End period identification

Change Type
NO

ListaMovimentosProcessados

Parameter

Type

Description

AtePeriodo

Integer

End period identification

Change Type
NO

RhpBSAnaliticasFunc
Changed the following methods:

Existe()

DaValorAtributo()

DaValorAtributos()

Remove()

ActualizaValorAtributo()

ActualizaValorAtributos

Edita

Pg 40

Actualiza

Remove<Reparticao>Funcionario

Lista<Reparticao>Funcionario

Da<Reparticao>Principal

RhpBSCadastroFaltas
Return Type

Description

Boolean

Updates the field to indicate


the number of rectification
item, to the parameters.

RemoveEX()

Updates the field to indicate


the number of rectification
item, to the parameters.

ActualizaValorAtributo()

Updates the field to indicate


the number of rectification
item, to the parameters.

ActualizaValorAtributos()

Updates the field to indicate


the number of rectification
item, to the parameters.

DaValorAtributo()

Updates the field to indicate


the number of rectification
item, to the parameters.

DaValorAtributos()

Updates the field to indicate


the number of rectification
item, to the parameters.

Edita()

Updates the field to indicate


the number of rectification
item, to the parameters.

ActualizarFaltasProcessad
as

Updates the field to indicate


the number of rectification
item, to the parameters.

Method
ExisteEX()

Change Type

RhpBSCadastroHistorico
Method
ExisteEX()

Return Type

Description

Boolean

Updates the field to indicate the


number of rectification item, to

Change Type
U

Pg 41

the parameters.
RemoveEX()

Updates the field to indicate the


number of rectification item, to
the parameters.

ActualizaValorAtributo()

Updates the field to indicate the


number of rectification item, to
the parameters.

ActualizaValorAtributos()

Updates the field to indicate the


number of rectification item, to
the parameters.

DaValorAtributo()

Updates the field to indicate the


number of rectification item, to
the parameters.

DaValorAtributos()

Updates the field to indicate the


number of rectification item, to
the parameters.

Edita()

Updates the field to indicate the


number of rectification item, to
the parameters.

ActualizarFaltasProcessad
as

Updates the field to indicate the


number of rectification item, to
the parameters.

RhpBSCadastroHorasExtra
Return Type

Description

Boolean

Updates the field to indicate the


number of rectification item, to
the parameters.

RemoveEX()

Updates the field to indicate the


number of rectification item, to
the parameters.

ActualizaValorAtributo()

Updates the field to indicate the


number of rectification item, to
the parameters.

ActualizaValorAtributos()

Updates the field to indicate the


number of rectification item, to

Method
ExisteEX()

Change Type

Pg 42

the parameters.
DaValorAtributo()

Updates the field to indicate the


number of rectification item, to
the parameters.

DaValorAtributos()

Updates the field to indicate the


number of rectification item, to
the parameters.

Edita()

Updates the field to indicate the


number of rectification item, to
the parameters.

ActualizarFaltasProcessad
as

Updates the field to indicate the


number of rectification item, to
the parameters.

RhpBSCentrosCustoFunc
Changed the following methods:

Existe()

DaValorAtributo()

DaValorAtributos()

Remove()

ActualizaValorAtributo()

ActualizaValorAtributos

Edita

Actualiza

Remove<Reparticao>Funcionario

Lista<Reparticao>Funcionario

Da<Reparticao>Principal

RhpBSFuncoesFunc
Changed the following methods:

Existe()

DaValorAtributo()

DaValorAtributos()

Remove()

Pg 43

ActualizaValorAtributo()

ActualizaValorAtributos

Edita

Actualiza

Remove<Reparticao>Funcionario

Lista<Reparticao>Funcionario

Da<Reparticao>Principal

RhpBSLigacaoCBL
Adjust the called functions and methods

RhpBSLimitesIsencaoRem
Changed the following methods to the class:

ValidaRemocao

Parameter
DataAplicacao

DataAplicacao

Possible values

IN

(OPTIONAL) This parameter is used to filter


one line by the Date.

Date time Values

Type

Description

Possible values

IN

(OPTIONAL) This parameter is used to filter


one line by the Date.

Date time Values

Type

Description

Possible values

IN

This parameter is used to filter one line by


the Date.

Date time Values

Edita

Parameter
DataAplicacao

Description

Remove

Parameter

Type

ListaLimitesIsencaoRem

Parameter
DataAplicacao

Type

Description

Possible values

IN

(OPTIONAL) This parameter is used to filter


one line by the Date.

Date time Values

Added the following methods to the class:

DevolveUltimaDataAplicacao

This method is used to return the last date of all registries of the selected remuneration.

Pg 44

Parameter

Type

Description

Possible values

IN

This parameter is used to tell what the


remuneration is where the search will be
done.

String values

Remuneracao

RemoveID

This method is used to delete one exemption limit by its ID.


Type

Description

Possible values

IN

This parameter is used to select the line by is


ID.

GUID values

Parameter

Type

Description

objBEMotivo

IN

Parameter
IDLinha

RHPBSMotivosAcerto
Added the following methods to the class:

Actualiza

Possible values
RHPBEMotivoAcerto

ActualizaValorAtributo

Parameter

Type

Description

Possible values

Motivo

IN

String

Atributo

IN

String

Valor

IN

Variant

ActualizaValorAtributos ()

Parameter

Type

Description

Possible values

Motivo

IN

String

Atributos

IN

StdBECampos

Edita

Parameter

Type

Motivo

Type

String

Description

IN

Motivo

Possible values
String

Remove

Parameter

Type

Description

IN

Motivo

Possible values

Existe

Parameter

Description

IN

Possible values
String

ValidaActualizacao

Parameter

Type

Description

Possible values

Pg 45

IN

RHPBEMotivoAcerto

Out

String

BEMotivo
strErro

ValidaRemocao

Parameter

Type

Description

Possible values

Motivo

IN

String

strErro

Out

String

RhpBSMovimentos
Adjust the called functions and methods

RhpBSProcessamento
Adjust the called functions and methods

RhpBSRemuneracoes
Changed the following methods to the class:

LimiteIsencao

Parameter

Type

Description

Possible values

IN

(OPTIONAL) This parameter is used to filter


one line by the Date.

Date time Values

DataAplicacao

RhpBSSegSocialDescontos
Added the following methods to the class:

DaDescontosHistorico (Returns by reference the discounts linked to a Social


Security body, which apply a certain date. If the value was found returns
True (as a result of the function).)

Parameter
Entidade

Type

Description

Possible values

IN

This parameter is used to filter one line


by the.
Date on which the partial discounts apply

String Values

IN

Data

Small Date

DescontoEmpresa

OUT

Discount value of the employee

DescontoEmpregado

OUT

Discount value of the firm

Output Double

Percentual

OUT

indicates whether the value is returned


or not the percentage value

Output Boolean

Output Double

DaUltimaDataAplicacao (Returns the last date of application registered)

Parameter

Type

Description

Possible values

Pg 46

IN

SegSocial

This parameter is used to filter one line


by the.

String Values

RhpBSSindicatos
Added the following methods to the class:

DaDescontosHistorico (Returns by reference the discounts linked to a trade


union body, which apply a certain date. If the value was found returns True
(as a result of the function).

Type

Description

Possible values

Entidade

IN

String Values

Data

IN

Output Double

Parameter

DescontoEmpresa

OUT

This parameter is used to filter one line


by the.
Date on which the partial discounts
apply
Discount value of the employee

DescontoEmpregado

OUT

Discount value of the firm

Output Double

Percentual

OUT

indicates whether the value is returned


or not the percentage value

Output Boolean

Small Date

DaUltimaDataAplicacao (Returns the last date of application registered)

Parameter
Sindicato

Type

Description

Possible values

IN

This parameter is used to filter one line


by the.

String Values

Data Services (DS)


CblDSAcumuladosProjectos
Implement the standard DS methods

CblDSCnfDocLigCBL
Add to Edita and Actualiza this new property (defined on business Entities) in order to be saved and read from data base.
Changed the following functions to the class:

EditaPlanosDeContasSQL

EditaSQL

Pg 47

pvActualizaPlanoConta

CblDSDocumentos
Added the following functions to the class:

DaValorAtributosRascunhoID;

DaValorAtributosRascunho;

DaValorAtributoRascunhoID;

EditaRascunhoID;

DaValorAtributosLinhaRascunhoID;

ActualizaTabelasRascunhos.

Updated the following functions to the class:

ActualizaAcumulados.

Parameter

Type

Description

Possible values

ProjectoID

String

Project Unique Identifier

--

Projecto

String

Project code

--

WBSItem

String

Projects WBS item

--

ItemTesouraria

String

NOTE: parameter from


ActualizaAcumuladosEX

Classificacao

String

NOTE: parameter from


ActualizaAcumuladosEX

Removed the following functions to the class:

ActualizaAcumuladosEX

Parameter

Type

Description

Possible values

Pg 48

ProjectoID

String

Project Unique Identifier

--

Projecto

String

Project code

--

WBSItem

String

Projects WBS item

--

ItemTesouraria

String

NOTE: parameter from


ActualizaAcumuladosEX

Classificacao

String

NOTE: parameter from


ActualizaAcumuladosEX

CblDSFormulas
Added the following functions to the class:

PrencheListaOrcamentoProjWBS

PrencheListaOrcamentoProjWBSOrigem

DaValorCampo

CblDSGrupoHierarquicoElemento
Changed the following functions to the class:

InsereElemento

ValidaInsereElemento

RemoveElemento

ValidaRemoveElemento

ValidaActualizacaoCabecalho

CblDSPlanoContas
Changed the following functions to the class:

Edita

Actualiza

Remove

DaValorAtributo

DaValorAtributos

ActualizaValorAtributo

ActualizaValorAtributos

Pg 49

Existe

LstTiposActividade

ActividadeEmUso

GcpDSAvencas
Method

Type

LstAvencasProcessar

StdBELista

Description

Change Type
C

GcpDSCompras
Changed the following functions to the class:

ActualizaDocumento (Add Xml CCOP Items to procedure GCP_CMP_ActualizaDocumentoCompra)

Edita

EditaID

ActualizaLinhas

PreencheXMLLinhaCompra

GcpDSCondPagamento
Add to Edita and Actualiza this new property (defined on business Entities) in order to be saved and read
from data base.

GcpBSDocumentos
Added the following functions to the class:

EditaComum:
documents)

New function in order to read document (include draft

EditaIDComum:
documents)

DaValorAtributoComum: New function in order to read some information off a


document (include draft documents)

DaValorAtributosLinhaIDComum: New function in


information off a document (include draft documents)

ExisteComum: New function in order to verify if document exists (include draft


documents)

New function in order to read document (include draft

order

to

read

some

Pg 50

RemoveComum:
documents)

New function in order to remove a document (include draft

EstornaDocumento: Alter function in order to recipe Number of Document


(NumDoc) and the application that invokes the function (ModuloOrigem)

ValidaEstornoDocumento: Alter function in order to recipe the application that


invoke the function (ModuloOrigem)

GcpDSHistorico
Added the following functions to the class:

DaValorAtributoIDDoc

DaValorAtributosIDDoc

GcpDSInternos
Changed the following functions to the class:

Edita

EditaID

ActualizaLinha

GcpDSLiquidacoes
Changed the following functions to the class:

Edita

Actualiza

LstLiquidacoes

GcpDSParametros
Changed the following functions to the class:

Edita

Actualiza

Pg 51

GcpDSPendentes
Changed the following functions to the class:

Edita

EditaID

ActualizaLinha

GcpDSProjecto
Added the following functions to the class:

Bloqueado;

BloqueadoID.

GcpDSProjectoEstados
Added the following functions to the class:

Utilizado

Changed the following functions to the class:

Edita

Actualiza

GcpDSRubricasCCT
Alter functions in order to save and read the new field

GcpDSRubricaCCT
Changed the following functions to the class:

Edita

Actualiza

GcpDSStocks
Changed the following functions to the class:

Edita

EditaLinhasStk

PreencheXMLCabecStk

Pg 52

GcpDSTabCCorrentes
Changed the following functions to the class:

Edita

Actualiza

GcpDSTesouraria
Changed the following functions to the class:

Edita

EditaID

ActualizaLinha

GcpDSVendas
Changed the following functions to the class:

ActualizaDocumento (Add Xml CCOP Items to procedure GCP_CMP_ActualizaDocumentoVenda)

Edita

EditaID

ActualizaLinhas

PreencheXMLLinhaCompra

ICblDSDocumentos
Added the following functions to the class:

DaValorAtributosRascunhoID;

DaValorAtributosRascunho;

DaValorAtributoRascunhoID;

EditaRascunhoID;

DaValorAtributosLinhaRascunhoID;

ActualizaTabelasRascunhos.

Pg 53

ImoDSDocumentos
Changed the following functions to the class:

DaUltimoLancamento

Change Type

Parameter

Type

Description

TipoLancamento

String

Release Type identification

NO

ImoDSLigacaoCBL
Changed the following functions to the class:

ListaMovimentosProcessados

Change Type

Parameter

Type

Description

AtePeriodo

Integer

End Period identification

NO

ListaMovimentosProcessar

Change Type

Parameter

Type

Description

AtePeriodo

Integer

End Period identification

NO

RHPDSLimitesIsencaoRem
Changed the following functions to the class:

Remove

Parameter
DataAplicacao

Description

Possible values

IN

(OPTIONAL) This parameter is used to


filter one line by the Date.

Date time Values

Type

Description

Possible values

IN

This parameter is used to filter one line


by the Date.

Date time Values

Edita

Parameter
DataAplicacao

Type

ListaLimitesIsencaoRem

Parameter
DataAplicacao

Type

Description

Possible values

IN

(OPTIONAL) This parameter is used to


filter one line by the Date.

Date time Values

Pg 54

Added the following functions to the class:

DevolveUltimaDataAplicacao

This method is used to return the last date of all registries of the selected remuneration.
Parameter

Type

Description

Possible values

IN

This parameter is used to tell what the


remuneration is where the search will be
done.

String values

Remuneracao

RemoveID

This method is used to delete one exemption limit by its ID.


Parameter

Type

Description

Possible values

IN

This parameter is used to select the line by


is ID.

GUID values

IDLinha

RHPDSMotivosAcerto
Added the following functions to the class:

Actualiza

Parameter

Type

Description

IN

Obj

Possible values
RHPBEMotivoAcerto

Method: ActualizaValorAtributo ()

Parameter

Type

Description

Possible values

Motivo

IN

Atributo

IN

String

Valor

IN

Variant

String

ActualizaValorAtributos

Parameter

Type

Description

Possible values

Motivo

IN

String

Atributos

IN

StdBECampos

DaValorAtributo

Parameter

Type

Description

Possible values

Motivo

IN

String

Atributo

IN

String

Pg 55

DaValorAtributos

Parameter

Type

Description

Possible values

Motivo

IN

String

Atributos()

IN

Array

Edita

Parameter

Type
IN

Motivo

Possible values
String

Existe

Parameter

Type

Description

IN

Motivo

Description

Possible values
String

Remove

Parameter

Type

Description

IN

Motivo

Possible values
String

RHPDSRemuneracoes
Changed the following functions to the class:

LimiteIsencao

Parameter
DataAplicacao

Type

Description

Possible values

IN

(OPTIONAL) This parameter is used to filter


one line by the Date.

Date time Values

Pg 56

Data Model
Tables
AcumuladosContas
Column

Data Type

NaturezaOR

NVARCHAR

Possible Values

Nulls?

Default

PK

FK

Change Type

AcumuladosProjectos
Column

Data Type

TipoLancamento

VARCHAR(3)

Ano

Possible
Values

Nulls?

Default

PK

FK

Change
Type

SMALLINT

ProjectoID

UNIQUEIDENTIFIER

Projecto

NVARCHAR(80)

WBSItem

NVARCHAR(100)

Moeda

NVARCHAR(3)

Mes00CR
Mes01CR
Mes02CR
Mes03CR
Mes04CR
Mes05CR
Mes06CR
Mes07CR
Mes08CR
Mes09CR
Mes10CR
Mes11CR
Mes12CR
Mes00DB
Mes01DB
Mes02DB
Mes03DB
Mes04DB
Mes05DB
Mes06DB
Mes07DB
Mes08DB
Mes09DB
Mes10DB
Mes11DB
Mes12DB

MONEY

Foreign Keys

Pg 57

Type

Columns

Reference
Table

Reference
Columns

Change
Type

FK

ProjectoWBSItem
COP_Obras

Codigo
ProjectoID
ID

FK

AcumuladosProjectos.WBSItem
AcumuladosProjectos.ProjectoID
AcumuladosProjectos.ProjectoID

FK

AcumuladosProjectos.Moeda

Moedas

Moeda

FK

AcumuladosProjectos.TipoLanca
mento
AcumuladosProjectos.Ano

TiposLancamento

TipoLancamento

ExerciciosCBL

Ano

FK

AcumuladosProjectosCCusto
Column

Data Type

Possible
Values

Nulls?

Default

PK

FK

Change Type

TipoLancamento

BIT

Ano

SMALLINT

Projecto

NVARCHAR

WBSItem

NVARCHAR

Centro

NVARCHAR

Moeda

NVARCHAR

Mes00CR

MONEY

Mes01CR

MONEY

Mes02CR

MONEY

Mes03CR

MONEY

Mes04CR

MONEY

Mes05CR

MONEY

Mes06CR

MONEY

Mes07CR

MONEY

Mes08CR

MONEY

Mes09CR

MONEY

Mes10CR

MONEY

Mes11CR

MONEY

Mes12CR

MONEY

Mes13CR

MONEY

Mes14CR

MONEY

Mes15CR

MONEY

Mes00DB

MONEY

Mes01DB

MONEY

Mes02DB

MONEY

Mes03 DB

MONEY

Mes04DB

MONEY

Mes05DB

MONEY

Mes06DB

MONEY

Mes07DB

MONEY

Mes08DB

MONEY

Mes09DB

MONEY

Mes10DB

MONEY

Mes11DB

MONEY

Pg 58

Mes12DB

MONEY

Mes13DB

MONEY

Mes14DB

MONEY

Mes15DB

MONEY

AcumuladosProjectosFuncoes
Column

Data Type

Possible
Values

Nulls?

Default

PK

FK

Change Type

TipoLancamento

BIT

Ano

SMALLINT

Projecto

NVARCHAR

WBSItem

NVARCHAR

Funcao

NVARCHAR

Moeda

NVARCHAR

Mes00CR

MONEY

Mes01CR

MONEY

Mes02CR

MONEY

Mes03CR

MONEY

Mes04CR

MONEY

Mes05CR

MONEY

Mes06CR

MONEY

Mes07CR

MONEY

Mes08CR

MONEY

Mes09CR

MONEY

Mes10CR

MONEY

Mes11CR

MONEY

Mes12CR

MONEY

Mes13CR

MONEY

Mes14CR

MONEY

Mes15CR

MONEY

Mes00DB

MONEY

Mes01DB

MONEY

Mes02DB

MONEY

Mes03 DB

MONEY

Mes04DB

MONEY

Mes05DB

MONEY

Mes06DB

MONEY

Mes07DB

MONEY

Mes08DB

MONEY

Mes09DB

MONEY

Mes10DB

MONEY

Mes11DB

MONEY

Mes12DB

MONEY

Mes13DB

MONEY

Mes14DB

MONEY

Pg 59

MONEY

Mes15DB

AcumuladosProjectosOrigens
Column

Data Type

TipoLancamento

VARCHAR(
3)
SMALLINT
UNIQUEID
ENTIFIER
NVARCHAR
(80)
NVARCHAR
(100)
NVARCHAR
(20)
NVARCHAR
(3)
MONEY

Ano
ProjectoID
Projecto
WBSItem
Conta
Moeda
Mes00CR
Mes01CR
Mes02CR
Mes03CR
Mes04CR
Mes05CR
Mes06CR
Mes07CR
Mes08CR
Mes09CR
Mes10CR
Mes11CR
Mes12CR
Mes00DB
Mes01DB
Mes02DB
Mes03DB
Mes04DB
Mes05DB
Mes06DB
Mes07DB
Mes08DB
Mes09DB
Mes10DB
Mes11DB
Mes12DB

Possible
Values

Nulls?

Default

PK

FK

Change Type

Foreign Keys
Type

Columns

Reference
Table

Reference
Columns

FK

AcumuladosProjectosOrigens.WBSI
tem
AcumuladosProjectosOrigens.Proje
ctoID
AcumuladosProjectosOrigens.Ano
AcumuladosProjectosOrigens.Cont
a

ProjectoWBSItem

Codigo
ProjectoID

PlanoContas

Ano
Conta

FK

Change
Type

Pg 60

FK
FK
FK
FK

AcumuladosProjectosOrigens.Proje
ctoID
AcumuladosProjectosOrigens.Moed
a
AcumuladosProjectosOrigens.TipoL
ancamento
AcumuladosProjectosOrigens.Ano

COP_Obras

ID

Moedas

Moeda

TiposLancamento

TipoLancamento

ExerciciosCBL

Ano

Indexes
Index

Columns

02

AcumuladosProjectosOrigens.Ano
AcumuladosProjectosOrigens.Conta

Clustered?

Unique?

Change Type

Anexos
Column

Data Type

FicheiroOrig

varchar(256)

Possible values

Nulls?
Y

Default

PK

FK

Change Type

NULL

Apolices
Column

Data Type

TipoEntidade
CCT

varchar(1)

Possible values

Nulls?
Y

Default
NULL

PK

FK

Change Type
C

EntidadeCCT

Nvarchar(12)

Null

Apuramentos
Column

Data Type

DataCriacao

datetime

Possible values

Nulls?

Default

PK

FK

Change Type

Avencas
Column

Data Type

TipoEntidade

Varchar(1)

Entidade

Varchar(12)

TipoEntidadeFac

Varchar(1)

EntidadeFac

Varchar(12)

Inactiva

Bit

Cliente

Varchar(12)

Possible
values
C,D
C,D

Nulls?

Default

PK

FK

Change Type

N
0,1

C
0

Pg 61

BancosFormatos
Column

Data Type

Possible
values

Nulls?

Default

PK

FK

Change
Type

Formato

varchar(5)

Descricao

varchar (50)

NULL

TransacaoElectron
ica

bit

NULL

PrefixoBanco

Varchar(4)

NULL

ReExportacao

bit

NULL

ValidaNIB

bit

NULL

Prioridade

bit

NULL

ValidaIBAN

bit

NULL

CabecCompras
Column

Data Type

Possible
values

Nulls
?

Default

PK

FK

WBSItem

Nvarchar(100)

B2BTrataTrans

bit

B2BEnvioNaGravac
ao

bit

RefDocOrig

varchar(50)

NULL

Certificado

varchar(50)

NULL

VersaoAssinatura

varchar(20)

NULL

Assinatura

nvarchar(255)

NULL

IdDocOrigem

uniqueidentifier

NULL

ModuloOrigem

nvarchar(1)

NULL

CambioADataDoc

bit

NULL

Change
Type
C
C

CabecDoc
Column

Data Type

Possible
values

Nulls?

Default

PK

FK

WBSItem

Nvarchar(100)

B2BTrataTrans

bit

B2BEnvioNaGravac
ao

bit

RefDocOrig

varchar(50)

NULL

Certificado

varchar(50)

NULL

Assinatura

nvarchar(255)

NULL

IdDocOrigem

uniqueidentifier

NULL

ModuloOrigem

nvarchar(1)

NULL

CambioADataDoc

bit

NULL

Change
Type
C/R/U
C

Pg 62

CabecInternos
Column

Data Type

Possible
values

WBSItem

Nvarchar(100)

Nulls
?

Default

PK

FK

Change
Type

NULL

CabecLiq
Column
Estorno

Data Type
Bit

Possible values

Nulls?
Y

Default
0

PK

FK

Change Type

PK

FK

Change Type

CabecMovCBL
Column

Data Type

Possible values

Nulls?

Default

IdEstorno

uniqueidentifier

NULL

idGDOC

uniqueidentifier

NULL

Nulls
?
Y

Default

CabecStock
Column

Data Type

WBSItem

Nvarchar(100)

Possible
values

PK

FK

Change Type

NULL

CabecTesouraria
Column

Data Type

WBSItem

Nvarchar(100)

Possible
values

Nulls
?
Y

Default

PK

FK

Change Type

NULL

CadastroHistorico
Column

Data Type

Acerto

Int

Possible
values

Nulls?
N

Default
0

PK

FK

Change Type

CadastroHorasExtra
Column

Data Type

Acerto

Int

MotivoAcerto

nVarchar(5)

Possible
values

Allow
Nulls?
N

Default
0

PK

FK

Change Type

Pg 63

CadastroOcorrencias (new)
Column

Data Type

NumMv

int

Possible values

Nulls?
N

Default

PK

FK

Change Type

Funcionario

nvarchar (10)

Data

datetime

Ocorrencia

varchar(5)

Observaco
es

nvarchar (512)

NULL

DataEfectiv
a

datetime

NULL

NULL

C
C

CadastroRetroactivos
Column

Data Type

NumCalcRetro

int

Possible values

Nulls?
N

NumProcProcess
ado

int

Default

PK

FK

Change Type
C

NULL

CadastroRetroValores
Column

Data Type

Possible
values

Nulls?

Default

PK

FK

NumCalcRetro

int

NumProcProcess
ado

int

NULL

ValorOriginal

float

NULL

Diferenca

float

NULL

Observacoes

varchar(512)

NULL

IdLinhaOriginal

smallint

Tempo

real

Periodo

nvarchar(3)

NULL

NumPeriodoAPr
ocessar

smallint

NULL

AnoAProcessar

smallint

NULL

Change
Type
C

CadastroSegSocial
Column

Data Type

Possible
values

Nulls?

Default

IDApolice

Int

Profissao

Int

NumDiasIsento

Float

PK

FK

Change
Type
C

Pg 64

CblDocRascEfectivos
Column

Data Type

Possible
values

IDDoc

uniqueidentifier

TipoLancamento

Varchar(3)

Ano

smallint

Diario

nvarchar(5)

NumDiario

int

Rascunho

bit

(0,1)

Nulls
?

Default

PK

FK

Change
Type

CblGruposHierarquicos
Column

Data Type

Possible
values

Nulls?

Default

PK

FK

Change Type

Ano

smallint

Grupo

nvarchar(15)

Tipo

char(1)

Descricao

nvarchar(50)

NULL

Inactivo

bit

GrupoPai

nvarchar(15)

NULL

Hierarquia

bit

NULL

DataGravacao

datetime

NULL

C
C
Y

CblGruposHierarquicosElementos
Column

Data Type

Possible
Values

Nulls?

Default

PK

FK

Ano

smallint

Grupo

nvarchar(15)

Tipo

char(1)

Elemento

varchar(100)

DataGravacao

datetime

SubElemento

nvarchar(100)

NULL

Change
Type

C
Y

CblNumTiposDocumentosControlling (new)
Column

Data Type

Possible
Values

Nulls?

Default

PK

FK

Change
Type

Ano

smallint

TipoLancamento

varchar(3)

Documento

varchar(5)

Numerador

int

DataGravacao

datetime

C
NULL

Pg 65

CblRascunhosCabecMovCbl (new)
Column

Data Type

Possible
values

Nulls?

Default

PK

FK

Change
Type

Diario

nvarchar (5)

NumDiario

int

Documento

nvarchar] (5)

NumDoc

int

Dia

smallint

Mes

smallint

Ano

smallint

Descricao

nvarchar] (60)

NULL

Terceiro

nvarchar] (12)

NULL

TipoTerc

nvarchar (1)

NULL

IdAquisicao

uniqueidentifier

NULL

IdAlienacao

uniqueidentifier

NULL

IdAbate

uniqueidentifier

NULL

Id

uniqueidentifier

Modulo

nvarchar (1)

Serie

nvarchar (5)

Moeda

nvarchar (3)

Cambio

money

Utilizador

nvarchar(20)

NULL

TipoOperacao

tinyint

AlowDocChanges

bit

IdDocOrig

uniqueidentifier

NaturezaOper

smallint

NumDocExterno

nvarcha (20)

NULL

TipoLancamento

varchar(3)

Indice

int

DataCriacao

datetime

NULL

DataDoc

datetime

Classificacao

nvarchar (15)

NULL

IdEstorno

uniqueidentifier

NULL

CblRascunhosContaCorrenteCBL
Column

Data Type

Possible
values

Nulls
?

Default

PK

FK

Change
Type

Id

uniqueidentifier

IdMovimento

uniqueidentifier

IdContrapartida

uniqueidentifier

Valor

money

IntegracaoCCT

bit

IdHistPendenteCCT

uniqueidentifier

NULL

FilialDocCCT

nvarchar(3)

NULL

TipoDocCCT

nvarchar(5)

NULL

Pg 66

SerieCCT

nvarchar(5)

NULL

NumDocIntCCT

int

NULL

NumDocExtCCT

nvarchar(20)

NULL

DataDocCCT

datetime

NULL

NumPrestacaoCCT

smallint

NULL

NaturezaDocCCT

nvarchar(1)

NULL

MoedaCCT

nvarchar(3)

NULL

CblRascunhosLigacaoMovIMO (new)
Column

Data Type

Possible
values

Nulls
?

Default

PK

FK

Change
Type

IdMovimento

uniqueidentifier

Ficha

nvarchar(25)

Valor

money

Id

uniqueidentifier

TipoIva

nvarchar(2)

NULL

Dedutivel

bit

NULL

IvaDedutivel

money

NULL

ValorBase

money

NULL

Motivo

nvarchar(5)

NULL

CblRascunhosMovimentos (new)
Column

Data Type

Possible
values

Nulls?

Default

PK

FK

Change Type

Conta

nvarchar] (20)

NULL

ValorAlt

money

NULL

Mes

smallint

Dia

smallint

Diario

nvarchar(5)

NumDiario

int

Documento

nvarchar (5)

NULL

NumDoc

int

ContaOrigem

nvarchar(20)

NULL

Lote

smallint

Descricao

nvarchar(50)

NULL

Valor

money

Natureza

nvarchar (1)

NULL

Iva

nvarchar (10)

NULL

Selo

nvarchar (15)

NULL

QuantidadeSelo

int

NULL

Fluxo

nvarchar (5)

NULL

TipoConta

nvarchar (1)

Entidade

nvarchar(15)

NULL

Recapitulativo

bit

Pg 67

TipoEntidade

nvarchar (1)

NULL

Modulo

nvarchar (1)

NULL

Moeda

nvarchar(3)

NULL

Estado

smallint

ClassOrgan

nvarchar(15)

NULL

ClassEcon

nvarchar(15)

NULL

ContaOrc

nvarchar(20)

NULL

Terceiro

nvarchar(15)

NULL

TipoTerceiro

nvarchar(1)

NULL

MesRecolha

smallint

NULL

TipoOperacao

smallint

NULL

ReflexaoAnalitic
a

bit

NULL

Cambio

float

Utilizador

nvarchar(20)

NULL

DataGravacao

datetime

NULL

Ano,

smallint

Serie

nvarchar(5)

NULL

TipoEstado

nvarchar(15)

NULL

Id

uniqueidentifier

Linha

int

Pendente

money

IdCabec

uniqueidentifier

ValorOrigem

float

NULL

CambioOrigem

float

EmpresaOrigem

varchar](10)

NULL

DE_IL

nvarchar(20)

NULL

CambioMAlt

float

TipoAfectacao

smallint

SeloNaturezaInv
ersa

bit

NumeroGuiaSel
o

int

NULL

SujeitoRetencao

bit

NULL

ValorIvaAlt

money

NULL

ValorSeloAlt

money

NULL

ValorRetencaoAl
t

money

NULL

ValorRetencao

money

NULL

ValorIva

money

NULL

ValorSelo

money

NULL

AnoRecolha

smallint

IvaAutoLiquidac
ao

nvarchar(10)

NULL

PercNDedutive

decimal(5, 2)

TipoLancamento

varchar(3)

('000')

IdHistPendenteC
CT

uniqueidentifier

NULL

C
C
NULL

C
C

Pg 68

ItemTesouraria

nvarchar(35)

NULL

DApuraMBase

uniqueidentifier

NULL

IDApuraMAlt

uniqueidentifier

NULL

Prefixo

nvarchar(2)

NULL

IdLinhaDocOrig

uniqueidentifier

NULL

Liquidado

bit

ValorLiquidado

money

NULL

Projecto

nvarchar(40)

NULL

WBSItem

nvarchar(100)

NULL

CblRascunhosMovimentosFluxo (new)
Column

Data Type

Possible
values

Nulls?

Default

PK

FK

Change Type

Fluxo

nvarchar (5)

Linha

int

Ano,

smallint

Descricao

nvarchar(50)

NULL

Mes

smallint

Dia

smallint

Diario

nvarchar(5)

NumDiario

int

Documento

nvarchar (5)

NULL

NumDoc

int

Natureza

nvarchar (1)

NULL

Valor

money

Cambio

float

ValorAlt

money

CambioMAlt

float

CambiiOrigem

float

Moeda

nvarchar(3)

ContaOrigem

nvarchar(20)

TipoAfectacao

smallint

TipoLancamento

varchar(3)

Modulo

nvarchar (1)

C
NULL

('000')

NULL

CblRascunhosRetencoesFonteCBL (new)
Column

Data Type

Possible
values

Nulls?

Default

PK

FK

Change Type

IdMovimento

uniqueidentifier

NumContrib

nvarchar (20)

NULL

TipoEntidade,

nvarchar(1)

NULL

Categoria

nvarchar(3)

NULL

ValorSujeito

money

NULL

ValorRetido

money

NULL

Pg 69

ValorIsento

money (5)

NULL

TaxaRetencao

money

NULL

NaturezaRendim
ento

smallint

NULL

TipoRendimento

nvarchar (5)

NULL

AnoRefRetencao

smallint)

NULL

LocalOperacao

varchar (2)

NULL

CblTiposDocumentosControlling (new)
Column

Data Type

Documento

varchar(5)

Possible values

Nulls?
N

Default

PK

FK

Change Type
C

Descricao

varchar(50)

Tipo

varchar(1)

Diario

nvarchar(5)

TipoOrigem

varchar(1)

Analitica

bit

Inactivo

bit

TipoDestino

varchar(1)

FazReflexao

bit

DataCriacao

datetime

C
NULL

C
C

CblTiposActividade
Column

Data Type

Possible
Values

Nulls?

ContaCredito

NVARCHAR

Actividade

NVARCHAR

Default

PK

FK

Change
Type

C
R

CblTiposActividadeOrigens
Column

Data Type

Possible
Values

Nulls?

ContaCredito

NVARCHAR

Actividade

NVARCHAR

Default

PK

FK

Change
Type

N
D

CGA
Column

Data Type

Possible
values

Nulls?

Default

PK

FK

Change Type

TipoEntidadeCCT

varchar(1)

NULL

EntidadeCCT

nvarchar(12)

NULL

Pg 70

ChavesReparticao
Column

Data Type

DataCriacao

Datetime

Possible
values

Nulls?

Default

PK

FK

Change Type

ChavesReparticaoAnalitica
Column

Data Type

DataCriacao

Datetime

Possible
values

Nulls?

Default

PK

FK

Change Type

ChavesReparticaoFuncoes
Column

Data Type

DataCriacao

Datetime

Possible
values

Nulls?

Default

PK

FK

Change Type

Cheques (new)
Column

Data Type

Possible
values

ContaBancaria

Nvarchar(5)

Serie

Nvarchar(15)

Numero

Nvarchar(15)

Estado

Smallint

IdLinhaTesouraria

Unqueidentifier

NULL

DataImpressao

Datetime

NULL

UtilizadorImpressao

Nvarchar(20)

NULL

DataAnulacao

Datetime

NULL

UtilizadorAnulacao

Nvarchar(20)

NULL

MotivoAnulacao

Nvarchar(100)

NULL

0,1,2

Nulls
?

Default

PK

FK

Change
Type

CiclosDistribuicaoCustos
Column

Data Type

Possible
values

Nulls?

Default

PK

FK

Change Type

GrupoHie

nvarchar(15)

NULL

ContaCompensacao

nvarchar(20)

NULL

GrupoHierqContas

nvarchar(15)

NULL

Projecto

nvarchar(40)

NULL

WBSItem

nvarchar(100)

NULL

DataCriacao

datetime

C
Y

Pg 71

ClassesProjectoWBS
Column

Data Type

Classe

varchar(50)

Possible values

Nulls?
N

Default

PK

FK

Change Type

Descricao

varchar (100)

TipoPassage
mOrcam

tinyint

DataCriacao

datetime

ClassificacaoDocumentos
Column

Data Type

DataCriacao

datetime

Possible values

Nulls?

Default

PK

FK

Change Type

Clientes
Column

Data Type

CambioADat
aDoc

bit

Possible values

Nulls?
N

Contribuinte
NaoResiden
te

varchar (20)

Default

PK

FK

Change Type
C

NULL

Companhias
Column

Data Type

CodigoSeguradora

NVARCHAR(10)

Possible
values

Nulls?

Default

PK

FK

Change
Type
C

ContasBancarias
Column

Data Type

Possible
values

Nulls?

IBAN

Nvarchar(34)

SWIFT

Nvarchar(11)

Default

PK

FK

Change
Type
C/R/U

CnfDocLigCBL
Column
IntegraComoRascunho
ProjectosCBL
NaoAgrupaMovimentos

Data Type

Possible
values

Nulls

Bit

0-1

Bit

0-1

Bit

Default

PK

FK

Change
Type

Pg 72

CBL

Foreign keys
Key: CabLiq_CabecMovCbl_FK
Type

Columns

Reference Table

Reference Columns

Change Type

FK

IDCabecMovCBL

CabecMovCBL

Id

CondicoesAplicabilidade
Column

Data Type

Activo

bit

Possible values

Nulls?

Default

PK

FK

Change Type

Data

datetime

Parametro

varchar(30)

Criterio

varchar(30)

Valor

varchar(200)

uniqueidentifier

ID

C
NULL

C
C

CondicoesAplicabilidadeEntidades
Column

Data Type

ID

uniqueidentifier

Possible
values

Nulls?

Default

PK

FK

Change Type

TipoEntidade

varchar(3)

Entidade

varchar(30)

TipoSubEntida
de

varchar(3)

SubEntidade

varchar(30)

CondPag
Column

Data Type

DescontoIncluiIVA

Bit

Possible values

Nulls?

Default

0-1

PK

Change
Type

FK

ContasApuramentos
Column
DataGravacao

Data Type
datetime

Possible values

Nulls?

Default

PK

FK

Change Type

Pg 73

ContasBancarias
Column

Data Type

IBAN

nvarchar(34)

Possible values

Nulls?
Y

Default
NULL

PK

FK

Change Type
U

SWIFT

nvarchar(11)

NULL

ContasPlanoAltPlanoBase
Column
DataGravacao

Data Type

Possible values

datetime

Nulls?

Default

PK

FK

Change Type

COP_Obras
Column

Data Type

Possible
values

Nulls?

Referencia

Nvarchar(50)

Prioridade

smallint

Default

PK

FK

Change
Type
C

DeclRendimentos
Column

Data Type

Possible
values

Nulls?

Default

PK

FK

Change Type

TipoEntidade

nvarchar (1)

CodigoEntidade

nvarchar(10)

Ano

smallint

DataDeclaracao

datetime

NULL

Pdf

varbinary

NULL

Emitido

int

DataEmissao

datetime

NULL

Observacoes

nvarchar(100)

NULL

Notificado

int

DataNotificacao

datetime

NULL

AssuntoNotificac
ao

nvarchar(255)

NULL

MensagemNotifi
cacao

nvarchar(4000)

NULL

TotRemSujAnos
Ant

float

NULL

TotRemSujAnoA
tual

float

NULL

RetencoesIRS

float

NULL

RetencoesSegSo
c

float

NULL

RetencoesSind

float

NULL

ImprIdentificarE
mpresa

bit

NULL

Pg 74

ImprInclNRendS
ujIRS

bit

NULL

ImprInclQuotSin
d

bit

NULL

ImprInclLinhasN
ulas

bit

NULL

Relatorio

nvarchar(8)

NULL

Descritivos
Data Type

Column

Possible values

datetime

DataCriacao

Nulls?

Default

PK

FK

Change Type

Diagramas_ProjectFileManager
Column

Data Type

ProjectXML

text

Possible values

Nulls?

Default

PK

FK

Change Type

NULL

Diarios
Data Type

Column

Possible values

datetime

DataCriacao

Nulls?

Default

PK

FK

Change Type

DocumentosBancos
Column

Data Type

Formato

varchar(5)

Possible values

Nulls?
Y

Default

PK

FK

Change Type

NULL

DocumentosCBL
Column
DataCriacao

Data Type

Possible values

datetime

Nulls?

Default

PK

FK

Change Type

DocumentosCBLFluxos
Column
DataGravacao

Data Type

Possible values

datetime

Nulls?

Default

PK

FK

Change Type

DocumentosCCT
Column

Data Type

Possible
values

Nulls
?

Default

PK

FK

Pg 75

Change
Type

DocumentoTesouraria

Nvarchar(5)

SerieDocTesouraria

Nvarchar(5)

MovBanco

Nvarchar(5)

RubricaCCT

Nvarchar(35)

PermiteEstorno

BIT

DocumentoEstorno

nvarchar(5)

SerieDocEstorno

nvarchar(5)

(0,1)

C
0

Foreign keys
Type

Columns

Reference
Columns
Documento

Change Type

DocumentoTesouraria

Reference
Table
DocumentosTesouraria

FK
FK

MovBanco

DocumentosBancos

Movim

FK

RubricaCCT

RubricasCCT

Rubrica

FK

[DocumentoEstorno]

[DocumentosCCT]

[Documento]

C/R/U

FK

[DocumentoEstorno],
[SerieDocEstorno]

[SeriesCCT]

[TipoDoc], [Serie]

C/R/U

Indexes
Index

Columns

Clustered?

Unique?

Change Type

DocumentosCCT02

DocumentoEstorno

C/R/U

DocumentosCompra
Column

Data Type

Possible
values

Nulls?

BensCirculacao

bit

SAFTTipoDocumento

varchar(2)

Default

PK

FK

Change Type
C

NULL

DocumentosControlling
Column

Data Type

Possible
values

Nulls?

Ano

smallint

Documento

varchar(5)

TipoLancamento

varchar (3)

Numero

int

Descricao

varchar(50)

Data

datetime

DiaCBL

int

MesCBL

int

IdCBL

uniqueidentifier

IdDoc

uniqueidentifier

IdEstorno

uniqueidentifier

Default

PK

FK

Change Type
C

C
Y

Pg 76

NumDocExterno

nvarchar(50)

Diario

nvarchar(5)

Moeda

nvarchar (3)

TipoAfectacao

smallint

DocumentosExternos
Column
DataCriao

Data Type

Possible values

datetime

Nulls?

Default

PK

FK

Change Type

DocumentosLiqCustos
Column

Data Type

Possible
values

Nulls?

Default

PK

FK

Change
Type

IDCabecDocLiq

uniqueidentifier

IDCabecMovCBL

uniqueidentifier

NumDiario

int

NumDoc

int

DocumentosStk
Column

Data Type

Possible
values

Nulls?

Defaul
t

PK

FK

Change
Type

BensCirculacao

bit

TipoDocCompra

nvarchar (5)

TipoDocVenda

nvarchar (5)

TipoPrecoBensCirculacao

tinyint

DocumentosVenda
Column

Data Type

Possible
values

Nulls?

BensCirculacao

bit

SAFTtipoDocumento

varchar (2)

Defaul
t

PK

FK

Change
Type
C

Estabelecimentos
Column

Data Type

Email

varchar](50)

Possible values

Nulls?

Default

PK

FK

Change Type

Pg 77

ExerciciosCBL
Column

Data Type

Possible
values

Nulls?

Default

PK

FK

Change Type

PrefixoContaFluxo

nvarchar(50)

EstornaOutrosModulos

bit

TrataProjectoWBS

bit

FAC_CabecContratos
Column

Data Type

Possible
values

Nulls?

Default

PK

FK

Change
Type

Contrato

Nvarchar(20)

Descricao

Data

nvarchar
(100)
datetime

Validade

datetime

Referencia

Limitado

nvarchar
(100)
bit

ValorLimite

float

Moeda

nvarchar (3)

EntidadeFactor

nvarchar (12)

ContaBancaria

nvarchar (5)

ContratoActivo

bit

ContratoComRecurso

bit

ContratoNacional

bit

ComissaoCobranca

float

ModoPagamento

nvarchar (5)

PeriodicidadeJuros

smallint

ContaCredor

nvarchar (20)

ContaFinanciamentos

nvarchar (20)

ContaBanco

nvarchar (20)

CentroCusto

nvarchar (15)

Funcional

nvarchar (15)

ProjectoID

AnaliticaNatureza

uniqueidentifie
r
nvarchar (20)

AnaliticaNaturezaInv

nvarchar (20)

PagamentoJuros

smallint

Foreign keys
Type

Columns

PK

Contrato

Reference Table

Reference Columns

Change Type

FK

Moeda

Moedas

Moeda

FK

EntidadeFactor

OutrosTerceiros

Terceiro

Pg 78

FK

ContaBancaria

ContasBancarias

Conta

FK

ModoPagamento

DocumentosBancos

Movim

FAC_LinhasContratos
Column

Data Type

Possible
values

Nulls?

Default

PK

FK

Change
Type

Contrato

Nvarchar(20)

TipoTerceiro

Char(1)

Terceiro

Nvarchar(12)

Limitado

bit

ValorLimite

float

Moeda

Nvarchar(3)

TaxaJuro

float

PercentagemAdiantam
ento

Float

NumDiasAposVencimen
to

int

ContaTerceiro

Nvarchar(20)

Foreign keys
Type

Columns

PK

Contrato,
TipoTerceiro,
Terceiro
Moeda

FK

Reference Table

Reference Columns

Change Type
C

Moedas

Moeda

Faltas
Column

Data Type

Possible
values

MagSeguros

Bit

Nulls?

Default

PK

FK

Change Type

FechosMesCabec
Column

Data Type

NumDoc

int

Possible values

Nulls?
Y

Default

PK

FK

Change Type
C

Serie

varchar (5)

Filial

varchar (3)

Pg 79

Fluxos
Column

Data Type

DataCriao

Datetime

Possible values

Nulls?

Default

PK

FK

Change Type

FuncAnalitica
Column

Data Type

Possible values

Allow
Nulls?
N

Default

PK

MesCBL

Int

AnoFiscal

Int

MesFiscal

Int

IFMesInicio

F
K

Change Type

Fornecedores
Data Type

Column
CambioADataDoc
ContribuinteNaoResidente

Possible
values

Nulls?

bit

nvarchar (20)

Default

PK

FK

Change
Type
C

FuncAnalitica
Column

Data Type

Possible values

Allow
Nulls?

Default

PK

F
K

Change Type

MesCBL

smallint

AnoFiscal

smallint

MesFiscal

smallint

IFMesInicio

FuncCCusto
Column

Data Type

Possible values

Allow
Nulls?

Default

PK

F
K

Change Type

MesCBL

smallint

AnoFiscal

smallint

MesFiscal

smallint

IFMesInicio

Funcionrios
Column

Data Type

Allow Nulls

NivelQualificacao

varchar(3)

Default

PK

FK

Change Type

Pg 80

FuncFormasPagamento
Column

Data Type

ID

Funcionario

uniqueidentifi
er
nvarchar(10)

Possible values

Nulls?

Default

PK

FK

Change Type

Activo

bit

Forma

smallint

Moeda

nvarchar(3)

Percentagem

float

ContaEmpresa

nvarchar(5)

Banco

varchar(4)

Balcao

varchar(15)

NumConta

varchar(50)

NIB

varchar(48)

IBAN

varchar(34)

SWIFT

varchar(20)

BIC

varchar(30)

Default

bit

FuncPlanoFuncional
Column

Data Type

Possible values

Allow
Nulls?

Default

PK

FK

Change
Type

MesCBL

smallint

AnoFiscal

smallint

MesFiscal

smallint

IFMesInicio

FuncRemCBLAnalitica
Column

Data Type

MesCBL

smallint

Possible values

Nulls?
N

Default
0

PK

FK

Change Type
C

AnoFiscal

smallint

MesFiscal

smallint

FuncRemCBLCCusto
Column

Data Type

MesCBL

smallint

Possible values

Nulls?
N

Default
0

PK

FK

Change Type
C

AnoFiscal

smallint

MesFiscal

smallint

Pg 81

FuncRemCBLPFuncional
Column

Data Type

MesCBL

smallint

Possible values

Nulls?
N

Default
0

PK

FK

Change Type
C

AnoFiscal

smallint

MesFiscal

smallint

FunndosPensao
Column

Data Type

Possible
values

Nulls?

Default

PK

FK

Change Type

TipoEntidadeCCT

varchar(1)

NULL

EntidadeCCT

Nvarchar(12)

Null

GcpBERubricaCCT
Column

Data Type

Inactivo

Bit

Possible values

Nulls?

Default

PK

FK

Change Type

GPR_Alternativas
Column
Descricao

Data Type

Possible values

Nulls?

Default

Nvarchar(255)

PK

FK

Change Type

NULL

GPR_ CalculosNecessidadesRestricoes
Column

Data Type

OrdensFabrico

Nvarchar(1000)

Possible values

Nulls?

Default

PK

FK

Change
Type

GPR_CentrosTrabalho
Column

Data Type

Localizao

Varchar (30)

Possible values

Nulls?

Default

PK

FK

Change Type

GPR_DocumentosRel
Column

Data
Type

IDOrdemFabricoArtigo

int

Possible
values

Nulls?

Default

PK

FK

Chan
ge
Type
C

Pg 82

GPR_GamasResultados
Column

Data Type

Possible
values

Nulls?

Default

PK

FK

Chan
ge
Type

Artigo

nvarchar (48)

MascaraArtigo

nvarchar (250)

GPR_GamasResultados
Column

Data Type

Possible
values

Nulls?

Default

PK

FK

Change Type

ID

uniqueidentifier

DataCriacaoFactor

datetime

DataModificacao

datetime

IDGama

int

Linha

int

Factor

Nvarchar(15)

ValorMin

real

Valormax

real

ArmazemSugMin

Nvarchar(5)

ArmazemSugMax

Nvarchar(5)

GPR_GamasResultadosLista
Column

Data Type

IDFactor

uniqueidentifier

Possible
values

Nulls?

Default

PK

FK

Change Type

GPR_Resultados
Column

Data Type

Possible
values

Nulls?

Default

PK

FK

Change Type

IDGama

int

Posio

int

ValorMin

Nvarchar(250)

Valormax

Nvarchar(250)

GruposAuturizao
Column

Data Type

Possible
values

Nulls?

Default

PK

FK

Change Type

GrupoAutorizacao

Nvarchar(15)

Descricao

Nvarchar(50)

DataCriacao

datetime

Pg 83

GruposContas

Column

Data Type

Possible
values

Nulls?

Default

PK

FK

Change Type

NaoAgrupaMovimentos

bit

NaturezaEsperada

Nvarchar(1)

DataCriacao

datetime

Historico
Column

Data Type

WBSItem

Nvarchar(100)

Estorno

bit

CambioAdataD
oc

bit

IdCessao
DifCambioMalt

Possible
values

uniqueidentifier

Nulls?

Default

PK

FK

Change Type

NULL

float

HistoricoExPS2
Column

Data Type

Possible
values

Nulls?

Default

PK

FK

Change Type

Sequencia

int

UltSequencia

int

Opcoes

Varchar(50)

IndeminizacaoDespedimento
Column

Data Type

Data

datetime

Possible values

Nulls?

Default

PK

FK

Change Type

IndepAcumulado
Column

Data Type

SegSocialRetido

float

Possible values

Nulls?

Default

PK

FK

Change Type

IndepAnalitica
Column

Data Type

Possible values

Allow
Nulls?

Default

PK

FK

MesCBL

smallint

AnoFiscal

smallint

MesFiscal

smallint

IFMesInicio

Change
Type
C

Pg 84

IndepCCusto
Column

Data Type

Possible values

Allow
Nulls?

Default

PK

FK

Change
Type

MesCBL

smallint

AnoFiscal

smallint

MesFiscal

smallint

IFMesInicio

Independente
Column

Data Type

TipoTerceiro

Varchar(1)

Possible values

Nulls?

Default

PK

FK

Change Type

IndepFormasPagamento
Column

Data Type

ID

uniqueidentifi
er
nvarchar(10)

bit

smallint

Moeda

nvarchar(3)

Percentagem

float

ContaEmpresa

nvarchar(5)

Banco

varchar(4)

Balcao

varchar(15)

NumConta

varchar(50)

NIB

varchar(48)

IBAN

varchar(34)

SWIFT

varchar(20)

BIC

varchar(30)

Default

bit

Independente

I
Activo
n
d Forma

Possible values

Nulls?

Default

PK

FK

Change Type

IndepPlanoFuncional
Column

Data Type

Possible values

Allow
Nulls?

Default

PK

FK

MesCBL

smallint

AnoFiscal

smallint

MesFiscal

smallint

IFMesInicio

Change
Type
C

IndicesEstatisticos
Column

Data Type

Possible values

Allow
Nulls?

Default

PK

FK

Pg 85

Change

Type
GrupoCentros

nvarchar(15)

GrupoFuncoes

nvarchar(15)

GrupoProjecto
WBS

nvarchar(15)

datetime

DataCriacao

InstituicoesHistorico
Column

Data Type

ID

Possible
values

Nulls?

Default

Unique identifier

NewId()

Entidade

String (3)

Instituicao

Tinyint

DescEmpregado

Real

DescEmpresa

Real

Valor

Real

ValorMinimo

Real

Percentual

Bit

AnoFiscalReferencia

SmallInt

MesFiscalReferencia

Tinyint

DataAplicacao

SmallDatetime

Moeda

String (3)

1;2;3

PK

FK

Change Type

Indexes
Index

Columns

Clustered?

Unique?

InstituicoesHistorico01

ID

InstituicoesHistorico02

Entidade ASC
Instituicao ASC
DataAplicacao ASC

Change Type

IVA
Column

Data Type

TipoTaxa

Varchar(3)

Possible values

Nulls?

Default

PK

FK

Change Type

Lanamentos
Column

Data Type

DataGravacao

datetime

Possible values

Nulls?

Default

PK

FK

Change Type

LigacaoContabilidade
Column

Data Type

Possible

Nulls?

Default

PK

FK

Pg 86

Change

values

Type

CopiaItemTesouraria

Bit

CopiaWBSItem

Bit

Conta

NVARCHAR(255)

Valor

NVARCHAR(255)

ClasseIVA

NVARCHAR(255)

ContaIVA

NVARCHAR(255)

ValorIVA

NVARCHAR(255)

ClasseIvaAutoLiquidacao

NVARCHAR(255)

ContaIvaAutoLiquidacao

NVARCHAR(255)

ValorIvaAutoLiquidacao

NVARCHAR(255)

CentroCusto

NVARCHAR(255)

FuncionalCBL

NVARCHAR(255)

AnaliticaDebito

NVARCHAR(255)

AnaliticaCredito

NVARCHAR(255)

ContaRecargo

NVARCHAR(255)

ValorRecargo

NVARCHAR(255)

ClasseSelo

NVARCHAR(255)

LimitesIsencaoRemuneracoes
Column

Data Type

IDLinha

Possible
values

Nulls
?

Default

PK

FK

Change
Type

Uniqueidentifier

NewId()

DataAplicacao

DateTime

AnoFiscalReferencia

SmallInt

MesFiscalReferencia

Tinyint

CopiaWBSItem

Boolean

C
0

C/R/U

Indexes
Index

Columns

Clustered?

LimitesIsencaoRemuneracoes01

Remuneracao ASC
Linha ASC
DataAplicacao DESC

Unique?

Change Type

LinhasCiclosDistribuicaoCustos
Column

Data Type

DataCriao

datetime

Possible values

Nulls?
Y

Default

PK

FK

Change Type

Projecto

Nvarchar(40)

Conta

Nvarchar(100)

LinhasClassificacaoDocumentos
Column

Data Type

Possible values

Nulls?

Default

PK

FK

Change Type

Pg 87

DataGravacao

datetime

LinhasCompras
Column

Data Type

WBSItem

Nvarchar(100)

Possible values

Nulls?

Default

PK

FK

Change Type

NULL

C/R/U

LinhasComprasStatus
Column

Data Type

QuantCopiada

Possible values

FLOAT

Nulls?

Default

PK

FK

Change Type
C

LinhasDestinoApuramentos
Column

Data Type

DataGravacao

datetime

Possible values

Nulls?

Default

PK

FK

Change Type

LinhasDoc
Column

Data Type

WBSItem

Nvarchar(100)

Possible values

Nulls?
Y

AlternativaGPR

nvarchar (2)

Default

PK

FK

Change Type

NULL

C/R/U

LinhasDocControlling
Column

Data Type

Possible
values

Nulls?

Default

PK

FK

Change Type

idCabecDoc

uniqueidentifier

TipoOrigem

varchar(1)

Origem

varchar (100)

Actividade

Varchar(15)

Quantidade

float

Unidade

Nvarchar(5)

CentroDestino

Nvarchar(15)

FuncaoDestino

Nvarchar(15)

ValorUnitario

float

ValorTotal

float

Conta

nvarchar(20)

IdLinha

uniqueidentifier

Linha

int

ContaDebito

nvarchar (20)

ProjectoOrigem

nvarchar(40)

ProjectoDestino

nvarchar(40)

Pg 88

Nvarchar(100)

WBSItemDestino

LinhasDocRascunhos
Column

Data Type

Possible values

Nulls?

WBSItem

Nvarchar(100)

AlternativaGPR

nvarchar (2)

Default

PK

FK

Change Type

NULL

C/R/U

LinhasDocStatus
Column

Data Type

QuantCopiada

Possible values

FLOAT

Nulls?

Default

Nulls?

Default

PK

FK

Change Type
C

LinhasDocStatusrascunhos
Column

Data Type

QuantCopiada

Possible values

FLOAT

PK

FK

Change Type
C

LinhasIndicesEstatisticosFuncoes
Column

Data Type

DataGravacao

datetime

Possible values

Nulls?

Default

PK

FK

Change Type

LinhasIndicesEstatisticosCCusto
Column

Data Type

DataGravacao

datetime

Possible values

Nulls?

Default

PK

FK

Change Type

LinhasIndicesEstatisticosProjectoWBS
Column

Data Type

Possible values

Nulls?

Default

PK

FK

Change Type

TipoValor

nvarchar (10)

Projecto

nvarchar (40)

WBSItem

nvarchar (100)

Ano

smallint

Periodo

smallint

Valor

float

VersaoUltAct

timestamp

DataGravacao

datetime

Pg 89

LinhasInternos
Column

Data Type

WBSItem

Nvarchar(100)

Possible values

Nulls?
Y

AlternativaGPR

nvarchar (2)

Default

PK

FK

Change Type

NULL

C
C

LinhasLiq
Possible
values

Nulls?

Default

PK

FK

Change Type

Column

Data Type

CambioMBaseLiq

CambioMAltLiq

float
float

CambioLiq

float

DifCambioMAlt

float

WbsItem

Nvarchar(100)

LinhasLiqCustos
Column

Data Type

ID

uniqueidentifier

IDCabecDocLiq

uniqueidentifier

IDCabecMovCBL

uniqueidentifier

Linha

int

IDMovLiquidado

uniqueidentifier

TipoRegra

Varchar(1)

NormaLiquidacao

nvarchar(25)

TipoLancamento

varchar(3)

TipoConta

nvarchar(1)

ElementoOrigem

varchar(100)

ContaOrigem

nvarchar (20)

Ano

smallint

Dia

smallint

Diario

nvarchar(5)

NumDiario

int

Valor

money

Natureza

nvarchar(1)

TipoElemento

nvarchar(1)

Elemento

nvarchar(100)

ContaCompensac
ao

nvarchar(20)

Conta

nvarchar(20)

ValorLiquidado

money

ProjectoOrigem

nvarchar(40)

Projecto

nvarchar (40)

Mes

Possible
values

Nulls?

Default

PK

FK

Change Type

Pg 90

LinhasInternosStatus
Possible
values

Nulls?

Default

PK

FK

Change Type

Column

Data Type

IdLinha

UNIQUEIDENTIFIER

Quantidade

FLOAT

QuantCopiada

FLOAT

LinhasModelosDoc
Column

Data Type

WBSItem

Nvarchar(100)

Possible values

Nulls?
Y

Default

PK

FK

Change Type

ItemTesouraria

nvarchar (35)

Projecto

nvarchar(35)

NULL

LinhasNormasLiquidacao
Column

Data Type

Possible
values

Nulls?

Default

PK

FK

Change Type

Ano

smallint

Codigo

Nvarchar(25)

Linha

int

PeriodoInicial

smallint

PeriodoFinal

smallint

TipoLancamento

Varchar(3)

TipoReceptor

Varchar(1)

ElementoReceptor

Nvarchar(100)

ContaCompensacao

Nvarchar(20)

Conta

Nvarchar(20)

Grupo

Nvarchar(10)

Percentagem

real

ProjectoReceptor

Nvarchar(40)

DataGravacao

datetime

LinhasOpFuturas
Column

Data Type

WBSItem

Nvarchar(100)

Possible values

Nulls?
Y

Default

PK

FK

Change Type

NULL

LinhasOVendaCicloVenda
Column

Data Type

Possible
values

Nulls?

Default

PK

FK

Change Type

Pg 91

Estado

Smallint

IdActividade

uniqueidentifier

ValorManual

bit

LinhasPendentes
Column

Data Type

WBSItem

Nvarchar(100)

Possible values

Nulls?
Y

Default

PK

FK

Change Type

NULL

LinhasPlanoContas
Column

Data Type

Ano

smallint

Possible values

Nulls?
N

Default

PK

FK

Change Type
C

Conta

Nvarchar(20)

Linha

int

TipoOrigem

Varchar(1)

Projecto

Nvarchar(40)

Origem

varchar(100)

PeriodoInicial

smallint

PeriodoFinal

smallint

ValorUnitario

money

DataGravacao

datetime

LinhasStkStatus
Column

Possible
values

Data Type

Nulls?

Default

PK

FK

Change Type
C

IdLinha

UNIQUEIDENTIFIER

Quantidade

FLOAT

QuantCopiada

FLOAT

LinhasStk
Column

Data Type

WBSItem

Nvarchar(100)

Possible values

Nulls?
Y

Default

PK

FK

Change Type

NULL

C/R/U

LinhasTesouraria
Column

Data Type

WBSItem

Nvarchar(100)

Possible
values

Nulls?
Y

Default

PK

FK

Change Type

NULL

Pg 92

LinhasTransformacoes
Column

Data Type

IdLinha

uniqueidentifier

Possible values

Nulls?
N

Default

PK

FK

Change Type
C

Quantidade

float

QuantReserv

float

QuantTrans

float

QuantCopiada

float

Modulo

Char(1)

VersaoUltAct

timestamp

LiquidacaoCustos
Column

Data Type

ID

uniqueidentifier

Possible values

Nulls?
N

Default

PK

FK

Change Type
C

TipoLancamen
to

Varchar(3)

Ano

smallint

Numero

int

Descricao

Nvarchar(60)

NumeroDocExt
erno

Nvarchar(20)

Mes

smallint

Dia

smallint

DataDoc

datetime

TipoLiquidacao
,

smallint

Diario

Nvarchar(5)

Documento

Nvarchar(5)

IVA

Nvarchar(2)

TipoTerceiro

Nvarchar(1)

Terceiro

Nvarchar(12)

ModelosDoc
Column

Data Type

DataCriacao

datetime

Possible values

Nulls?

Default

PK

FK

Change Type

Movimentos
Column

Data Type

Possible
values

Nulls?

Default

PK

FK

Change Type

Projecto

NVARCHAR(40)

WBSItem

NVARCHAR(100)

ValorLiquidado

money

Liquidado

bit

Pg 93

MovimentosBancos
Column

Data Type

WBSItem

Nvarchar(100)

Possible
values

Nulls?
Y

Default

PK

FK

Change Type

NULL

MovimentosFuncionarios
Column

Data Type

Possible
values

Nulls?

Default

PK

FK

Change
Type

MesFiscalReferencia

smallint

MesCalculoIRS

smallint

CalculoDiferido

bit

NumProcRecalc

int

IDLinhaRecalc

int

IRSNumDependentes

smallint

IRSAnoTaxas

smallint

IRSDomicilioFiscal

smallint

IRSFixo

real

Situacao

Nvarchar(3)

Instrumento

Nvarchar(3)

ValorPrevisional

float

CalculoDiferidoActivo

bit

DataAplTaxasIRS

datetime

C
C

MovimentosProjecto
Column

Data Type

Possible
Values

Nulls?

Ano

SMALLINT

TipoLancamento

VARCHAR(3)

ProjectoID

UNIQUEIDENTIFIER

Projecto

NVARCHAR(80)

WBSItem

NVARCHAR(100)

Linha

Default

PK

FK

Change Type

000

INT

IDMovimento

UNIQUEIDENTIFIER

ContaOrigem

NVARCHAR(20)

Descricao

NVARCHAR(50)

Mes

SMALLINT

Dia

SMALLINT

Diario

NVARCHAR(5)

NumDiario

INT

Documento

NVARCHAR(5)

NumDoc

INT

Natureza

NVARCHAR(1)

C
C

C
0

C
C

C
C

Pg 94

Valor

MONEY

Cambio

FLOAT

ValorAlt

MONEY

CambioMAlt

FLOAT

ValorOrigem

MONEY

CambioOrigem

FLOAT

Moeda

NVARCHAR(3)

TipoAfectacao

SMALLINT

Liquidado

BIT

ValorLiquidado

MONEY

Checks
Type

Columns

Constraint

CHK

MovimentosProjectos.TipoAfectacao

[TipoAfectacao] = 0 or [TipoAfectacao] =
1 or [TipoAfectacao] = 2

Change Type
C

Foreign Keys
Type

Columns

Reference Table

FK

ProjectoWBSItem

FK

MovimentosProjectos.WBSItem
MovimentosProjectos.ProjectoID
MovimentosProjectos.ProjectoID

COP_Obras

Reference
Columns
Codigo
ProjectoID
ID

Change Type

FK

MovimentosProjectos.Moeda

Moedas

Moeda

FK

MovimentosProjectos.TipoLancamento

TiposLancamento

TipoLancamento

FK

MovimentosProjectos.Ano

ExerciciosCBL

Ano

Inde
x

Columns

Clustered?

02

03

MovimentosProjectos.Ano
MovimentosProjectos.ProjectoID
MovimentosProjectos.WBSItem
MovimentosProjectos.Mes
MovimentosProjectos.Dia
MovimentosProjectos.IDMovimento

04

MovimentosProjectos.Moeda

C
C

Indexes
Unique?

Change Type

MotivosAcerto
Column

Data Type

Motivo

NVARCHAR(5)

Descricao

NVARCHAR(50)

Possible values

Nulls
?
N

Default

PK

FK

Change Type

Pg 95

NormasLiquidacao
Column

Data Type

Possible
values

Nulls?

Default

PK

FK

Change Type

Codigo

nvarchar(25)

Descricao

nvarchar(50)

Ano

smallint

TipoEmissor

varchar(1)

ElementoEmissor

nvarchar (100)

Inactiva

bit

ProjectoEmissor

nvarchar(40)

DataCriacao

datetime

NumeradoresDiarios
Column

Data Type

DataCriacao

datetime

Possible values

Nulls?

Default

PK

FK

Change Type

NumeradoresDocumentosCBL
Column

Data Type

DataCriacao

datetime

Possible values

Nulls?

Default

PK

FK

Change Type

NiveisQualificacao
Column

Data Type

Nulls?

Default

PK

FK

Change Type

varchar(3)

Descricao

varchar(70)

ColunaBS

tinyint

CodigoRU

tinyint

NivelQualificacao

C
C

Ocorrencias
Column

Data Type

Nulls?

Default

PK

FK

Change Type

Ocorrencia

varchar(5)

Descricao

varchar(50)

bit

Activo

OcorrenciasFaltas
Column
Ocorrencia
Falta

Data Type

Nulls?

Default

PK

FK

Change Type

varchar(5)

nvarchar(5)

Pg 96

Orcamentos
Column

Data Type

Possible
values

Nulls?

DataCriacao

datetime

TipoUsoEstatistico

Nvarchar(1)

Default

PK

FK

Change Type
C

OrcamentosCentrosCusto
PK

FK

Change Type

Ano

NVARCHAR

Conta

NVARCHAR

Centro

NVARCHAR

Moeda

NVARCHAR

TipoLancamento

NVARCHAR

Natureza

NVARCHAR

MesXX

MONEY

Entidade

NVARCHAR

GrupoAutorizacao

NVARCHAR

Estatistico

BIT

Activo

BIT

Column

Data Type

Possible Values

Orcamento

(xx 00 to 12)

Nulls?

Default

OrcamentosProjectoWBS
PK

FK

Change Type

Ano

NVARCHAR

Conta

NVARCHAR

Projecto

NVARCHAR

WBSItem

NVARCHAR

Moeda

NVARCHAR

TipoLancamento

NVARCHAR

Natureza

NVARCHAR

MesXX

MONEY

Column

Data Type

Possible Values

Orcamento

Nulls?

Default

Entidade

NVARCHAR

GrupoAutorizacao

NVARCHAR

Estatistico

BIT

Activo

BIT

(xx 00 to 12)

Pagamentos
Column

Data Type

DataEfectiva

datetime

Possible values

Nulls?
Y

Default

PK

FK

Change Type
C

Percentagem

float

Pg 97

Banco

varchar (4)

Balcao

varchar(15)

NumConta

varchar(50)

NIB

varchar(48)

IBAN

varchar(34)

SWIFT

varchar(20)

BIC

varchar(30)

PagamentosIndep
Column

Data Type

Chave

int

Possible values

Nulls?
N

Default

PK

FK

Change Type
C

DataEmissao

datetime

DataEfectiva

datetime

Independente

nvarchar] (10)

Ano

smallint

NumProc

int

DataMov

datetime

TipoVenc

smallint

ValorLiquido

float

MoedaPagame
nto

nvarchar (3)

CambioMBase

float

CambioMAlt

float

ModoPagamen
to

smallint

Percentagem

float

Conta

nvarchar(5)

Serie

nvarchar(5)

NumDocument
o

nvarchar(12)

Banco

varchar (4)

Balcao

varchar(15)

NumConta

varchar(50)

NIB

varchar(48)

IBAN

varchar(34)

SWIFT

varchar(20)

BIC

varchar(30)

DescargaBNC

bit

DocumentoMo
vBNC

uniqueidentifier

IDDocRHPCBL

uniqueidentifier

IDTEServicosB
ancarios

uniqueidentifier

NumLinhaPS2

int

C
C

Pg 98

ParametrosCBL
Column

Data Type

TrataProjectoWBS

bit

ReflProjectoWBS1

bit

ReflProjectoWBS2

Possible
Values

Nulls?

Default

PK

FK

Change Type

bit

RefleteOrcAnaliticaProjecto
WBS

bit

RefleteOrcProjectoWBSAna
litica

bit

RefleteOrcCCustosAnalitica

bit

TipoAfectacaoControlling

smallint

MoedaControlling

nvarchar(3)

TrataActividades

bit

ParametrosCRM
Column

Data Type

IdTipoActivida
deFases

uniqueidentifier

Possible values

Nulls?

Default

PK

FK

Change Type

ParametrosGCP
Column

Data Type

Possible
values

Nulls?

Default

PK

FK

Change Type

ValidaNatItensTeso
uraria

bit

DocumentoEstorno
CCT

Nvarchar(5)

RetencaoNaMoedaB
ase

bit

TrataEcovalor

bit

ParametrosGPR
Column

Data Type

PrecoPrevisto

tinyint

Possible Values

Nulls?

Default

PK

FK

Change Type

ParametrosRHP
Column

Data Type

EfectuaCalculosDife
ridos

bit

Possible
values

Nulls?

Default

PK

FK

Change Type

Pg 99

DetalhaRetroactivo
s

bit

IRSIndepTipoEntid
adeCCT

Varchar(1)

IRSIndepEntidadeC
CT

Nvarchar(12
)

CodDescSTIRS

Nvarchar(5)

RMMGPrincipal

float

RMMGAcores

float

RMMGMadeira

float

Pendentes
Column

Data Type

WBSItem

Nvarchar(100)

Possible values

Nulls?
Y

Default

PK

FK

Change Type

NULL

PlanoCentros
Column

Data Type

Possible
values

Nulls?

Default

PK

FK

Change Type

DataCriacao

datetime

GrupoAutorizacao

Nvarchar(15)

PlanoContas
Column

Data Type

Possible
values

Nulls?

Default

PK

FK

Change Type

PodeAlterarEntida
de

bit

PodeAlterarCCT

bit

Projecto

nvarchar (40)

WBSItem

nvarchar (100)

DataCriacao

datetime

Actividade

nvarchar(15)

DescricaoActivida
de

nvarchar(50)

Unidade

nvarchar(5)

TipoCalculo

varchar (1)

ContaDebito

nvarchar(20)

Pg 100

PlanoFuncional
Column

Data Type

Possible
values

Nulls?

Default

PK

FK

Change Type

DataCriacao

datetime

GrupoAutorizacao

Nvarchar(15)

Estatistica

bit

Inactiva

Bit

PlanoIVA
Column

Data Type

DataCriacao

datetime

Possible values

Nulls?

Default

PK

FK

Change Type

PlanoRenovacoes
Column

Data Type

CompensCaducidadeP
eriodo

tinyint

Possible
values

Nulls?
Y

Default

PK

FK

Change Type

NULL

PlanoRenovacoesFunc
Column

Data Type

CompensCaducidadeP
eriodo

tinyint

Possible
values

Nulls?
Y

Default

PK

FK

Change Type

NULL

PlanosAlternativos
Column

Data Type

DataCriacao

datetime

Possible values

Nulls?

Default

PK

FK

Change Type

PlanoSelo
Column

Data Type

DataCriacao

datetime

Possible values

Nulls?

Default

PK

FK

Change Type

PocsAlternativos
Column

Data Type

DataCriacao

datetime

Possible values

Nulls?

Default

PK

FK

Change Type

Pg 101

ProjectoEstados
Column

Data Type

Bloqueado

bit

Possible values

Nulls?
N

Default

PK

FK

Change Type

IdProjecto

uniqueidentifier

WBSItem

Nvarchar(30)

FALSE

ProjectoWBSItem
Column

Data Type

Possible
Values

Nulls?

Default

PK

FK

Change Type

Projecto

NVARCHAR

WBSItem

NVARCHAR

NaturezaEsperada

NVARCHAR

Codigo

NVARCHAR

Descricao

NVARCHAR

CodigoPai

NVARCHAR

ProjectoId

UNIQUEIDENTIFIER

Posicao

INT

DataIni

DATETIME

DataFim

DATETIME

TipoEntidade

NVARCHAR

Entidade

NVARCHAR

GrupoAutorizacao

NVARCHAR

Estatistico

BIT

Activo

BIT

Classe

NVARCHAR

C
C
C

C
C

RastreabilidadeEstornos
Column
Id
IdDocOrigem
IdLinhaOrigem
ModuloOrigem
IdDocDestino
IdLinhaDestino
ModuloDestino
Tipo
Motivo
Quantidade
Valor

Data Type
uniqueidentifier
uniqueidentifier
uniqueidentifier
uniqueidentifier
uniqueidentifier
uniqueidentifier
varchar(1)
int
varchar(3)
float
float

Possible
values

Nulls?
N
Y
Y
N
Y
Y
N
Y
Y
Y
Y

Default

PK

FK

Pg 102

Change
Type
C
C
C
C
C
C
C
C
C
C
C

Indexes
Index
RastreabilidadeEstornos01
RastreabilidadeEstornos02

RastreabilidadeEstornos03

RastreabilidadeEstornos04

Columns
Id ASC
IdDocDestino ASC
IdLinhaDestino ASC
ModuloDestino ASC
IdDocOrigem ASC
IdLinhaOrigem ASC
ModuloOrigem ASC
Tipo ASC

Primary key
Y

Recibos
Column

Data Type

CodFunc
TipoVenc
Periodo
Ano
Mes
NumProc
Pdf
Emitido
DataEmissao
ObsRecibo
Notificado
DataNotificacao
AssuntoNotificacao
MensagemNotificacao
DataMovimento
TotalDeRemuneracoes
TotalDeDescontos
TotalLiquido
Pago
ImprTotalIRSRetido
ImprTotalRem
ImprTotalFaltas
ImprTotalMoedaAlt
ImprAglomearar
ImprInclFaltas
ImprInclFaltasAgrupar
ImprInclFaltasPorRem
ImprFormatoA3
ImprDuplicar
Relatorio
AglomeraTiposVenc

Nvarchar(10)
smallint
nvarchar] (3)
smallint
smallint
varbinary
bit
datetime
nvarchar] (100)
int
datetime
nchar (255)
nvarchar(4000)
datetime
float
float
float
bit
bit
bit
bit
bit
bit
bit
bit
bit
bit
nvarchar] (8)
int

Possible
values

Nulls?

Default

PK

FK

N
N
N
N
N
N
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y
Y

Change
Type
C
C
C
C
C
C
C
C
C
C
C
C
C
C
C
C
C
C
C
C
C
C
C
C
C
C
C
C
C
C
C

Pg 103

Reparticoes
Column

Data Type

DataGravacao

datetime

Possible values

Nulls?

Default

PK

FK

Change Type

ReparticoesAnalitica
Column

Data Type

DataGravacao

datetime

Possible values

Nulls?

Default

PK

FK

Change Type

ReparticoesFuncoes
Column

Data Type

DataGravacao

datetime

Possible values

Nulls?

Default

PK

FK

Change Type

RubricasCCT
Column

Data Type

Inactivo

bit

Possible values

Nulls?
N

Default

PK

FK

Change Type
C

IdProjecto

uniqueidentifier

WBSItem

Nvarchar(30)

Y
Y

SAFTTiposDocumentos
Column

Data Type

Possible
values

Nulls?

Default

PK

FK

Change Type

TipoDocumento

Varchar(2)

Descricao

Varchar(50)

SegSocial
Column

Data Type

Possible
values

Nulls?

Default

PK

FK

Change Type

TipoEntidadeCCT

varchar(1)

NULL

EntidadeCCT

Nvarchar(12)

Null

Pg 104

SegSocialDescontos

Column

Data Type

Possible
values

Nulls?

ID

Unique identifier

AnoFiscalReferencia

SmallInt

MesFiscalReferencia

Tinyint

DataAplicacao

SmallDatetime

Moeda

String (3)

Default

PK

FK

Change
Type

Indexes
Index

Columns

Clustered?

Unique?

SegSocialDescontos01

ID

SegSocialDescontos02

SegSocial ASC
TipoDesconto ASC
DataAplicacao ASC

Change Type

SeriesCheques
Column

Data Type

Possible values

Nulls
?
N

Default

ContaBancaria

Nvarchar(5)

Srie

Nvarchar(15)

NumeroInicial

Nvarchar(15)

NumeroFinal

Nvarchar(15)

Validade

Datetime

LocalEmissao

Nvarchar(20)

Activa

Bit

0,1

Omissao

Bit

0,1

Observacoes

Nvarchar(50)

PK

FK

Change Type

C/R/U

SeriesCompras

SerieIntegracao

Data
Type
bit

DisponivelNoEditor

Bit

Column

Possible values

Nulls?

Default

PK

FK

Change Type

Pg 105

Sindicatos
Column

Data Type

Possible
values

ModoPagamentoCCT

Nvarchar(5)

Nulls?

Default

PK

FK

Change Type

TabImpostoSelo
Column

Data Type

DataCriacao

datetime

Possible values

Nulls?

Default

PK

FK

Change Type

TabIRS
Column

Data Type

DataAplTaxasIRS

datetime

Possible values

Nulls?

Default

PK

FK

Change Type

TabIRSRemNaoFixas
Column

Data Type

DataAplTaxasIRS

datetime

Possible values

Nulls?

Default

PK

FK

Change Type

TiposEstados
Column

Data Type

DataCriacao

datetime

Possible values

Nulls?

Default

PK

FK

Change Type

TiposLancamento
Column

Data Type

DataCriacao

datetime

Possible values

Nulls?

Default

PK

FK

Change Type

TiposTaxaIva
Column

Data Type

Tipo

varchar(3)

Possible values

Nulls?
N

Default

PK

FK

Change Type

Descricao

varchar(50)

Pg 106

Pg 107

Você também pode gostar