Table of Contents

Class OlVO

Namespace
PHCBusinessLayer
Assembly
PHCBusinessLayer.dll

Treasury Movement

[AttTable("Ol", 20230510)]
[AttTableOrderBy("data", "D")]
[AttTableGama(Gamas.Corporate)]
[AttTableProducts(new Products[] { Products.TESOURARIA })]
[AttTableVOInfo(typeof(OlAttInfo))]
[AttTableFlags(new TableFlags[] { TableFlags.MasterEntity, TableFlags.UseInternalRef, TableFlags.TableForJorge, TableFlags.AddOnNotDeployable, TableFlags.CelebrateFirstInsert, TableFlags.UseDimensions })]
public class OlVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IParent, IGenericVO
Inheritance
OlVO

Properties

BlVO

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

Property Value

BlVO

OcVO

Código de Tesouraria associado a este movimento.

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

Property Value

OcVO

Remarks

Data type OcVO.

Field not sent to the frontend.

blLabelField

From BlVO.labelField

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

Property Value

string

cheque

Document number.

[AttLenght(50)]
[AttLogInfo(2)]
[AttList]
public string cheque { get; set; }

Property Value

string

Remarks

Length 50.

Research Field.

Field available in the basic search results list.

Non Duplicable Field.

chreturnstamp

Field to connect with Chreturn(ChReturnVO).

[AttForeignKey(typeof(ChReturnVO))]
[AttLenght(25)]
public string chreturnstamp { get; set; }

Property Value

string

Remarks

Length 25.

Foreign Key field to another table.

contado

Número Interno de Conta Bancária.

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

Property Value

int

Remarks

Length 4.

data

Data.

[AttMandatory]
[AttLogInfo(0)]
[AttFieldType(AttFieldType.InputTypes.date, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
[AttList]
public DateTime data { get; set; }

Property Value

DateTime

Remarks

Mandatory field.

Research field.

Field available in the basic search results list.

Non Duplicable Field.

descricao

Description.

[AttLenght(100)]
[AttMandatory]
[AttList]
public string descricao { get; set; }

Property Value

string

Remarks

Length 60.

Required field.

Research field.

Field available in the basic search results list.

documento

Document.

[AttLenght(40)]
[AttLogInfo(1)]
[AttList]
public string documento { get; set; }

Property Value

string

Remarks

Length 40.

Research field.

Field available in the basic search results list.

Non Duplicable Field.

dvalor

Date value.

[AttIndex]
[AttFieldType(AttFieldType.InputTypes.date)]
[AttList(Inactive = true)]
public DateTime dvalor { get; set; }

Property Value

DateTime

Remarks

Research field.

Field available in the basic search results list.

Non Duplicable Field.

ebase

Base value in Euros.

[AttLenght(19, 6)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.en_UK })]
public decimal ebase { get; set; }

Property Value

decimal

Remarks

Length: 19 – where the units are 12 and decimals are 6.

eentr

Entrada.

[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
[AttList(Inactive = true)]
public decimal eentr { get; set; }

Property Value

decimal

Remarks

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

entrm

Entrada em moeda estrangeira

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

Property Value

decimal

Remarks

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

esaid

Saída.

[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
[AttList(Inactive = true)]
public decimal esaid { get; set; }

Property Value

decimal

Remarks

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

expensesstamp

Field to connect with ExpensesVO (ExpensesVO).

[AttForeignKey(typeof(ExpensesVO))]
[AttLenght(25)]
public string expensesstamp { get; set; }

Property Value

string

Remarks

Length 25.

Foreign Key field to another table.

extracto

Bank statement.

[AttLenght(20)]
[AttList]
[AttFieldType(AttFieldType.InputTypes.string, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string extracto { get; set; }

Property Value

string

Remarks

Length 12.

Research field.

Field available in the basic search results list.

fostamp

Campo de ligação à entidade de compra (FoVO).

[AttForeignKey(typeof(FoVO))]
[AttLenght(25)]
public string fostamp { get; set; }

Property Value

string

Remarks

Length 25.

Foreign Key field to another table.

ftstamp

Campo de ligação à entidade de documento de facturação (FtVO).

[AttForeignKey(typeof(FtVO))]
[AttLenght(25)]
public string ftstamp { get; set; }

Property Value

string

Remarks

Length 25.

Foreign Key field to another table.

grupo

Grupo de Tesouraria.

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

Property Value

string

Remarks

Length 30.

moeda

Moeda

Moeda .

[AttLenght(3)]
[AttEntityAvailable(typeof(CbVO))]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.NotEditLoop })]
public string moeda { get; set; }

Property Value

string

Remarks

Length 3 .

EUR, USD, GBP

ocLabelField

From OcVO.LabelField

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

Property Value

string

olbbstamp

Campo de ligação à entidade de tranferência conta-conta (OlbbVO).

[AttForeignKey(typeof(OlbbVO))]
[AttLenght(25)]
public string olbbstamp { get; set; }

Property Value

string

Remarks

Length 25.

Foreign Key field to another table.

olcodigo

Treasury Code.

[AttLenght(12)]
[AttMandatory]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange, AttFieldType.FieldFlags.syncOnChange })]
public string olcodigo { get; set; }

