Table of Contents

Class EarningCodeVO

Namespace
PHCBusinessLayer
Assembly
PHCBusinessLayer.dll
[AttTable("EarningCode", 20221022)]
[AttTableVOInfo(typeof(EarningCodeAttInfo))]
[AttTableProducts(new Products[] { Products.Payroll })]
[AttTableOrderBy("[EarningCode].[code]")]
[AttTableMaintenance(typeof(EarningCodeMaintenance))]
[AttTableFlags(new TableFlags[] { TableFlags.MasterEntity, TableFlags.TableForJorge, TableFlags.CanUpdFromSourceBD, TableFlags.DisableRowCount })]
public class EarningCodeVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IParent, IGenericVO
Inheritance
EarningCodeVO

Properties

EarningTypeVO

[AttExternalCollection(typeof(EarningTypeVO), new string[] { "[EarningCode].[earningtypecode]", "[EarningType].[code]" })]
public EarningTypeVO EarningTypeVO { get; }

Property Value

EarningTypeVO

PaymentConfigVO

[AttExternalCollection(typeof(PaymentConfigVO), new string[] { "[EarningCode].[paymentconfigcode]", "[PaymentConfig].[code]" })]
public PaymentConfigVO PaymentConfigVO { get; }

Property Value

PaymentConfigVO

annualearningconfigs

[AttCollection(typeof(AnnualEarningConfigVO))]
public List<AnnualEarningConfigVO> annualearningconfigs { get; set; }

Property Value

List<AnnualEarningConfigVO>

availableForWorkplace

[AttLenght(1)]
public bool availableForWorkplace { get; set; }

Property Value

bool

calcmethod

[AttMandatory]
[AttLenght(2)]
public EarningCodeVO.CalculationMethod calcmethod { get; set; }

Property Value

EarningCodeVO.CalculationMethod

calcmethodlabel

[AttLocale(typeof(EarningCodeAttInfo), new string[] { "[EarningCode].[calcmethod]" })]
public string calcmethodlabel { get; set; }

Property Value

string

code

[AttLenght(40)]
[AttMandatory]
[AttLogInfo(0)]
[AttList]
[AttPrimaryKey]
public string code { get; set; }

Property Value

string

description

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

Property Value

string

earningcodestamp

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

Property Value

string

earningdeductionmappings

[AttCollection(typeof(EarningDeductionMappingVO), new TableFlags[] { TableFlags.CanUpdFromSourceBD })]
public List<EarningDeductionMappingVO> earningdeductionmappings { get; set; }

Property Value

List<EarningDeductionMappingVO>

earningtypecode

[AttForeignKey(typeof(EarningTypeVO), CanDuplicate = true, HiddenField = false)]
[AttMandatory]
[AttLenght(40)]
[AttIndex]
public string earningtypecode { get; set; }

Property Value

string

earningtypedescription

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

Property Value

string

isinternal

[AttLenght(1)]
[AttPhcOwner(UnprotectedFields = new string[] { "availableForWorkplace" })]
public bool isinternal { get; set; }

Property Value

bool

paymentconfigcode

[AttForeignKey(typeof(PaymentConfigVO), CanDuplicate = true, HiddenField = false)]
[AttLenght(40)]
[AttIndex]
public string paymentconfigcode { get; set; }

Property Value

string

paymentconfigdescription

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

Property Value

string

paymentconfigstamp

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

Property Value

string