Table of Contents

Class EarningVO

Namespace
PHCBusinessLayer
Assembly
PHCBusinessLayer.dll
[AttTable("Earning", 20240312)]
[AttTableProducts(new Products[] { Products.Payroll })]
[AttTableOrderBy("[Earning].[order]")]
[AttTableMaintenance(typeof(EarningMaintenance))]
[AttTableFlags(new TableFlags[] { TableFlags.AddOnCustomizable, TableFlags.UseDimensions })]
public class EarningVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IGenericVO, IParent<PayslipVO>, IParent
Inheritance
EarningVO

Properties

EarningCodeVO

[AttExternalCollection(typeof(EarningCodeVO), new string[] { "[Earning].[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

MapKm

[AttVirtualField]
[AttLenght(1)]
[AttProducts(new Products[] { Products.Accounting })]
public int MapKm { get; }

Property Value

int

OtherStaffOperations

Fixed value for OtherStaffOperations in account variables

[AttVirtualField]
[AttLenght(1)]
public int OtherStaffOperations { get; }

Property Value

int

absencetotaldiscount

[AttVirtualField]
[AttFieldType(AttFieldType.InputTypes.currency)]
public decimal absencetotaldiscount { get; set; }

Property Value

decimal

accruedsupplytype

[AttVirtualField]
[AttProducts(new Products[] { Products.Accounting })]
[AttDynamicIntegrationValue(typeof(SupplyTypeVO))]
public string accruedsupplytype { get; }

Property Value

string

amount

[AttLenght(19, 6)]
[AttMinValue(0)]
[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

debtvalue

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

Property Value

decimal

earningabsencedeductions

[AttCollection(typeof(EarningAbsenceDeductionVO))]
public List<EarningAbsenceDeductionVO> earningabsencedeductions { get; set; }

Property Value

List<EarningAbsenceDeductionVO>

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

earningovertimes

[AttCollection(typeof(EarningOvertimeVO))]
public List<EarningOvertimeVO> earningovertimes { get; set; }

Property Value

List<EarningOvertimeVO>

earningtaxes

[AttCollection(typeof(EarningTaxVO))]
public List<EarningTaxVO> earningtaxes { get; set; }

Property Value

List<EarningTaxVO>

ispaymentmonth

public bool ispaymentmonth { get; set; }

Property Value

bool

movOperation

Fixed value for operation in account variables

[AttVirtualField]
[AttLenght(1)]
public int movOperation { get; }

Property Value

int

netvalue

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

Property Value

decimal

obs

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

Property Value

string

oristamp

[AttLenght(25)]
[AttIndex(new string[] { "oritable", "oristamp" }, new OrderTypes[] { OrderTypes.Ascending, OrderTypes.Descending })]
public string oristamp { get; set; }

Property Value

string

oritable

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

Property Value

string

paymentrecurrence

[AttLenght(3)]
[AttFieldType(AttFieldType.InputTypes.integer)]
public PaymentRecurrenceTypes paymentrecurrence { get; set; }

Property Value

PaymentRecurrenceTypes

payslipstamp

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

Property Value

string

quantity

[AttLenght(14, 2)]
[AttMinValue(0)]
[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

supplytype

[AttVirtualField]
[AttLenght(1)]
[AttProducts(new Products[] { Products.Accounting })]
[AttDynamicIntegrationValue(typeof(SupplyTypeVO))]
public string supplytype { get; }

Property Value

string

totalamount

[AttLenght(19, 6)]
[AttMinValue(0)]
[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, AttFieldType.FieldFlags.syncOnChange })]
public decimal totaldiscount { get; set; }

Property Value

decimal

totalpreviousdiscounts

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

Property Value

decimal

valueaftertaxes

[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly, AttFieldType.FieldFlags.syncOnChange })]
public decimal valueaftertaxes { 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

PayslipVO ParentVO { get; set; }

Returns

PayslipVO

earningstamp

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

Returns

string

order

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

Returns

decimal

previousLineID

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

Returns

string