Table of Contents

Class FiTaxesVO

Namespace
PHCBusinessLayer
Assembly
PHCBusinessLayer.dll
[AttTable("FiTaxes", 20230104)]
[AttTableOrderBy("[FiTaxes].[codtaxes]")]
[AttTableMaintenance(typeof(FiTaxesMaintenance))]
public class FiTaxesVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IGenericVO, IParent<FiVO>, IParent
Inheritance
FiTaxesVO

Properties

AccountNo

Unique ID for accounting.

[AttVirtualField]
[AttHidden]
public int AccountNo { get; set; }

Property Value

int

FtVO

public FtVO FtVO { get; }

Property Value

FtVO

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

GetTaxAmount

Value

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

Property Value

decimal

StVO

[AttExternalCollection(typeof(StVO), new string[] { "[ST].[ststamp]", "[FiTaxes].[ststamp]" })]
public StVO StVO { get; }

Property Value

StVO

codstamp

[AttLenght(25)]
[AttEntityAvailable(typeof(TaxRetentionVO))]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public string codstamp { get; set; }

Property Value

string

codtaxes

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

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

Property Value

string

design

Description

[AttVirtualField(typeof(FiAttInfo))]
[AttFieldType(AttFieldType.InputTypes.memo)]
public string design { get; set; }

Property Value

string

fistamp

ForeignKey to FiVO fistamp

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

Property Value

string

fitaxesstamp

Unique ID

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

Property Value

string

ignoreit

public bool ignoreit { get; set; }

Property Value

bool

includedinprice

Included in the sale price

[AttVirtualField(typeof(FiAttInfo))]
public bool includedinprice { get; set; }

Property Value

bool

ndoctaxes

Is a conversion to numeric of codigo field.

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

Property Value

decimal

Remarks

its only use to build TaxRetention routes across the series.

ref

Reference

[AttLenght(18)]
[AttVirtualField(typeof(FiAttInfo))]
public string @ref { get; set; }

Property Value

string

shouldIncludeInProfit

public bool shouldIncludeInProfit { get; set; }

Property Value

bool

ststamp

ForeignKey to StVO

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

Property Value

string

taxesLabelField

Taxes types description

[AttLenght(100)]
[AttVirtualField(typeof(FiAttInfo))]
[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)]
[AttHidden]
[AttVirtualField]
public string taxretentionstamp { get; set; }

Property Value

string

unidade

Unit

[AttLenght(4)]
[AttVirtualField(typeof(FiAttInfo))]
public string unidade { get; set; }

Property Value

string

Methods

SetStampValue(string)

public override void SetStampValue(string stampID)

Parameters

Nome Tipo Descrição
stampID string

Explicit Interface Implementations

ParentVO

FiVO

FiVO ParentVO { get; set; }

Returns

FiVO

TaxRetentionVO

[AttExternalCollection(typeof(TaxRetentionVO), new string[] { "[TaxRetention].[codstamp]", "[FiTaxes].[codstamp]" })]
TaxRetentionVO TaxRetentionVO { get; }

Returns

TaxRetentionVO

TaxesVO

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

Returns

TaxesVO

etaxtot

Tax

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

Returns

decimal

fixedvalue

Fixed value when mathtype = TaxMathTypes.Value

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

Returns

decimal

mtaxtot

Tax in currency

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

Returns

decimal

percentagevalue

Percentage value when mathtype = TaxMathTypes.Percentage

[AttVirtualField]
[AttHidden]
[AttLenght(7, 4)]
decimal percentagevalue { get; set; }

Returns

decimal

qtt

Quantity

[AttLenght(14, 4)]
[AttMinValue(0)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
decimal qtt { get; set; }

Returns

decimal