Table of Contents

Class RlVO

Namespace
PHCBusinessLayer
Assembly
PHCBusinessLayer.dll

Row of Receipt

[AttTable("Rl", 20221121)]
[AttTableOrderBy("lordem")]
[AttTableFlags(new TableFlags[] { TableFlags.AddOnCustomizable, TableFlags.UseDimensions })]
public class RlVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IGenericVO, IParent<ReVO>, IParent
Inheritance
RlVO

Properties

CcVO

Conta Corrente do cliente associado a esta linha.

[AttExternalCollection(typeof(CcVO), new string[] { "cc.ccstamp", "ccstamp" })]
public CcVO CcVO { get; }

Property Value

CcVO

Remarks

Data type CcVO.

Field not sent to the frontend.

GetFieldStampName

Use only field name without table name

public override string GetFieldStampName { get; }

Property Value

string

GetStampValue

public override string GetStampValue { get; }

Property Value

string

ccstamp

Link to CC file

[AttForeignKey(typeof(CcVO))]
[AttLenght(25)]
public string ccstamp { get; set; }

Property Value

string

Remarks

Length 25.

Foreign Key field to another table.

cdesc

Transaction Description

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

Property Value

string

Remarks

Length 20.

ecativa

VAT captivation

[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_AO })]
public decimal ecativa { get; set; }

Property Value

decimal

ecativareg

VAT captivation regularized

[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_AO })]
public decimal ecativareg { get; set; }

Property Value

decimal

edifcambio

Exchange difference.

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

Property Value

decimal

epayable

Pending value in receipt

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

Property Value

decimal

erec

Amount received

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

Property Value

decimal

eval

Document pending value

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

Property Value

decimal

evalreg

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

Property Value

decimal

evirs

Personal income tax

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

Property Value

decimal

evirsfin

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

Property Value

decimal

ftenreg

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

Property Value

decimal

ftetotal

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

Property Value

decimal

ftettiva

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

Property Value

decimal

ftuniqueId

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

Property Value

string

mcativa

VAT captivation in foreign currency

[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_AO })]
public decimal mcativa { get; set; }

Property Value

decimal

mcativareg

VAT captivation regularized in foreign currency

[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_AO })]
public decimal mcativareg { get; set; }

Property Value

decimal

moeda

Source of currency

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

Property Value

string

Examples

EUR, USD, GBP

moedoc

Original currency of the settled document

[AttLenght(3)]
public string moedoc { get; set; }

Property Value

string

Examples

EUR, USD, GBP

nrdoc

Document Number

[AttLenght(10)]
[AttFieldType(AttFieldType.InputTypes.integer, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public decimal nrdoc { get; set; }

Property Value

decimal

Remarks

Length 10.

payable

Pending value in receipt (in source currency)

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

Property Value

decimal

rec

Amount received (in source currency)

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

Property Value

decimal

restamp

Field Link to Re, the main entity.

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

Property Value

string

Remarks

Length 25.

Foreign Key field to another table.

rlTaxasIVA

Colecção das diversas taxas de I.V.A. presentes no documento.

[AttCollection(typeof(RlTxIvaVO))]
public List<RlTxIvaVO> rlTaxasIVA { get; set; }

Property Value

List<RlTxIvaVO>

Remarks

This field is a collection of type List (Of RlTxIvaVO).

RlTxIvaVO

val

Document pending value (in source currency)

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

Property Value

decimal

valregm

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

Property Value

decimal

Methods

SetStampValue(string)

public override void SetStampValue(string stampID)

Parameters

Nome Tipo Descrição
stampID string

Explicit Interface Implementations

ParentVO

ReVO ParentVO { get; set; }

Returns

ReVO

lordem

Order on Receipt

[AttLenght(10)]
[AttHidden]
decimal lordem { get; set; }

Returns

decimal

Remarks

Length 10.

Not available to the user.

previousLineID

[AttVirtualField]
[AttHidden]
string previousLineID { get; set; }

Returns

string

rlstamp

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

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

Returns

string

Remarks

Length 25.