Group type Class


( Specify the method to group operations. Group assign option is necessary. )

<ASBGroupType> Interface

 

Property Overview

TabProperty NameData TypeDescription

General

Assign method
(GroupType_AssignMethod)

<Basic><Standard>
AssignMethod
<TAssignMethod> Data Type

Enum

Specify here the method to assign the grouped operations.


ValueNameDescription
NONoneDo not group.
SContinuousAssign grouped operations on a single resource continuously.
SDContinuous on other resourcesAssign grouped operations on more than one resources continuously.
SSSame start timeAssign grouped operations on a single resource with the same start time.
SESame start/end timeAssign grouped operations on a single resource with the same start time.
SSDSame start time on other resourcesAssign grouped operations on more than one resources with the same start time.
SSEDSame start/end time on other resourcesAssign grouped operations on more than one resources with the same start/end time.
PPluginAssign grouped operations by plugin.

 

Assign operation group
(GroupType_AssignToResGroup)

<Basic><Standard>
AssignToResGroup
<VARIANT_BOOL> Data Type

Enum

Specify here whether to assign operation groups to resource groups.


ValueNameDescription
0NoDo not assign operation group to resource group.
1YesAssign operation group to resource group.

 

Adjust output instruction time
(GroupType_AdjustOutputInstTime)

<Basic>

Enum

Specify here whether to adjust the output instruction time for grouped operations.


ValueNameDescription
EDo not adjustDo not adjust output instruction time for grouped operations.
LAdjust to latest timeAdjust output instruction time to the latest one for grouped operations.

Link

Process
(Proc_GroupType_Rev)

<RO> <Multi>
<Standard>
ProcessList
<ASOObjectList> Data Type

Object

The processes which is using this group type. The group assign option is necessary.

 

Order
(Order_GroupType_Rev)

<RO> <Multi>
<Standard>
OrderList
<ASOObjectList> Data Type

Object

The order which is using this group type. The group assign option is necessary.

 

Grouped operations
(Work_CurrGroupType_Rev)

<RO> <Multi>
<Standard>
GroupedOperationList
<ASOObjectList> Data Type

Object

The operations grouped in this group type.

 

Operation using this group type as user specified group type
(Work_GroupType_Rev)

<RO> <Multi>
<Standard>
SpecifiedOperationList
<ASOObjectList> Data Type

Object

Operation using this group type as user specified group type. The group assign option is necessary.

 

Operation group
(Work_GroupTypeOfOperationGroup_Rev)

<RO> <Multi>
<Standard>
OperationGroupList
<ASOObjectList> Data Type

Object

The operation which is using this group type. The group assign option is necessary.

Common

Code
(Code)

<Basic><Standard>

String

Name of the object used internally. The code does not need to be unique including objects such as order. In that case, however, other property should be added to the DBIO primary key for a merge process during import and synchronization. Also, in cases where orders are specified by code such as for next orders, behavior is undefined.

 

Display name
(DisplayString)

<Standard>

String

