Table of Contents

Class BlVO

Namespace
PHCBusinessLayer
Assembly
PHCBusinessLayer.dll

Entidade que representa uma conta de tesouraria.

[AttTable("Bl", 20240502)]
[AttTableVOInfo(typeof(BlAttInfo))]
[AttTableGama(Gamas.Corporate)]
[AttTableProducts(new Products[] { Products.TESOURARIA })]
[AttTableFlags(new TableFlags[] { TableFlags.MasterEntity, TableFlags.FullTextSearchable, TableFlags.TableForJorge, TableFlags.UseDimensions })]
[AttTableOrderBy(new string[] { "[Bl].[banco]", "[Bl].[conta]", "[Bl].[moeda]" })]
[AttTableMaintenance(typeof(BlMaintenance))]
public class BlVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IParent, IGenericVO
Inheritance
BlVO

Properties

BlTypeVO

[AttExternalCollection(typeof(BlTypeVO))]
public BlTypeVO BlTypeVO { get; }

Property Value

BlTypeVO

Cm1LabelField

From Cm1.LabelField

[AttVirtualField]
public string Cm1LabelField { get; set; }

Property Value

string

Cm1VO

[AttExternalCollection(typeof(Cm1VO), new string[] { "cm1.cm", "cm" })]
public Cm1VO Cm1VO { get; }

Property Value

Cm1VO

TdVO

[AttExternalCollection(typeof(TdVO))]
public TdVO TdVO { get; }

Property Value

TdVO

TsreVO

[AttExternalCollection(typeof(TsreVO), new string[] { "tsre.ndoc", "ndoc" })]
public TsreVO TsreVO { get; }

Property Value

TsreVO

allowWizardConfig

allowWizardConfig.

[AttFieldType(AttFieldType.InputTypes.boolean)]
public bool allowWizardConfig { get; set; }

Property Value

bool

banco

Nome do Banco.

[AttLenght(60)]
[AttMandatory]
[AttLogInfo(0)]
[AttList]
public string banco { get; set; }

Property Value

string

Remarks

Length 10.

Preenchimento Obrigatório.

Campo de Pesquisa.

Field available in the basic search results list.

bankConfig

[AttFieldType(AttFieldType.InputTypes.integer)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT, languages.es_ES })]
public AppConfigTypeAPP bankConfig { get; set; }

Property Value

AppConfigTypeAPP

bic

BIC - Bank Identifier Code Código de Identificação Bancária Estes códigos geridos pela sociedade internacional de telecomunicações bancárias.

[AttLenght(11)]
public string bic { get; set; }

Property Value

string

Remarks

Length 11.

Campo de Pesquisa.

blstamp

Single registration field, used to link others to this entity.

[AttLenght(25)]
public string blstamp { get; set; }

Property Value

string

Remarks

This field uniquely identifies the record (primary key by default).

Length 25.

bltype

Tipo de conta de tesouraria

[AttLenght(10)]
[AttMandatory]
[AttFieldType(AttFieldType.InputTypes.integer)]
public decimal bltype { get; set; }

Property Value

decimal

Remarks

Length 10.

Search Field.

Field available in the basic search results list.

bltypename

[AttVirtualField]
public string bltypename { get; set; }

Property Value

string

caucionada

Caucionada.

[AttLenght(1)]
[AttFieldType(AttFieldType.InputTypes.boolean)]
public bool caucionada { get; set; }

Property Value

bool

cjuro

Taxa de Juro Anual.

[AttLenght(5, 2)]
[AttFieldType(AttFieldType.InputTypes.percentage)]
public decimal cjuro { get; set; }

Property Value

decimal

Remarks

Lenght of 5, where the units are 2 and decimals are 2.

cm

Código do Movimento.

