Table of Contents

Class SupplyTypeVO

Namespace
PHCBusinessLayer
Assembly
PHCBusinessLayer.dll

Supply types

[AttTable("SupplyType", 20240104)]
[AttTableProducts(new Products[] { Products.Accounting })]
[AttTableVOInfo(typeof(SupplyTypeAttInfo))]
[AttTableOrderBy("[SupplyType].[Description], [SupplyType].[Id]")]
[AttTableFlags(new TableFlags[] { TableFlags.MasterEntity, TableFlags.TableForJorge, TableFlags.NotUseHashTag })]
[AttTableMaintenance(typeof(SupplyTypeMaintenance))]
public class SupplyTypeVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IParent, IGenericVO
Inheritance
SupplyTypeVO

Properties

accgclasdescription

Accounting Classification description

[AttLenght(50)]
[AttLocale(typeof(SupplyTypeAttInfo), new string[] { "[SupplyType].[accountingclassification]" })]
public string accgclasdescription { get; set; }

Property Value

string

accountingclassification

[AttLenght(2)]
[AttMandatory]
[AttDocType(typeof(SupplyTypeVO))]
[AttList(Hidden = true)]
public int accountingclassification { get; set; }

Property Value

int

avldescription

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

Property Value

string

avname

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

Property Value

string

id

Supply type code.

[AttLenght(8)]
[AttPrimaryKey]
[AttLogInfo(0)]
[AttFieldType(AttFieldType.InputTypes.integer)]
[AttMinValue(0)]
public decimal id { get; set; }

Property Value

decimal

inactive

Inactive.

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

Property Value

bool

supplytypeparentname

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

Property Value

string

supplytypestamp

Single registration field, used to link others to this entity.

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

Property Value

string

Methods

GetSeriesName()

public override string GetSeriesName()

Returns

string

GetSeriesValue()

public override decimal GetSeriesValue()

Returns

decimal

Explicit Interface Implementations

avcode

Variable code.

[AttLenght(150)]
[AttMandatory]
string avcode { get; set; }

Returns

string

avlvalue

Variable value.

[AttLenght(25)]
[AttMandatory]
string avlvalue { get; set; }

Returns

string

description

Description of the supply type.

[AttLenght(200)]
[AttMandatory]
[AttLogInfo(1)]
[AttList]
string description { get; set; }

Returns

string

supplytypeparentstamp

Connects to SupplyTypeStamp that contains this line.

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

Returns

string