Table of Contents

Class CbVO

Namespace
PHCBusinessLayer
Assembly
PHCBusinessLayer.dll

Currency Exchange

[AttTable("Cb", 20200330)]
[AttTableOrderBy("moeda,data")]
[AttTableVOInfo(typeof(CbAttInfo))]
[AttTableFlags(new TableFlags[] { TableFlags.MasterEntity, TableFlags.TableForJorge })]
public class CbVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IParent, IGenericVO
Inheritance
CbVO

Properties

cbstamp

Contém a chave única de identificação.

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

Property Value

string

data

Data do câmbio

[AttPrimaryKey]
[AttMandatory]
[AttLogInfo(1)]
[AttFieldType(AttFieldType.InputTypes.date)]
[AttList]
public DateTime data { get; set; }

Property Value

DateTime

Remarks

Field available in the basic search results list.

Searchable field.

ecambio

Exchange for sales.

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

Property Value

decimal

Remarks

Total length: 19 - where 6 are for units and 12 for decimals.

ecambio2

Exchange for purchases.

[AttLenght(19, 12)]
[AttFieldType(AttFieldType.InputTypes.currency)]
[AttProducts(new Products[] { Products.COMPRAS })]
public decimal ecambio2 { get; set; }

Property Value

decimal

Remarks

Total length: 19 - where 6 are for units and 12 for decimals.

moeda

Moeda

Contém o nome abreviado da moeda .

[AttPrimaryKey(CanDuplicate = true)]
[AttLenght(3)]
[AttMandatory]
[AttLogInfo(0)]
[AttList]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.NotEditLoop })]
public string moeda { get; set; }

Property Value

string

Remarks

Length 3 .

EUR, USD, GBP