Table of Contents

Class TasksVO

Namespace
PHCBusinessLayer
Assembly
PHCBusinessLayer.dll
[AttTable("Tasks", 20241112)]
[AttTableFlags(new TableFlags[] { TableFlags.MasterEntity, TableFlags.TableForJorge, TableFlags.CanUpdFromSourceBD, TableFlags.NotUseHashTag })]
[AttTableGama(Gamas.Grow)]
[AttTableVOInfo(typeof(ProjectAttInfo))]
[AttTableMaintenance(typeof(TasksMaintenance))]
public class TasksVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IGenericVO, IParent<ProjectVO>, IParent
Inheritance
TasksVO

Fields

SOURCETYPE_WWF

public const string SOURCETYPE_WWF = "WWF#PHC"

Field Value

string

Properties

BPMActivityUserVO

[AttExternalCollection(typeof(BPMActivityUserVO), new string[] { "[BPMActivityUser].[tasksstamp]", "[Tasks].[tasksstamp]" })]
public BPMActivityUserVO BPMActivityUserVO { get; }

Property Value

BPMActivityUserVO

GetFieldStampName

Use only field name without table name

public override string GetFieldStampName { get; }

Property Value

string

GetStampValue

public override string GetStampValue { get; }

Property Value

string

NotificationSourceTypeVO

[AttExternalCollection(typeof(NotificationSourceTypeVO), new string[] { "[NotificationSourceType].[notificationSourceTypeStamp]", "[Tasks].[sourcetype]" })]
public NotificationSourceTypeVO NotificationSourceTypeVO { get; }

Property Value

NotificationSourceTypeVO

ProjectVO

[AttExternalCollection(typeof(ProjectVO), new string[] { "project.projectnumber", "projectnumber" })]
public ProjectVO ProjectVO { get; }

Property Value

ProjectVO

UserVO

[AttExternalCollection(typeof(UserVO), new string[] { "[US].[usstamp]", "[Tasks].[usstamp]" })]
public UserVO UserVO { get; }

Property Value

UserVO

WhoClosedUserVO

[AttExternalCollection(typeof(UserVO), new string[] { "[US].[usstamp]", "[Tasks].[whoclosed]" })]
public UserVO WhoClosedUserVO { get; }

Property Value

UserVO

bpmactivitystamp

Connection to BPMActivityVO

[AttForeignKey(typeof(BPMActivityVO))]
[AttLenght(25)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string bpmactivitystamp { get; set; }

Property Value

string

bpmactivityuserstamp

Connection to BPMActivityVO

[AttForeignKey(typeof(BPMActivityUserVO))]
[AttLenght(25)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string bpmactivityuserstamp { get; set; }

Property Value

string

bpminstancestamp

Connection to BPMInstanceVO

[AttForeignKey(typeof(BPMInstanceVO))]
[AttLenght(25)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string bpminstancestamp { get; set; }

Property Value

string

bpmname

BPM name

[AttLenght(80)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string bpmname { get; set; }

Property Value

string

bpmndoc

BPM serie

[AttLenght(5)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public int bpmndoc { get; set; }

Property Value

int

closed

Closed

[AttList]
public bool closed { get; set; }

Property Value

bool

closingdate

Closing date.

[AttRGPDrank(RGPDranks.Personal)]
[AttFieldType(AttFieldType.InputTypes.date, new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public DateTime closingdate { get; set; }

Property Value

DateTime

Remarks

Length 1.

closinghour

Closing Hour

[AttLenght(80)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string closinghour { get; set; }

Property Value

string

code

Task Code

[AttLenght(60)]
public string code { get; set; }

Property Value

string

commentsLabel

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

Property Value

string

description

Description

[AttFieldType(AttFieldType.InputTypes.memo)]
public string description { get; set; }

Property Value

string

enddate

End Date

[AttRGPDrank(RGPDranks.Personal)]
[AttList]
[AttMandatory]
public DateTime enddate { get; set; }

Property Value

DateTime

importance

Importance

[AttLenght(1)]
[AttFieldType(AttFieldType.InputTypes.integer)]
public ImportantTasks importance { get; set; }

Property Value

ImportantTasks

Remarks

Length 1.

importanceName

[AttLenght(50)]
[AttLocale(typeof(TasksAttInfo), new string[] { "[Tasks].[importance]" })]
public string importanceName { get; set; }

Property Value

string

interntype

Intern Type

[AttLenght(80)]
public string interntype { get; set; }

Property Value

string

isBpmTask

[AttVirtualField]
public bool isBpmTask { get; set; }

Property Value

bool

isreadonly

Read-only mode

[AttPhcOwner(new string[] { "closed", "enddate" })]
public bool isreadonly { get; set; }

Property Value

bool

Remarks

This field is reserved for use by PHC exclusively.

Non Duplicable Field

minPlan

[AttLenght(2)]
[AttFieldType(AttFieldType.InputTypes.integer)]
[AttHidden]
public int minPlan { get; set; }

Property Value

int

minPlanName

[AttLenght(50)]
[AttFieldType(AttFieldType.InputTypes.integer)]
[AttHidden]
public string minPlanName { get; set; }

Property Value

string

projectName

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

Property Value

string

projectNumber

Connects to projectNumber that contains this line.

[AttDocType(typeof(ProjectVO))]
[AttLenght(10)]
[AttIndex]
public int projectNumber { get; set; }

Property Value

int

sourcetype

[AttLenght(10)]
public string sourcetype { get; set; }

Property Value

string

sourcetypeLabel

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

Property Value

string

startdate

Start Date

[AttRGPDrank(RGPDranks.Personal)]
[AttList]
[AttMandatory]
public DateTime startdate { get; set; }

Property Value

DateTime

status

[AttVirtualField]
public tasktiming status { get; set; }

Property Value

tasktiming

statusLabel

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

Property Value

string

summary

Summary

[AttLenght(300)]
[AttMandatory]
[AttList]
[AttLogInfo(0)]
public string summary { get; set; }

Property Value

string

tasksp

[AttCollection(typeof(ProdByRecVO), new TableFlags[] { TableFlags.CanUpdFromSourceBD }, new string[] { "oristamp", "tasksstamp" })]
public List<ProdByRecVO> tasksp { get; set; }

Property Value

List<ProdByRecVO>

tasksstamp

Unique ID

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

Property Value

string

tc

Colecção das ligações de uma Tarefa.

[AttCollection(typeof(TaskConnectionsVO))]
public List<TaskConnectionsVO> tc { get; set; }

Property Value

List<TaskConnectionsVO>

Remarks

This field is a collection of type List (Of TaskConnectionsVO).

TaskConnectionsVO

username

[AttList]
public string username { get; set; }

Property Value

string

usimagestamp

[AttVirtualField(typeof(TasksAttInfo))]
public string usimagestamp { get; set; }

Property Value

string

usiniciais

[AttVirtualField(typeof(TasksAttInfo))]
public string usiniciais { get; set; }

Property Value

string

usstamp

[AttLenght(25)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.syncOnChange })]
public string usstamp { get; set; }

Property Value

string

whoclosed

Who Closed

[AttLenght(80)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string whoclosed { get; set; }

Property Value

string

whoclosedname

Who Closed

[AttLenght(80)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
public string whoclosedname { get; set; }

Property Value

string

whocreated

Who Closed

[AttLenght(80)]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttHidden]
public string whocreated { get; set; }

Property Value

string

Methods

SetStampValue(string)

public override void SetStampValue(string stampID)

Parameters

Nome Tipo Descrição
stampID string

Explicit Interface Implementations

ParentVO

ProjectVO ParentVO { get; set; }

Returns

ProjectVO