Table of Contents

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

Cm1VO

TdVO

[AttExternalCollection(typeof(TdVO), new string[] { "[Td].[ndoc]", "[Atcud].[docid]" })]
public TdVO TdVO { get; }

Property Value

TdVO

TsVO

[AttExternalCollection(typeof(TsVO), new string[] { "[Ts].[ndos]", "[Atcud].[docid]" })]
public TsVO TsVO { get; }

Property Value

TsVO

TsrdVO

[AttExternalCollection(typeof(TsrdVO), new string[] { "[Tsrd].[ndoc]", "[Atcud].[docid]" })]
public TsrdVO TsrdVO { get; }

Property Value

TsrdVO

TsreVO

[AttExternalCollection(typeof(TsreVO), new string[] { "[Tsre].[ndoc]", "[Atcud].[docid]" })]
public TsreVO TsreVO { get; }

Property Value

TsreVO

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

bool

atcudstamp

Single registration field, used to link others to this entity.

[AttLenght(25)]
public string atcudstamp { get; set; }

Property Value

string

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

bool

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

int

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

string

entityName

[AttLocale(typeof(AtcudAttInfo), new string[] { "[Atcud].[oritable]" })]
[AttList]
[AttVirtualField]
public string entityName { get; set; }

Property Value

string

isManualAutofact

Was created manually

[AttCountryDepending(CountryDependingType.E1, new languages[] { languages.pt_PT })]
[AttFieldType(AttFieldType.InputTypes.boolean)]
public bool isManualAutofact { get; set; }

Property Value

bool

manternumero

[AttVirtualField]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public bool manternumero { get; set; }

Property Value

bool

ncontFl

Número de Contribuinte.

[AttLenght(20)]
[AttRGPDrank(RGPDranks.Legal)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public string ncontFl { get; set; }

Property Value

string

Remarks

Length 20.

Non Duplicable Field.

nmdoc

[AttVirtualField]
public string nmdoc { get; set; }

Property Value

string

oritable

Entity code.

[AttLenght(80)]
[AttMandatory]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public string oritable { get; set; }

Property Value

string

Remarks

Length 80.

Indicates the entity code, that corresponds to the table name. Examples: CL, FT, BO. .

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

string

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

string

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

decimal

recstartdate

start date.

[AttLenght(10)]
[AttFieldType(AttFieldType.InputTypes.date)]
[AttMandatory]
public DateTime recstartdate { get; set; }

Property Value

DateTime

serieid

[AttVirtualField]
[AttFieldType(AttFieldType.InputTypes.string, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string serieid { get; set; }

Property Value

string

tiposaft

[AttVirtualField]
public string tiposaft { get; set; }

Property Value

string

uniqueid

Unique identifier of this Attachment.

[AttLenght(80)]
[AttList(Inactive = true)]
[AttFieldType(AttFieldType.InputTypes.string)]
public string uniqueid { get; set; }

Property Value

string

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

string

Remarks

Non Duplicable Field.