Class Cm3VO
- Namespace
- PHCBusinessLayer
- Assembly
- PHCBusinessLayer.dll
Salesperson
[AttTable("Cm3", 20240503)]
[AttTableProducts(new Products[] { Products.VENDAS })]
[AttTableOrderBy("[Cm3].[nome],[Cm3].[cm]")]
[AttTableVOInfo(typeof(Cm3AttInfo))]
[AttTableFlags(new TableFlags[] { TableFlags.MasterEntity, TableFlags.FullTextSearchable, TableFlags.TableForJorge, TableFlags.UseInternalRef })]
[AttTableMaintenance(typeof(Cm3Maintenance))]
public class Cm3VO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IParent, IGenericVO
- Inheritance
-
Cm3VO
Properties
BeneficiaryVO
[AttExternalCollection(typeof(BeneficiaryVO), new string[] { "[Beneficiary].[beneficiarystamp]", "[Cm3].[beneficiaryStamp]" })]
public BeneficiaryVO BeneficiaryVO { get; }
Property Value
CommissionConfigVO
[AttExternalCollection(typeof(CommissionConfig), new string[] { "[CommissionConfig].[commissionconfigstamp]", "[Cm3].[commissionconfigstamp]" })]
public CommissionConfigVO CommissionConfigVO { get; }
Property Value
EarningCodeVO
[AttExternalCollection(typeof(EarningCodeVO), new string[] { "[Cm3].[earningcodecode]", "[EarningCode].[code]" })]
public EarningCodeVO EarningCodeVO { get; }
Property Value
beneficiaryName
[AttVirtualField]
public string beneficiaryName { get; set; }
Property Value
beneficiaryStamp
[AttForeignKey(typeof(BeneficiaryVO), HiddenField = false)]
[AttLenght(25)]
public string beneficiaryStamp { get; set; }
Property Value
canOnlyAccessSelfCRMEntities
[AttLenght(1)]
[AttFieldType(AttFieldType.InputTypes.boolean)]
[AttProducts(new Products[] { Products.CRM })]
public bool canOnlyAccessSelfCRMEntities { get; set; }
Property Value
cm
Internal number of Salesperson entity.
[AttPrimaryKey]
[AttLenght(4)]
[AttLogInfo(0)]
[AttFieldType(AttFieldType.InputTypes.integer)]
[AttList]
public int cm { get; set; }
Property Value
Remarks
This field is primary key.
Length 4.
Auto incremented field in the backend.
cm3stamp
Stamp of Salespersons record.
Contains the unique key salesperson identification register that is used for connecting to other tables.
[AttLenght(25)]
public string cm3stamp { get; set; }
Property Value
Remarks
Length 25.
This field is primary key.
commissionConfigDesc
[AttVirtualField]
public string commissionConfigDesc { get; set; }
Property Value
commissionconfigstamp
[AttForeignKey(typeof(CommissionConfigVO), HiddenField = false)]
[AttLenght(25)]
public string commissionconfigstamp { get; set; }
Property Value
earningcodecode
[AttForeignKey(typeof(EarningCodeVO), CanDuplicate = true, HiddenField = false)]
[AttLenght(40)]
public string earningcodecode { get; set; }
Property Value
earningcodedescription
[AttVirtualField]
public string earningcodedescription { get; set; }
Property Value
employeeName
[AttVirtualField]
public string employeeName { get; set; }
Property Value
employeeStamp
[AttForeignKey(typeof(EmployeeVO), HiddenField = false)]
[AttLenght(25)]
public string employeeStamp { get; set; }
Property Value
inactive
Inactivo
[AttFieldType(AttFieldType.InputTypes.boolean)]
public bool inactive { get; set; }
Property Value
isBeneficiary
Identifies if the salesperson is a beneficiary
public bool isBeneficiary { get; set; }
Property Value
isEmployee
Identifies if the salesperson is a Employee
public bool isEmployee { get; set; }
Property Value
isSupervisor
Identifies if the salesperson is a supervisor
public bool isSupervisor { get; set; }
Property Value
nome
Complete Name.
[AttLenght(100)]
[AttMandatory]
[AttLogInfo(1)]
[AttList]
public string nome { get; set; }
Property Value
Remarks
Length 40.
obs
Comments.
[AttFieldType(AttFieldType.InputTypes.memo)]
public string obs { get; set; }
Property Value
Remarks
Memo field.
payedBy
[AttVirtualField]
public CommissionPayedBy payedBy { get; set; }
Property Value
payedByLabel
[AttVirtualField]
public string payedByLabel { get; set; }
Property Value
refInt
Internal reference.
Contains the value of the user's internal reference that created the record.
[AttLenght(50)]
[AttEntityAvailable(typeof(RefInternaVO))]
[AttGama(Gamas.Advanced)]
[AttList(Inactive = true)]
public string refInt { get; set; }
Property Value
Remarks
Lenght 50.
supervisor
[AttForeignKey(typeof(Cm3VO), HiddenField = false)]
[AttLenght(25)]
public string supervisor { get; set; }
Property Value
supervisorName
[AttVirtualField]
public string supervisorName { get; set; }
Property Value
usstamp
Field ussstamp from Us table
[AttForeignKey(typeof(UserVO))]
[AttLenght(25)]
public string usstamp { get; set; }
Property Value
Remarks
ForeignKey to table Us
Length 25