Class BPMInstanceVO
- Namespace
- PHCBusinessLayer
- Assembly
- PHCBusinessLayer.dll
Instance of Business Process Management
[AttTable("BPMInstance", 20240302)]
[AttTableProducts(new Products[] { Products.BPM })]
[AttTableFlags(new TableFlags[] { TableFlags.MasterEntity, TableFlags.TableForJorge, TableFlags.NotUseHashTag, TableFlags.FullTextSearchable })]
[AttTableOrderBy(OrderFields = "case when BPMInstance.closed=0 then BPMInstance.dclose else BPMInstance.dopen end,\r\n case when BPMInstance.closed=0 then BPMInstance.hclose else BPMInstance.hopen end,\r\n BPMInstance.summary,\r\n BPMInstance.bpmid", COrderType = "D,D,A,A")]
[AttTableVOInfo(typeof(BPMWorkflowAttInfo))]
public class BPMInstanceVO : BusinessVO, IBaseSerialization, ICloneVO, ICloneable, IChange, IParent, IGenericVO
- Inheritance
-
BPMInstanceVO
Properties
BPMProcessVO
[AttExternalCollection(typeof(BPMProcessVO), new string[] { "[BPMProcess].[ndoc]", "[BPMInstance].[ndoc]" })]
public BPMProcessVO BPMProcessVO { get; }
Property Value
CloseUserVO
Instance of UserVO, Close user
[AttExternalCollection(typeof(UserVO), new string[] { "[US].[usstamp]", "[BPMInstance].[usclose]" })]
public UserVO CloseUserVO { get; }
Property Value
EntitiesToSave
[AttVirtualField]
[AttHidden]
public List<GenericVO> EntitiesToSave { get; set; }
Property Value
GetFieldStampName
Use only field name without table name
public override string GetFieldStampName { get; }
Property Value
GetStampValue
public override string GetStampValue { get; }
Property Value
OpenUserVO
Instance of UserVO, Open user
[AttExternalCollection(typeof(UserVO), new string[] { "[US].[usstamp]", "[BPMInstance].[usopen]" })]
public UserVO OpenUserVO { get; }
Property Value
activities
[AttCollection(typeof(BPMActivityVO), new string[] { "[BPMActivity].[bpminstancestamp]", "[BPMInstance].[bpminstancestamp]" })]
public List<BPMActivityVO> activities { get; set; }
Property Value
bpmid
ID
[AttList(Inactive = true)]
[AttLenght(80)]
[AttLogInfo(1)]
public string bpmid { get; set; }
Property Value
bpminstancestamp
Unique ID
[AttLenght(25)]
public string bpminstancestamp { get; set; }
Property Value
bpmprocessstamp
Connection to BPMProcessVO
[AttForeignKey(typeof(BPMProcessVO))]
[AttLenght(25)]
[AttIndex]
public string bpmprocessstamp { get; set; }
Property Value
closed
Close
[AttList]
public bool closed { get; set; }
Property Value
closeusername
Close user name
[AttLenght(60)]
[AttVirtualField(typeof(BPMWorkflowAttInfo))]
public string closeusername { get; set; }
Property Value
connections
[AttCollection(typeof(BPMConnectionVO), new string[] { "[BPMConnection].[bpminstancestamp]", "[BPMInstance].[bpminstancestamp]" })]
public List<BPMConnectionVO> connections { get; set; }
Property Value
dclose
Close date
[AttList(Inactive = true)]
[AttFieldType(AttFieldType.InputTypes.date)]
public DateTime dclose { get; set; }
Property Value
documents
[AttVirtualField]
[AttEntityAvailable(typeof(AnexosVO))]
[AttHidden]
public List<AnexosVO> documents { get; set; }
Property Value
dopen
Open date
[AttList]
[AttFieldType(AttFieldType.InputTypes.date)]
public DateTime dopen { get; set; }
Property Value
dstatus
Status date
[AttFieldType(AttFieldType.InputTypes.date)]
public DateTime dstatus { get; set; }
Property Value
dtrace
Trace date
[AttFieldType(AttFieldType.InputTypes.date)]
[AttHidden]
public DateTime dtrace { get; set; }
Property Value
grupo
Group
[AttLenght(40)]
public string grupo { get; set; }
Property Value
hclose
Close time
[AttList(Inactive = true)]
[AttLenght(8)]
[AttFieldType(AttFieldType.InputTypes.time)]
public string hclose { get; set; }
Property Value
hopen
Open time
[AttList(Inactive = true)]
[AttLenght(8)]
[AttFieldType(AttFieldType.InputTypes.time)]
public string hopen { get; set; }
Property Value
hstatus
Status time
[AttLenght(8)]
[AttFieldType(AttFieldType.InputTypes.time)]
public string hstatus { get; set; }
Property Value
identification
Identification
[AttVirtualField]
[AttHidden]
public string identification { get; set; }
Property Value
name
Name
[AttLenght(80)]
public string name { get; set; }
Property Value
ndoc
Serie
[AttLenght(5)]
[AttDocType(typeof(BPMProcessVO))]
[AttFieldType(new AttFieldType.FieldFlags[] { AttFieldType.FieldFlags.isReadOnly })]
[AttList(Hidden = true)]
public int ndoc { get; set; }
Property Value
openusername
Open user name
[AttLenght(60)]
[AttVirtualField(typeof(BPMWorkflowAttInfo))]
public string openusername { get; set; }
Property Value
phasetype
Phase type
public BPMPhasesTypes phasetype { get; set; }
Property Value
phasetypename
Phase type name
[AttList]
[AttLenght(60)]
[AttLocale(typeof(BPMWorkflowAttInfo), new string[] { "[BPMInstance].[phasetype]" })]
public string phasetypename { get; set; }
Property Value
status
Status
[AttList(Inactive = true)]
[AttLenght(40)]
[AttLogInfo(2)]
public string status { get; set; }
Property Value
summary
Name
[AttList]
[AttLenght(80)]
[AttLogInfo(0)]
public string summary { get; set; }
Property Value
trace
Trace
[AttFieldType(AttFieldType.InputTypes.memo)]
public string trace { get; set; }
Property Value
usclose
Connection to UserVO, Close user
[AttForeignKey(typeof(UserVO), HiddenField = false)]
[AttLenght(25)]
public string usclose { get; set; }
Property Value
useattachment
Use attachments
public bool useattachment { get; set; }
Property Value
useconnection
Use connections
public bool useconnection { get; set; }
Property Value
usopen
Connection to UserVO, Open user
[AttForeignKey(typeof(UserVO), HiddenField = false)]
[AttLenght(25)]
public string usopen { get; set; }
Property Value
variables
[AttCollection(typeof(BPMValueVO), new string[] { "[BPMValue].[ownerstamp]", "[BPMInstance].[bpminstancestamp]" })]
public List<BPMValueVO> variables { get; set; }
Property Value
version
Version
[AttLenght(10)]
[AttFieldType(AttFieldType.InputTypes.integer)]
public decimal version { get; set; }
Property Value
waitstate
Wait state
[AttHidden]
public bool waitstate { get; set; }
Property Value
Methods
AddTraceBuffer(string)
public void AddTraceBuffer(string traceMsg)
Parameters
| Nome | Tipo | Descrição |
|---|---|---|
traceMsg |
string |
AddTraceByBuffer()
public void AddTraceByBuffer()
GetActivity(string)
public BPMActivityVO GetActivity(string uniqueID)
Parameters
| Nome | Tipo | Descrição |
|---|---|---|
uniqueID |
string |
Returns
GetSeriesValue()
public override decimal GetSeriesValue()
Returns
ResetTraceBuffer()
public void ResetTraceBuffer()
SetStampValue(string)
public override void SetStampValue(string stampID)
Parameters
| Nome | Tipo | Descrição |
|---|---|---|
stampID |
string |