Interface ICblBSTiposDocumento
Classe utilizada que contém todas as obrigações sobre Tipos de Documento.
Namespace: ICblBS100
Assembly: ICblBS100.dll
Syntax
[ComVisible(true)]
[Guid("AFF51CFE-E764-4BE9-B2E9-254F22F8FD20")]
public interface ICblBSTiposDocumento
Methods
Actualiza(CblBETipoDocumento, String)
Actualiza a informação do Documento.
Declaration
void Actualiza(CblBETipoDocumento objBEDocumentoCBL, string Avisos = "")
Parameters
| Type | Name | Description |
|---|---|---|
| CblBETipoDocumento | objBEDocumentoCBL | Objecto contendo a informação actualizada do Documento. |
| System.String | Avisos | Notificação devolvida pelo processo de actualização. |
ActualizaNumerador(Int32, String, Int32)
Declaration
void ActualizaNumerador(int Ano, string Chave, int Numerador)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | Ano | |
| System.String | Chave | |
| System.Int32 | Numerador |
ActualizaNumerador(Int32, String, Int32, ref String)
Declaration
void ActualizaNumerador(int Ano, string Chave, int Numerador, ref string TipoLancamento)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | Ano | |
| System.String | Chave | |
| System.Int32 | Numerador | |
| System.String | TipoLancamento |
ActualizaValorAtributo(String, String, Object)
Actualiza o valor de um atributo.
Declaration
void ActualizaValorAtributo(string Documento, string Atributo, dynamic Valor)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | Documento | Identificador do Documento. |
| System.String | Atributo | Nome do atributo cujo valor será actualizado. |
| System.Object | Valor | Valor do atributo que será actualizado. |
ActualizaValorAtributoNumerador(Int32, String, String, Object)
Declaration
void ActualizaValorAtributoNumerador(int Ano, string Documento, string Atributo, dynamic Valor)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | Ano | |
| System.String | Documento | |
| System.String | Atributo | |
| System.Object | Valor |
ActualizaValorAtributoNumerador(Int32, String, String, Object, ref String)
Declaration
void ActualizaValorAtributoNumerador(int Ano, string Documento, string Atributo, dynamic Valor, ref string TipoLancamento)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | Ano | |
| System.String | Documento | |
| System.String | Atributo | |
| System.Object | Valor | |
| System.String | TipoLancamento |
ActualizaValorAtributos(String, StdBECampos)
Actualiza os valores respectivos de um conjunto de atributos.
Declaration
void ActualizaValorAtributos(string Documento, StdBECampos Atributos)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | Documento | Identificador do Documento. |
| StdBECampos | Atributos | Identifica os atributos e os respectivos valores a actualizar. |
DaDefCamposUtil()
Devolve as definições dos campos do utilizador.
Declaration
StdBEDefCamposUtil DaDefCamposUtil()
Returns
| Type | Description |
|---|---|
| StdBEDefCamposUtil |
DaDescricao(String)
Devolve a Descrição do Documento.
Declaration
string DaDescricao(string Documento)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | Documento | Identificador do Documento. |
Returns
| Type | Description |
|---|---|
| System.String |
DaValorAtributo(String, String)
Devolve o valor de um atributo.
Declaration
dynamic DaValorAtributo(string Documento, string Atributo)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | Documento | Identificador do Documento. |
| System.String | Atributo | Nome do atributo cujo valor será devolvido. |
Returns
| Type | Description |
|---|---|
| System.Object |
DaValorAtributoLock(String, String)
Devolve o valor de um atributo, respeitando os locks da base de dados.
Declaration
dynamic DaValorAtributoLock(string Documento, string Atributo)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | Documento | Identificador do Documento. |
| System.String | Atributo | Nome do atributo cujo valor será devolvido. |
Returns
| Type | Description |
|---|---|
| System.Object |
DaValorAtributos(String, Object[])
Devolve o valor de um conjunto de atributos.
Declaration
StdBECampos DaValorAtributos(string Documento, params dynamic[] Atributos)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | Documento | Identificador do Documento. |
| System.Object[] | Atributos | Conjunto de atributos dos quais se pretende devolver o valor. |
Returns
| Type | Description |
|---|---|
| StdBECampos |
DaValorAtributosLock(String, Object[])
Devolve o valor de um conjunto de atributos, respeitando os locks da base de dados.
Declaration
StdBECampos DaValorAtributosLock(string Documento, params dynamic[] Atributos)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | Documento | Identificador do Documento. |
| System.Object[] | Atributos | Conjunto de atributos dos quais se pretende devolver o valor. |
Returns
| Type | Description |
|---|---|
| StdBECampos |
DocumentoApuramentos(String)
Verifica se um Documento possui Apuramentos.
Declaration
dynamic DocumentoApuramentos(string Documento)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | Documento | Identificador do Documento. |
Returns
| Type | Description |
|---|---|
| System.Object |
DocumentoMovimentos(String)
Verifica se o Documento possui Movimentos.
Declaration
dynamic DocumentoMovimentos(string Documento)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | Documento | Identificador do Documento. |
Returns
| Type | Description |
|---|---|
| System.Object |
Edita(Int32, String)
Declaration
CblBETipoDocumento Edita(int Ano, string Documento)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | Ano | |
| System.String | Documento |
Returns
| Type | Description |
|---|---|
| CblBETipoDocumento |
Edita(Int32, String, ref String)
Declaration
CblBETipoDocumento Edita(int Ano, string Documento, ref string TipoLancamento)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | Ano | |
| System.String | Documento | |
| System.String | TipoLancamento |
Returns
| Type | Description |
|---|---|
| CblBETipoDocumento |
EditaFluxosDocumento(String)
Edita a informação do Documento.
Declaration
CblBELinhasFluxoTipoDocumento EditaFluxosDocumento(string Documento)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | Documento | Identificador do Documento. |
Returns
| Type | Description |
|---|---|
| CblBELinhasFluxoTipoDocumento |
Existe(String)
Verifica se existe o Documento.
Declaration
bool Existe(string Documento)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | Documento | Identificador do Documento. |
Returns
| Type | Description |
|---|---|
| System.Boolean |
ExisteDoc(String, String)
Verifica se existe o Documento associado a um Módulo.
Declaration
bool ExisteDoc(string Nome, string Modulo)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | Nome | Identificador do Documento. |
| System.String | Modulo | Identificador do Modulo. |
Returns
| Type | Description |
|---|---|
| System.Boolean |
ExistemFluxos(String)
Verifica se existem fluxos associados a um documento.
Declaration
bool ExistemFluxos(string Documento)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | Documento | Identificador do Documento. |
Returns
| Type | Description |
|---|---|
| System.Boolean |
GeraSqlWhereCategoriaSubQuery()
Devolve uma string SQL com base nas condições existentes nos filtros da categoria dos Tipos de Documentos Contabilísticos.
Declaration
string GeraSqlWhereCategoriaSubQuery()
Returns
| Type | Description |
|---|---|
| System.String |
GeraSqlWhereCategoriaSubQuery(ref String)
Devolve uma string SQL com base nas condições existentes nos filtros da categoria dos Tipos de Documentos Contabilísticos.
Declaration
string GeraSqlWhereCategoriaSubQuery(ref string TabelaPrincipal)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | TabelaPrincipal | Tabela principal da categoria. |
Returns
| Type | Description |
|---|---|
| System.String |
GeraSqlWhereCategoriaSubQuery(ref String, ref String)
Devolve uma string SQL com base nas condições existentes nos filtros da categoria dos Tipos de Documentos Contabilísticos.
Declaration
string GeraSqlWhereCategoriaSubQuery(ref string TabelaPrincipal, ref string CampoPrincipal)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | TabelaPrincipal | Tabela principal da categoria. |
| System.String | CampoPrincipal | Campo principal da categoria. |
Returns
| Type | Description |
|---|---|
| System.String |
GeraSqlWhereCategoriaSubQuery(ref String, ref String, ref String)
Devolve uma string SQL com base nas condições existentes nos filtros da categoria dos Tipos de Documentos Contabilísticos.
Declaration
string GeraSqlWhereCategoriaSubQuery(ref string TabelaPrincipal, ref string CampoPrincipal, ref string TabelaFiltro)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | TabelaPrincipal | Tabela principal da categoria. |
| System.String | CampoPrincipal | Campo principal da categoria. |
| System.String | TabelaFiltro | Tabela de sobre a qual será aplicada o filtro, quando diferente da tabela da categoria. |
Returns
| Type | Description |
|---|---|
| System.String |
GeraSqlWhereCategoriaSubQuery(ref String, ref String, ref String, ref String)
Devolve uma string SQL com base nas condições existentes nos filtros da categoria dos Tipos de Documentos Contabilísticos.
Declaration
string GeraSqlWhereCategoriaSubQuery(ref string TabelaPrincipal, ref string CampoPrincipal, ref string TabelaFiltro, ref string CampoFiltro)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | TabelaPrincipal | Tabela principal da categoria. |
| System.String | CampoPrincipal | Campo principal da categoria. |
| System.String | TabelaFiltro | Tabela de sobre a qual será aplicada o filtro, quando diferente da tabela da categoria. |
| System.String | CampoFiltro | Campo que irá filtrar os dados. |
Returns
| Type | Description |
|---|---|
| System.String |
GeraSqlWhereCategoriaSubQuery(ref String, ref String, ref String, ref String, String)
Devolve uma string SQL com base nas condições existentes nos filtros da categoria dos Tipos de Documentos Contabilísticos.
Declaration
string GeraSqlWhereCategoriaSubQuery(ref string TabelaPrincipal, ref string CampoPrincipal, ref string TabelaFiltro, ref string CampoFiltro, string Utilizador)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | TabelaPrincipal | Tabela principal da categoria. |
| System.String | CampoPrincipal | Campo principal da categoria. |
| System.String | TabelaFiltro | Tabela de sobre a qual será aplicada o filtro, quando diferente da tabela da categoria. |
| System.String | CampoFiltro | Campo que irá filtrar os dados. |
| System.String | Utilizador | Utilizador aos quais estão associadados os filtros da categoria, quando diferente do utilizador de Contexto. |
Returns
| Type | Description |
|---|---|
| System.String |
GetInfoDoc(String, String)
Devolve por referência a informação relativa ao documento.
Declaration
void GetInfoDoc(string Documento, string Modulo)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | Documento | Identificador do Documento. |
| System.String | Modulo | Identificador do Modulo. |
GetInfoDoc(String, String, ref String)
Devolve por referência a informação relativa ao documento.
Declaration
void GetInfoDoc(string Documento, string Modulo, ref string Descricao)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | Documento | Identificador do Documento. |
| System.String | Modulo | Identificador do Modulo. |
| System.String | Descricao | Descrição do Documento. |
GetInfoDoc(String, String, ref String, ref String)
Devolve por referência a informação relativa ao documento.
Declaration
void GetInfoDoc(string Documento, string Modulo, ref string Descricao, ref string Diario)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | Documento | Identificador do Documento. |
| System.String | Modulo | Identificador do Modulo. |
| System.String | Descricao | Descrição do Documento. |
| System.String | Diario | Identificador do Diário. |
GetInfoDoc(String, String, ref String, ref String, ref Boolean)
Devolve por referência a informação relativa ao documento.
Declaration
void GetInfoDoc(string Documento, string Modulo, ref string Descricao, ref string Diario, ref bool Recapitulativo)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | Documento | Identificador do Documento. |
| System.String | Modulo | Identificador do Modulo. |
| System.String | Descricao | Descrição do Documento. |
| System.String | Diario | Identificador do Diário. |
| System.Boolean | Recapitulativo | Indica se o Documento está sujeito a Recapitulativo. |
GetInfoDoc(String, String, ref String, ref String, ref Boolean, ref Boolean)
Devolve por referência a informação relativa ao documento.
Declaration
void GetInfoDoc(string Documento, string Modulo, ref string Descricao, ref string Diario, ref bool Recapitulativo, ref bool BalA)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | Documento | Identificador do Documento. |
| System.String | Modulo | Identificador do Modulo. |
| System.String | Descricao | Descrição do Documento. |
| System.String | Diario | Identificador do Diário. |
| System.Boolean | Recapitulativo | Indica se o Documento está sujeito a Recapitulativo. |
| System.Boolean | BalA | Indica se o Documento está Balanceado para a Analítica. |
GetInfoDoc(String, String, ref String, ref String, ref Boolean, ref Boolean, ref Boolean)
Devolve por referência a informação relativa ao documento.
Declaration
void GetInfoDoc(string Documento, string Modulo, ref string Descricao, ref string Diario, ref bool Recapitulativo, ref bool BalA, ref bool BalF)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | Documento | Identificador do Documento. |
| System.String | Modulo | Identificador do Modulo. |
| System.String | Descricao | Descrição do Documento. |
| System.String | Diario | Identificador do Diário. |
| System.Boolean | Recapitulativo | Indica se o Documento está sujeito a Recapitulativo. |
| System.Boolean | BalA | Indica se o Documento está Balanceado para a Analítica. |
| System.Boolean | BalF | Indica se o Documento está Balanceado para a Financeira. |
GetInfoDoc(String, String, ref String, ref String, ref Boolean, ref Boolean, ref Boolean, ref Boolean)
Devolve por referência a informação relativa ao documento.
Declaration
void GetInfoDoc(string Documento, string Modulo, ref string Descricao, ref string Diario, ref bool Recapitulativo, ref bool BalA, ref bool BalF, ref bool BalO)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | Documento | Identificador do Documento. |
| System.String | Modulo | Identificador do Modulo. |
| System.String | Descricao | Descrição do Documento. |
| System.String | Diario | Identificador do Diário. |
| System.Boolean | Recapitulativo | Indica se o Documento está sujeito a Recapitulativo. |
| System.Boolean | BalA | Indica se o Documento está Balanceado para a Analítica. |
| System.Boolean | BalF | Indica se o Documento está Balanceado para a Financeira. |
| System.Boolean | BalO | Indica se o Documento está Balanceado para a Ordem. |
GetInfoDoc(String, String, ref String, ref String, ref Boolean, ref Boolean, ref Boolean, ref Boolean, ref Byte)
Devolve por referência a informação relativa ao documento.
Declaration
void GetInfoDoc(string Documento, string Modulo, ref string Descricao, ref string Diario, ref bool Recapitulativo, ref bool BalA, ref bool BalF, ref bool BalO, ref byte RecolhaTerc)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | Documento | Identificador do Documento. |
| System.String | Modulo | Identificador do Modulo. |
| System.String | Descricao | Descrição do Documento. |
| System.String | Diario | Identificador do Diário. |
| System.Boolean | Recapitulativo | Indica se o Documento está sujeito a Recapitulativo. |
| System.Boolean | BalA | Indica se o Documento está Balanceado para a Analítica. |
| System.Boolean | BalF | Indica se o Documento está Balanceado para a Financeira. |
| System.Boolean | BalO | Indica se o Documento está Balanceado para a Ordem. |
| System.Byte | RecolhaTerc | Indica se o Documento efectua Recolha de Terceiros. |
GetInfoDoc(String, String, ref String, ref String, ref Boolean, ref Boolean, ref Boolean, ref Boolean, ref Byte, ref Boolean)
Devolve por referência a informação relativa ao documento.
Declaration
void GetInfoDoc(string Documento, string Modulo, ref string Descricao, ref string Diario, ref bool Recapitulativo, ref bool BalA, ref bool BalF, ref bool BalO, ref byte RecolhaTerc, ref bool TrataRetencao)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | Documento | Identificador do Documento. |
| System.String | Modulo | Identificador do Modulo. |
| System.String | Descricao | Descrição do Documento. |
| System.String | Diario | Identificador do Diário. |
| System.Boolean | Recapitulativo | Indica se o Documento está sujeito a Recapitulativo. |
| System.Boolean | BalA | Indica se o Documento está Balanceado para a Analítica. |
| System.Boolean | BalF | Indica se o Documento está Balanceado para a Financeira. |
| System.Boolean | BalO | Indica se o Documento está Balanceado para a Ordem. |
| System.Byte | RecolhaTerc | Indica se o Documento efectua Recolha de Terceiros. |
| System.Boolean | TrataRetencao | Indica se o documento efectua o Tratamento de Retenção na Fonte. |
GetInfoDoc(String, String, ref String, ref String, ref Boolean, ref Boolean, ref Boolean, ref Boolean, ref Byte, ref Boolean, ref Int32)
Devolve por referência a informação relativa ao documento.
Declaration
void GetInfoDoc(string Documento, string Modulo, ref string Descricao, ref string Diario, ref bool Recapitulativo, ref bool BalA, ref bool BalF, ref bool BalO, ref byte RecolhaTerc, ref bool TrataRetencao, ref int TipoDocIMO)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | Documento | Identificador do Documento. |
| System.String | Modulo | Identificador do Modulo. |
| System.String | Descricao | Descrição do Documento. |
| System.String | Diario | Identificador do Diário. |
| System.Boolean | Recapitulativo | Indica se o Documento está sujeito a Recapitulativo. |
| System.Boolean | BalA | Indica se o Documento está Balanceado para a Analítica. |
| System.Boolean | BalF | Indica se o Documento está Balanceado para a Financeira. |
| System.Boolean | BalO | Indica se o Documento está Balanceado para a Ordem. |
| System.Byte | RecolhaTerc | Indica se o Documento efectua Recolha de Terceiros. |
| System.Boolean | TrataRetencao | Indica se o documento efectua o Tratamento de Retenção na Fonte. |
| System.Int32 | TipoDocIMO | Indica o Tipo de documento do Imobilizado. (EnumTipoDocIMO) |
GetInfoDoc(String, String, ref String, ref String, ref Boolean, ref Boolean, ref Boolean, ref Boolean, ref Byte, ref Boolean, ref Int32, ref Boolean)
Devolve por referência a informação relativa ao documento.
Declaration
void GetInfoDoc(string Documento, string Modulo, ref string Descricao, ref string Diario, ref bool Recapitulativo, ref bool BalA, ref bool BalF, ref bool BalO, ref byte RecolhaTerc, ref bool TrataRetencao, ref int TipoDocIMO, ref bool BalAnaliticaMAlt)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | Documento | Identificador do Documento. |
| System.String | Modulo | Identificador do Modulo. |
| System.String | Descricao | Descrição do Documento. |
| System.String | Diario | Identificador do Diário. |
| System.Boolean | Recapitulativo | Indica se o Documento está sujeito a Recapitulativo. |
| System.Boolean | BalA | Indica se o Documento está Balanceado para a Analítica. |
| System.Boolean | BalF | Indica se o Documento está Balanceado para a Financeira. |
| System.Boolean | BalO | Indica se o Documento está Balanceado para a Ordem. |
| System.Byte | RecolhaTerc | Indica se o Documento efectua Recolha de Terceiros. |
| System.Boolean | TrataRetencao | Indica se o documento efectua o Tratamento de Retenção na Fonte. |
| System.Int32 | TipoDocIMO | Indica o Tipo de documento do Imobilizado. (EnumTipoDocIMO) |
| System.Boolean | BalAnaliticaMAlt | Indica se o Documento está Balanceado para a Analítica na Moeda Alternativa. |
GetInfoDoc(String, String, ref String, ref String, ref Boolean, ref Boolean, ref Boolean, ref Boolean, ref Byte, ref Boolean, ref Int32, ref Boolean, ref Boolean)
Devolve por referência a informação relativa ao documento.
Declaration
void GetInfoDoc(string Documento, string Modulo, ref string Descricao, ref string Diario, ref bool Recapitulativo, ref bool BalA, ref bool BalF, ref bool BalO, ref byte RecolhaTerc, ref bool TrataRetencao, ref int TipoDocIMO, ref bool BalAnaliticaMAlt, ref bool BalFinanceiraMAlt)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | Documento | Identificador do Documento. |
| System.String | Modulo | Identificador do Modulo. |
| System.String | Descricao | Descrição do Documento. |
| System.String | Diario | Identificador do Diário. |
| System.Boolean | Recapitulativo | Indica se o Documento está sujeito a Recapitulativo. |
| System.Boolean | BalA | Indica se o Documento está Balanceado para a Analítica. |
| System.Boolean | BalF | Indica se o Documento está Balanceado para a Financeira. |
| System.Boolean | BalO | Indica se o Documento está Balanceado para a Ordem. |
| System.Byte | RecolhaTerc | Indica se o Documento efectua Recolha de Terceiros. |
| System.Boolean | TrataRetencao | Indica se o documento efectua o Tratamento de Retenção na Fonte. |
| System.Int32 | TipoDocIMO | Indica o Tipo de documento do Imobilizado. (EnumTipoDocIMO) |
| System.Boolean | BalAnaliticaMAlt | Indica se o Documento está Balanceado para a Analítica na Moeda Alternativa. |
| System.Boolean | BalFinanceiraMAlt | Indica se o Documento está Balanceado para a Financeira na Moeda Alternativa. |
GetInfoDoc(String, String, ref String, ref String, ref Boolean, ref Boolean, ref Boolean, ref Boolean, ref Byte, ref Boolean, ref Int32, ref Boolean, ref Boolean, ref Boolean)
Devolve por referência a informação relativa ao documento.
Declaration
void GetInfoDoc(string Documento, string Modulo, ref string Descricao, ref string Diario, ref bool Recapitulativo, ref bool BalA, ref bool BalF, ref bool BalO, ref byte RecolhaTerc, ref bool TrataRetencao, ref int TipoDocIMO, ref bool BalAnaliticaMAlt, ref bool BalFinanceiraMAlt, ref bool BalOrcamentalMAlt)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | Documento | Identificador do Documento. |
| System.String | Modulo | Identificador do Modulo. |
| System.String | Descricao | Descrição do Documento. |
| System.String | Diario | Identificador do Diário. |
| System.Boolean | Recapitulativo | Indica se o Documento está sujeito a Recapitulativo. |
| System.Boolean | BalA | Indica se o Documento está Balanceado para a Analítica. |
| System.Boolean | BalF | Indica se o Documento está Balanceado para a Financeira. |
| System.Boolean | BalO | Indica se o Documento está Balanceado para a Ordem. |
| System.Byte | RecolhaTerc | Indica se o Documento efectua Recolha de Terceiros. |
| System.Boolean | TrataRetencao | Indica se o documento efectua o Tratamento de Retenção na Fonte. |
| System.Int32 | TipoDocIMO | Indica o Tipo de documento do Imobilizado. (EnumTipoDocIMO) |
| System.Boolean | BalAnaliticaMAlt | Indica se o Documento está Balanceado para a Analítica na Moeda Alternativa. |
| System.Boolean | BalFinanceiraMAlt | Indica se o Documento está Balanceado para a Financeira na Moeda Alternativa. |
| System.Boolean | BalOrcamentalMAlt | Indica se o Documento está Balanceado para a Ordem na Moeda Alternativa. |
GetInfoDoc(String, String, ref String, ref String, ref Boolean, ref Boolean, ref Boolean, ref Boolean, ref Byte, ref Boolean, ref Int32, ref Boolean, ref Boolean, ref Boolean, Int32)
Devolve por referência a informação relativa ao documento.
Declaration
void GetInfoDoc(string Documento, string Modulo, ref string Descricao, ref string Diario, ref bool Recapitulativo, ref bool BalA, ref bool BalF, ref bool BalO, ref byte RecolhaTerc, ref bool TrataRetencao, ref int TipoDocIMO, ref bool BalAnaliticaMAlt, ref bool BalFinanceiraMAlt, ref bool BalOrcamentalMAlt, int Ano)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | Documento | Identificador do Documento. |
| System.String | Modulo | Identificador do Modulo. |
| System.String | Descricao | Descrição do Documento. |
| System.String | Diario | Identificador do Diário. |
| System.Boolean | Recapitulativo | Indica se o Documento está sujeito a Recapitulativo. |
| System.Boolean | BalA | Indica se o Documento está Balanceado para a Analítica. |
| System.Boolean | BalF | Indica se o Documento está Balanceado para a Financeira. |
| System.Boolean | BalO | Indica se o Documento está Balanceado para a Ordem. |
| System.Byte | RecolhaTerc | Indica se o Documento efectua Recolha de Terceiros. |
| System.Boolean | TrataRetencao | Indica se o documento efectua o Tratamento de Retenção na Fonte. |
| System.Int32 | TipoDocIMO | Indica o Tipo de documento do Imobilizado. (EnumTipoDocIMO) |
| System.Boolean | BalAnaliticaMAlt | Indica se o Documento está Balanceado para a Analítica na Moeda Alternativa. |
| System.Boolean | BalFinanceiraMAlt | Indica se o Documento está Balanceado para a Financeira na Moeda Alternativa. |
| System.Boolean | BalOrcamentalMAlt | Indica se o Documento está Balanceado para a Ordem na Moeda Alternativa. |
| System.Int32 | Ano |
GetNumDocActual(Int32, String)
Declaration
int GetNumDocActual(int Ano, string Doc)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | Ano | |
| System.String | Doc |
Returns
| Type | Description |
|---|---|
| System.Int32 |
GetNumDocActual(Int32, String, ref String)
Declaration
int GetNumDocActual(int Ano, string Doc, ref string TipoLancamento)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | Ano | |
| System.String | Doc | |
| System.String | TipoLancamento |
Returns
| Type | Description |
|---|---|
| System.Int32 |
Remove(String)
Remove o Documento.
Declaration
void Remove(string Documento)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | Documento | Identificador do Documento. |
TotalFluxosDocumento(String)
Função que devolve o total Fluxos de um documento.
Declaration
int TotalFluxosDocumento(string Documento)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | Documento | Identificador do Documento. |
Returns
| Type | Description |
|---|---|
| System.Int32 |
ValidaActualizacao(CblBETipoDocumento, ref String)
Efectua a validação da informação do Documento.
Declaration
bool ValidaActualizacao(CblBETipoDocumento BEDocumentoCBL, ref string StrErro)
Parameters
| Type | Name | Description |
|---|---|---|
| CblBETipoDocumento | BEDocumentoCBL | Objecto contendo a informação que se pretende validar. |
| System.String | StrErro |
Returns
| Type | Description |
|---|---|
| System.Boolean |
ValidaOperacaoCategoria(String, ref String, Int32)
Devolve se o utilizador actual tem acesso a um determinado Tipo de Documento, analisando os filtros da categoria.
Declaration
bool ValidaOperacaoCategoria(string Documento, ref string MsgErro, int Linha = -1)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | Documento | Tipo de Documento contabilístico. |
| System.String | MsgErro | |
| System.Int32 | Linha | Número da linha. |
Returns
| Type | Description |
|---|---|
| System.Boolean |
ValidaRemocao(String, ref String)
Efectua as validações necessárias à remoção do Documento.
Declaration
bool ValidaRemocao(string Documento, ref string StrErro)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | Documento | Identificador do Documento. |
| System.String | StrErro |
Returns
| Type | Description |
|---|---|
| System.Boolean |