Display name held internally in Asprova. If a value is set here, the display name will be displayed in place of the code. Starting with Ver4, single quotations (') are not allowed.

 

Alias
(DisplayAlias)

<Standard>

String

Specify here an alias of the object. If a value is set here, the alias will be displayed in place of its code or display name.
To display an alias, you need to select User defined aliases from [Workspace] - [General] - [String display method] (The default is set to this value). Starting with Ver4, single quotations (') are not allowed.

 

Comments (common)
(Comment)

<Multi>
<Standard>

String

Enter comments here. This property is common to each class and you can use it for Properties to be copied to operation from order of the Project class and so on.

 

Object ID
(ObjectID)

<RO>
<Standard>

Unsigned integer

ID number defined by each object.

 

Parent
(Parent)

<RO>
<Standard>

Object

The object at one level higher than this object.

 

Children
(Child)

<RO> <Multi>
<Standard>

Object

Objects at one level lower than this object.

 

Class definition
(Object_ClassDef)

<RO>
<Standard>

Object

Object that defines the class information of this object.

 

Internal status flag
(Object_StatusFlag)

<RO>
<Standard>

Enum

Represents the status such as whether the object was added or changed within Asprova.


ValueNameDescription
 NoneThis record has not been changed.
ANewly addedThis record has been newly added.
MModifiedThis record has been modified.
DDeletedThis record has been deleted.

 

Status flag
(Object_StatusFlagExt)

<RO>
<Standard>

Enum

Represents the status such as whether the object was added or changed outside Asprova.


ValueNameDescription
 NoneThis record has not been changed externally.
ANewly addedThis record has been newly added externally.
MModifiedThis record has been modified externally.
DDeletedThis record has been deleted externally.

 

Invalid flag
(Object_InvalidFlag)

<RO>
<Standard>

Bool

Indicates whether the object is invalid or not.

 

Reason to be invalidated
(ReasonToBeInvalidated)

<RO> <Multi>
<Standard>

Enum

Reason why the invalid flag is on.


ValueNameDescription
NNo valid master for order explosionNo valid master exists when orders are exploded.
LBMaster loop (master object)Master object in which a loop was detected.
LNMaster loop (master input instruction)Master input instruction in which a loop was detected.
LIMaster loop (item)Item in which a loop was detected.
FOrder explosion failureOrder explosion failed at last execution.
LIntegrated master loopItem that is detected to have a loop in the integrated master, and it's auto replenishment flag is not No.
GFailed to build groupsGroup hierachy exceeded the maximum limit of 20 levels deep.
GLFound a loop inside groupA loop has been detected inside a group.
D  
RUnneeded result operationRegarded as unneeded during the last order explosion but was not deleted because results data was specified for the operation.

 

Update time
(FlagDate)

<RO>
<Standard>

Time

Updated when import/export/synchronization is executed. Note that this is not the time at which data is changed through the GUI, rescheduling, and so on.

All Properties

Continuous sort expression
(GroupType_SequenceSortExpr)

<Basic><Standard>

Sort expression

Only used when [Assign method] is Continuous or Plugin. Specify here the sequence of the grouped operations.

 

Time constraint MAX
(GroupType_TimeConstraintMax)

<Basic><Standard>

Time span

Only used when [Assign method] is Continuous or Plugin. Specify here the maximum time span between start time and end time of grouped operations, based on the main resource's working time.

 

Code/Display name/Alias
(Object_CodeDisplayNameOrAlias)

String

Corresponds to the code, display name or alias depending on the setting in the property String display method of the workspace.

 

Currently editing user code
(Object_UserDuringChangeCode)

<RO> <Multi>

WBSRef

Temporarily used when importing/exporting Currently editing user. Mapped in DBIO's [Field mapping].

 

User with right to edit code
(Object_UserDuringCheckOutCode)

<RO> <Multi>

WBSRef

Temporarily used when importing/exporting Reserved right to edit user. Mapped in DBIO's [Field mapping].

 

Owner code
(Object_OwnerUserCode)

<RO> <Multi>

WBSRef

Temporarily used when importing/exporting Owner. Mapped in DBIO's [Field mapping].

 
 
ChildAsGroupType
<ASBGroupType> Data Type
<RO>

 

Obtains the child object specified as Index.
[in:LONG]Index: Position of the child object.

 
AddChildAsGroupType
<ASBGroupType> Data Type
<Method>

 

Adds a child object with a newCode name.
[in:BSTR]newCode: Name of the new child object.

 
GroupOperations
<ASBGroupType> Data Type
<Method>

 

"Grouping operations. If the operations have been already grouped, they will be initialized then grouped again.
[in:ASOObjectList]opList: Specify the operations to be grouped. If there are operation groups in the list, they will be ignored.
[in:BSTR]orderGroupCode: If wanted to group by order groups, please specify the order group code here. If order group does no exist, it will be generated, or the exist order group will be used. If orderGroupCode and opGroupCode are all specified, orderGroupCode will be ignored.
[in:BSTR]opGroupCode: If didn't want to group by order groups, please specify the operation group code here. If operation group does no exist, it will be generated, or the exist operation group will be used.
[out:ASBOperation]return the operation group."

 
ResetGroup
<ASBGroupType> Data Type
<Method>

 

"Reset the grouped operations.
[in:ASBOperation]op: If specified an operation group, all of its member will be reset. If specified a grouped operation, only it will be removed from its group. If the operation's group type is different from its group's (this in C++, or ME in VB), nothing will be done.
[out:VARIANT_BOOL]: return VARIANT_TRUE if succeeded, or VARIANT_FALSE if failed."

 
GetAsObject
<ASOObject> Data Type
<Method>

 

Obtains property value as object.
[in:TPropertyID]PropertyID: Specifies the ID of the properties to obtain.
[in:LONG]Index: Specifies the Index of the property.

 
SetAsObject
<VOID> Data Type
<Method>

 

Sets properties as object.
[in:TPropertyID]PropertyID: Specifies the ID of the properties to set.
[in:LONG]Index: Specifies the Index of the property.

 
GetAsInteger
<ASOObject> Data Type
<Method>

 

Obtains properties as integer.
[in:TPropertyID]PropertyID: Specifies the ID of the properties to set.
[in:LONG]Index: Specifies the Index of the property.

 
GetAsExpression
<ASOObject> Data Type
<Method>

 

Obtains properties as expression.
[in:TPropertyID]PropertyID: Specifies the ID of the properties to set.
[in:LONG]Index: Specifies the Index of the property.

 
GetAsTime
<ASOObject> Data Type
<Method>

 

Obtains properties as time.
[in:TPropertyID]PropertyID: Specifies the ID of the properties to set.
[in:LONG]Index: Specifies the Index of the property.

 
GetAsTimeSpan
<ASOObject> Data Type
<Method>

 

Obtains properties as time span.
[in:TPropertyID]PropertyID: Specifies the ID of the properties to set.
[in:LONG]Index: Specifies the Index of the property.

 
GetAsDouble
<ASOObject> Data Type
<Method>

 

Obtains properties as float.
[in:TPropertyID]PropertyID: Specifies the ID of the properties to set.
[in:LONG]Index: Specifies the Index of the property.

 
GetAsBool
<ASOObject> Data Type
<Method>

 

Obtains properties as boolean.
[in:TPropertyID]PropertyID: Specifies the ID of the properties to set.
[in:LONG]Index: Specifies the Index of the property.

 
GetAsEnum
<ASOObject> Data Type
<Method>

 

Obtains properties as enum.
[in:TPropertyID]PropertyID: Specifies the ID of the properties to set.
[in:LONG]Index: Specifies the Index of the property.

 
SetAsInteger
<VOID> Data Type
<Method>

 

Sets properties as integer.
[in:TPropertyID]PropertyID: Specifies the ID of the properties to set.
[in:LONG]Index: Specifies the Index of the property.

 
SetAsExpression
<VOID> Data Type
<Method>

 

Sets properties as expression.
[in:TPropertyID]PropertyID: Specifies the ID of the properties to set.
[in:LONG]Index: Specifies the Index of the property.

 
SetAsTime
<VOID> Data Type
<Method>

 

Sets properties as time.
[in:TPropertyID]PropertyID: Specifies the ID of the properties to set.
[in:LONG]Index: Specifies the Index of the property.

 
SetAsTimeSpan
<VOID> Data Type
<Method>

 

Sets properties as time span.
[in:TPropertyID]PropertyID: Specifies the ID of the properties to set.
[in:LONG]Index: Specifies the Index of the property.

 
SetAsDouble
<VOID> Data Type
<Method>

 

Sets properties as float.
[in:TPropertyID]PropertyID: Specifies the ID of the properties to set.
[in:LONG]Index: Specifies the Index of the property.

 
SetAsBool
<VOID> Data Type
<Method>

 

Sets properties as boolean.
[in:TPropertyID]PropertyID: Specifies the ID of the properties to set.
[in:LONG]Index: Specifies the Index of the property.

 
SetAsEnum
<VOID> Data Type
<Method>

 

Sets properties as enum.
[in:TPropertyID]PropertyID: Specifies the ID of the properties to set.
[in:LONG]Index: Specifies the Index of the property.


<RO> : Read-Only
<Multi> : Array Type (Starting From 1)

<Basic> : Displays in basic mode
<Standard> : Displays in standard mode

See Also

GroupType


HelpNo.:C225

© Since 2019 Asprova Corporation, All rights reserved.