Table of Contents

Class PlVO

Namespace
PHCBusinessLayer
Assembly
PHCBusinessLayer.dll

Row of payment

[AttTable("Pl", 20230705)]
[AttTableOrderBy("lordem")]
[AttTableFlags(new TableFlags[] { TableFlags.AddOnCustomizable, TableFlags.UseDimensions })]
public class PlVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IGenericVO, IParent<PoVO>, IParent
Inheritance
PlVO

Remarks

Esta entidade tem uma correspondência directa com a tabela "PL" existente na base de dados. .

Properties

FcVO

Conta Corrente do fornecedor associado a esta linha.

[AttExternalCollection(typeof(FcVO), new string[] { "fc.fcstamp", "fcstamp" })]
public FcVO FcVO { get; }

Property Value

FcVO

Remarks

Data type FcVO.

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

adoc

Número do documento.

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

Property Value

string

Remarks

Length 50.

cdesc

Descrição do documento.

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

Property Value

string

Remarks

Length 20.

datalc

Date of the Movement.

[AttLenght(1)]
[AttFieldType(AttFieldType.InputTypes.date)]
public DateTime datalc { get; set; }

Property Value

DateTime

Remarks

Research field.

Field available in the basic search results list.

dataven

Due date.

[AttLenght(1)]
[AttFieldType(AttFieldType.InputTypes.date)]
public DateTime dataven { get; set; }

Property Value

DateTime

Remarks

Research field.

Field available in the basic search results list.

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

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

Property Value

decimal

epayable

Payment

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

Property Value

decimal

erec

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

Property Value

decimal

eval

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

Property Value

decimal

evirs

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

Property Value

decimal

evirsfin

Financial discount applied to Tax Withholding

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

Property Value

decimal

fcstamp

Campo de ligação a Conta Corrente do Fornecedor (FcVO).

[AttForeignKey(typeof(FcVO))]
[AttLenght(25)]
public string fcstamp { get; set; }

Property Value

string

Remarks

Length 25.

Foreign Key field to another table.

ivacaixa

Movimento ao abrigo do regime de IVA de Caixa

[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT, languages.es_ES })]
[AttFieldType(AttFieldType.InputTypes.boolean, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public bool ivacaixa { get; set; }

Property Value

bool

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

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

Property Value

string

moedoc

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

Property Value

string

payable

Payment in foreign currency

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

Property Value

decimal

plTaxasIVA

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

[AttCollection(typeof(PlTxIvaVO))]
public List<PlTxIvaVO> plTaxasIVA { get; set; }

Property Value

List<PlTxIvaVO>

Remarks

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

PlTxIvaVO

postamp

Campo de ligação à entidade principal PoVO.

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

Property Value

string

Remarks

Length 25.

Foreign Key field to another table.

process

Indica se o pagamento a que a linha pertence está processado.

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

Property Value

bool

rec

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

Property Value

decimal

val

[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public decimal val { 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

PoVO ParentVO { get; set; }

Returns

PoVO

lordem

Indica a ordem da linha no documento.

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

Returns

decimal

Remarks

Length 10.

Field not available to the user.

plstamp

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

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

Returns

string

Remarks

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

Length 25.

previousLineID

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

Returns

string