[AttLenght(6)]
[AttFieldType(AttFieldType.InputTypes.integer, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public int cm { get; set; }

Property Value

int

Remarks

Length 6.

conta

Conta.

[AttLenght(20)]
[AttMandatory]
[AttLogInfo(1)]
[AttList]
public string conta { get; set; }

Property Value

string

Remarks

Length 20.

Preenchimento Obrigatório.

Campo de Pesquisa.

Field available in the basic search results list.

cplafondm

Plafond em Moeda estrangeira.

[AttLenght(19, 6)]
[AttEntityAvailable(typeof(CbVO))]
public decimal cplafondm { get; set; }

Property Value

decimal

cpoc

Código da conta na Contabilidade.

[AttLenght(15)]
[AttHidden(HiddenParameter = new string[] { "ge_usacontabilidade" }, HiddenParameterValue = new object[] { false })]
public string cpoc { get; set; }

Property Value

string

Remarks

Length 15.

dados

Dados.

[AttLenght(200)]
[AttHidden]
public string dados { get; set; }

Property Value

string

Remarks

Length 200.

datasaldo

Data do Movimento.

[AttLenght(1)]
[AttFieldType(AttFieldType.InputTypes.date, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public DateTime datasaldo { get; set; }

Property Value

DateTime

disableSepaMultiLines

Indicates if payments in Sepa should all be on a single line. Overrides the useSepaMultiLines parameter.

[AttGama(Gamas.Advanced)]
[AttFieldType(AttFieldType.InputTypes.boolean)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT, languages.es_ES, languages.en_UK })]
public bool disableSepaMultiLines { get; set; }

Property Value

bool

ecplafond

Plafond da Conta Caucionada em Euros.

[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency)]
public decimal ecplafond { get; set; }

Property Value

decimal

Remarks

Lenght of 19, where the units are 12 and decimals are 6.

email

E-Mail.

[AttLenght(40)]
[AttFieldType(AttFieldType.InputTypes.email)]
public string email { get; set; }

Property Value

string

Remarks

Length 40.

ersaldo

Saldo Reconciliado em Euros.

[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttList]
public decimal ersaldo { get; set; }

Property Value

decimal

Remarks

Lenght of 19, where the units are 12 and decimals are 6.

esaldo

Saldo em moeda base

[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttList]
public decimal esaldo { get; set; }

Property Value

decimal

Remarks

Lenght of 19, where the units are 12 and decimals are 6.

esaldominimo

Saldo Mínimo em moeda base.

[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency)]
public decimal esaldominimo { get; set; }

Property Value

decimal

Remarks

Lenght of 19, where the units are 12 and decimals are 6.

estab

Estabelecimento.

[AttLenght(6)]
[AttGama(Gamas.Advanced)]
public string estab { get; set; }

Property Value

string

Remarks

Length 4.

fax

Fax.

[AttLenght(60)]
public string fax { get; set; }

Property Value

string

Remarks

Length 60.

gestor

Gestor de conta.

[AttLenght(55)]
public string gestor { get; set; }

Property Value

string

Remarks

Length 55.

iban

IBAN - International Bank Account Number Número Internacional de Conta Bancária É composto, no máximo, por 34 caracteres. Os dois primeiros caracteres correspondem ao país de domiciliação da conta (PT-Portugal, ES-Espanha, DE-Alemanha, etc.). Os dois carateres seguintes são dígitos de controlo e servem para validação do código do país. Os restantes dígitos correspondem à estrutura de identificação de contas definida para cada país.

[AttLenght(34)]
public string iban { get; set; }

Property Value

string

Remarks

Length 34.

Campo de Pesquisa.

idcredor

Identificação da Entidade Credora.

[AttLenght(26)]
[AttEntityAvailable(typeof(CbbVO))]
public string idcredor { get; set; }

Property Value

string

Remarks

Length 26.

inactivo

Inactivo.

[AttFieldType(AttFieldType.InputTypes.boolean)]
public bool inactivo { get; set; }

Property Value

bool

initiatingparty

Parte que inicia a mensagem de pagamento.

[AttLenght(70)]
[AttEntityAvailable(typeof(CbbVO))]
public string initiatingparty { get; set; }

Property Value

string

Remarks

O Nome ou a Identificação tem de estar presente.

Length 70.

Este campo aceita campos da ficha completa da empresa (E1), por exemplo: E1.ncont, E1.nomecomp, etc.

Aceita também o campo idcredor desta Conta de Tesouraria: Bl.idcredor.

isCmHasSameBlNo

[AttVirtualField]
public bool isCmHasSameBlNo { get; set; }

Property Value

bool

isCmInactive

[AttVirtualField]
public bool isCmInactive { get; set; }

Property Value

bool

isTdHasSameBlNo

[AttVirtualField]
public bool isTdHasSameBlNo { get; set; }

Property Value

bool

isTdInactive

[AttVirtualField]
public bool isTdInactive { get; set; }

