Table of Contents

Class FtTaxesVO

Namespace
PHCBusinessLayer
Assembly
PHCBusinessLayer.dll
[AttTable("FtTaxes", 20230105)]
[AttTableOrderBy("[FtTaxes].[codtaxes]")]
public class FtTaxesVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IGenericVO, IParent<FtVO>, IParent
Inheritance
FtTaxesVO

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

TaxRetentionVO

[AttExternalCollection(typeof(TaxRetentionVO), new string[] { "[TaxRetention].[taxretentionstamp]", "[FtTaxes].[taxretentionstamp]" })]
public TaxRetentionVO TaxRetentionVO { get; }

Property Value

TaxRetentionVO

TaxesVO

[AttExternalCollection(typeof(TaxesVO), new string[] { "[Taxes].[taxesstamp]", "[FtTaxes].[taxesstamp]" })]
public TaxesVO TaxesVO { get; }

Property Value

TaxesVO

codtaxes

Tax type code, ex: IRS, IRS, IS, ECO

[AttLenght(20)]
[AttVirtualField(typeof(FTAttInfo))]
public string codtaxes { get; set; }

Property Value

string

ftstamp

ForeignKey to FtVO ftstamp

[AttLenght(25)]
[AttForeignKey(CanDuplicate = true, ForeignType = typeof(FtVO), HiddenField = false)]
[AttIndex]
public string ftstamp { get; set; }

Property Value

string

fttaxesstamp

Unique ID

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

Property Value

string

ndoctaxes

Is a conversion to numeric of codigo field.

[AttLenght(18)]
[AttHidden]
[AttVirtualField(typeof(FTAttInfo))]
public decimal ndoctaxes { get; set; }

Property Value

decimal

Remarks

its only use to build TaxRetention routes across the series.

taxesLabelField

Taxes types description

[AttLenght(100)]
[AttVirtualField(typeof(FTAttInfo))]
[AttLabelField(new string[] { "taxesstamp" })]
public string taxesLabelField { get; set; }

Property Value

string

taxesstamp

ForeignKey to TaxesVO

[AttLenght(25)]
[AttForeignKey(CanDuplicate = true, ForeignType = typeof(TaxesVO), HiddenField = false)]
[AttIndex]
[AttEntityAvailable(typeof(TaxesVO))]
public string taxesstamp { get; set; }

Property Value

string

taxretentionLabelField

Tax description

[AttLenght(100)]
[AttVirtualField]
public string taxretentionLabelField { get; set; }

Property Value

string

taxretentionstamp

[AttLenght(25)]
[AttForeignKey(CanDuplicate = true, ForeignType = typeof(TaxRetentionVO), HiddenField = false)]
[AttIndex]
[AttEntityAvailable(typeof(TaxRetentionVO))]
public string taxretentionstamp { get; set; }

Property Value

string

Methods

FactoryFromFiTaxes(FiTaxesVO, decimal, decimal)

public FtTaxesVO FactoryFromFiTaxes(FiTaxesVO taxItem, decimal etotValue, decimal mtotValue)

Parameters

Nome Tipo Descrição
taxItem FiTaxesVO
etotValue decimal
mtotValue decimal

Returns

FtTaxesVO

SetStampValue(string)

public override void SetStampValue(string stampID)

Parameters

Nome Tipo Descrição
stampID string

Explicit Interface Implementations

ParentVO

FtVO

FtVO ParentVO { get; set; }

Returns

FtVO

etaxtot

Tax

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

Returns

decimal

mtaxtot

Tax in currency

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

Returns

decimal