Table of Contents

Class CompanyTaxVO

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

Properties

DeductionCodeVO

[AttExternalCollection(typeof(DeductionCodeVO), new string[] { "[CompanyTax].[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[] { "[CompanyTax].[payslipcodeconfigcode]", "[PayslipCodeConfig].[code]" })]
public PayslipCodeConfigVO PayslipCodeConfigVO { get; }

Property Value

PayslipCodeConfigVO

accruedsupplytype

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

Property Value

string

amount

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

Property Value

decimal

companytaxadjustments

[AttCollection(typeof(CompanyTaxAdjustmentVO))]
public List<CompanyTaxAdjustmentVO> companytaxadjustments { get; set; }

Property Value

List<CompanyTaxAdjustmentVO>

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

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

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

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

companytaxstamp

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

Returns

string

order

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

Returns

decimal

previousLineID

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

Returns

string