Property Value

bool

isTsReHasSameBlNo

[AttVirtualField]
public bool isTsReHasSameBlNo { get; set; }

Property Value

bool

isTsReInactive

[AttVirtualField]
public bool isTsReInactive { get; set; }

Property Value

bool

labelField

[AttVirtualField(typeof(BlAttInfo))]
[AttLabelField(new string[] { "banco", "conta", "moeda" })]
public string labelField { get; set; }

Property Value

string

labelFunction

[AttVirtualField]
public string labelFunction { get; set; }

Property Value

string

moeda

Moeda.

[AttLenght(11)]
[AttEntityAvailable(typeof(CbVO))]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange, AttFieldType.FieldFlags.NotEditLoop })]
[AttList(Inactive = true)]
public string moeda { get; set; }

Property Value

string

Remarks

Length 11.

Field not available to the user.

ndoc

Número interno da série dos recibos.

[AttLenght(3)]
[AttFieldType(AttFieldType.InputTypes.integer, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public int ndoc { get; set; }

Property Value

int

Remarks

Length 3.

nib

NIB.

[AttLenght(30)]
public string nib { get; set; }

Property Value

string

Remarks

Length 30.

Campo de Pesquisa.

nmdoc

Série dos recibos.

[AttVirtualField]
public string nmdoc { get; set; }

Property Value

string

Remarks

Length 20.

Campo de Pesquisa.

Field available in the basic search results list.

noconta

Número da Conta.

[AttPrimaryKey]
[AttLenght(4)]
[AttHidden]
public int noconta { get; set; }

Property Value

int

Remarks

This field is Primary Key.

Length 4.

Este campo é de incrementação automática.

numberDays

numberDays.

[AttLenght(4)]
[AttMaxValue(9999)]
[AttMinValue(0)]
[AttFieldType(AttFieldType.InputTypes.integer)]
public int numberDays { get; set; }

Property Value

int

numberDaysValue

numberDaysValue.

[AttLenght(4)]
[AttMaxValue(9999)]
[AttMinValue(0)]
[AttFieldType(AttFieldType.InputTypes.integer)]
public int numberDaysValue { get; set; }

Property Value

int

oldidcredor

Antiga Identificação da Entidade Credora.

[AttLenght(26)]
[AttHidden]
public string oldidcredor { get; set; }

Property Value

string

Remarks

Length 26.

Field not available to the user.

Serve para preencher o elemento "AmdmntInfDtls" do ficheiro SEPA .

Este campo só está preenchido quando o idcredor é alterado e já existem cobranças processadas para este mandato.

ordem

Número de Ordem.

[AttLenght(3)]
[AttFieldType(AttFieldType.InputTypes.integer)]
public int ordem { get; set; }

Property Value

int

Remarks

Length 3.

ordenante19

Código de ordenante do quaderno 19

[AttLenght(3)]
[AttEntityAvailable(typeof(CbbVO))]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.es_ES })]
public string ordenante19 { get; set; }

Property Value

string

Remarks

Este campo só é utilizado quando o país da empresa é Espanha.

Length 3.

Campo Não Duplicavel.

ordenante58

Código de ordenante do quaderno 58

[AttLenght(3)]
[AttEntityAvailable(typeof(CbbVO))]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.es_ES })]
public string ordenante58 { get; set; }

Property Value

string

Remarks

Este campo só é utilizado quando o país da empresa é Espanha.

Length 3.

Campo Não Duplicavel.

presentante19

Código de presentante do quaderno 19

[AttLenght(3)]
[AttEntityAvailable(typeof(CbbVO))]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.es_ES })]
public string presentante19 { get; set; }

Property Value

string

Remarks

Este campo só é utilizado quando o país da empresa é Espanha.

Length 3.

Campo Não Duplicavel.

presentante58

Código de presentante do quaderno 58

[AttLenght(3)]
[AttEntityAvailable(typeof(CbbVO))]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.es_ES })]
public string presentante58 { get; set; }

Property Value

string

Remarks

Este campo só é utilizado quando o país da empresa é Espanha.

Length 3.

Campo Não Duplicavel.

rsaldom

Saldo Reconciliado em Moeda Estrangeira.

[AttLenght(19, 6)]
[AttEntityAvailable(typeof(CbVO))]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttList(Inactive = true)]
public decimal rsaldom { get; set; }

