Table of Contents

Class FtTxIvaVO

Namespace
PHCBusinessLayer
Assembly
PHCBusinessLayer.dll

Invoice VAT Tax

[AttTable("Ftt", 20130313)]
[AttTableOrderBy("taxa")]
[AttTableVOInfo(typeof(FttAttInfo))]
public class FtTxIvaVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IGenericVO, IParent<FtVO>, IParent
Inheritance
FtTxIvaVO

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]", "[Ftt].[codigo]" })]
public TaxasIVAVO TaxaIVAVO { get; }

Property Value

TaxasIVAVO

baseincm

Amount in currency of tax base.

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

Property Value

decimal

Remarks

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

codigo

VAT Rate Code.

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

Property Value

int

Remarks

Length 3.

etotal

[AttVirtualField]
[AttHidden]
public decimal etotal { get; }

Property Value

decimal

evalorrec

Amount of surcharge VAT.

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

Property Value

decimal

Remarks

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

ftstamp

Invoice document reference.

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

Property Value

string

Remarks

Length 25.

Foreign Key field to another table.

fttstamp

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

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

Property Value

string

Remarks

Length 25.

taxarec

Surcharge VAT tax.

[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.

totalm

[AttVirtualField]
[AttHidden]
public decimal totalm { get; }

Property Value

decimal

valorm

Amount in currency of VAT tax total.

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

Property Value

decimal

Remarks

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

valorrecm

Value in currency of surcharge VAT.

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

Property Value

decimal

Remarks

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

Methods

SetStampValue(string)

public override void SetStampValue(string stampID)

Parameters

Nome Tipo Descrição
stampID string

Explicit Interface Implementations

ParentVO

FtVO ParentVO { get; set; }

Returns

FtVO

ebaseinc

Tax base amount.

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

Returns

decimal

Remarks

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

evalor

Amount of VAT tax total.

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

Returns

decimal

Remarks

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

taxa

VAT Rate.

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

Returns

decimal

Remarks

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