Order Class


( Specify here information about the item to be produced, its quantity, due date and so on. )
Inherits the ASBWork class.

<ASBOrder> Interface

 

Property Overview

TabProperty NameData TypeDescription

General

Order type
(Order_Type)

<Basic><Standard>
OrderType
<TOrderType> Data Type

Enum

Specify here the type of this order. If the order is assigned during rescheduling after specifying the type of the order, you will not be able to change the type except for some cases.


ValueNameDescription
SSales orderThis order is a sales order.
MManufacturing orderThis order is a manufacturing order.
PPurchase orderThis order is a purchase order.
EEvent orderThis order is of a type intended to represent activities such as resource maintenance.
IInventory (absolute)Specify the inventory level at that time. The time should be before the scheduling basis time (You cannot specify the scheduling basis time as this value).
UUnofficial orderThis order is an unofficial order.
JInventory (fluctuation)If the quantity is a positive value, the inventory increases (an input instruction is created). If the quantity is a negative value, the inventory decreases (an output instruction is created).
FForecast orderUsed by Asprova SCP. Generates purchase orders from a time period and an overall quantity.
LInventory (planned)Used by Asprova SCP. Represents target safety inventory for a given time period. The quantity can be specified by a normal number, or a number of days worth of daily demand. Quantities for this order will not be shown on the inventory graph.
GOrder groupGroup several orders. It can be used not only for specifying operations to group when using group assign option, but also for other cases.
NNot specifiedThis order will be ignored.

 

Order class
(Order_IsReplenishmentOrder)

<Basic><Standard>
IsReplenishmentOrder

Enum

Indicates whether the order is a replenishment order or registered order. Valid for manufacturing orders and purchase orders. You can toggle between Replenishment order and Registered order.


ValueNameDescription
0Registered orderAsprova will not automatically set or delete properties such as order code or quantity.
1Replenishment orderOrder code, quantity, and so on are managed internally by Asprova, and will be generated or deleted as necessary.

 

Item
(Order_Item)

<Basic><Standard>
Item
<ASBItem> Data Type

Object

Item of the order.

 

Item for order explosion
(Order_MasterItem)

<Standard>
MasterItem
<ASBItem> Data Type

Object

If you want to use master data of an item different from the order item for order explosion, specify that item here. The order item is used for the output instruction for the main output item from the final process.

 

Template item
(Order_TemplateItem)

<Standard>

Object

Used when generating an ETO item from the item specified in this property and it's integrated master, then sets the ETO item in the [Item] property and explodes the order. The item's [Type] does not need to be Template item.

 

Order time
(Order_OrderTime)

<Standard>

Time

Time at which the order was placed. Not particularly used for logic but this property can be referred to by expressions. Indicates purchase order time for purchase orders, order generation time for manufacturing orders, and order receipt time from customers for sales orders.

 

EST
(Order_EST)

<Basic><Standard>
EST
<DATE> Data Type

Time

Specify here the earliest possible start time at which the order is allowed to start production.

 

Due date
(Order_LET)

<Basic><Standard>
LET
<DATE> Data Type

Time

Due date.

 

Period
(Order_PeriodEnum)

<Standard>
PeriodEnum

Enum

Time period for this forecast order.Specify this property when setting the period of forecast orders. Or specify it when setting the necessary period for calculating quantity of planned inventory by setting the property 'Ratio of demand to calculate planned stock' of inventory (planned) orders. The start of the time period should be set in the due date for this order.


ValueNameDescription
M11 month1 months
M22 months2 months
M33 months3 months
M44 months4 months
M55 months5 months
M66 months6 months
M77 months7 months
M88 months8 months
M99 months9 months
M1010 months10 months
M1111 months11 months
M1212 months12 months
EExpressionThe period will be set by an expression.
W11 week1 week
W22 weeks2 weeks
W33 weeks3 weeks
W44 weeks4 weeks
W55 weeks5 weeks
W66 weeks6 weeks
W77 weeks7 weeks
W88 weeks8 weeks
W99 weeks9 weeks
W1010 weeks10 weeks

 

Period/end time expression
(Order_PeriodExpr)

<Standard>
PeriodExpr
<ASVExpression> Data Type

Expression

The property will be referred if the property 'Period' is set to 'Expression'. Please set an expression which returns time or date as value.

 

Inventory valid period
(Order_InventoryValidPeriodExpr)

