Table of Contents

Class CompensationVO

Namespace
PHCBusinessLayer
Assembly
PHCBusinessLayer.dll
[AttTable("Compensation", 20240311)]
[AttTableProducts(new Products[] { Products.Payroll })]
[AttTableOrderBy("[Compensation].[order]")]
[AttTableFlags(new TableFlags[] { TableFlags.AddOnCustomizable })]
public class CompensationVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IGenericVO, IParent<ExitPaymentForecastVO>, IParent
Inheritance
CompensationVO

Properties

EarningCodeVO

[AttExternalCollection(typeof(EarningCodeVO), new string[] { "[Compensation].[earningcodecode]", "[EarningCode].[code]" })]
public EarningCodeVO EarningCodeVO { get; }

Property Value

EarningCodeVO

GetFieldStampName

Use only field name without table name

public override string GetFieldStampName { get; }

Property Value

string

GetStampValue

public override string GetStampValue { get; }

Property Value

string

absencetotaldiscount

[AttLenght(19, 6)]
[AttMinValue(0)]
[AttFieldType(AttFieldType.InputTypes.currency)]
public decimal absencetotaldiscount { get; set; }

Property Value

decimal

amount

[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public decimal amount { get; set; }

Property Value

decimal

category

[AttLenght(3)]
[AttFieldType(AttFieldType.InputTypes.integer)]
public PayslipBiz.EarningCategory category { get; set; }

Property Value

PayslipBiz.EarningCategory

description

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

Property Value

string

earningcodecode

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

Property Value

string

earningcodedescription

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

Property Value

string

enddate

[AttFieldType(AttFieldType.InputTypes.date, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public DateTime enddate { get; set; }

Property Value

DateTime

exitpaymentforecaststamp

[AttForeignKey(typeof(ExitPaymentForecastVO))]
[AttLenght(25)]
[AttIndex]
public string exitpaymentforecaststamp { get; set; }

Property Value

string

obs

[AttFieldType(AttFieldType.InputTypes.memo)]
public string obs { get; set; }

Property Value

string

oritable

[AttLenght(50)]
public string oritable { get; set; }

Property Value

string

quantity

[AttLenght(14, 2)]
[AttFieldType(AttFieldType.InputTypes.decimal, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public decimal quantity { get; set; }

Property Value

decimal

referencedate

[AttFieldType(AttFieldType.InputTypes.date, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public DateTime referencedate { get; set; }

Property Value

DateTime

referenceyear

[AttLenght(4)]
public int referenceyear { get; set; }

Property Value

int

startdate

[AttFieldType(AttFieldType.InputTypes.date, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public DateTime startdate { get; set; }

Property Value

DateTime

totalamount

[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public decimal totalamount { get; set; }

Property Value

decimal

totaldiscount

[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public decimal totaldiscount { get; set; }

Property Value

decimal

Methods

SetStampValue(string)

public override void SetStampValue(string stampID)

Parameters

Nome Tipo Descrição
stampID string

Explicit Interface Implementations

ParentVO

ExitPaymentForecastVO ParentVO { get; set; }

Returns

ExitPaymentForecastVO

compensationstamp

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

Returns

string

order

[AttLenght(10)]
[AttHidden]
decimal order { get; set; }

Returns

decimal

previousLineID

[AttVirtualField]
[AttHidden]
string previousLineID { get; set; }

Returns

string