Table of Contents

Class StTaxesVO

Namespace
PHCBusinessLayer
Assembly
PHCBusinessLayer.dll
[AttTable("StTaxes", 20220511)]
[AttTableOrderBy("[StTaxes].[codtaxes]")]
[AttTableMaintenance(typeof(StTaxesMaintenance))]
public class StTaxesVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IGenericVO, IParent<StVO>, IParent
Inheritance
StTaxesVO

Properties

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, it's TaxesTypes.Item codigo

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

Property Value

string

includedinprice

Included in the sale price

[AttVirtualField]
public bool includedinprice { get; set; }

Property Value

bool

ndoctaxes

Is a conversion to numeric of codigo field.

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

Property Value

decimal

Remarks

its only use to build TaxRetention routes across the series.

ststamp

ForeignKey to StVO ststamp

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

Property Value

string

sttaxesstamp

Unique ID

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

Property Value

string

taxesLabelField

Taxes types description

[AttLenght(100)]
[AttVirtualField(typeof(StAttInfo))]
[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))]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
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]
public string unidade { get; set; }

Property Value

string

Explicit Interface Implementations

ParentVO

StVO

StVO ParentVO { get; set; }

Returns

StVO

TaxRetentionVO

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

Returns

TaxRetentionVO

TaxesVO

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

Returns

TaxesVO

fixedvalue

Fixed value when taxretention.mathtype = TaxMathTypes.Value

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

Returns

decimal

percentagevalue

Percentage value when taxretention.mathtype = TaxMathTypes.Percentage

[AttLenght(7, 2)]
[AttVirtualField]
[AttFieldType(AttFieldType.InputTypes.percentage)]
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