<Standard>
InventoryValidPeriodExpr
<ASVExpression> Data Type

Expression

If an output instruction for an order item is assigned outside of this time range when it is pegged, the output instruction will not be pegged. Valid only for pegging immediately before adjustment. Example: 3d for pegging to input instructions of which the time is within three days after the time of a final process output instruction of an order item. #2008/04/08 17:00:00# for pegging to input instructions of which the time is specified before 5 p.m. on 2008/04/08.

 

Order quantity
(Order_Qty)

<Basic><Standard>
Qty
<double> Data Type

Float

Quantity of the order.

 

Inventory days
(Order_InventoryDay)

<Standard>

Time span

For planned inventory orders (order type set to Inventory (planned)), instead of using a fixed order quantity, this value multiplied by the Daily demand quantity property of the item will be used.

 

Order qty fixed level
(Order_QtyFixedLevel)

<RO>
<Standard>
QtyFixedLevel
<LONG> Data Type

Integer

Quantity fixed level of this order.

 

User specified order qty fixed level
(Order_QtyFixedLevel_UserSpecified)

<Standard>
QtyFixedLevel_UserSpecified
<LONG> Data Type

Integer

Used for specifying the quantity fixed level of this order directly.

 

Priority
(Order_Priority)

<Basic><Standard>
Priority
<double> Data Type

Float

Specify here the priority in assignment. If you set the dispatching key in the scheduling parameter to Order Priority, the dispatching order will be determined according to this value.

 

Supplier
(Order_Supplier)

<Standard>
Supplier
<ASBCustomer> Data Type

Object

Used by Asprova SCP. Specify the supplier of this order. For example for purchase orders, the site of the manufacturing/inventory order of the input instruction is the supplier.

 

Customer
(Order_Customer)

<Basic><Standard>
Customer
<ASBCustomer> Data Type

Object

Customer. If you have specified a value for the Customer property of a sales order/purchase order, the sales order will be assigned to a virtual resource using that customer code on the resource Gantt chart.

 

Display color
(Order_Color)

<Basic><Standard>
Color
<LONG> Data Type

Integer

The color numbers used when the bars on the Gantt chart are displayed by order color.
Specify the number from 0 to 32. If the display color is 0, then the color will be decided automatically by Asprova.

 

Display order
(Order_DisplayOrder)

<Standard>

Float

Set the display order in table or chart and so on. It is also can be used to set the display order of bar in resource gantt chart.

 

Version
(Order_Version)

<Multi>
<Standard>
Version
<BSTR> Data Type

String

If set strings in this property, the instruction whose [Version] has a same value in the IME table will be used. This property is multi data so that more than one strings can be set. If set nothing, all the instructions in the IME table will be valid. Used mainly for the old Asprova for compatibility. In Asprova APS, this property is unnecessary if [Valid condition] has been used.

 

Timestamp
(Order_TimeStamp)

<Standard>
TimeStamp
<DATE> Data Type

Time

The accuracy of forecast orders is considered to be more accurate for more recently timestamped orders.

 

Comments
(Order_Comments)

<Multi>
<Basic><Standard>

String

Enter comments here.

 

Extension field
(Order_Extension)

<Multi>
<Standard>

String

Valid only when the old Asprova mode or the normal mode converted from old Asprova is used.

Spec

Spec 1
(Order_Spec1)

<Basic><Standard>

Object

Specify here the value of spec 1 for the order.


Details
 

Spec 2
(Order_Spec2)

<Basic><Standard>

Object

Specify here the value of spec 2 for the order.

 

Spec 3
(Order_Spec3)

<Basic><Standard>

Object

Specify here the value of spec 3 for the order.

 

Spec 4
(Order_Spec4)

<Basic><Standard>

Object

Specify here the value of spec 4 for the order.

 

Num spec 1
(Order_NumSpec1)

<Basic><Standard>

Float

Specify here the value of num spec 1 for the order.

 

Num spec 2
(Order_NumSpec2)

<Basic><Standard>

Float

Specify here the value of num spec 2 for the order.

 

Num spec 3
(Order_NumSpec3)

<Basic><Standard>

Float

Specify here the value of num spec 3 for the order.

 

Num spec 4
(Order_NumSpec4)

<Basic><Standard>

Float

Specify here the value of num spec 4 for the order.

Settings

