Table of Contents

Class CbbVO

Namespace
PHCBusinessLayer
Assembly
PHCBusinessLayer.dll

Entidade que representa uma cobrança via banco.

[AttTable("cbb", 20220516)]
[AttTableOrderBy("ousrdata,ousrhora", "D,D")]
[AttTableGama(Gamas.Advanced)]
[AttTableFlags(new TableFlags[] { TableFlags.MasterEntity, TableFlags.UseInternalRef, TableFlags.TableForJorge })]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT, languages.es_ES })]
public class CbbVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IParent, IGenericVO
Inheritance
CbbVO

Remarks

Esta entidade é composta por uma colecção principal, linhas de cobranças via banco CbblVO. .

Properties

BlVO

[AttExternalCollection(typeof(BlVO), new string[] { "bl.noconta", "contado" })]
public BlVO BlVO { get; }

Property Value

BlVO

OcVO

[AttExternalCollection(typeof(OcVO), new string[] { "[Oc].[olcodigo]", "[Re].[olcodigo]" })]
public OcVO OcVO { get; }

Property Value

OcVO

SEPAMsgId

MessageID do ficheiro XML SEPA em que foi incluida a cobrança

[AttLenght(35)]
public string SEPAMsgId { get; set; }

Property Value

string

Remarks

Length 35.

TsreVO

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

Property Value

TsreVO

cbbls

Colecção das linhas desta cobrança via banco.

[AttCollection(typeof(CbblVO))]
public List<CbblVO> cbbls { get; set; }

Property Value

List<CbblVO>

Remarks

Colecção de elementos do tipo CbblVO.

cbbno

Número Interno.

[AttIndex]
[AttLenght(10)]
[AttLogInfo(0)]
[AttList]
[AttFieldType(AttFieldType.InputTypes.integer, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public decimal cbbno { get; set; }

Property Value

decimal

Remarks

Length 10.

Campo de Pesquisa.

Field available in the basic search results list.

Campo indexado.

cbbstamp

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

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

Property Value

string

Remarks

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

Length 25.

contado

Número Interno de Conta Bancária.

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

Property Value

int

Remarks

Length 4.

data

Data.

[AttLenght(1)]
[AttMandatory]
[AttLogInfo(1)]
[AttList]
public DateTime data { get; set; }

Property Value

DateTime

Remarks

Preenchimento Obrigatório.

Campo de Pesquisa.

Field available in the basic search results list.

dataProcess

Data de processamento

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

Property Value

DateTime

Remarks

Indica a data em que o documento foi processado.

descricao

Descrição.

[AttLenght(60)]
[AttLogInfo(2)]
[AttList]
public string descricao { get; set; }

Property Value

string

Remarks

Length 60.

etotal

Valor Total.

[AttLenght(19, 6)]
[AttList]
public decimal etotal { get; set; }

Property Value

decimal

Remarks

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

Campo de Pesquisa.

Field available in the basic search results list.

fileRequestNo

Store the request number from file sent to the bank

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

Property Value

int

jaIncluidaemFicheiro

Já incluida em ficheiro PS2, Cuaderno ou PS2.

[AttLenght(1)]
[AttList]
[AttFieldType(AttFieldType.InputTypes.boolean, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public bool jaIncluidaemFicheiro { get; set; }

Property Value

bool

javalida

Já validada manualmente.

[AttLenght(1)]
public bool javalida { get; set; }

Property Value

bool

ndoc

Número interno da série dos recibos.

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

Property Value

int

Remarks

Length 3.

Preenchimento Obrigatório.

nmdoc

Série dos recibos.

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

Property Value

string

Remarks

Length 20.

Campo de Pesquisa.

Field available in the basic search results list.

ocLabelField

From OcVO.LabelField

[AttVirtualField]
[AttHidden]
public string ocLabelField { get; set; }

Property Value

string

olcodigo

Código da Tesouraria.

[AttLenght(12)]
[AttMandatory]
public string olcodigo { get; set; }

Property Value

string

Remarks

Length 12.

Preenchimento Obrigatório.

ollocal

Local de Tesouraria.

[AttLenght(50)]
[AttList]
public string ollocal { get; set; }

Property Value

string

Remarks

Length 50.

Preenchimento Obrigatório.

process

Já processada.

[AttLenght(1)]
[AttList]
public bool process { get; set; }

Property Value

bool

Remarks

Indica que o documento está processado.

refInt

Referência interna

Contains the value of the user's internal reference that created the record.

[AttLenght(50)]
[AttEntityAvailable(typeof(RefInternaVO))]
[AttList(Inactive = true)]
public string refInt { get; set; }

Property Value

string

Remarks

Length 50 .

tipo

Tipo de transação

[AttLenght(1)]
public CBBTipo tipo { get; set; }

Property Value

CBBTipo

Remarks

Length 1 .