Class CommissionVO
- Namespace
- PHCBusinessLayer
- Assembly
- PHCBusinessLayer.dll
[AttTable("Commission", 20230213)]
[AttTableVOInfo(typeof(CommissionAttInfo))]
[AttTableProducts(new Products[] { Products.VENDAS })]
[AttTableGama(Gamas.Advanced)]
[AttTableOrderBy("clearanceDate", "D")]
[AttTableFlags(new TableFlags[] { TableFlags.MasterEntity, TableFlags.TableForJorge })]
public class CommissionVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IParent, IGenericVO
- Inheritance
-
CommissionVO
Properties
Cm3VO
[AttExternalCollection(typeof(Cm3VO), new string[] { "[Cm3].[cm3stamp]", "[Commission].[cm3stamp]" })]
public Cm3VO Cm3VO { get; }
Property Value
clearanceDate
Date of clearance the issued this commission
[AttList]
public DateTime clearanceDate { get; set; }
Property Value
cm3stamp
[AttForeignKey(typeof(Cm3VO), HiddenField = false, CanDuplicate = true)]
[AttLenght(25)]
[AttMandatory]
public string cm3stamp { get; set; }
Property Value
commissionSalesOrigin
stamp of commission from sales that originated this supervision commission
[AttLenght(25)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string commissionSalesOrigin { get; set; }
Property Value
commissionstamp
[AttLenght(25)]
public string commissionstamp { get; set; }
Property Value
isProfitCommission
Indicates whether the commission is profit or sales
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public bool isProfitCommission { get; set; }
Property Value
obs
[AttLenght(25)]
public string obs { get; set; }
Property Value
originLabel
[AttVirtualField]
public string originLabel { get; set; }
Property Value
oristamp
Stamp of processing that originated this commission
[AttLenght(25)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string oristamp { get; set; }
Property Value
paid
Indicates whether the commission is paid or not
[AttList]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public bool paid { get; set; }
Property Value
payedBy
[AttVirtualField]
public CommissionPayedBy payedBy { get; set; }
Property Value
payedByLabel
[AttVirtualField]
public string payedByLabel { get; set; }
Property Value
referalDateEnd
End date of commission clearance
[AttMandatory]
public DateTime referalDateEnd { get; set; }
Property Value
referalDateIni
Initial date of commission clearance
[AttMandatory]
public DateTime referalDateIni { get; set; }
Property Value
regDate
Date of regularization
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public DateTime regDate { get; set; }
Property Value
regValue
Ammount included in payments of this commission
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public decimal regValue { get; set; }
Property Value
salesProfit
Profit value that originated this commission value
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public decimal salesProfit { get; set; }
Property Value
salesValue
Sales value that originated this commission value
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public decimal salesValue { get; set; }
Property Value
salesman
[AttLenght(100)]
[AttList]
public string salesman { get; set; }
Property Value
sourceLines
[AttCollection(typeof(CommissionLineVO))]
public List<CommissionLineVO> sourceLines { get; set; }
Property Value
stamp
Stamp of record that is regularizing this commission can be a stamp of:
- Expenses
- Dossier
- Variable Payslip
[AttLenght(25)]
public string stamp { get; set; }
Property Value
supervisorLines
[AttCollection(typeof(SupervisorLineVO))]
public List<SupervisorLineVO> supervisorLines { get; set; }
Property Value
table
Table of me stamp can be a table of:
- Expenses
- Dossier
- Variable Payslip
[AttLenght(25)]
public string table { get; set; }
Property Value
totalValue
Ammount gathered from all ft commissions. This will be the commission value to provide to this salesman
[AttLenght(19, 6)]
[AttFieldType(AttFieldType.InputTypes.currency)]
[AttList]
[AttMandatory]
public decimal totalValue { get; set; }
Property Value
type
this commission is for value or for extra value
[AttLenght(19, 6)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public CommissionType type { get; set; }
Property Value
typeLabel
[AttLocale(typeof(CommissionAttInfo), new string[] { "[Commission].[type]" })]
[AttList]
[AttVirtualField]
public string typeLabel { get; set; }