Property Value

string

Remarks

Length 12.

Required field.

ollocal

Treasury Account.

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

Property Value

string

Remarks

Length 50.

Required field.

olstamp

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

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

Property Value

string

Remarks

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

Length 25.

oltipo

[AttVirtualField]
[AttLenght(1)]
public OlTypeEnum oltipo { get; set; }

Property Value

OlTypeEnum

origem

Origem.

[AttLenght(30)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string origem { get; set; }

Property Value

string

Remarks

Length 4.

origemLabelField

Origem Label Field

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

Property Value

string

oristamp

key to document of origin

[AttLenght(25)]
[AttIndex(new string[] { "origem", "oristamp" }, new OrderTypes[] { OrderTypes.Ascending, OrderTypes.Descending })]
public string oristamp { get; set; }

Property Value

string

oxstamp

Campo de ligação à entidade de talão de depósito (OxVO).

[AttForeignKey(typeof(OxVO))]
[AttLenght(25)]
public string oxstamp { get; set; }

Property Value

string

Remarks

Length 25.

Foreign Key field to another table.

pdstamp

Field of attachment to the Advancement entity To Suppliers (PdVO).

[AttForeignKey(typeof(PdVO))]
[AttLenght(25)]
[AttGama(Gamas.Advanced)]
public string pdstamp { get; set; }

Property Value

string

Remarks

Length 25.

Foreign Key field to another table.

Only available from the MAX range.

postamp

Campo de ligação à entidade de pagamento (PoVO).

[AttForeignKey(typeof(PoVO))]
[AttLenght(25)]
public string postamp { get; set; }

Property Value

string

Remarks

Length 25.

Foreign Key field to another table.

rdstamp

Field of connection to the Advancement entity To Clients. (RdVO).

[AttForeignKey(typeof(RdVO))]
[AttLenght(25)]
[AttGama(Gamas.Advanced)]
public string rdstamp { get; set; }

Property Value

string

Remarks

Length 25.

Foreign Key field to another table.

Only available from the MAX range.

reco

Indica se está reconciliado.

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

Property Value

bool

recostamp

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

Property Value

string

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 .

restamp

Campo de ligação à entidade de recibo (ReVO).

[AttForeignKey(typeof(ReVO))]
[AttLenght(25)]
public string restamp { get; set; }

Property Value

string

Remarks

Length 25.

Foreign Key field to another table.

saidm

Saída em moeda estrangeira.

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

Property Value

decimal

Remarks

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

sgrupo

Sub-Grupo de Tesouraria.

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

Property Value

string

Remarks

Length 50.

treasurydocumentlinestamp

Field to connect with TreasuryDocumentVO (TreasuryDocumentLineVO).

[AttForeignKey(typeof(TreasuryDocumentVO))]
[AttLenght(25)]
public string treasurydocumentlinestamp { get; set; }

Property Value

string

Remarks

Length 25.

Foreign Key field to another table.

valor

[AttVirtualField]
[AttLenght(19, 6)]
public decimal valor { get; set; }

Property Value

decimal