Table of Contents

Class DeductionVO

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

Properties

DeductionCodeVO

[AttExternalCollection(typeof(DeductionCodeVO), new string[] { "[Deduction].[deductioncodecode]", "[DeductionCode].[code]" })]
public DeductionCodeVO DeductionCodeVO { get; }

Property Value

DeductionCodeVO

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

PayslipCodeConfigVO

[AttExternalCollection(typeof(PayslipCodeConfigVO), new string[] { "[Deduction].[payslipcodeconfigcode]", "[PayslipCodeConfig].[code]" })]
public PayslipCodeConfigVO PayslipCodeConfigVO { get; }

Property Value

PayslipCodeConfigVO

amount

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

Property Value

decimal

deductionadjust

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

Property Value

bool

deductioncodecode

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

Property Value

string

deductioncodedescription

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

Property Value

string

deductiontaxadjustments

[AttCollection(typeof(DeductionTaxAdjustmentVO))]
public List<DeductionTaxAdjustmentVO> deductiontaxadjustments { get; set; }

Property Value

List<DeductionTaxAdjustmentVO>

earningaggregationcode

[AttLenght(40)]
[AttFieldType(AttFieldType.InputTypes.string, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string earningaggregationcode { get; set; }

Property Value

string

earningaggregationdescription

[AttLenght(400)]
[AttFieldType(AttFieldType.InputTypes.string, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string earningaggregationdescription { get; set; }

Property Value

string

earningmapped

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

Property Value

bool

marginaltax

[AttVirtualField]
[AttLenght(7, 2)]
[AttFieldType(AttFieldType.InputTypes.percentage)]
[AttMaxValue(100)]
[AttMinValue(0)]
public decimal marginaltax { get; set; }

Property Value

decimal

movOperation

Fixed value for operation in account variables

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

Property Value

int

obs

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

Property Value

string

oriearningcode

[AttForeignKey(typeof(EarningCodeVO), HiddenField = false)]
[AttLenght(40)]
public string oriearningcode { 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

payslipcodeconfigcode

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

Property Value

string

payslipstamp

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

Property Value

string

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

tax

[AttLenght(7, 3)]
[AttFieldType(AttFieldType.InputTypes.percentage)]
[AttMaxValue(100)]
[AttMinValue(0)]
public decimal tax { get; set; }

Property Value

decimal

taxadjust

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

Property Value

bool

unregularizedamount

[AttVirtualField]
public decimal unregularizedamount { 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

deductionstamp

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

Returns

string

order

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

Returns

decimal

previousLineID

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

Returns

string