Property Value

decimal

Remarks

Lenght of 19, where the units are 12 and decimals are 6.

saldoConvertedFromMoedaEstrangeira

Saldo convertido da moeda da Conta para a moeda base. Caso a moeda seja a mesma, retorna o valor no esaldo.

[AttVirtualField]
public decimal saldoConvertedFromMoedaEstrangeira { get; set; }

Property Value

decimal

Remarks

Campo virtual disponível para o utilizador.

saldom

Saldo em moeda estrangeira. Este valor pode não corresponder exactamente ao saldo de acordo com os últimos Câmbios, porque não faz a conversão no momento da consulta de acordo com valor do último Câmbio em vigor, mas sim, com o valor que o Câmbio tinha quando o saldo da Conta foi actualizado.

[AttLenght(19, 6)]
[AttEntityAvailable(typeof(CbVO))]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttList(Inactive = true)]
public decimal saldom { get; set; }

Property Value

decimal

Remarks

Length total de 19, em que 12 são para as unidades e 6 para as decimais.

saldominimom

Saldo Mínimo em moeda estrangeira.

[AttLenght(19, 6)]
[AttEntityAvailable(typeof(CbVO))]
[AttFieldType(AttFieldType.InputTypes.currency)]
public decimal saldominimom { get; set; }

Property Value

decimal

Remarks

Lenght of 19, where the units are 12 and decimals are 6.

selectOldestMoviments

selectOldestMoviments.

[AttFieldType(AttFieldType.InputTypes.boolean)]
public bool selectOldestMoviments { get; set; }

Property Value

bool

sepaTransferDays

Days to add for SEPA transfer date.

[AttLenght(3)]
[AttFieldType(AttFieldType.InputTypes.integer)]
[AttMinValue(0)]
[AttEntityAvailable(typeof(CbbVO))]
public int sepaTransferDays { get; set; }

Property Value

int

Remarks

Length 3.

sepaVersion

Field to know what's the SEPA file version to create for the BLVO

[AttLenght(1)]
[AttGama(Gamas.Advanced)]
[AttFieldType(AttFieldType.InputTypes.integer)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT, languages.es_ES, languages.en_UK })]
[AttHidden(HiddenParameter = new string[] { "uselastsepaversion" }, HiddenParameterValue = new object[] { true })]
public SepaVersion sepaVersion { get; set; }

Property Value

SepaVersion

supplytype

[AttVirtualField]
[AttLenght(1)]
[AttProducts(new Products[] { Products.Accounting })]
[AttDynamicIntegrationValue(typeof(SupplyTypeVO))]
public string supplytype { get; }

Property Value

string

tdndoc

Número interno da série de faturação.

[AttLenght(3)]
[AttFieldType(AttFieldType.InputTypes.integer, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public int tdndoc { get; set; }

Property Value

int

Remarks

Length 3.

tdnmdoc

From td name

[AttVirtualField]
public string tdnmdoc { get; set; }

Property Value

string

telefone

Telefone.

[AttLenght(60)]
public string telefone { get; set; }

Property Value

string

Remarks

Length 60.

tipo

Tipo.

[AttLenght(20)]
public string tipo { get; set; }

Property Value

string

Remarks

Length 20.

Campo de Pesquisa.

Field available in the basic search results list.

titular

Titular

[AttLenght(40)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.es_ES })]
public string titular { get; set; }

Property Value

string

Remarks

Este campo só é utilizado quando o país da empresa é Espanha.

Length 40.

Campo Não Duplicavel.

typeofmovement

[AttVirtualField]
public int typeofmovement { get; }

Property Value

int

usalotes

Indica que é uma Conta de um Banco que permite vários lotes no mesmo ficheiro SEPA.

[AttEntityAvailable(typeof(CbbVO))]
public bool usalotes { get; set; }

Property Value

bool

validateDate

validateDate.

[AttFieldType(AttFieldType.InputTypes.boolean, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public bool validateDate { get; set; }

Property Value

bool

validateDateValue

validateDateValue.

[AttFieldType(AttFieldType.InputTypes.boolean, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public bool validateDateValue { get; set; }

Property Value

bool

validateExactDescription

validateExactDescription.

[AttFieldType(AttFieldType.InputTypes.boolean)]
public bool validateExactDescription { get; set; }

Property Value

bool