Class CfApVO
- Namespace
- PHCBusinessLayer
- Assembly
- PHCBusinessLayer.dll
Clearance type
[AttTable("CfAp", 20211115)]
[AttTableVOInfo(typeof(CfApAttInfo))]
[AttTableFlags(new TableFlags[] { TableFlags.MasterEntity, TableFlags.TableForJorge, TableFlags.DisableRowCount, TableFlags.UseDimensions, TableFlags.NotUseHashTag })]
[AttTableProducts(new Products[] { Products.Accounting })]
public class CfApVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IParent, IGenericVO
- Inheritance
-
CfApVO
Properties
DcVO
Documents (DC)
[AttExternalCollection(typeof(DcVO), new string[] { "[DC].[docid]", "[CfAp].[documentid]", "[DC].[year]", "[CfAp].[year]" })]
public DcVO DcVO { get; }
Property Value
DiVO
Journals
[AttExternalCollection(typeof(DiVO), new string[] { "[Di].[id]", "[CfAp].[journalid]", "[Di].[year]", "[CfAp].[year]" })]
public DiVO DiVO { get; }
Property Value
PcyVO
Accounting years
[AttExternalCollection(typeof(PcyVO), new string[] { "[PCY].[year]", "[CfAp].[year]" })]
public PcyVO PcyVO { get; }
Property Value
alloweditandrevoke
Desable from editing and revoke
[AttFieldType(AttFieldType.InputTypes.boolean)]
public bool alloweditandrevoke { get; set; }
Property Value
cfapls
[AttCollection(typeof(CfApLVO))]
public List<CfApLVO> cfapls { get; set; }
Property Value
cfapstamp
Single registration field, used to link others to this entity.
[AttLenght(25)]
public string cfapstamp { get; set; }
Property Value
civilperiods
Clearance with civil periods (quarter and semester)
[AttFieldType(AttFieldType.InputTypes.boolean)]
public bool civilperiods { get; set; }
Property Value
closedate
Disable from editing and revoke
[AttFieldType(AttFieldType.InputTypes.boolean)]
public bool closedate { get; set; }
Property Value
controlsequence
Clearance with controlled sequence
[AttFieldType(AttFieldType.InputTypes.boolean)]
public bool controlsequence { get; set; }
Property Value
dcstamp
[AttVirtualField]
[AttHidden]
public string dcstamp { get; set; }
Property Value
depcfapname
Dependent clearance Name
[AttLenght(60)]
public string depcfapname { get; set; }
Property Value
depcfapstamp
Dependent clearance stamp
[AttLenght(25)]
public string depcfapstamp { get; set; }
Property Value
distamp
[AttVirtualField]
[AttHidden]
public string distamp { get; set; }
Property Value
documentdescription
Description of the document type (DC)
[AttFieldType(AttFieldType.InputTypes.memo)]
[AttList]
public string documentdescription { get; set; }
Property Value
documentid
Id of the accounting document (DC)
[AttLenght(6)]
[AttForeignKey(ForeignType = typeof(DcVO), HiddenField = false)]
[AttFieldType(AttFieldType.InputTypes.integer)]
[AttMinValue(0)]
public decimal documentid { get; set; }
Property Value
inactive
Inactive
[AttFieldType(AttFieldType.InputTypes.boolean)]
[AttList(Inactive = false)]
public bool inactive { get; set; }
Property Value
journaldescription
Description of the journal (DI)
[AttLenght(200)]
[AttFieldType(AttFieldType.InputTypes.string)]
[AttList]
public string journaldescription { get; set; }
Property Value
journalid
Journal code (DI).
[AttPrimaryKey]
[AttForeignKey(ForeignType = typeof(DiVO), HiddenField = false)]
[AttLenght(6)]
[AttFieldType(AttFieldType.InputTypes.integer)]
[AttMinValue(0)]
public decimal journalid { get; set; }
Property Value
movdescription
Description of the movement
[AttFieldType(AttFieldType.InputTypes.memo)]
public string movdescription { get; set; }
Property Value
name
Name
[AttLenght(60)]
[AttMandatory]
[AttLogInfo(0)]
[AttPrimaryKey]
[AttList]
public string name { get; set; }
Property Value
periodicity
Clearance type
[AttLenght(2)]
[AttMandatory]
public periodicityEnum periodicity { get; set; }
Property Value
periodicitydescription
Description of clearance type
[AttLocale(typeof(CfApAttInfo), new string[] { "periodicity" })]
public string periodicitydescription { get; set; }
Property Value
saveasdraft
If the movement should be created as draft.
[AttFieldType(AttFieldType.InputTypes.boolean)]
public bool saveasdraft { get; set; }
Property Value
type
Clearance type
[AttLenght(2)]
[AttMandatory]
public TypeOfClearanceEnum type { get; set; }
Property Value
typedescription
Description of clearance type
[AttLocale(typeof(CfApAttInfo), new string[] { "type" })]
[AttList]
public string typedescription { get; set; }
Property Value
Methods
GetSeriesValue()
public override decimal GetSeriesValue()
Returns
Explicit Interface Implementations
year
Accounting Year
[AttPrimaryKey]
[AttLenght(4)]
[AttMandatory]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttDocType(typeof(PcyVO))]
[AttList(Hidden = true)]
int year { get; set; }