Class AtcudVO
- Namespace
- PHCBusinessLayer
- Assembly
- PHCBusinessLayer.dll
Atcud Configuration
[AttTable("Atcud", 20230105)]
[AttTableOrderBy(OrderFields = "oritable, recano", COrderType = "A,A")]
[AttTableFlags(new TableFlags[] { TableFlags.MasterEntity, TableFlags.TableForJorge, TableFlags.RequiresAdminAccess })]
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT })]
[AttTableMaintenance(typeof(AtcudMaintenance))]
public class AtcudVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IParent, IGenericVO
- Inheritance
-
AtcudVO
Properties
Cm1VO
[AttExternalCollection(typeof(Cm1VO), new string[] { "[Cm1].[cm]", "[Atcud].[docid]" })]
public Cm1VO Cm1VO { get; }
Property Value
TdVO
[AttExternalCollection(typeof(TdVO), new string[] { "[Td].[ndoc]", "[Atcud].[docid]" })]
public TdVO TdVO { get; }
Property Value
TsVO
[AttExternalCollection(typeof(TsVO), new string[] { "[Ts].[ndos]", "[Atcud].[docid]" })]
public TsVO TsVO { get; }
Property Value
TsrdVO
[AttExternalCollection(typeof(TsrdVO), new string[] { "[Tsrd].[ndoc]", "[Atcud].[docid]" })]
public TsrdVO TsrdVO { get; }
Property Value
TsreVO
[AttExternalCollection(typeof(TsreVO), new string[] { "[Tsre].[ndoc]", "[Atcud].[docid]" })]
public TsreVO TsreVO { get; }
Property Value
agreementAutofact
“Com acordo de Autofacturação.
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT })]
[AttFieldType(AttFieldType.InputTypes.boolean)]
public bool agreementAutofact { get; set; }
Property Value
atcudstamp
Single registration field, used to link others to this entity.
[AttLenght(25)]
public string atcudstamp { get; set; }
Property Value
Remarks
This field uniquely identifies the record (primary key by default).
Length 25.
atcudstate
Atcud register state
[AttLenght(1)]
[AttList]
public bool atcudstate { get; set; }
Property Value
Remarks
Length 1.
docid
Document Number
[AttLenght(6)]
[AttMandatory]
[AttFieldType(AttFieldType.InputTypes.integer, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public int docid { get; set; }
Property Value
Remarks
Identifies the document number.
Length 6.
docname
Link field to the Files table.
[AttLogInfo(0)]
[AttLenght(40)]
[AttList]
[AttFieldType(AttFieldType.InputTypes.string, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public string docname { get; set; }
Property Value
entityName
[AttLocale(typeof(AtcudAttInfo), new string[] { "[Atcud].[oritable]" })]
[AttList]
[AttVirtualField]
public string entityName { get; set; }
Property Value
isManualAutofact
Was created manually
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT })]
[AttFieldType(AttFieldType.InputTypes.boolean)]
public bool isManualAutofact { get; set; }
Property Value
manternumero
[AttVirtualField]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public bool manternumero { get; set; }
Property Value
ncontFl
Número de Contribuinte.
[AttLenght(20)]
[AttRGPDrank(RGPDranks.Legal)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public string ncontFl { get; set; }
Property Value
Remarks
Length 20.
Non Duplicable Field.
nmdoc
[AttVirtualField]
public string nmdoc { get; set; }
Property Value
oritable
Entity code.
[AttLenght(80)]
[AttMandatory]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public string oritable { get; set; }
Property Value
Remarks
Length 80.
Indicates the entity code, that corresponds to the table name.
recano
Year of Document.
[AttLenght(4)]
[AttList]
[AttLogInfo(1)]
[AttFieldType(AttFieldType.InputTypes.string, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string recano { get; set; }
Property Value
recstamp
Connection field to the original registration, which belongs to the entity represented in the field oritable.
[AttForeignKey(DependsOnRecord = true, Field = "oritable")]
[AttLenght(25)]
public string recstamp { get; set; }
Property Value
Remarks
Length 25 .
It corresponds for example to the field clstamp of a ClVO, if the value of the field is oritable is "FT".
recstart
first number.
[AttLenght(10)]
[AttMinValue(1)]
[AttFieldType(AttFieldType.InputTypes.integer, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public decimal recstart { get; set; }
Property Value
recstartdate
start date.
[AttLenght(10)]
[AttFieldType(AttFieldType.InputTypes.date)]
[AttMandatory]
public DateTime recstartdate { get; set; }
Property Value
serieid
[AttVirtualField]
[AttFieldType(AttFieldType.InputTypes.string, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string serieid { get; set; }
Property Value
tiposaft
[AttVirtualField]
public string tiposaft { get; set; }
Property Value
uniqueid
Unique identifier of this Attachment.
[AttLenght(80)]
[AttList(Inactive = true)]
[AttFieldType(AttFieldType.InputTypes.string)]
public string uniqueid { get; set; }
Property Value
wsAtResults
Result of each attempt to register the atcud in AT.
[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT })]
[AttFieldType(AttFieldType.InputTypes.memo, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string wsAtResults { get; set; }
Property Value
Remarks
Non Duplicable Field.