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
GetFieldStampName
Use only field name without table name
public override string GetFieldStampName { get; }
Property Value
GetStampValue
public override string GetStampValue { get; }
Property Value
PayslipCodeConfigVO
[AttExternalCollection(typeof(PayslipCodeConfigVO), new string[] { "[Deduction].[payslipcodeconfigcode]", "[PayslipCodeConfig].[code]" })]
public PayslipCodeConfigVO PayslipCodeConfigVO { get; }
Property Value
amount
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency)]
public decimal amount { get; set; }
Property Value
deductionadjust
[AttFieldType(AttFieldType.InputTypes.boolean)]
public bool deductionadjust { get; set; }
Property Value
deductioncodecode
[AttForeignKey(typeof(DeductionCodeVO), CanDuplicate = true, HiddenField = false)]
[AttLenght(40)]
[AttIndex]
public string deductioncodecode { get; set; }
Property Value
deductioncodedescription
[AttVirtualField]
[AttHidden]
public string deductioncodedescription { get; set; }
Property Value
deductiontaxadjustments
[AttCollection(typeof(DeductionTaxAdjustmentVO))]
public List<DeductionTaxAdjustmentVO> deductiontaxadjustments { get; set; }
Property Value
earningaggregationcode
[AttLenght(40)]
[AttFieldType(AttFieldType.InputTypes.string, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string earningaggregationcode { get; set; }
Property Value
earningaggregationdescription
[AttLenght(400)]
[AttFieldType(AttFieldType.InputTypes.string, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string earningaggregationdescription { get; set; }
Property Value
earningmapped
[AttFieldType(AttFieldType.InputTypes.boolean)]
public bool earningmapped { get; set; }
Property Value
marginaltax
[AttVirtualField]
[AttLenght(7, 2)]
[AttFieldType(AttFieldType.InputTypes.percentage)]
[AttMaxValue(100)]
[AttMinValue(0)]
public decimal marginaltax { get; set; }
Property Value
movOperation
Fixed value for operation in account variables
[AttVirtualField]
[AttLenght(1)]
public int movOperation { get; }
Property Value
obs
[AttFieldType(AttFieldType.InputTypes.memo)]
public string obs { get; set; }
Property Value
oriearningcode
[AttForeignKey(typeof(EarningCodeVO), HiddenField = false)]
[AttLenght(40)]
public string oriearningcode { get; set; }
Property Value
oristamp
[AttLenght(25)]
[AttIndex(new string[] { "oritable", "oristamp" }, new OrderTypes[] { OrderTypes.Ascending, OrderTypes.Descending })]
public string oristamp { get; set; }
Property Value
oritable
[AttLenght(25)]
public string oritable { get; set; }
Property Value
payslipcodeconfigcode
[AttForeignKey(typeof(PayslipCodeConfigVO), CanDuplicate = true, HiddenField = false)]
[AttLenght(40)]
[AttIndex]
public string payslipcodeconfigcode { get; set; }
Property Value
payslipstamp
[AttForeignKey(typeof(PayslipVO))]
[AttLenght(25)]
[AttIndex]
public string payslipstamp { get; set; }
Property Value
referencedate
[AttFieldType(AttFieldType.InputTypes.date, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public DateTime referencedate { get; set; }
Property Value
supplytype
[AttVirtualField]
[AttLenght(1)]
[AttProducts(new Products[] { Products.Accounting })]
[AttDynamicIntegrationValue(typeof(SupplyTypeVO))]
public string supplytype { get; }
Property Value
tax
[AttLenght(7, 3)]
[AttFieldType(AttFieldType.InputTypes.percentage)]
[AttMaxValue(100)]
[AttMinValue(0)]
public decimal tax { get; set; }
Property Value
taxadjust
[AttFieldType(AttFieldType.InputTypes.boolean)]
public bool taxadjust { get; set; }
Property Value
unregularizedamount
[AttVirtualField]
public decimal unregularizedamount { get; set; }
Property Value
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
deductionstamp
[AttLenght(25)]
string deductionstamp { get; set; }
Returns
order
[AttLenght(10)]
[AttHidden]
decimal order { get; set; }
Returns
previousLineID
[AttVirtualField]
[AttHidden]
string previousLineID { get; set; }