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
GetFieldStampName
Use only field name without table name
public override string GetFieldStampName { get; }
Property Value
GetStampValue
public override string GetStampValue { get; }
Property Value
absencetotaldiscount
[AttLenght(19, 6)]
[AttMinValue(0)]
[AttFieldType(AttFieldType.InputTypes.currency)]
public decimal absencetotaldiscount { get; set; }
Property Value
amount
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public decimal amount { get; set; }
Property Value
category
[AttLenght(3)]
[AttFieldType(AttFieldType.InputTypes.integer)]
public PayslipBiz.EarningCategory category { get; set; }
Property Value
description
[AttLenght(400)]
[AttMandatory]
public string description { get; set; }
Property Value
earningcodecode
[AttForeignKey(typeof(EarningCodeVO), CanDuplicate = true, HiddenField = false)]
[AttLenght(40)]
[AttIndex]
public string earningcodecode { get; set; }
Property Value
earningcodedescription
[AttVirtualField]
[AttHidden]
public string earningcodedescription { get; set; }
Property Value
enddate
[AttFieldType(AttFieldType.InputTypes.date, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public DateTime enddate { get; set; }
Property Value
exitpaymentforecaststamp
[AttForeignKey(typeof(ExitPaymentForecastVO))]
[AttLenght(25)]
[AttIndex]
public string exitpaymentforecaststamp { get; set; }
Property Value
obs
[AttFieldType(AttFieldType.InputTypes.memo)]
public string obs { get; set; }
Property Value
oritable
[AttLenght(50)]
public string oritable { get; set; }
Property Value
quantity
[AttLenght(14, 2)]
[AttFieldType(AttFieldType.InputTypes.decimal, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public decimal quantity { get; set; }
Property Value
referencedate
[AttFieldType(AttFieldType.InputTypes.date, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public DateTime referencedate { get; set; }
Property Value
referenceyear
[AttLenght(4)]
public int referenceyear { get; set; }
Property Value
startdate
[AttFieldType(AttFieldType.InputTypes.date, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public DateTime startdate { get; set; }
Property Value
totalamount
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public decimal totalamount { get; set; }
Property Value
totaldiscount
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public decimal totaldiscount { get; set; }
Property Value
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
compensationstamp
[AttLenght(25)]
string compensationstamp { get; set; }
Returns
order
[AttLenght(10)]
[AttHidden]
decimal order { get; set; }
Returns
previousLineID
[AttVirtualField]
[AttHidden]
string previousLineID { get; set; }