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
GetFieldStampName
Use only field name without table name
public override string GetFieldStampName { get; }
Property Value
GetStampValue
public override string GetStampValue { get; }
Property Value
MapKm
[AttVirtualField]
[AttLenght(1)]
[AttProducts(new Products[] { Products.Accounting })]
public int MapKm { get; }
Property Value
OtherStaffOperations
Fixed value for OtherStaffOperations in account variables
[AttVirtualField]
[AttLenght(1)]
public int OtherStaffOperations { get; }
Property Value
absencetotaldiscount
[AttVirtualField]
[AttFieldType(AttFieldType.InputTypes.currency)]
public decimal absencetotaldiscount { get; set; }
Property Value
accruedsupplytype
[AttVirtualField]
[AttProducts(new Products[] { Products.Accounting })]
[AttDynamicIntegrationValue(typeof(SupplyTypeVO))]
public string accruedsupplytype { get; }
Property Value
amount
[AttLenght(19, 6)]
[AttMinValue(0)]
[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
debtvalue
[AttLenght(19, 6)]
[AttMinValue(0)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public decimal debtvalue { get; set; }
Property Value
earningabsencedeductions
[AttCollection(typeof(EarningAbsenceDeductionVO))]
public List<EarningAbsenceDeductionVO> earningabsencedeductions { 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
earningovertimes
[AttCollection(typeof(EarningOvertimeVO))]
public List<EarningOvertimeVO> earningovertimes { get; set; }
Property Value
earningtaxes
[AttCollection(typeof(EarningTaxVO))]
public List<EarningTaxVO> earningtaxes { get; set; }
Property Value
ispaymentmonth
public bool ispaymentmonth { get; set; }
Property Value
movOperation
Fixed value for operation in account variables
[AttVirtualField]
[AttLenght(1)]
public int movOperation { get; }
Property Value
netvalue
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly, AttFieldType.FieldFlags.syncOnChange })]
public decimal netvalue { get; set; }
Property Value
obs
[AttFieldType(AttFieldType.InputTypes.memo)]
public string obs { 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
paymentrecurrence
[AttLenght(3)]
[AttFieldType(AttFieldType.InputTypes.integer)]
public PaymentRecurrenceTypes paymentrecurrence { get; set; }
Property Value
payslipstamp
[AttForeignKey(typeof(PayslipVO))]
[AttLenght(25)]
[AttIndex]
public string payslipstamp { get; set; }
Property Value
quantity
[AttLenght(14, 2)]
[AttMinValue(0)]
[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
supplytype
[AttVirtualField]
[AttLenght(1)]
[AttProducts(new Products[] { Products.Accounting })]
[AttDynamicIntegrationValue(typeof(SupplyTypeVO))]
public string supplytype { get; }
Property Value
totalamount
[AttLenght(19, 6)]
[AttMinValue(0)]
[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, AttFieldType.FieldFlags.syncOnChange })]
public decimal totaldiscount { get; set; }
Property Value
totalpreviousdiscounts
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly, AttFieldType.FieldFlags.syncOnChange })]
public decimal totalpreviousdiscounts { get; set; }
Property Value
valueaftertaxes
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly, AttFieldType.FieldFlags.syncOnChange })]
public decimal valueaftertaxes { 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
earningstamp
[AttLenght(25)]
string earningstamp { get; set; }
Returns
order
[AttLenght(10)]
[AttHidden]
decimal order { get; set; }
Returns
previousLineID
[AttVirtualField]
[AttHidden]
string previousLineID { get; set; }