Assignment direction
(Order_AssignmentDirection)

<Standard>
AssignmentDirection

Enum

Specify here the direction in which the order will be assigned.


ValueNameDescription
 UnspecifiedThe same as According to order priority.
FForwardThis order is assigned forward.
BBackwardThis order is assigned backward.
PAccording to order prioritySpecify that the assignment direction of each target order will be determined based on the settings of order priority.

 

Order group
(Order_Group)

<Standard>
Group
<ASBOrder> Data Type

Object

The order group which this order belongs to. Used when grouping and assigning operations.

 

Group type
(Order_GroupType)

<Standard>
GroupType
<ASBGroupType> Data Type

Object

Specify here the method to group and assign this order. The group assign option is necessary.

 

Disabled flag
(Order_Disabled)

<Standard>
Disabled
<VARIANT_BOOL> Data Type

Enum

Specify whether to disable the order from assignment. If the order is disabled, the order will be excluded from the target of executing commands such as assignment and order explosion.


ValueNameDescription
0NoThis order is enabled for assignment.
1YesThis order is disabled from assignment.

 

Production factor
(Order_ProductionFactor)

<Standard>
ProductionFactor
<double> Data Type

Float

Specify here a production efficiency rate for the order.
1 represents 100%. 0 is regarded as 1, i.e. 100%.

 

Process properties
(Order_HalfwayProcessV9)

<Standard>
HalfwayProcess
<ASVHalfwayProcess> Data Type

Process properties old Asprova

Specify here the production quantity and other settings for specific processes within the order. You can specify multiple values by separating them with semicolons. Example 1: When you use item ProductA-10 as raw material, specify I=ProductA-10,TYPE=MATERIAL.


Details
 

Items to peg one-to-one
(Order_OneToOnePeggingItems)

<Multi>
<Standard>
OneToOnePeggingItem
<ASBItem> Data Type

Object

If you specify the item as a one-to-one pegging item, an order will be automatically generated and pegged one to one. If you specify *, orders will be generated automatically for all items by traveling backwards in the direction of raw material to recursively find items that have their own master data.

 

Next orders
(Order_NextLotV9)

<Standard>
NextOrder
<IASVOrderRel> Data Type

Next lot constraint old Asprova

