Interface ICblBSFormulas
Classe utilizada para fectuar cálculos ou devolver informação sobre informação contabilistica.
Assembly: ICblBS100.dll
[ComVisible(true)]
[Guid("61C04C4B-0CA0-4332-9B22-4793149A8785")]
public interface ICblBSFormulas
Properties
Declaration
StdBEEventHandler EventHandler { set; }
Property Value
Methods
Declaration
decimal CalculaSaldo(int Ano, CblBEFormula.ENUMTipoPlano TipoPlano, ref string Codigo, int MesIni, int MesFim, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda)
Parameters
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal CalculaSaldo(int Ano, CblBEFormula.ENUMTipoPlano TipoPlano, ref string Codigo, int MesIni, int MesFim, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda, int TipoNatureza)
Parameters
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal CalculaSaldo(int Ano, CblBEFormula.ENUMTipoPlano TipoPlano, ref string Codigo, int MesIni, int MesFim, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda, int TipoNatureza, ref string TipoLancamento)
Parameters
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal CalculaSaldoAlternativo(int Ano, string Plano, ref string Conta, int MesIni, int MesFim, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Plano |
|
System.String |
Conta |
|
System.Int32 |
MesIni |
|
System.Int32 |
MesFim |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal CalculaSaldoAlternativo(int Ano, string Plano, ref string Conta, int MesIni, int MesFim, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda, string Tipo)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Plano |
|
System.String |
Conta |
|
System.Int32 |
MesIni |
|
System.Int32 |
MesFim |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
System.String |
Tipo |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal CalculaSaldoAlternativo(int Ano, string Plano, ref string Conta, int MesIni, int MesFim, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda, string Tipo, ref string TipoLancamento)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Plano |
|
System.String |
Conta |
|
System.Int32 |
MesIni |
|
System.Int32 |
MesFim |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
System.String |
Tipo |
|
System.String |
TipoLancamento |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal CalculaSaldoCCOrigem(int Ano, ref string Centro, ref string ContaOrigem, int MesIni, int MesFim, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Centro |
|
System.String |
ContaOrigem |
|
System.Int32 |
MesIni |
|
System.Int32 |
MesFim |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal CalculaSaldoCCOrigem(int Ano, ref string Centro, ref string ContaOrigem, int MesIni, int MesFim, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda, int TipoNatureza)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Centro |
|
System.String |
ContaOrigem |
|
System.Int32 |
MesIni |
|
System.Int32 |
MesFim |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
System.Int32 |
TipoNatureza |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal CalculaSaldoCCOrigem(int Ano, ref string Centro, ref string ContaOrigem, int MesIni, int MesFim, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda, int TipoNatureza, ref string TipoLancamento)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Centro |
|
System.String |
ContaOrigem |
|
System.Int32 |
MesIni |
|
System.Int32 |
MesFim |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
System.Int32 |
TipoNatureza |
|
System.String |
TipoLancamento |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal CalculaSaldoFOrigem(int Ano, ref string Funcao, ref string ContaOrigem, int MesIni, int MesFim, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Funcao |
|
System.String |
ContaOrigem |
|
System.Int32 |
MesIni |
|
System.Int32 |
MesFim |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal CalculaSaldoFOrigem(int Ano, ref string Funcao, ref string ContaOrigem, int MesIni, int MesFim, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda, int TipoNatureza)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Funcao |
|
System.String |
ContaOrigem |
|
System.Int32 |
MesIni |
|
System.Int32 |
MesFim |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
System.Int32 |
TipoNatureza |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal CalculaSaldoFOrigem(int Ano, ref string Funcao, ref string ContaOrigem, int MesIni, int MesFim, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda, int TipoNatureza, ref string TipoLancamento)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Funcao |
|
System.String |
ContaOrigem |
|
System.Int32 |
MesIni |
|
System.Int32 |
MesFim |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
System.Int32 |
TipoNatureza |
|
System.String |
TipoLancamento |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal CalculaSaldoItemTesouraria(int Ano, ref string ItemTesouraria, ref string Classificacao, int MesIni, int MesFim, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
ItemTesouraria |
|
System.String |
Classificacao |
|
System.Int32 |
MesIni |
|
System.Int32 |
MesFim |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal CalculaSaldoItemTesouraria(int Ano, ref string ItemTesouraria, ref string Classificacao, int MesIni, int MesFim, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda, int TipoNatureza)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
ItemTesouraria |
|
System.String |
Classificacao |
|
System.Int32 |
MesIni |
|
System.Int32 |
MesFim |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
System.Int32 |
TipoNatureza |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal CalculaSaldoItemTesouraria(int Ano, ref string ItemTesouraria, ref string Classificacao, int MesIni, int MesFim, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda, int TipoNatureza, ref string TipoLancamento)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
ItemTesouraria |
|
System.String |
Classificacao |
|
System.Int32 |
MesIni |
|
System.Int32 |
MesFim |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
System.Int32 |
TipoNatureza |
|
System.String |
TipoLancamento |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal CalculaSaldoWBS(int Ano, ref string Projecto, string ElementoPEP, int MesIni, int MesFim, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Projecto |
|
System.String |
ElementoPEP |
|
System.Int32 |
MesIni |
|
System.Int32 |
MesFim |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal CalculaSaldoWBS(int Ano, ref string Projecto, string ElementoPEP, int MesIni, int MesFim, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda, int TipoNatureza)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Projecto |
|
System.String |
ElementoPEP |
|
System.Int32 |
MesIni |
|
System.Int32 |
MesFim |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
System.Int32 |
TipoNatureza |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal CalculaSaldoWBS(int Ano, ref string Projecto, string ElementoPEP, int MesIni, int MesFim, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda, int TipoNatureza, ref string TipoLancamento)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Projecto |
|
System.String |
ElementoPEP |
|
System.Int32 |
MesIni |
|
System.Int32 |
MesFim |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
System.Int32 |
TipoNatureza |
|
System.String |
TipoLancamento |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal CalculaSaldoWBSOrigem(int Ano, string Projecto, string ElementoPEP, ref string ContaOrigem, int MesIni, int MesFim, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Projecto |
|
System.String |
ElementoPEP |
|
System.String |
ContaOrigem |
|
System.Int32 |
MesIni |
|
System.Int32 |
MesFim |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal CalculaSaldoWBSOrigem(int Ano, string Projecto, string ElementoPEP, ref string ContaOrigem, int MesIni, int MesFim, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda, int TipoNatureza)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Projecto |
|
System.String |
ElementoPEP |
|
System.String |
ContaOrigem |
|
System.Int32 |
MesIni |
|
System.Int32 |
MesFim |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
System.Int32 |
TipoNatureza |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal CalculaSaldoWBSOrigem(int Ano, string Projecto, string ElementoPEP, ref string ContaOrigem, int MesIni, int MesFim, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda, int TipoNatureza, ref string TipoLancamento)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Projecto |
|
System.String |
ElementoPEP |
|
System.String |
ContaOrigem |
|
System.Int32 |
MesIni |
|
System.Int32 |
MesFim |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
System.Int32 |
TipoNatureza |
|
System.String |
TipoLancamento |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal CFix(int Ano, string Conta, int MesInicial, int MesFinal, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Conta |
|
System.Int32 |
MesInicial |
|
System.Int32 |
MesFinal |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal CFix(int Ano, string Conta, int MesInicial, int MesFinal, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda, ref string TipoLancamento)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Conta |
|
System.Int32 |
MesInicial |
|
System.Int32 |
MesFinal |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
System.String |
TipoLancamento |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal CustosFixos(int Ano, string Conta, int MI, int MF, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda)
Parameters
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal CustosFixos(int Ano, string Conta, int MI, int MF, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda, ref string TipoLancamento)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Conta |
|
System.Int32 |
MI |
|
System.Int32 |
MF |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
System.String |
TipoLancamento |
|
Returns
Type |
Description |
System.Decimal |
|
Devolve a expressão de uma nota de um Anexo às Demonstrações Financeiras
Declaration
string DaExpressaoAnexoDF(int intExercicio, string strAnexo, string strNota, int lngLinha = 0, int lngColuna = 0)
Parameters
Type |
Name |
Description |
System.Int32 |
intExercicio |
|
System.String |
strAnexo |
|
System.String |
strNota |
|
System.Int32 |
lngLinha |
|
System.Int32 |
lngColuna |
|
Returns
Type |
Description |
System.String |
|
Declaration
dynamic DaValorCampo(string Tipo, string Codigo, int Ano, string Projecto, string Atributo)
Parameters
Type |
Name |
Description |
System.String |
Tipo |
|
System.String |
Codigo |
|
System.Int32 |
Ano |
|
System.String |
Projecto |
|
System.String |
Atributo |
|
Returns
Type |
Description |
System.Object |
|
Declaration
decimal DaValorRubrica(int Ano, string Rubrica, int MesInicial, int MesFinal, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda, string TipoLancamento = "", float Factor = 1F, int Flag = 1, int Arredondamento = 2)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Rubrica |
|
System.Int32 |
MesInicial |
|
System.Int32 |
MesFinal |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
System.String |
TipoLancamento |
|
System.Single |
Factor |
|
System.Int32 |
Flag |
|
System.Int32 |
Arredondamento |
|
Returns
Type |
Description |
System.Decimal |
|
Função que devolve a descrição de um Grupo Hierárquico.
Declaration
string DescGrupo(int Ano, string Grupo, string Tipo)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
Identificador do Ano.
|
System.String |
Grupo |
Identificador do Grupo.
|
System.String |
Tipo |
Identificador do Tipo. "C" -> Centro; "F" -> Função
|
Returns
Type |
Description |
System.String |
|
Função que devolve a descrição de um Centro de Custo.
Declaration
string DescricaoCentroCusto(int Ano, string Centro)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
Identificador do Ano.
|
System.String |
Centro |
Identificador do Centro de Custo.
|
Returns
Type |
Description |
System.String |
|
Função que devolve a descrição atribuída a uma Conta
Declaration
string DescricaoConta(int Ano, string Conta)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
Identificador do Ano.
|
System.String |
Conta |
Identificador da conta.
|
Returns
Type |
Description |
System.String |
|
Função que devolve a descrição de um orçamento.
Declaration
string DescricaoOrcamento(string Orcamento)
Parameters
Type |
Name |
Description |
System.String |
Orcamento |
Identificador do orçamento.
|
Returns
Type |
Description |
System.String |
|
Declaration
decimal Desvio(int Ano, CblBEFormula.ENUMTipoPlano TipoPlano, ref string Conta, int MI, int MF, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda)
Parameters
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal Desvio(int Ano, CblBEFormula.ENUMTipoPlano TipoPlano, ref string Conta, int MI, int MF, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda, ref string TipoLancamento)
Parameters
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal DesvioContaOrcamento(int Ano, string Conta, int MesInicial, int MesFinal, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Conta |
|
System.Int32 |
MesInicial |
|
System.Int32 |
MesFinal |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal DesvioContaOrcamento(int Ano, string Conta, int MesInicial, int MesFinal, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda, ref string TipoLancamento)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Conta |
|
System.Int32 |
MesInicial |
|
System.Int32 |
MesFinal |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
System.String |
TipoLancamento |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
string Informacao(string Campo, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda)
Parameters
Returns
Type |
Description |
System.String |
|
Função que define a Instância Variável
Declaration
void InstanciaVariavel(string Nome, dynamic Valor)
Parameters
Type |
Name |
Description |
System.String |
Nome |
Identificador da Instância.
|
System.Object |
Valor |
Valor.
|
Declaration
dynamic Interpretador(int Ano, string Formula, ref CblBEFormula.TipoCelula Tipo, float Factor, int Flag, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda, int Arredondamento)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Formula |
|
CblBE100.CblBEFormula.TipoCelula |
Tipo |
|
System.Single |
Factor |
|
System.Int32 |
Flag |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
System.Int32 |
Arredondamento |
|
Returns
Type |
Description |
System.Object |
|
Declaration
dynamic Interpretador(int Ano, string Formula, ref int Tipo, float Factor, int Flag, int ValorNaMoeda, int Arredondamento)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Formula |
|
System.Int32 |
Tipo |
|
System.Single |
Factor |
|
System.Int32 |
Flag |
|
System.Int32 |
ValorNaMoeda |
|
System.Int32 |
Arredondamento |
|
Returns
Type |
Description |
System.Object |
|
Devolve a soma dos movimentos a crédito da conta, para uma determinada moeda. Se a conta indicada for uma conta de movimento então devolve os movimentos a crédito da conta. Se a conta não for de movimento, vai procurar as subcontas de movimento e devolve os valores dos movimentos a crédito
Declaration
double MOMovimCR(string Moeda, int Ano, string Conta, int MesInicial, int MesFinal)
Parameters
Type |
Name |
Description |
System.String |
Moeda |
Moeda que se pretende que os valores sejam devolvidos.
|
System.Int32 |
Ano |
Ano dos movimentos.
|
System.String |
Conta |
Identificador da conta.
|
System.Int32 |
MesInicial |
Mes inicial.
|
System.Int32 |
MesFinal |
Mes inicial.
|
Returns
Type |
Description |
System.Double |
|
Devolve a soma dos movimentos a crédito da conta, para uma determinada moeda. Se a conta indicada for uma conta de movimento então devolve os movimentos a crédito da conta. Se a conta não for de movimento, vai procurar as subcontas de movimento e devolve os valores dos movimentos a crédito
Declaration
double MOMovimCR(string Moeda, int Ano, string Conta, int MesInicial, int MesFinal, ref string TipoLancamento)
Parameters
Type |
Name |
Description |
System.String |
Moeda |
Moeda que se pretende que os valores sejam devolvidos.
|
System.Int32 |
Ano |
Ano dos movimentos.
|
System.String |
Conta |
Identificador da conta.
|
System.Int32 |
MesInicial |
Mes inicial.
|
System.Int32 |
MesFinal |
Mes inicial.
|
System.String |
TipoLancamento |
(Opcional) Identificador do tipo de lançamento.
|
Returns
Type |
Description |
System.Double |
|
Devolve a soma dos movimentos a débito da conta, para uma moeda. Se a conta indicada for uma conta de movimento então devolve os movimentos a débito da conta. Se a conta não for de movimento, vai procurar as subcontas de movimento e devolve os valores dos movimentos a débito
Declaration
double MOMovimDB(string Moeda, int Ano, string Conta, int MesInicial, int MesFinal)
Parameters
Type |
Name |
Description |
System.String |
Moeda |
Moeda que se pretende que os valores sejam devolvidos.
|
System.Int32 |
Ano |
Ano dos movimentos.
|
System.String |
Conta |
Identificador da conta.
|
System.Int32 |
MesInicial |
Mes inicial.
|
System.Int32 |
MesFinal |
Mes inicial.
|
Returns
Type |
Description |
System.Double |
|
Devolve a soma dos movimentos a débito da conta, para uma moeda. Se a conta indicada for uma conta de movimento então devolve os movimentos a débito da conta. Se a conta não for de movimento, vai procurar as subcontas de movimento e devolve os valores dos movimentos a débito
Declaration
double MOMovimDB(string Moeda, int Ano, string Conta, int MesInicial, int MesFinal, ref string TipoLancamento)
Parameters
Type |
Name |
Description |
System.String |
Moeda |
Moeda que se pretende que os valores sejam devolvidos.
|
System.Int32 |
Ano |
Ano dos movimentos.
|
System.String |
Conta |
Identificador da conta.
|
System.Int32 |
MesInicial |
Mes inicial.
|
System.Int32 |
MesFinal |
Mes inicial.
|
System.String |
TipoLancamento |
(Opcional) Identificador do tipo de lançamento.
|
Returns
Type |
Description |
System.Double |
|
Devolve o saldo da conta durante um período de tempo, para uma determinada moeda. Esse saldo é constituído pelos movimentos a débito subtraídos dos movimentos a crédito
Declaration
double MOSaldo(string Moeda, int Ano, string Conta, int MesInicial, int MesFinal)
Parameters
Type |
Name |
Description |
System.String |
Moeda |
Moeda que se pretende que os valores sejam devolvidos.
|
System.Int32 |
Ano |
Ano dos movimentos.
|
System.String |
Conta |
Identificador da conta.
|
System.Int32 |
MesInicial |
Mes inicial.
|
System.Int32 |
MesFinal |
Mes inicial.
|
Returns
Type |
Description |
System.Double |
|
Devolve o saldo da conta durante um período de tempo, para uma determinada moeda. Esse saldo é constituído pelos movimentos a débito subtraídos dos movimentos a crédito
Declaration
double MOSaldo(string Moeda, int Ano, string Conta, int MesInicial, int MesFinal, ref string TipoLancamento)
Parameters
Type |
Name |
Description |
System.String |
Moeda |
Moeda que se pretende que os valores sejam devolvidos.
|
System.Int32 |
Ano |
Ano dos movimentos.
|
System.String |
Conta |
Identificador da conta.
|
System.Int32 |
MesInicial |
Mes inicial.
|
System.Int32 |
MesFinal |
Mes inicial.
|
System.String |
TipoLancamento |
(Opcional) Identificador do tipo de lançamento.
|
Returns
Type |
Description |
System.Double |
|
Devolve o saldo a crédito de uma conta para o período especificado, para uma determinada moeda
Declaration
double MOSaldoCr(string Moeda, int Ano, string Conta, int MesInicial, int MesFinal)
Parameters
Type |
Name |
Description |
System.String |
Moeda |
Moeda que se pretende que os valores sejam devolvidos.
|
System.Int32 |
Ano |
Ano dos movimentos.
|
System.String |
Conta |
Identificador da conta.
|
System.Int32 |
MesInicial |
Mes inicial.
|
System.Int32 |
MesFinal |
Mes inicial.
|
Returns
Type |
Description |
System.Double |
|
Devolve o saldo a crédito de uma conta para o período especificado, para uma determinada moeda
Declaration
double MOSaldoCr(string Moeda, int Ano, string Conta, int MesInicial, int MesFinal, ref string TipoLancamento)
Parameters
Type |
Name |
Description |
System.String |
Moeda |
Moeda que se pretende que os valores sejam devolvidos.
|
System.Int32 |
Ano |
Ano dos movimentos.
|
System.String |
Conta |
Identificador da conta.
|
System.Int32 |
MesInicial |
Mes inicial.
|
System.Int32 |
MesFinal |
Mes inicial.
|
System.String |
TipoLancamento |
(Opcional) Identificador do tipo de lançamento.
|
Returns
Type |
Description |
System.Double |
|
Devolve o saldo a débito de uma conta para o período especificado, para uma determinada Moeda
Declaration
double MOSaldoDb(string Moeda, int Ano, string Conta, int MesInicial, int MesFinal)
Parameters
Type |
Name |
Description |
System.String |
Moeda |
Moeda que se pretende que os valores sejam devolvidos.
|
System.Int32 |
Ano |
Ano dos movimentos.
|
System.String |
Conta |
Identificador da conta.
|
System.Int32 |
MesInicial |
Mes inicial.
|
System.Int32 |
MesFinal |
Mes inicial.
|
Returns
Type |
Description |
System.Double |
|
Devolve o saldo a débito de uma conta para o período especificado, para uma determinada Moeda
Declaration
double MOSaldoDb(string Moeda, int Ano, string Conta, int MesInicial, int MesFinal, ref string TipoLancamento)
Parameters
Type |
Name |
Description |
System.String |
Moeda |
Moeda que se pretende que os valores sejam devolvidos.
|
System.Int32 |
Ano |
Ano dos movimentos.
|
System.String |
Conta |
Identificador da conta.
|
System.Int32 |
MesInicial |
Mes inicial.
|
System.Int32 |
MesFinal |
Mes inicial.
|
System.String |
TipoLancamento |
(Opcional) Identificador do tipo de lançamento.
|
Returns
Type |
Description |
System.Double |
|
Declaration
decimal MovimAlteracaoPatrimonialCR(int Ano, string Conta, string TipoAdicao, int MesInicial, int MesFinal, CblBEFormula.ENUMValorNaMoeda valorNaMoeda, string TipoLancamento = "")
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Conta |
|
System.String |
TipoAdicao |
|
System.Int32 |
MesInicial |
|
System.Int32 |
MesFinal |
|
CblBEFormula.ENUMValorNaMoeda |
valorNaMoeda |
|
System.String |
TipoLancamento |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal MovimAlteracaoPatrimonialDB(int Ano, string Conta, string TipoAdicao, int MesInicial, int MesFinal, CblBEFormula.ENUMValorNaMoeda valorNaMoeda, string TipoLancamento = "")
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Conta |
|
System.String |
TipoAdicao |
|
System.Int32 |
MesInicial |
|
System.Int32 |
MesFinal |
|
CblBEFormula.ENUMValorNaMoeda |
valorNaMoeda |
|
System.String |
TipoLancamento |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal MovimANOrigemCR(int Ano, ref string Analitica, ref string ContaOrigem, int MesInicial, int MesFinal, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Analitica |
|
System.String |
ContaOrigem |
|
System.Int32 |
MesInicial |
|
System.Int32 |
MesFinal |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal MovimANOrigemCR(int Ano, ref string Analitica, ref string ContaOrigem, int MesInicial, int MesFinal, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda, ref string TipoLancamento)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Analitica |
|
System.String |
ContaOrigem |
|
System.Int32 |
MesInicial |
|
System.Int32 |
MesFinal |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
System.String |
TipoLancamento |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal MovimANOrigemDB(int Ano, ref string Analitica, ref string ContaOrigem, int MesInicial, int MesFinal, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Analitica |
|
System.String |
ContaOrigem |
|
System.Int32 |
MesInicial |
|
System.Int32 |
MesFinal |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal MovimANOrigemDB(int Ano, ref string Analitica, ref string ContaOrigem, int MesInicial, int MesFinal, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda, ref string TipoLancamento)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Analitica |
|
System.String |
ContaOrigem |
|
System.Int32 |
MesInicial |
|
System.Int32 |
MesFinal |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
System.String |
TipoLancamento |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal MovimCCOrigemCR(int Ano, ref string Centro, ref string ContaOrigem, int MesInicial, int MesFinal, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Centro |
|
System.String |
ContaOrigem |
|
System.Int32 |
MesInicial |
|
System.Int32 |
MesFinal |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal MovimCCOrigemCR(int Ano, ref string Centro, ref string ContaOrigem, int MesInicial, int MesFinal, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda, ref string TipoLancamento)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Centro |
|
System.String |
ContaOrigem |
|
System.Int32 |
MesInicial |
|
System.Int32 |
MesFinal |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
System.String |
TipoLancamento |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal MovimCCOrigemDB(int Ano, ref string Centro, ref string ContaOrigem, int MesInicial, int MesFinal, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Centro |
|
System.String |
ContaOrigem |
|
System.Int32 |
MesInicial |
|
System.Int32 |
MesFinal |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal MovimCCOrigemDB(int Ano, ref string Centro, ref string ContaOrigem, int MesInicial, int MesFinal, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda, ref string TipoLancamento)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Centro |
|
System.String |
ContaOrigem |
|
System.Int32 |
MesInicial |
|
System.Int32 |
MesFinal |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
System.String |
TipoLancamento |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal MovimCentroCustoCR(int Ano, string Centro, int MesInicial, int MesFinal, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Centro |
|
System.Int32 |
MesInicial |
|
System.Int32 |
MesFinal |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal MovimCentroCustoCR(int Ano, string Centro, int MesInicial, int MesFinal, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda, ref string TipoLancamento)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Centro |
|
System.Int32 |
MesInicial |
|
System.Int32 |
MesFinal |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
System.String |
TipoLancamento |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal MovimCentroCustoDB(int Ano, string Centro, int MesInicial, int MesFinal, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Centro |
|
System.Int32 |
MesInicial |
|
System.Int32 |
MesFinal |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal MovimCentroCustoDB(int Ano, string Centro, int MesInicial, int MesFinal, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda, ref string TipoLancamento)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Centro |
|
System.Int32 |
MesInicial |
|
System.Int32 |
MesFinal |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
System.String |
TipoLancamento |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal MovimCR(int Ano, string Conta, int MesInicial, int MesFinal, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Conta |
|
System.Int32 |
MesInicial |
|
System.Int32 |
MesFinal |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal MovimCR(int Ano, string Conta, int MesInicial, int MesFinal, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda, ref string TipoLancamento)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Conta |
|
System.Int32 |
MesInicial |
|
System.Int32 |
MesFinal |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
System.String |
TipoLancamento |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal MovimCRItemTes(int Ano, string ItemTesouraria, string Classificacao, int MesInicial, int MesFinal, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
ItemTesouraria |
|
System.String |
Classificacao |
|
System.Int32 |
MesInicial |
|
System.Int32 |
MesFinal |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal MovimCRItemTes(int Ano, string ItemTesouraria, string Classificacao, int MesInicial, int MesFinal, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda, ref string TipoLancamento)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
ItemTesouraria |
|
System.String |
Classificacao |
|
System.Int32 |
MesInicial |
|
System.Int32 |
MesFinal |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
System.String |
TipoLancamento |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal MovimDB(int Ano, string Conta, int MesInicial, int MesFinal, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Conta |
|
System.Int32 |
MesInicial |
|
System.Int32 |
MesFinal |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal MovimDB(int Ano, string Conta, int MesInicial, int MesFinal, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda, ref string TipoLancamento)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Conta |
|
System.Int32 |
MesInicial |
|
System.Int32 |
MesFinal |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
System.String |
TipoLancamento |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal MovimDBItemTes(int Ano, string ItemTesouraria, string Classificacao, int MesInicial, int MesFinal, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
ItemTesouraria |
|
System.String |
Classificacao |
|
System.Int32 |
MesInicial |
|
System.Int32 |
MesFinal |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal MovimDBItemTes(int Ano, string ItemTesouraria, string Classificacao, int MesInicial, int MesFinal, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda, ref string TipoLancamento)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
ItemTesouraria |
|
System.String |
Classificacao |
|
System.Int32 |
MesInicial |
|
System.Int32 |
MesFinal |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
System.String |
TipoLancamento |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal MovimFNOrigemCR(int Ano, ref string Funcao, ref string ContaOrigem, int MesInicial, int MesFinal, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Funcao |
|
System.String |
ContaOrigem |
|
System.Int32 |
MesInicial |
|
System.Int32 |
MesFinal |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal MovimFNOrigemCR(int Ano, ref string Funcao, ref string ContaOrigem, int MesInicial, int MesFinal, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda, ref string TipoLancamento)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Funcao |
|
System.String |
ContaOrigem |
|
System.Int32 |
MesInicial |
|
System.Int32 |
MesFinal |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
System.String |
TipoLancamento |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal MovimFNOrigemDB(int Ano, ref string Funcao, ref string ContaOrigem, int MesInicial, int MesFinal, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Funcao |
|
System.String |
ContaOrigem |
|
System.Int32 |
MesInicial |
|
System.Int32 |
MesFinal |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal MovimFNOrigemDB(int Ano, ref string Funcao, ref string ContaOrigem, int MesInicial, int MesFinal, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda, ref string TipoLancamento)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Funcao |
|
System.String |
ContaOrigem |
|
System.Int32 |
MesInicial |
|
System.Int32 |
MesFinal |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
System.String |
TipoLancamento |
|
Returns
Type |
Description |
System.Decimal |
|
Informação sobre o licenciamento da aplicação.
Declaration
Returns
Type |
Description |
System.String |
|
Devolve o número de documentos.
Declaration
int NumeroDocumentos(int Ano, int MesInicial, int MesFinal)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
Ano dos movimentos.
|
System.Int32 |
MesInicial |
Mes inicial.
|
System.Int32 |
MesFinal |
Mes inicial.
|
Returns
Type |
Description |
System.Int32 |
|
Devolve o número de documentos.
Declaration
int NumeroDocumentos(int Ano, int MesInicial, int MesFinal, string Diario)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
Ano dos movimentos.
|
System.Int32 |
MesInicial |
Mes inicial.
|
System.Int32 |
MesFinal |
Mes inicial.
|
System.String |
Diario |
(Opcional) Identificador do diário.
|
Returns
Type |
Description |
System.Int32 |
|
Devolve o número de documentos.
Declaration
int NumeroDocumentos(int Ano, int MesInicial, int MesFinal, string Diario, string Documento)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
Ano dos movimentos.
|
System.Int32 |
MesInicial |
Mes inicial.
|
System.Int32 |
MesFinal |
Mes inicial.
|
System.String |
Diario |
(Opcional) Identificador do diário.
|
System.String |
Documento |
(Opcional) Identificador do documento.
|
Returns
Type |
Description |
System.Int32 |
|
Devolve o número de documentos.
Declaration
int NumeroDocumentos(int Ano, int MesInicial, int MesFinal, string Diario, string Documento, string Conta)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
Ano dos movimentos.
|
System.Int32 |
MesInicial |
Mes inicial.
|
System.Int32 |
MesFinal |
Mes inicial.
|
System.String |
Diario |
(Opcional) Identificador do diário.
|
System.String |
Documento |
(Opcional) Identificador do documento.
|
System.String |
Conta |
(Opcional) Identificador da conta.
|
Returns
Type |
Description |
System.Int32 |
|
Devolve o número de documentos.
Declaration
int NumeroDocumentos(int Ano, int MesInicial, int MesFinal, string Diario, string Documento, string Conta, ref string TipoLancamento)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
Ano dos movimentos.
|
System.Int32 |
MesInicial |
Mes inicial.
|
System.Int32 |
MesFinal |
Mes inicial.
|
System.String |
Diario |
(Opcional) Identificador do diário.
|
System.String |
Documento |
(Opcional) Identificador do documento.
|
System.String |
Conta |
(Opcional) Identificador da conta.
|
System.String |
TipoLancamento |
(Opcional) Identificador do tipo de lançamento.
|
Returns
Type |
Description |
System.Int32 |
|
Devolve o número de movimentos.
Declaration
int NumeroMovimentos(int Ano, int MesInicial, int MesFinal)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
Ano dos movimentos.
|
System.Int32 |
MesInicial |
Mes inicial.
|
System.Int32 |
MesFinal |
Mes inicial.
|
Returns
Type |
Description |
System.Int32 |
|
Devolve o número de movimentos.
Declaration
int NumeroMovimentos(int Ano, int MesInicial, int MesFinal, string Diario)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
Ano dos movimentos.
|
System.Int32 |
MesInicial |
Mes inicial.
|
System.Int32 |
MesFinal |
Mes inicial.
|
System.String |
Diario |
(Opcional) Identificador do diário.
|
Returns
Type |
Description |
System.Int32 |
|
Devolve o número de movimentos.
Declaration
int NumeroMovimentos(int Ano, int MesInicial, int MesFinal, string Diario, string Documento)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
Ano dos movimentos.
|
System.Int32 |
MesInicial |
Mes inicial.
|
System.Int32 |
MesFinal |
Mes inicial.
|
System.String |
Diario |
(Opcional) Identificador do diário.
|
System.String |
Documento |
(Opcional) Identificador do documento.
|
Returns
Type |
Description |
System.Int32 |
|
Devolve o número de movimentos.
Declaration
int NumeroMovimentos(int Ano, int MesInicial, int MesFinal, string Diario, string Documento, string Conta)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
Ano dos movimentos.
|
System.Int32 |
MesInicial |
Mes inicial.
|
System.Int32 |
MesFinal |
Mes inicial.
|
System.String |
Diario |
(Opcional) Identificador do diário.
|
System.String |
Documento |
(Opcional) Identificador do documento.
|
System.String |
Conta |
(Opcional) Identificador da conta.
|
Returns
Type |
Description |
System.Int32 |
|
Devolve o número de movimentos.
Declaration
int NumeroMovimentos(int Ano, int MesInicial, int MesFinal, string Diario, string Documento, string Conta, ref string TipoLancamento)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
Ano dos movimentos.
|
System.Int32 |
MesInicial |
Mes inicial.
|
System.Int32 |
MesFinal |
Mes inicial.
|
System.String |
Diario |
(Opcional) Identificador do diário.
|
System.String |
Documento |
(Opcional) Identificador do documento.
|
System.String |
Conta |
(Opcional) Identificador da conta.
|
System.String |
TipoLancamento |
(Opcional) Identificador do tipo de lançamento.
|
Returns
Type |
Description |
System.Int32 |
|
Declaration
decimal Orcam(int Ano, string Centro, int MesInicial, int MesFinal, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Centro |
|
System.Int32 |
MesInicial |
|
System.Int32 |
MesFinal |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal Orcam(int Ano, string Centro, int MesInicial, int MesFinal, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda, ref string TipoLancamento)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Centro |
|
System.Int32 |
MesInicial |
|
System.Int32 |
MesFinal |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
System.String |
TipoLancamento |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal OrcamCC(int Ano, ref string Orcamento, string Conta, int MesInicial, int MesFinal, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Orcamento |
|
System.String |
Conta |
|
System.Int32 |
MesInicial |
|
System.Int32 |
MesFinal |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal OrcamCC(int Ano, ref string Orcamento, string Conta, int MesInicial, int MesFinal, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda, ref string TipoLancamento)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Orcamento |
|
System.String |
Conta |
|
System.Int32 |
MesInicial |
|
System.Int32 |
MesFinal |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
System.String |
TipoLancamento |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal OrcamentoCCOrigem(int Ano, ref string Orcamento, ref string Centro, ref string ContaOrigem, int Pi, int Pf, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Orcamento |
|
System.String |
Centro |
|
System.String |
ContaOrigem |
|
System.Int32 |
Pi |
|
System.Int32 |
Pf |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal OrcamentoCCOrigem(int Ano, ref string Orcamento, ref string Centro, ref string ContaOrigem, int Pi, int Pf, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda, ref string TipoLancamento)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Orcamento |
|
System.String |
Centro |
|
System.String |
ContaOrigem |
|
System.Int32 |
Pi |
|
System.Int32 |
Pf |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
System.String |
TipoLancamento |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal OrcamentoCentroContaOrigem(int Ano, string Orcamento, string Centro, string Conta, int MesInicial, int MesFinal, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Orcamento |
|
System.String |
Centro |
|
System.String |
Conta |
|
System.Int32 |
MesInicial |
|
System.Int32 |
MesFinal |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal OrcamentoCentroContaOrigem(int Ano, string Orcamento, string Centro, string Conta, int MesInicial, int MesFinal, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda, ref string TipoLancamento)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Orcamento |
|
System.String |
Centro |
|
System.String |
Conta |
|
System.Int32 |
MesInicial |
|
System.Int32 |
MesFinal |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
System.String |
TipoLancamento |
|
Returns
Type |
Description |
System.Decimal |
|
Devolve a soma dos valores orçamentados para um determinado Item de Tesouraria durante um certo período
Declaration
decimal OrcamItemTes(int Ano, string ItemTesouraria, int MesInicial, int MesFinal)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
Ano do exercício.
|
System.String |
ItemTesouraria |
Identificador do Item de Tesouraria.
|
System.Int32 |
MesInicial |
Mes inicial.
|
System.Int32 |
MesFinal |
Mes inicial.
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal OrcamProjWBS(int Ano, string Orcamento, string Projecto, string ElementoPEP, int MesInicial, int MesFinal, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Orcamento |
|
System.String |
Projecto |
|
System.String |
ElementoPEP |
|
System.Int32 |
MesInicial |
|
System.Int32 |
MesFinal |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal OrcamProjWBS(int Ano, string Orcamento, string Projecto, string ElementoPEP, int MesInicial, int MesFinal, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda, ref string TipoLancamento)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Orcamento |
|
System.String |
Projecto |
|
System.String |
ElementoPEP |
|
System.Int32 |
MesInicial |
|
System.Int32 |
MesFinal |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
System.String |
TipoLancamento |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal OrcamProjWBSOrigem(int Ano, string Orcamento, string Projecto, string ElementoPEP, string Conta, int MesInicial, int MesFinal, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Orcamento |
|
System.String |
Projecto |
|
System.String |
ElementoPEP |
|
System.String |
Conta |
|
System.Int32 |
MesInicial |
|
System.Int32 |
MesFinal |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal OrcamProjWBSOrigem(int Ano, string Orcamento, string Projecto, string ElementoPEP, string Conta, int MesInicial, int MesFinal, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda, ref string TipoLancamento)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Orcamento |
|
System.String |
Projecto |
|
System.String |
ElementoPEP |
|
System.String |
Conta |
|
System.Int32 |
MesInicial |
|
System.Int32 |
MesFinal |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
System.String |
TipoLancamento |
|
Returns
Type |
Description |
System.Decimal |
|
Devolve a descrição atribuída a uma conta de um plano alternativo.
Declaration
string PADescricaoConta(string Plano, int Ano, string Conta)
Parameters
Type |
Name |
Description |
System.String |
Plano |
Identificador do plano.
|
System.Int32 |
Ano |
Identificador do Ano.
|
System.String |
Conta |
Identicador da conta.
|
Returns
Type |
Description |
System.String |
|
Devolve a soma dos movimentos a crédito de uma conta de um plano alternativo. Se a conta indicada for uma conta de movimento então devolve os movimentos a crédito da conta. Se a conta não for de movimento, devolve a soma dos valores dos movimentos a crédito das respectivas sub contas.
Declaration
decimal PAMovimCR(int Ano, string Plano, string Conta, int MesInicial, int MesFinal)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
Ano do exercício.
|
System.String |
Plano |
Identificador da plano alternativo.
|
System.String |
Conta |
Identificador da Conta.
|
System.Int32 |
MesInicial |
Mes inicial.
|
System.Int32 |
MesFinal |
Mes inicial.
|
Returns
Type |
Description |
System.Decimal |
|
Devolve a soma dos movimentos a crédito de uma conta de um plano alternativo. Se a conta indicada for uma conta de movimento então devolve os movimentos a crédito da conta. Se a conta não for de movimento, devolve a soma dos valores dos movimentos a crédito das respectivas sub contas.
Declaration
decimal PAMovimCR(int Ano, string Plano, string Conta, int MesInicial, int MesFinal, ref string TipoLancamento)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
Ano do exercício.
|
System.String |
Plano |
Identificador da plano alternativo.
|
System.String |
Conta |
Identificador da Conta.
|
System.Int32 |
MesInicial |
Mes inicial.
|
System.Int32 |
MesFinal |
Mes inicial.
|
System.String |
TipoLancamento |
(Opcional) Identificador do tipo de lançamento.
|
Returns
Type |
Description |
System.Decimal |
|
Devolve a soma dos movimentos a débito de uma conta de um plano alternativo. Se a conta indicada for uma conta de movimento então devolve os movimentos a débito da conta. Se a conta não for de movimento, devolve a soma dos valores dos movimentos a débito das respectivas sub contas.
Declaration
decimal PAMovimDB(int Ano, string Plano, string Conta, int MesInicial, int MesFinal)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
Ano do exercício.
|
System.String |
Plano |
Identificador da plano alternativo.
|
System.String |
Conta |
Identificador da Conta.
|
System.Int32 |
MesInicial |
Mes inicial.
|
System.Int32 |
MesFinal |
Mes inicial.
|
Returns
Type |
Description |
System.Decimal |
|
Devolve a soma dos movimentos a débito de uma conta de um plano alternativo. Se a conta indicada for uma conta de movimento então devolve os movimentos a débito da conta. Se a conta não for de movimento, devolve a soma dos valores dos movimentos a débito das respectivas sub contas.
Declaration
decimal PAMovimDB(int Ano, string Plano, string Conta, int MesInicial, int MesFinal, ref string TipoLancamento)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
Ano do exercício.
|
System.String |
Plano |
Identificador da plano alternativo.
|
System.String |
Conta |
Identificador da Conta.
|
System.Int32 |
MesInicial |
Mes inicial.
|
System.Int32 |
MesFinal |
Mes inicial.
|
System.String |
TipoLancamento |
(Opcional) Identificador do tipo de lançamento.
|
Returns
Type |
Description |
System.Decimal |
|
Devolve o saldo de uma conta de um plano alternativo para o período especificado.
Declaration
decimal PASaldo(int Ano, string Plano, string Conta, int MesInicial, int MesFinal)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
Ano do exercício.
|
System.String |
Plano |
Identificador da plano alternativo.
|
System.String |
Conta |
Identificador da Conta.
|
System.Int32 |
MesInicial |
Mes inicial.
|
System.Int32 |
MesFinal |
Mes inicial.
|
Returns
Type |
Description |
System.Decimal |
|
Devolve o saldo de uma conta de um plano alternativo para o período especificado.
Declaration
decimal PASaldo(int Ano, string Plano, string Conta, int MesInicial, int MesFinal, ref string TipoLancamento)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
Ano do exercício.
|
System.String |
Plano |
Identificador da plano alternativo.
|
System.String |
Conta |
Identificador da Conta.
|
System.Int32 |
MesInicial |
Mes inicial.
|
System.Int32 |
MesFinal |
Mes inicial.
|
System.String |
TipoLancamento |
(Opcional) Identificador do tipo de lançamento.
|
Returns
Type |
Description |
System.Decimal |
|
Devolve o saldo a crédito de uma conta de um plano alternativo para o período especificado.
Declaration
decimal PASaldoCR(int Ano, string Plano, string Conta, int MesInicial, int MesFinal)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
Ano do exercício.
|
System.String |
Plano |
Identificador da plano alternativo.
|
System.String |
Conta |
Identificador da Conta.
|
System.Int32 |
MesInicial |
Mes inicial.
|
System.Int32 |
MesFinal |
Mes inicial.
|
Returns
Type |
Description |
System.Decimal |
|
Devolve o saldo a crédito de uma conta de um plano alternativo para o período especificado.
Declaration
decimal PASaldoCR(int Ano, string Plano, string Conta, int MesInicial, int MesFinal, ref string TipoLancamento)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
Ano do exercício.
|
System.String |
Plano |
Identificador da plano alternativo.
|
System.String |
Conta |
Identificador da Conta.
|
System.Int32 |
MesInicial |
Mes inicial.
|
System.Int32 |
MesFinal |
Mes inicial.
|
System.String |
TipoLancamento |
(Opcional) Identificador do tipo de lançamento.
|
Returns
Type |
Description |
System.Decimal |
|
Devolve o saldo a débito de uma conta de um plano alternativo para o período especificado.
Declaration
decimal PASaldoDB(int Ano, string Plano, string Conta, int MesInicial, int MesFinal)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
Ano do exercício.
|
System.String |
Plano |
Identificador da plano alternativo.
|
System.String |
Conta |
Identificador da Conta.
|
System.Int32 |
MesInicial |
Mes inicial.
|
System.Int32 |
MesFinal |
Mes inicial.
|
Returns
Type |
Description |
System.Decimal |
|
Devolve o saldo a débito de uma conta de um plano alternativo para o período especificado.
Declaration
decimal PASaldoDB(int Ano, string Plano, string Conta, int MesInicial, int MesFinal, ref string TipoLancamento)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
Ano do exercício.
|
System.String |
Plano |
Identificador da plano alternativo.
|
System.String |
Conta |
Identificador da Conta.
|
System.Int32 |
MesInicial |
Mes inicial.
|
System.Int32 |
MesFinal |
Mes inicial.
|
System.String |
TipoLancamento |
(Opcional) Identificador do tipo de lançamento.
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal Saldo(int Ano, string Conta, int MesInicial, int MesFinal, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Conta |
|
System.Int32 |
MesInicial |
|
System.Int32 |
MesFinal |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal Saldo(int Ano, string Conta, int MesInicial, int MesFinal, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda, ref string TipoLancamento)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Conta |
|
System.Int32 |
MesInicial |
|
System.Int32 |
MesFinal |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
System.String |
TipoLancamento |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal SaldoANOrigem(int Ano, string Analitica, string Conta, int MesInicial, int MesFinal, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Analitica |
|
System.String |
Conta |
|
System.Int32 |
MesInicial |
|
System.Int32 |
MesFinal |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal SaldoANOrigem(int Ano, string Analitica, string Conta, int MesInicial, int MesFinal, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda, ref string TipoLancamento)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Analitica |
|
System.String |
Conta |
|
System.Int32 |
MesInicial |
|
System.Int32 |
MesFinal |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
System.String |
TipoLancamento |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal SaldoCCOrigem(int Ano, string Centro, string Conta, int MesInicial, int MesFinal, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Centro |
|
System.String |
Conta |
|
System.Int32 |
MesInicial |
|
System.Int32 |
MesFinal |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal SaldoCCOrigem(int Ano, string Centro, string Conta, int MesInicial, int MesFinal, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda, ref string TipoLancamento)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Centro |
|
System.String |
Conta |
|
System.Int32 |
MesInicial |
|
System.Int32 |
MesFinal |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
System.String |
TipoLancamento |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal SaldoCCOrigemCR(int Ano, string Centro, string Conta, int MesInicial, int MesFinal, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Centro |
|
System.String |
Conta |
|
System.Int32 |
MesInicial |
|
System.Int32 |
MesFinal |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal SaldoCCOrigemCR(int Ano, string Centro, string Conta, int MesInicial, int MesFinal, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda, ref string TipoLancamento)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Centro |
|
System.String |
Conta |
|
System.Int32 |
MesInicial |
|
System.Int32 |
MesFinal |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
System.String |
TipoLancamento |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal SaldoCCOrigemDB(int Ano, string Centro, string Conta, int MesInicial, int MesFinal, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Centro |
|
System.String |
Conta |
|
System.Int32 |
MesInicial |
|
System.Int32 |
MesFinal |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal SaldoCCOrigemDB(int Ano, string Centro, string Conta, int MesInicial, int MesFinal, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda, ref string TipoLancamento)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Centro |
|
System.String |
Conta |
|
System.Int32 |
MesInicial |
|
System.Int32 |
MesFinal |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
System.String |
TipoLancamento |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal SaldoCentro(int Ano, string Centro, int MesInicial, int MesFinal, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Centro |
|
System.Int32 |
MesInicial |
|
System.Int32 |
MesFinal |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal SaldoCentro(int Ano, string Centro, int MesInicial, int MesFinal, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda, ref string TipoLancamento)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Centro |
|
System.Int32 |
MesInicial |
|
System.Int32 |
MesFinal |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
System.String |
TipoLancamento |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal SaldoCr(int Ano, string Conta, int MesInicial, int MesFinal, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Conta |
|
System.Int32 |
MesInicial |
|
System.Int32 |
MesFinal |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal SaldoCr(int Ano, string Conta, int MesInicial, int MesFinal, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda, ref string TipoLancamento)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Conta |
|
System.Int32 |
MesInicial |
|
System.Int32 |
MesFinal |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
System.String |
TipoLancamento |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal SaldoDb(int Ano, string Conta, int MesInicial, int MesFinal, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Conta |
|
System.Int32 |
MesInicial |
|
System.Int32 |
MesFinal |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal SaldoDb(int Ano, string Conta, int MesInicial, int MesFinal, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda, ref string TipoLancamento)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Conta |
|
System.Int32 |
MesInicial |
|
System.Int32 |
MesFinal |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
System.String |
TipoLancamento |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal SaldoFluxo(int Ano, string Fluxo, int MesInicial, int MesFinal, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Fluxo |
|
System.Int32 |
MesInicial |
|
System.Int32 |
MesFinal |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal SaldoFluxo(int Ano, string Fluxo, int MesInicial, int MesFinal, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda, ref string TipoLancamento)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Fluxo |
|
System.Int32 |
MesInicial |
|
System.Int32 |
MesFinal |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
System.String |
TipoLancamento |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal SaldoFOrigem(int Ano, string Funcao, string Conta, int MesInicial, int MesFinal, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Funcao |
|
System.String |
Conta |
|
System.Int32 |
MesInicial |
|
System.Int32 |
MesFinal |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal SaldoFOrigem(int Ano, string Funcao, string Conta, int MesInicial, int MesFinal, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda, ref string TipoLancamento)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Funcao |
|
System.String |
Conta |
|
System.Int32 |
MesInicial |
|
System.Int32 |
MesFinal |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
System.String |
TipoLancamento |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal SaldoFOrigemCR(int Ano, string Funcao, string Conta, int MesInicial, int MesFinal, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Funcao |
|
System.String |
Conta |
|
System.Int32 |
MesInicial |
|
System.Int32 |
MesFinal |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal SaldoFOrigemCR(int Ano, string Funcao, string Conta, int MesInicial, int MesFinal, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda, ref string TipoLancamento)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Funcao |
|
System.String |
Conta |
|
System.Int32 |
MesInicial |
|
System.Int32 |
MesFinal |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
System.String |
TipoLancamento |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal SaldoFOrigemDB(int Ano, string Funcao, string Conta, int MesInicial, int MesFinal, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Funcao |
|
System.String |
Conta |
|
System.Int32 |
MesInicial |
|
System.Int32 |
MesFinal |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal SaldoFOrigemDB(int Ano, string Funcao, string Conta, int MesInicial, int MesFinal, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda, ref string TipoLancamento)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Funcao |
|
System.String |
Conta |
|
System.Int32 |
MesInicial |
|
System.Int32 |
MesFinal |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
System.String |
TipoLancamento |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal SaldoFuncao(int Ano, string Funcao, int MesInicial, int MesFinal, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Funcao |
|
System.Int32 |
MesInicial |
|
System.Int32 |
MesFinal |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal SaldoFuncao(int Ano, string Funcao, int MesInicial, int MesFinal, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda, ref string TipoLancamento)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Funcao |
|
System.Int32 |
MesInicial |
|
System.Int32 |
MesFinal |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
System.String |
TipoLancamento |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal SaldoGrp(int Ano, string Grupo, string Tipo, int MesInicial, int MesFinal, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Grupo |
|
System.String |
Tipo |
|
System.Int32 |
MesInicial |
|
System.Int32 |
MesFinal |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal SaldoGrp(int Ano, string Grupo, string Tipo, int MesInicial, int MesFinal, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda, ref string TipoLancamento)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Grupo |
|
System.String |
Tipo |
|
System.Int32 |
MesInicial |
|
System.Int32 |
MesFinal |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
System.String |
TipoLancamento |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal SaldoGrpOrigem(int Ano, string Grupo, string Tipo, string Conta, int MesInicial, int MesFinal, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Grupo |
|
System.String |
Tipo |
|
System.String |
Conta |
|
System.Int32 |
MesInicial |
|
System.Int32 |
MesFinal |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal SaldoGrpOrigem(int Ano, string Grupo, string Tipo, string Conta, int MesInicial, int MesFinal, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda, ref string TipoLancamento)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Grupo |
|
System.String |
Tipo |
|
System.String |
Conta |
|
System.Int32 |
MesInicial |
|
System.Int32 |
MesFinal |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
System.String |
TipoLancamento |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal SaldoItemTes(int Ano, string ItemTesouraria, string Classificacao, int MesInicial, int MesFinal, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
ItemTesouraria |
|
System.String |
Classificacao |
|
System.Int32 |
MesInicial |
|
System.Int32 |
MesFinal |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal SaldoItemTes(int Ano, string ItemTesouraria, string Classificacao, int MesInicial, int MesFinal, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda, ref string TipoLancamento)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
ItemTesouraria |
|
System.String |
Classificacao |
|
System.Int32 |
MesInicial |
|
System.Int32 |
MesFinal |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
System.String |
TipoLancamento |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal SaldoIVA(int Ano, string ClasseIva, int MesInicial, int MesFinal, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
ClasseIva |
|
System.Int32 |
MesInicial |
|
System.Int32 |
MesFinal |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal SaldoIVA(int Ano, string ClasseIva, int MesInicial, int MesFinal, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda, ref string TipoLancamento)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
ClasseIva |
|
System.Int32 |
MesInicial |
|
System.Int32 |
MesFinal |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
System.String |
TipoLancamento |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal SaldoMovimentos(string Empresa, int Ano, string Conta, int MesInicial, int MesFinal, CblBEDocumento.ENUMTipoOperacaoDocumento ExcluiTipoOperacao, string TipoLancamento, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda)
Parameters
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal SaldoWBS(int Ano, string Projecto, string ElementoPEP, int MesInicial, int MesFinal, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Projecto |
|
System.String |
ElementoPEP |
|
System.Int32 |
MesInicial |
|
System.Int32 |
MesFinal |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal SaldoWBS(int Ano, string Projecto, string ElementoPEP, int MesInicial, int MesFinal, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda, ref string TipoLancamento)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Projecto |
|
System.String |
ElementoPEP |
|
System.Int32 |
MesInicial |
|
System.Int32 |
MesFinal |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
System.String |
TipoLancamento |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal SaldoWBSOrigem(int Ano, string Projecto, string ElementoPEP, string Conta, int MesInicial, int MesFinal, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Projecto |
|
System.String |
ElementoPEP |
|
System.String |
Conta |
|
System.Int32 |
MesInicial |
|
System.Int32 |
MesFinal |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal SaldoWBSOrigem(int Ano, string Projecto, string ElementoPEP, string Conta, int MesInicial, int MesFinal, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda, ref string TipoLancamento)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Projecto |
|
System.String |
ElementoPEP |
|
System.String |
Conta |
|
System.Int32 |
MesInicial |
|
System.Int32 |
MesFinal |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
System.String |
TipoLancamento |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal SaldoWBSOrigemCR(int Ano, string Projecto, string ElementoPEP, string Conta, int MesInicial, int MesFinal, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Projecto |
|
System.String |
ElementoPEP |
|
System.String |
Conta |
|
System.Int32 |
MesInicial |
|
System.Int32 |
MesFinal |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal SaldoWBSOrigemCR(int Ano, string Projecto, string ElementoPEP, string Conta, int MesInicial, int MesFinal, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda, ref string TipoLancamento)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Projecto |
|
System.String |
ElementoPEP |
|
System.String |
Conta |
|
System.Int32 |
MesInicial |
|
System.Int32 |
MesFinal |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
System.String |
TipoLancamento |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal SaldoWBSOrigemDB(int Ano, string Projecto, string ElementoPEP, string Conta, int MesInicial, int MesFinal, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Projecto |
|
System.String |
ElementoPEP |
|
System.String |
Conta |
|
System.Int32 |
MesInicial |
|
System.Int32 |
MesFinal |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
Returns
Type |
Description |
System.Decimal |
|
Declaration
decimal SaldoWBSOrigemDB(int Ano, string Projecto, string ElementoPEP, string Conta, int MesInicial, int MesFinal, CblBEFormula.ENUMValorNaMoeda ValorNaMoeda, ref string TipoLancamento)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
|
System.String |
Projecto |
|
System.String |
ElementoPEP |
|
System.String |
Conta |
|
System.Int32 |
MesInicial |
|
System.Int32 |
MesFinal |
|
CblBEFormula.ENUMValorNaMoeda |
ValorNaMoeda |
|
System.String |
TipoLancamento |
|
Returns
Type |
Description |
System.Decimal |
|
Calcula o valor de uma determinada posição da Declaração Periódica do IVA
Declaration
decimal SimulacaoIVA(int Ano, int MesIni, int MesFim, string Declaracao, string Posicao)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
Ano dos valores.
|
System.Int32 |
MesIni |
Mês inicial.
|
System.Int32 |
MesFim |
Mês Final.
|
System.String |
Declaracao |
Declaração a que diz respeito.
|
System.String |
Posicao |
Posição da Declaração.
|
Returns
Type |
Description |
System.Decimal |
|
Calcula o valor de uma determinada posição da Declaração Periódica do IVA
Declaration
decimal SimulacaoIVA(int Ano, int MesIni, int MesFim, string Declaracao, string Posicao, ref string TipoLancamento)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
Ano dos valores.
|
System.Int32 |
MesIni |
Mês inicial.
|
System.Int32 |
MesFim |
Mês Final.
|
System.String |
Declaracao |
Declaração a que diz respeito.
|
System.String |
Posicao |
Posição da Declaração.
|
System.String |
TipoLancamento |
(Opcional) Identificador do tipo de lançamento.
|
Returns
Type |
Description |
System.Decimal |
|
Calcula o valor de uma determinada posição da Declaração Periódica do IVA
Declaration
decimal SimulacaoIVA(int Ano, int MesIni, int MesFim, string Declaracao, string Posicao, ref string TipoLancamento, string Truncar)
Parameters
Type |
Name |
Description |
System.Int32 |
Ano |
Ano dos valores.
|
System.Int32 |
MesIni |
Mês inicial.
|
System.Int32 |
MesFim |
Mês Final.
|
System.String |
Declaracao |
Declaração a que diz respeito.
|
System.String |
Posicao |
Posição da Declaração.
|
System.String |
TipoLancamento |
(Opcional) Identificador do tipo de lançamento.
|
System.String |
Truncar |
(Opcional) Trunca os valores.
|
Returns
Type |
Description |
System.Decimal |
|