Table of Contents

Class ExpensesTypeVO

Namespace
PHCBusinessLayer
Assembly
PHCBusinessLayer.dll
[AttTable("ExpensesType", 20250115)]
[AttTableGama(Gamas.Advanced)]
[AttTableProducts(new Products[] { Products.TESOURARIA })]
[AttTableVOInfo(typeof(ExpensesTypeAttInfo))]
[AttTableFlags(new TableFlags[] { TableFlags.MasterEntity, TableFlags.TableForJorge, TableFlags.RequiresAdminAccess, TableFlags.UseDimensions })]
public class ExpensesTypeVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IParent, IGenericVO
Inheritance
ExpensesTypeVO

Properties

ModalidadVO

[AttExternalCollection(typeof(ModalidadVO), new string[] { "[Modalidad].[modalidadstamp]", "[ExpensesType].[modalidadstamp]" })]
public ModalidadVO ModalidadVO { get; }

Property Value

ModalidadVO

TaxaIVAVO

[AttExternalCollection(typeof(TaxasIVAVO), new string[] { "[TaxasIva].[codigo]", "[ExpensesType].[tabvat]" })]
public TaxasIVAVO TaxaIVAVO { get; }

Property Value

TaxasIVAVO

cfintCode

Accounting integration config code

[AttLenght(25)]
[AttProducts(new Products[] { Products.Accounting })]
public string cfintCode { get; set; }

Property Value

string

cfintLabel

[AttVirtualField]
public string cfintLabel { get; set; }

Property Value

string

disableIntegration

[AttProducts(new Products[] { Products.Accounting })]
public bool disableIntegration { get; set; }

Property Value

bool

expensestypestamp

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

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

Property Value

string

Remarks

Length 25.

inactive

Field inactive

[AttFieldType(AttFieldType.InputTypes.boolean)]
[AttList]
public bool inactive { get; set; }

Property Value

bool

isTaxForeignRegion

If the tax is from pt

[AttVirtualField]
[AttHidden]
public bool isTaxForeignRegion { get; set; }

Property Value

bool

isZeroTax

If the tax is from pt

[AttVirtualField]
[AttHidden]
public bool isZeroTax { get; set; }

Property Value

bool

labelField

[AttVirtualField]
public string labelField { get; set; }

Property Value

string

modalidaddescription

[AttVirtualField]
[AttEntityAvailable(typeof(ModalidadVO))]
public string modalidaddescription { get; set; }

Property Value

string

modalidadstamp

[AttLenght(25)]
[AttEntityAvailable(typeof(ModalidadVO))]
public string modalidadstamp { get; set; }

Property Value

string

supplyType

[AttLenght(10)]
[AttProducts(new Products[] { Products.Accounting })]
public int supplyType { get; set; }

Property Value

int

supplytypename

[AttVirtualField]
public string supplytypename { get; set; }

Property Value

string

supplytypestamp

Connects to SupplyTypeStamp that contains this line.

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

Property Value

string

tabvat

VAT table.

[AttLenght(3)]
[AttFieldType(AttFieldType.InputTypes.integer, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
[AttList(Inactive = true)]
public int tabvat { get; set; }

Property Value

int

Remarks

Length 3.

title

Expenses Title

[AttLenght(100)]
[AttMandatory]
[AttLogInfo(0)]
[AttList]
public string title { get; set; }

Property Value

string

Remarks

Length 100

Mandatory field.

txIvaLabelField

From iva taxes

[AttVirtualField]
[AttHidden]
public string txIvaLabelField { get; set; }

Property Value

string

usevatdeductible

If will use iva dedutivel

[AttFieldType(AttFieldType.InputTypes.boolean, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
[AttList(Inactive = true)]
public bool usevatdeductible { get; set; }

Property Value

bool

vatdeductible

VAT value.

[AttLenght(5, 2)]
[AttMinValue(0)]
[AttMaxValue(100)]
[AttFieldType(AttFieldType.InputTypes.percentage)]
[AttList]
public decimal vatdeductible { get; set; }

Property Value

decimal

Remarks

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