Specify a previous process and next process of a manufacturing order, or an operation, to create a pegging object between them, and apply time constraints as necessary.
The pegging object will be associated with a production task. This pegging object's [Type] is Between orders (next orders), and does not have an associated item nor item quantity.
The created pegging object will be deleted if the next orders setting is deleted afterwards. However, by turning on [Fixed flag], the pegging object will remain even if the next orders setting is removed.
[LOT1] (After this order is finished, LOT1 will be begun.)
[LOT1, PR1] (After this order is finished, order LOT1's PR1 process will begin.)
[LOT1,,20] (After this order is finished, begin order LOT1's process number 20.)
[LOT1:20,,LOT2,LOT2:20] (After this order's operation LOT1:20 is finished, begin order LOT2's operation LOT2:20.)


Details
 

Explode each time flag
(Order_ExplodeEachTime)

<Standard>

Bool

Specify here whether to generate operations for this order every time. Quantities will be calculated whether or not the order is exploded.

 

Quantity recalculation flag
(Order_NeedToRecalcQty)

Bool

Specify whether to recalculate the operation quantity each time

 

Start buffer
(Order_StartBuffer)

<Standard>
StartBuffer
<ASVExpression> Data Type

Expression

Buffer until the production start time. Used during execution of sequence control.

 

End buffer
(Order_EndBuffer)

<Standard>
EndBuffer
<ASVExpression> Data Type

Expression

Buffer from the production end time to due date. Used during execution of sequence control.

Assignment

Assignment flag
(Order_IsAllOperationsAssigned)

<RO>
<Basic><Standard>
IsAllOperationsAssigned
<TIsAssigned> Data Type

Enum

Indicates that the order is assigned.


ValueNameDescription
UUnassignedNot assigned yet.
AAssignedAll operations have already been either assigned or forcibly assigned.
FAssigned (dummy resource)All operations have already been assigned, forcibly assigned or assigned to dummy resources.

 

Lead time
(Work_LeadTime)

<RO>
<Basic><Standard>

Time span

Returns the time obtained by subtracting the earliest of the production start times from the latest of the production end times of the use instructions.
For inventory, returns NotSpecified.

 

Start time
(Work_StartTime)

<RO>
<Basic><Standard>

Time

Returns the earliest of the start times of the use instructions.

 

End time
(Work_EndTime)

<RO>
<Basic><Standard>

Time

Returns the latest of the end times of the use instructions.

 

Total calculated EST
(Work_TotalCalculatedEST)

<RO>
<Basic><Standard>
ASBOperation::TotalCalculatedEST

Time

Current EST calculated considering the time relationship with the previous process, user specified EST and so on. For tasks, assignment position of the previous task is also considered. For orders, next order constraints and order EST are considered.

 

Total calculated LET
(Work_TotalCalculatedLET)

<RO>
<Basic><Standard>
ASBOperation::TotalCalculatedLET

Time

Current LET calculated considering the time relationship with the next process, user specified LET and so on. For tasks, assignment position of the next task is also considered. For orders, next order constraints and order LET are considered.

Results

Status
(Order_Status)

<Basic><Standard>
Status
<TWorkStatus> Data Type

Enum

Status of this order.


ValueNameDescription
XNot startedThis order has not been started yet.
TStartedThis order has already been started.
BCompletedThis order is completed.

Only kWorkStatus_Unspecified and kWorkStatus_Completed can be used from COM.
 

Result obtained time
(Order_ResultObtainTime)

<Standard>
ResultObtainTime
<DATE> Data Type

Time

Date at which results were obtained. Used by Asprova SCP.

 

Result start time
(Order_ResultStartTime)

<Standard>
ResultStartTime
<DATE> Data Type

Time

Start time of results. Used by Asprova SCP.

 

Reported end time
(Order_ResultEndTime)

<Standard>
ResultEndTime
<DATE> Data Type

Time

Reported end time.

 

Reported qty
(Order_ResultQty)

<Standard>
ResultQty
<Double> Data Type

Float

Result quantity. Valid only for purchase orders and manufacturing orders.

 

Result progress
(Order_ResultProgress)

<Standard>

Float

Specify the progress rate of the order. Used by Asprova SCP.

 

Operation results
(Order_LotResultV9)

<Multi>
<Standard>
OrderResult
<ASVOrderResult> Data Type

Lot results old Asprova

Specify here the currently ongoing process, its status, completed quantity and assigned main resource for the operation. Example: PR01 when completed up to process PR01./PR01,S,50,RES1 when process PR01 started and completed up to 50 pieces and the main resource used for the production is RES1./PR01,S,50 when process PR01 started and completed up to 50 pieces./PR01,S2010/6/27 17:20:00 when process PR01 started on 2010/6/27 17:20:00./PT01,C,50 when process PR01completed with production quantity of 50./PR01,R,0,RES1 when the assignment of process PR01 is specified on main resource RES1.

Evaluation

Earliness
(Work_Earliness)

<RO>
<Basic><Standard>

Time span

The amount of time by which the order/operation/task started too early. Positive values mean an EST violation. Production start time: The earliest of the times of the input instructions under the order/operation/task. EST: For orders, EST of the order. For operations/tasks, the minimum of user specified EST and the EST specified in the order's process properties.

 

Lateness
(Work_Lateness)

<RO>
<Basic><Standard>

Time span

The amount of time by which the order/operation/task ran late. Positive values mean a due date violation. Production end time: The latest of the times of the output instructions under the order/operation/task. due date: For orders, due date of the order. For operations/tasks, the maximum of user specified due date and the due date specified in the order's process properties. ENU

 

Earliness (time constraints MAX)
(Work_Earliness_TimeConstraintMax)

<RO>
<Standard>

Time span

The amount of time by which the order/operation/task started too early vis-a-vis the time constraints MAX. Positive values mean an EST violation. Production end time: The latest of the times of the output instructions under the order/operation/task. EET: LST that satisfies the time constraint MAX with the following processes.

 

Lateness (time constraint MAX)
(Work_Lateness_TimeConstraintMax)

<RO>
<Standard>

Time span

The amount of time by which the order/operation/task ran late vis-a-vis the time constraints MAX. Positive values mean a due date violation. Production start time: The earliest of the times of the input instructions under the order/operation/task. LST: LST that satisfies the time constraint MAX with the preceding processes. ENU

 

Number of not fully pegged output instructions
(Work_NumNotFullPeggedOutputInstructions)

<RO>
<Standard>

Integer

Number of output instructions for which the entire quantity has not been pegged yet.

 

Number of insufficient input qty instructions
(Work_NumNotFullPeggedInputInstructions)

<RO>
<Standard>

Integer

Number of input instructions for which the entire quantity has not been pegged yet.

 

Insufficient input qty instructions
(Work_NotFullPeggedInputInstructions)

<RO>
<Standard>

Object

List of input instructions with insufficient raw materials (i.e., instruction that have not been fully pegged). Only counted for items for which you have set the inventory constraint flag.

Link

Order using this order as group
(Order_Group_Rev)

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

Object

The orders which are use this order as group.

 

Operation
(Order_Operations)

<RO> <Multi>
<Standard>

Object

The operation list of this order. It contains not only split root operations but also split operations. If this order is an order group, it will also contain the operation group. From Ver.14.1.0.0 until Ver.14.1.1.60, a COM interface ASBOrderEx::OperationList was added, but it was removed as the name clashed with ASBOrderEx::GetOperationList.

 

First operations
(Order_FirstOperations)

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

Object

List of operations during the first process

 

Final operations
(Order_FinalOperations)

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

Object

List of operations during the final process

 

Child orders
(Order_LeftOrder)

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

Object

Orders pegged to the left of this order.

 

Parent orders
(Order_RightOrder)

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

Object

Orders pegged to the right of this order.

 

Child orders (recursive)
(Order_LeftRecursiveOrder)

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

Object

All orders pegged to the left of this order

 

Parent orders (recursive)
(Order_RightRecursiveOrder)

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

Object

All orders pegged to the right of this order

 

Leftmost orders
(Order_LeftmostOrder)

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

Object

Displays the leftmost orders obtained by traversing child orders until reaching orders that have no child order.

 

Rightmost orders
(Order_RightmostOrder)

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

Object

Displays the rightmost orders obtained by traversing parent orders until reaching orders that have no parent order.

 

Order that automatically generated this order based on one-to-one pegging items (order class)
(Order_OneToOnePeggingOrderSource)

<RO>
OneToOnePeggingOrderSource
<ASBOrder> Data Type

Object

Internally used property.

 

Orders automatically generated based on the one-to-one pegging items (order class)
(Order_OneToOnePeggingOrderSource_Rev)

<RO> <Multi>
<Standard>
AutoGeneratedOneToOnePeggingOrder
<ASBOrder> Data Type

Object

Internally used property.

 

Rightmost one-to-one pegging order
(Order_OneToOnePeggingOrderSourceGeneric)

<RO>
<Standard>
RightmostOneToOnePeggingOrder
<ASBOrder> Data Type

Object

Rightmost order among orders pegged one-to-one by the Items to peg one-to-one property of the Order class or by setting the Auto-replenish flag of the Item class to Yes (one-to-one production).

 

Sales plan (Aggregate)
(Order_AggregateSalesPlan)

<RO>
<Standard>
AggregateSalesPlan
<ASBSalesPlan> Data Type

Object

The aggregate sales plan generated by this forecast order.

 

Purchase order generated from forecast order
(Order_ForecastPurchaseOrder)

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

Object

The purchase order which is generated by the forecast order.

 

Forecast order
(Order_ForecastPurchaseOrder_Rev)

<RO>
<Standard>
ForecastOrder
<ASBOrder> Data Type

Object

The forecast order which is generated by the purchase order.

 

Unofficial order
(Order_UnofficialOrder)

<RO>
UnofficialOrder
<ASBOrder> Data Type

Object

Unofficial order by which this manufacturing order was generated.

 

Manufacturing order
(Order_UnofficialOrder_Rev)

<RO> <Multi>
UnofficialManufacturingOrder
<ASBOrder> Data Type

Object

Manufacturing order that was generated from this unofficial order.

 

Operation group
(Order_OperationGroups)

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

Object

If this order is an order group, it will contain the operation group generated from this order group, which means it will have same value with the property [Operation].

 

Sales plan
(DailySalesPlan_SalesOrder_Rev)

<RO>
<Standard>
DailySalesPlan
<ASBDailySalesPlan> Data Type

Object

Sales plan object that generated this sales order.

 

Item time series
(ItemTime_Order_Rev)

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

Object

Internally used property.

 

Label
(Order_Label)

<RO> <Multi>
<Standard>
Label
<ASBLabel> Data Type

Object

Labels added to the order

Rights

Currently editing user
(Object_UserDuringChange)

<RO> <Multi>
<Standard>
UserDuringChange
<ASUser> Data Type

Object

User who is currently editing this object. It means the user reserved the right to edit this object, or inherited the right to edit this object from another object.

 

User with right to edit
(Object_UserDuringCheckOut)

<RO> <Multi>
<Standard>
UserDuringCheckOut
<ASUser> Data Type

Object

User who reserved right to edit this object

 

Owner
(Object_OwnerUser)

<Multi>
<Standard>
OwnerUser
<ASUser> Data Type

Object

Owner of this object. It can be set with more than one users. If specified, other users will not be able to reserve right to edit this object. Scheduling module type is necessary to modify this property.

 

Shared object
(Object_SharedObject)

<Standard>
SharedObject
<TSharedObject> Data Type

Enum

Specify here if more than one user can reserve right to edit this object. Scheduling module type is necessary to modify this property.


ValueNameDescription
0NoThis object can not be shared.
1YesThis object can be shared.

 

Pass down right to edit
(Object_InheritRightToChange)

<Standard>
InheritRightToChange

Enum

Specify here if the right to edit can be passed down to the selection, when a user reserved right to edit this object. The combination can be Order->Operation, or Resource->Operation. Scheduling module type is necessary to modify this property.


ValueNameDescription
0NoneDo not pass down right to edit to other objects.
1OperationPass down right to edit to operations.
2OrderPass down right to edit to orders.

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.

Internal

Result of theoretical inventory calculation
(Order_IsAbsoluteInventoryFromAutoCalc)

<RO>
IsAbsoluteInventoryFromAutoCalc

Enum

Indicates whether this is an inventory object produced when the theoretical inventory was calculated automatically.


ValueNameDescription
0  
1  

 

Replenishment order for inventory MIN
(Order_IsReplenishmentOrderForInventoryMin)

<RO>
<Standard>
IsReplenishmentOrderForInventoryMin

Enum

Replenishment orders for inventory MIN and replenishment orders for Target inventory MIN to which nothing is pegged will be assigned forward.


ValueNameDescription
0NoNot related to inventory MIN/target inventory MIN.
1Yes (Inventory MIN)Replenishment order for inventory MIN.
2Yes (Target inventory MIN)Replenishment order for target inventory MIN.

 

One-to-one replenishment order
(Order_IsReplenishmentOrderOneToOne)

<RO>

Enum

Indicates whether or not the order is a one-to-one replenishment order. Internally used property.


ValueNameDescription
0NoThis order is not a one-to-one replenishment order.
1YesThis order is a one-to-one replenishment order.

 

Right order earliest due date
(Order_RightOrderEarliestPeggingLET)

<RO>
<Standard>
RightOrderEarliestLET
<DATE> Data Type

Time

The earliest among the due dates (LET) of this order and orders pegged to the right side of this order.

 

Right sales order earliest due date
(Order_SalesOrderPeggingLET)

<RO>
<Standard>
RightSalesOrderEarliestLET
<DATE> Data Type

Time

The earliest among the due dates (LET) of sales orders pegged on the right side of this order.

 

Strict due date flag
(Order_StrictDueDateFlag)

Enum

Not used. (To be used during execution of sequence control. If this property is set to Yes for the time wise load leveling command, orders judged to be late will be assigned backward by setting the expansion rate to 1 and ignoring working time.)


ValueNameDescription
0No(Not used.) Due dates should not necessarily be strictly met.
1Yes(Not used.) Due dates should be strictly met. In time wise load leveling, orders judged to be late will be assigned backward from the due dates ignoring working time.

 

Quick shoot
(Order_QuickShootFlag)

<Standard>

Enum

The flag attached to orders generated by the Integrated Master Editor. Only the orders with this flag may be rescheduled on the Integrated Master Editor.


ValueNameDescription
0NoThis order is a regular order (not subject to Quick shoot).
1YesThis is an order subject to Quick shoot.

 

Event condition
(Order_Event)

<RO>
<Standard>
EventCondition
<> Data Type

Object

Event condition by which this event order occurs.

 

Position on order Gantt
(Order_PositionOnOrderGantt)

<RO>
<Standard>

Integer

Specify here the order of display on the order Gantt chart.

KPI

Cumulative material cost
(Work_CumulativeMaterialCost)

<Standard>

Float

Cumulative material cost

 

Cumulative outsourcing cost
(Work_CumulativeOutsourcingCost)

<Standard>

Float

Cumulative outsourcing cost

 

Cumulative labor cost
(Work_CumulativeHourlyCost)

<Standard>

Float

Cumulative labor cost

 

Cumulative delivery costs
(Work_CumulativeDeliveryCost)

<Standard>

Float

Cumulative delivery costs.

 

Cumulative total cost
(Work_CumulativeTotalCost)

<Standard>

Float

Cumulative total cost

 

Earnings
(KPIEvalResult_Sales)

<Standard>
Earnings
<Double> Data Type

Float

Total monetary value of sales orders with LETs within the specified period.

 

Profit
(KPIEvalResult_Profit)

<Standard>
Profit
<Double> Data Type

Float

The profit during the specified period.

 

Profit ratio
(KPIEvalResult_ProfitRatio)

<Standard>
ProfitRatio
<Double> Data Type

Float

The ratio of profit and earnings during the specified period.

 

Penalty
(KPIEvalResult_Penalty)

<Standard>

Float

Penalties incurred during the specified period.

All Properties

Order code
(Order_Code)

<Basic><Standard>

WBSKey

Order code.

 

Item code
(Order_ItemCode)

WBSRef

Code of the item of the order.

 

Item code for order explosion
(Order_MasterItemCode)

<RO>

WBSRef

Code of the item to be used during order explosion. (Ver3 restricted feature)

 

Template item code
(Order_TemplateItemCode)

<RO>

WBSRef

Used during importing/exporting of template item property for DBIO's field mapping.

 

Supplier code
(Order_SupplierCode)

<RO>

WBSRef

Supplier code for this order.

 

Customer code
(Order_CustomerCode)

<RO>

WBSRef

Customer code.

 

Order group code
(Order_GroupCode)

<RO>

WBSRef

The code of order group which this order belongs to.

 

Group type code
(Order_GroupTypeCode)

<RO>

WBSRef

The code of order group type.

 

Spec 1 code
(Order_Spec1Code)

<RO>

WBSRef

Spec 1 code for the order.

 

Spec 2 code
(Order_Spec2Code)

<RO>

WBSRef

Spec 2 code for the order.

 

Spec 3 code
(Order_Spec3Code)

<RO>

WBSRef

Spec 3 code for the order.

 

Spec 4 code
(Order_Spec4Code)

<RO>

WBSRef

Spec 4 code for the order.

 

Due date leeway
(Order_LETLeewayTime)

LETLeewayTime
<LONG> Data Type

Time span

Not used.

 

Code of items to peg one-to-one
(Order_OneToOnePeggingItemsCode)

<RO> <Multi>

WBSRef

If you specify the item as a one-to-one pegging item, an order will be automatically generated and pegged one to one. If you specify *, orders will be created for all items.

 

Child order codes
(Order_LeftOrderCode)

<RO>

WBSRef

Orders pegged to the left of this order.

 

Parent order codes
(Order_RightOrderCode)

<RO>

WBSRef

Orders pegged to the right of this order.

 

Child order codes (recursive)
(Order_LeftRecursiveOrderCode)

<RO> <Multi>

WBSRef

Codes of all orders pegged to the left of this order

 

Parent order codes (recursive)
(Order_RightRecursiveOrderCode)

<RO> <Multi>

WBSRef

Codes of all orders pegged to the right of this order

 

Leftmost order codes
(Order_LeftmostOrderCode)

<RO>

WBSRef

Displays the leftmost orders obtained by traversing child orders until reaching orders that have no child order.

 

Rightmost order codes
(Order_RightmostOrderCode)

<RO>

WBSRef

Displays the rightmost orders obtained by traversing parent orders until reaching orders that have no parent order.

 

Order code that automatically generated this order based on one-to-one pegging items (order class)
(Order_OneToOnePeggingOrderSourceCode)

<RO>

WBSRef

Internally used property.

 

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].

 
 
VersionCount
<LONG> Data Type
<RO>

 

Number of elements in Version property's array.

 
OneToOnePeggingItemCount
<LONG> Data Type
<RO>

 

Number of elements in OneToOnePeggingItem property's array.

 
UnofficialManufacturingOrderCount
<LONG> Data Type
<RO>

 

Number of elements in UnofficialManufacturingOrder property's array.

 
AutoGeneratedOneToOnePeggingOrderCount
<LONG> Data Type
<RO>

 

Number of elements in AutoGeneratedOneToOnePeggingOrder property's array.

 
ChildAsOrder
<ASBOrder> Data Type
<RO>

 

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

 
AddChildAsOrder
<ASBOrder> Data Type
<Method>

 

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

 
ChildAsOperation
<ASBOperation> Data Type
<RO>

 

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

 
Spec
<ASBSpec> Data Type
<Multi>

 

Obtains the spec defined by SpecIndex.
[in:LONG]SpecIndex: Spec defined by SpecIndex.

 
NumSpec
<double> Data Type
<Multi>

 

Obtains NumSpec of the spec defined by SpecIndex.
[in:LONG]SpecIndex: Spec defined by SpecIndex.

 
Reassign
<VOID> Data Type
<Method>

 

Reassigns operations.

 
Unassign
<VOID> Data Type
<Method>

 

Unassigns operations.

 
FinalOperationList
<ASOObjectList> Data Type
<RO>

 

Obtains the list of final operations.

 
FirstOperationList
<ASOObjectList> Data Type
<RO>

 

Obtains the list of first operations.

 
GroupContent
<ASOObjectList> Data Type
<Method>

 

Obtains group members if it's order group.

 
GroupContentCount
<LONG> Data Type
<Method>

 

Obtains number of group members if it's order group.

 
GetUserDuringCheckOutCount
<LONG> Data Type

 

Number of elements in UserDuringCheckOut property's array.

 
GetUserDuringChangeCount
<LONG> Data Type

 

Number of elements in UserDuringChange property's array.

 
GetOwnerUserCount
<LONG> Data Type

 

Number of elements in OwnerUser property's array.

 
NeedToCheckRightToChange
<VARIANT_BOOL> Data Type
<Method>

 

Returns if it is necessary to check right to edit this object

 
IsThereRightToChange
<VARIANT_BOOL> Data Type
<Method>

 

Returns if there is right to edit this object

 
IsOwnedByMe
<VARIANT_BOOL> Data Type
<Method>

 

Returns if the logged in user is the owner of this object

 
CanCheckOut
<VARIANT_BOOL> Data Type
<Method>

 

Returns if the logged in user can reserve right to edit this object

 
CheckOut
<VARIANT_BOOL> Data Type
<Method>

 

Reserve right to edit this object

 
CheckOutOnlyGroup
<VARIANT_BOOL> Data Type
<Method>

 

"If the object is a group object, reserve right to edit this object without its group members"

 
UndoCheckOut
<VARIANT_BOOL> Data Type
<Method>

 

Release right to edit this object

 
UndoCheckOutOtherUser
<VARIANT_BOOL> Data Type
<Method>

 

"If the object is a group object, release right to edit this object without its group members"

 
GetUserListDuringCheckOut
<ASOObjectList> Data Type
<Method>

 

Obtains the list of users with right to edit

 
GetUserListDuringChange
<ASOObjectList> Data Type
<Method>

 

Obtains the list of currently editing user

 
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.

 
GetOperationList
<ASOObjectList> Data Type
<Method>

 

"Obtains the list of all the operations of the order.
[in:VARIANT_BOOL]IncludeSplitRoot: Specifies whether the split root is included. VARIANT_TRUE, if included."

 
OrderResultCount
<LONG> Data Type
<RO>

 

Number of elements in OrderResult property's array.

 
Explode
<VARIANT_BOOL> Data Type
<Method>

 

"Explodes orders. Returns VARIANT_TRUE, if successful.
1)Explodes orders of various types.
2)Performs pegging for next orders but does not perform pegging between orders.
3)Does not generate replenishment orders. However, generates and explodes orders for the property ""Items to peg one-to-one"" recursively.
4)Errors in order explosion will be determined by the property ""Reason to be invalidated"" of the order class."

 
GetSupplierByString
<ASBCustomer> Data Type
<RO>

 

Get Supplier.

 
AddLabel
<ASBLabel> Data Type
<Method>

 

Add label to this order.


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

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

See Also

ASBOperationEx, ASOObjectList, Customer, Label, Order, Spec


HelpNo.:C16

© Since 2019 Asprova Corporation, All rights reserved.