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
TaxaIVAVO
[AttExternalCollection(typeof(TaxasIVAVO), new string[] { "[TaxasIva].[codigo]", "[ExpensesType].[tabvat]" })]
public TaxasIVAVO TaxaIVAVO { get; }
Property Value
cfintCode
Accounting integration config code
[AttLenght(25)]
[AttProducts(new Products[] { Products.Accounting })]
public string cfintCode { get; set; }
Property Value
cfintLabel
[AttVirtualField]
public string cfintLabel { get; set; }
Property Value
disableIntegration
[AttProducts(new Products[] { Products.Accounting })]
public bool disableIntegration { get; set; }
Property Value
expensestypestamp
This field uniquely identifies the record (primary key by default).
[AttLenght(25)]
public string expensestypestamp { get; set; }
Property Value
Remarks
Length 25.
inactive
Field inactive
[AttFieldType(AttFieldType.InputTypes.boolean)]
[AttList]
public bool inactive { get; set; }
Property Value
isTaxForeignRegion
If the tax is from pt
[AttVirtualField]
[AttHidden]
public bool isTaxForeignRegion { get; set; }
Property Value
isZeroTax
If the tax is from pt
[AttVirtualField]
[AttHidden]
public bool isZeroTax { get; set; }
Property Value
labelField
[AttVirtualField]
public string labelField { get; set; }
Property Value
modalidaddescription
[AttVirtualField]
[AttEntityAvailable(typeof(ModalidadVO))]
public string modalidaddescription { get; set; }
Property Value
modalidadstamp
[AttLenght(25)]
[AttEntityAvailable(typeof(ModalidadVO))]
public string modalidadstamp { get; set; }
Property Value
supplyType
[AttLenght(10)]
[AttProducts(new Products[] { Products.Accounting })]
public int supplyType { get; set; }
Property Value
supplytypename
[AttVirtualField]
public string supplytypename { get; set; }
Property Value
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
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
Remarks
Length 3.
title
Expenses Title
[AttLenght(100)]
[AttMandatory]
[AttLogInfo(0)]
[AttList]
public string title { get; set; }
Property Value
Remarks
Length 100
Mandatory field.
txIvaLabelField
From iva taxes
[AttVirtualField]
[AttHidden]
public string txIvaLabelField { get; set; }
Property Value
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
vatdeductible
VAT value.
[AttLenght(5, 2)]
[AttMinValue(0)]
[AttMaxValue(100)]
[AttFieldType(AttFieldType.InputTypes.percentage)]
[AttList]
public decimal vatdeductible { get; set; }
Property Value
Remarks
Lenght of 5, where the units are 2 and decimals are 2.