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
GetStampValue
public override string GetStampValue { get; }
Property Value
TaxRetentionVO
[AttExternalCollection(typeof(TaxRetentionVO), new string[] { "[TaxRetention].[taxretentionstamp]", "[FtTaxes].[taxretentionstamp]" })]
public TaxRetentionVO TaxRetentionVO { get; }
Property Value
TaxesVO
[AttExternalCollection(typeof(TaxesVO), new string[] { "[Taxes].[taxesstamp]", "[FtTaxes].[taxesstamp]" })]
public TaxesVO TaxesVO { get; }
Property Value
codtaxes
Tax type code, ex: IRS, IRS, IS, ECO
[AttLenght(20)]
[AttVirtualField(typeof(FTAttInfo))]
public string codtaxes { get; set; }
Property Value
ftstamp
ForeignKey to FtVO ftstamp
[AttLenght(25)]
[AttForeignKey(CanDuplicate = true, ForeignType = typeof(FtVO), HiddenField = false)]
[AttIndex]
public string ftstamp { get; set; }
Property Value
fttaxesstamp
Unique ID
[AttLenght(25)]
public string fttaxesstamp { get; set; }
Property Value
ndoctaxes
Is a conversion to numeric of codigo field.
[AttLenght(18)]
[AttHidden]
[AttVirtualField(typeof(FTAttInfo))]
public decimal ndoctaxes { get; set; }
Property Value
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
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
taxretentionLabelField
Tax description
[AttLenght(100)]
[AttVirtualField]
public string taxretentionLabelField { get; set; }
Property Value
taxretentionstamp
[AttLenght(25)]
[AttForeignKey(CanDuplicate = true, ForeignType = typeof(TaxRetentionVO), HiddenField = false)]
[AttIndex]
[AttEntityAvailable(typeof(TaxRetentionVO))]
public string taxretentionstamp { get; set; }
Property Value
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
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
etaxtot
Tax
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency)]
decimal etaxtot { get; set; }
Returns
mtaxtot
Tax in currency
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency)]
decimal mtaxtot { get; set; }