Interface IRhpBSFuncoesIndep
Classe utilizada para obter as regras de negócio de Funções de um Independente.
Namespace: IRhpBS100
Assembly: IRhpBS100.dll
Syntax
[ComVisible(true)]
[Guid("22E4495E-5DAD-42A2-8819-CF53D4C8C78D")]
public interface IRhpBSFuncoesIndep
Methods
Actualiza(RhpBEFuncaoEnt)
Actualiza a informação de uma conta função de um independente.
Declaration
void Actualiza(RhpBEFuncaoEnt objBEAnaliticaEnt)
Parameters
Type | Name | Description |
---|---|---|
RhpBEFuncaoEnt | objBEAnaliticaEnt | Objecto contendo os valores actuais. |
ActualizaValorAtributo(String, Int32, Int32, String, String, Object)
Actualiza o valor de um atributo.
Declaration
void ActualizaValorAtributo(string Independente, int iExercicio, int MesCBL, string Funcao, string Atributo, object Valor)
Parameters
Type | Name | Description |
---|---|---|
System.String | Independente | Independente para o qual se pretende saber a conta função. |
System.Int32 | iExercicio | Exercicio (ano), da chave composta. |
System.Int32 | MesCBL | Mês Contabilístico, referente à chave do registo. |
System.String | Funcao | Identificador da conta função. |
System.String | Atributo | Nome do atributo cujo valor será actualizado. |
System.Object | Valor | Novo valor do atributo indicado. |
ActualizaValorAtributos(String, Int32, Int32, String, StdBECampos)
Actualiza os valores respectivos de um conjunto de atributos.
Declaration
void ActualizaValorAtributos(string Independente, int iExercicio, int MesCBL, string Funcao, StdBECampos Atributos)
Parameters
Type | Name | Description |
---|---|---|
System.String | Independente | Independente para o qual se pretende saber a conta função. |
System.Int32 | iExercicio | Exercicio (ano), da chave composta. |
System.Int32 | MesCBL | Mês Contabilístico, referente à chave do registo. |
System.String | Funcao | Identificador da conta função. |
StdBECampos | Atributos | Objecto contendo os atributos a actualizar e respectivos valores. |
DaDefCamposUtil()
Devolve as definições dos campos do utilizador.
Declaration
StdBEDefCamposUtil DaDefCamposUtil()
Returns
Type | Description |
---|---|
StdBEDefCamposUtil |
DaValorAtributo(String, Int32, Int32, String, String)
Devolve o valor de um atributo.
Declaration
object DaValorAtributo(string Independente, int iExercicio, int MesCBL, string Funcao, string Atributo)
Parameters
Type | Name | Description |
---|---|---|
System.String | Independente | Independente para o qual se pretende saber a conta função. |
System.Int32 | iExercicio | Exercicio (ano), da chave composta. |
System.Int32 | MesCBL | Mês Contabilístico, referente à chave do registo. |
System.String | Funcao | Identificador da conta função. |
System.String | Atributo | Nome do atributo cujo valor será devolvido. |
Returns
Type | Description |
---|---|
System.Object |
DaValorAtributos(String, Int32, Int32, String, String[])
Devolve o valor de um conjunto de atributos.
Declaration
StdBECampos DaValorAtributos(string Independente, int iExercicio, int MesCBL, string Funcao, params string[] Atributos)
Parameters
Type | Name | Description |
---|---|---|
System.String | Independente | Independente para o qual se pretende saber a conta função. |
System.Int32 | iExercicio | Exercicio (ano), da chave composta. |
System.Int32 | MesCBL | Mês Contabilístico, referente à chave do registo. |
System.String | Funcao | Identificador da conta função. |
System.String[] | Atributos | Conjunto de atributos dos quais se pretende devolver o valor. |
Returns
Type | Description |
---|---|
StdBECampos |
Edita(String, Int32, Int32, String)
Edita a informação de uma conta função de um independente.
Declaration
RhpBEFuncaoEnt Edita(string Independente, int iExercicio, int MesCBL, string Funcao)
Parameters
Type | Name | Description |
---|---|---|
System.String | Independente | Independente para o qual se pretende saber a conta função. |
System.Int32 | iExercicio | Exercicio (ano), da chave composta. |
System.Int32 | MesCBL | Mês Contabilístico, referente à chave do registo. |
System.String | Funcao | Identificador da conta função. |
Returns
Type | Description |
---|---|
RhpBEFuncaoEnt |
Existe(String, Int32, Int32, String)
Verifica se existe o registo referente à informação passada nos parâmetros.
Declaration
bool Existe(string Independente, int iExercicio, int MesCBL, string Funcao)
Parameters
Type | Name | Description |
---|---|---|
System.String | Independente | Independente para o qual se pretende saber a conta função. |
System.Int32 | iExercicio | Exercicio (ano) do qual se pretende saber a conta função. |
System.Int32 | MesCBL | Mês Contabilístico, referente à chave do registo. |
System.String | Funcao | Identificador da conta função. |
Returns
Type | Description |
---|---|
System.Boolean |
ListaFuncoesIndependente(String, Int32, Int32)
Lista todas as funções associadas a um Independente.
Declaration
RhpBEFuncoesEnt ListaFuncoesIndependente(string Independente, int iExercicio, int MesCBL)
Parameters
Type | Name | Description |
---|---|---|
System.String | Independente | Independente para o qual se pretende saber a conta função. |
System.Int32 | iExercicio | Exercicio (ano), da chave composta. |
System.Int32 | MesCBL | Mês Contabilístico, referente à chave do registo. |
Returns
Type | Description |
---|---|
RhpBEFuncoesEnt |
Remove(String, Int32, Int32, String)
Remove a informação de uma conta função de um independente.
Declaration
void Remove(string Independente, int iExercicio, int MesCBL, string Funcao)
Parameters
Type | Name | Description |
---|---|---|
System.String | Independente | Independente para o qual se pretende saber a conta função. |
System.Int32 | iExercicio | Exercicio (ano), da chave composta. |
System.Int32 | MesCBL | Mês Contabilístico, referente à chave do registo. |
System.String | Funcao | Identificador da conta função. |
ValidaActualizacao(RhpBEFuncaoEnt, ref String)
Efectua a validação de actualização dos dados de um registo.
Declaration
bool ValidaActualizacao(RhpBEFuncaoEnt ObjFuncaoIndep, ref string ErroValidacao)
Parameters
Type | Name | Description |
---|---|---|
RhpBEFuncaoEnt | ObjFuncaoIndep | Objecto contendo os novos valores a actualizar. |
System.String | ErroValidacao | Recebe a descrição de eventuais erros detectados. |
Returns
Type | Description |
---|---|
System.Boolean |
ValidaRemocao(String, Int32, Int32, String, ref String)
Efectua a validação de um registo antes de ser efectuada a sua remoção.
Declaration
bool ValidaRemocao(string Independente, int iExercicio, int MesCBL, string Funcao, ref string ErroValidacao)
Parameters
Type | Name | Description |
---|---|---|
System.String | Independente | Independente para o qual se pretende saber a conta função. |
System.Int32 | iExercicio | Exercicio (ano), da chave composta. |
System.Int32 | MesCBL | Mês Contabilístico, referente à chave do registo. |
System.String | Funcao | Identificador da conta função. |
System.String | ErroValidacao | Recebe a descrição de eventuais erros detectados. |
Returns
Type | Description |
---|---|
System.Boolean |