Table of Contents

Class FoTxIvaVO

Namespace
PHCBusinessLayer
Assembly
PHCBusinessLayer.dll

Tax Rate of Purchase

[AttTable("Fot", 20240101)]
[AttTableOrderBy("taxa")]
public class FoTxIvaVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IGenericVO, IParent<FoVO>, IParent
Inheritance
FoTxIvaVO

Properties

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

TaxaIVAVO

[AttExternalCollection(typeof(TaxasIVAVO), new string[] { "[TaxasIva].[codigo]", "[Fot].[codigo]" })]
public TaxasIVAVO TaxaIVAVO { get; }

Property Value

TaxasIVAVO

aivavm

Arredondamento em moeda estrangeira.

[AttLenght(5, 2)]
public decimal aivavm { get; set; }

Property Value

decimal

Remarks

Lenght of 5, where the units are 2 and decimals are 2.

baseincm

Incidência Moeda Estrangeira.

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

Property Value

decimal

Remarks

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

beforeClearing

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

Property Value

decimal

beforeClearingForeign

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

Property Value

decimal

clearing

Asserto Valor do IVA.

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

Property Value

decimal

Remarks

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

clearingForeign

Asserto Valor do IVA em moeda estrangeira.

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

Property Value

decimal

Remarks

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

codigo

Código da Taxa de IVA.

[AttLenght(3)]
[AttPrimaryKey(CanDuplicate = true)]
public int codigo { get; set; }

Property Value

int

Remarks

Length 3.

eaivav

Arredondamento.

[AttLenght(5, 2)]
public decimal eaivav { get; set; }

Property Value

decimal

Remarks

Lenght of 5, where the units are 2 and decimals are 2.

ebaseinc

Incidência.

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

Property Value

decimal

Remarks

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

eivav

Valor após arredondamento.

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

Property Value

decimal

Remarks

This field does not physically exist in the database. Its value results from a calculation expression with the help of other fields of the entity. Is provided in order to hide the complexity of calculating the value thus providing in a simple way.

Devido á natureza do seu calculo o campo nao se encontra disponível para ser incluído em procuras, mas sim para ser incluído em listagens ou relatórios. Another feature is that this field by being virtual will never appear in the collection Campos Modificadosof the entity itself.

evalorrec

Valor do IVA de recargo.

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

Property Value

decimal

Remarks

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

fostamp

Campo de ligação à entidade principal FoVO.

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

Property Value

string

Remarks

Length 25.

Foreign Key field to another table.

fotstamp

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

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

Property Value

string

Remarks

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

Length 25.

rounding

Arredondamento

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

Property Value

decimal

roundingm

Arredondamento em moeda estrangeira

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

Property Value

decimal

taxarec

Taxa de recargo.

[AttLenght(5, 2)]
[AttPrimaryKey(CanDuplicate = true)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.es_ES })]
public decimal taxarec { get; set; }

Property Value

decimal

Remarks

Lenght of 5, where the units are 2 and decimals are 2.

valorm

Valor do IVA.

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

Property Value

decimal

Remarks

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

valorrecm

Valor em moeda do Recargo de I.V.A.

[AttLenght(19, 6)]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.es_ES })]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public decimal valorrecm { 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

FoVO ParentVO { get; set; }

Returns

FoVO

ebaseincrounded

[AttVirtualField]
[AttLenght(19, 6)]
decimal ebaseincrounded { get; }

Returns

decimal

evalor

Valor do IVA.

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

Returns

decimal

Remarks

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

taxa

Taxa de IVA.

[AttLenght(5, 2)]
[AttPrimaryKey(CanDuplicate = true)]
[AttFieldType(AttFieldType.InputTypes.percentage, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
decimal taxa { get; set; }

Returns

decimal

Remarks

Lenght of 5, where the units are 2 and decimals are 2.