Table of Contents

Production.ShopFloor.WorkOrderItemOperations Entity

Namespace: Production.ShopFloor

The operations that are performed to produce the product. Entity: Prd_Work_Order_Item_Operations

Default Visualization

Default Display Text Format:
{WorkOrderItem.WorkOrder.EntityName}
Default Search Members:
WorkOrderItem.WorkOrder.EntityName
Name Data Member:
WorkOrderItem.WorkOrder.EntityName
Category: Definitions
Show in UI: ShownByDefault

Track Changes

Min level: 0 - Do not track changes
Max level: 4 - Track object attribute and blob changes

Aggregate

An aggregate is a cluster of domain objects that can be treated as a single unit.

Aggregate Parent:
Production.ShopFloor.WorkOrderItems
Aggregate Root:
Production.ShopFloor.WorkOrders

Attributes

Name Type Description
ActualEndDateTime datetime nullable The date/time when the operation has completed. null means that the operation is not completed. Filter(ge;le)
ActualStartDateTime datetime nullable The date/time when the operation has started. null means that the has not started yet. Filter(ge;le)
DisplayText string Uses the repository DisplayTextFormat to build the display text from the attributes and references of current object.
Id guid
LineOrd int32 Order of the line within the work order routing. Required Filter(eq;like)
MinimumConcurrent
StartTimeMinutes
int32 nullable How many minutes after the start of this operation can the next operation start. null means that the next operation should wait this operation to finish before starting.
MoveTimeMinutes int32 Time to move the lot to the next operation in minutes. Required Default(0)
Notes string (254) nullable Notes for this WorkOrderItemOperation.
ObjectVersion int32 The latest version of the extensible data object for the aggregate root for the time the object is loaded from the database. Can be used for optimistic locking.
OperationDescription string (max) nullable The short description of the operation.
RunTimeMinutes int32 Time for production of one lot of the produced item in minutes. Required Default(0)
ScheduledEndDateTime datetime nullable The date/time when the operation is scheduled to complete. null means that there is still no plan when the operation will finish (for new orders only). Filter(ge;le)
ScheduledStartDateTime datetime nullable The date/time when the operation is planned to start. null means that there is still no plan when to start the operaion (only for new work orders). Filter(ge;le)
ScrapRate decimal (7, 6) Projected scrap rate of the operation. Required Default(0)
SetupTimeMinutes int32 Time needed to setup the equipment in minutes. Required Default(0)
Tooling string (max) nullable The tools needed for the routing step.
UseQuantity Quantity (9, 3) Quantity of the resource, that should be allocated for the operation. Unit: WorkgroupResource.Resource.PrimaryUnit Required Default(1)
WaitTimeMinutes int32 Wait time (drying, cooling, etc.) after the operation in minutes. Required Default(0)

References

Name Type Description
Operation Operations (nullable) The performed operation. Filter(multi eq)
WorkgroupResource WorkgroupResources The resource that will be used for the operation. null means that no resource will be locked for the operation. Required Filter(multi eq)
WorkOrderItem WorkOrderItems The work order item, containing the line. Required Filter(multi eq) Owner

Child Collections

Name Type Description
Load Load List of Load(Production.Resources.Load.md) child objects, based on the Production.Resources.Load.WorkOrderItemOperation(Production.Resources.Load.md#workorderitemoperation) back reference

Attribute Details

ActualEndDateTime

The date/time when the operation has completed. null means that the operation is not completed. Filter(ge;le)

Type: datetime nullable
Category: System
Supported Filters: GreaterThanOrLessThan
Supports Order By: False
Show in UI: ShownByDefault

ActualStartDateTime

The date/time when the operation has started. null means that the has not started yet. Filter(ge;le)

Type: datetime nullable
Category: System
Supported Filters: GreaterThanOrLessThan
Supports Order By: False
Show in UI: ShownByDefault

DisplayText

Uses the repository DisplayTextFormat to build the display text from the attributes and references of current object.

Type: string
Category: Calculated Attributes
Supported Filters: NotFilterable
Supports Order By: ****
Show in UI: HiddenByDefault

Id

Type: guid
Indexed: True
Category: System
Supported Filters: Equals, EqualsIn
Default Value: NewGuid
Show in UI: CannotBeShown

LineOrd

Order of the line within the work order routing. Required Filter(eq;like)

Type: int32
Category: System
Supported Filters: Equals, Like
Supports Order By: False
Show in UI: ShownByDefault

Back-End Default Expression:
( obj.WorkOrderItem.Operations.Select( c => c.LineOrd).DefaultIfEmpty( 0).Max( ) + 10)

Front-End Recalc Expressions:
( obj.WorkOrderItem.Operations.Select( c => c.LineOrd).DefaultIfEmpty( 0).Max( ) + 10)

MinimumConcurrentStartTimeMinutes

How many minutes after the start of this operation can the next operation start. null means that the next operation should wait this operation to finish before starting.

Type: int32 nullable
Category: System
Supported Filters: NotFilterable
Supports Order By: False
Show in UI: ShownByDefault

MoveTimeMinutes

Time to move the lot to the next operation in minutes. Required Default(0)

Type: int32
Category: System
Supported Filters: NotFilterable
Supports Order By: False
Default Value: 0
Show in UI: ShownByDefault

Notes

Notes for this WorkOrderItemOperation.

Type: string (254) nullable
Category: System
Supported Filters: NotFilterable
Supports Order By: False
Maximum Length: 254
Show in UI: ShownByDefault

ObjectVersion

The latest version of the extensible data object for the aggregate root for the time the object is loaded from the database. Can be used for optimistic locking.

Type: int32
Category: Extensible Data Object
Supported Filters: NotFilterable
Supports Order By: ****
Show in UI: HiddenByDefault

OperationDescription

The short description of the operation.

Type: string (max) nullable
Category: System
Supported Filters: NotFilterable
Supports Order By: False
Maximum Length: 2147483647
Show in UI: ShownByDefault

Front-End Recalc Expressions:
obj.Operation.Name

RunTimeMinutes

Time for production of one lot of the produced item in minutes. Required Default(0)

Type: int32
Category: System
Supported Filters: NotFilterable
Supports Order By: False
Default Value: 0
Show in UI: ShownByDefault

ScheduledEndDateTime

The date/time when the operation is scheduled to complete. null means that there is still no plan when the operation will finish (for new orders only). Filter(ge;le)

Type: datetime nullable
Category: System
Supported Filters: GreaterThanOrLessThan
Supports Order By: False
Show in UI: ShownByDefault

ScheduledStartDateTime

The date/time when the operation is planned to start. null means that there is still no plan when to start the operaion (only for new work orders). Filter(ge;le)

Type: datetime nullable
Category: System
Supported Filters: GreaterThanOrLessThan
Supports Order By: False
Show in UI: ShownByDefault

ScrapRate

Projected scrap rate of the operation. Required Default(0)

Type: decimal (7, 6)
Category: System
Supported Filters: NotFilterable
Supports Order By: False
Default Value: 0
Show in UI: CannotBeShown

SetupTimeMinutes

Time needed to setup the equipment in minutes. Required Default(0)

Type: int32
Category: System
Supported Filters: NotFilterable
Supports Order By: False
Default Value: 0
Show in UI: ShownByDefault

Tooling

The tools needed for the routing step.

Type: string (max) nullable
Category: System
Supported Filters: NotFilterable
Supports Order By: False
Maximum Length: 2147483647
Show in UI: ShownByDefault

UseQuantity

Quantity of the resource, that should be allocated for the operation. Unit: WorkgroupResource.Resource.PrimaryUnit Required Default(1)

Type: Quantity (9, 3)
Category: System
Supported Filters: NotFilterable
Supports Order By: False
Default Value: Constant
Show in UI: ShownByDefault

WaitTimeMinutes

Wait time (drying, cooling, etc.) after the operation in minutes. Required Default(0)

Type: int32
Category: System
Supported Filters: NotFilterable
Supports Order By: False
Default Value: 0
Show in UI: ShownByDefault

Reference Details

Operation

The performed operation. Filter(multi eq)

Type: Operations (nullable)
Category: System
Supported Filters: Equals, EqualsIn
Show in UI: ShownByDefault

WorkgroupResource

The resource that will be used for the operation. null means that no resource will be locked for the operation. Required Filter(multi eq)

Type: WorkgroupResources
Category: System
Supported Filters: Equals, EqualsIn
Show in UI: ShownByDefault

WorkOrderItem

The work order item, containing the line. Required Filter(multi eq) Owner

Type: WorkOrderItems
Indexed: True
Category: System
Supported Filters: Equals, EqualsIn
Filterable Reference: True
Show in UI: ShownByDefault

API Methods

Methods that can be invoked in public APIs.

GetAllowedCustomPropertyValues

Gets the allowed values for the specified custom property for this entity object. If supported the result is ordered by property value. Some property value sources do not support ordering - in that case the result is not ordered.
Return Type: Collection Of CustomPropertyValue
Declaring Type: EntityObject
Domain API Request: GET

Parameters

  • customPropertyCode
    The code of the custom property
    Type: string

  • search
    The search text - searches by value or description. Can contain wildcard character %.
    Type: string
    Optional: True
    Default Value: null

  • exactMatch
    If true the search text should be equal to the property value
    Type: boolean
    Optional: True
    Default Value: False

  • orderByDescription
    If true the result is ordered by Description instead of Value. Note that ordering is not always possible.
    Type: boolean
    Optional: True
    Default Value: False

  • top
    The top clause - default is 10
    Type: int32
    Optional: True
    Default Value: 10

  • skip
    The skip clause - default is 0
    Type: int32
    Optional: True
    Default Value: 0

CreateNotification

Create a notification immediately in a separate transaction, and send a real-time event to the user.
Return Type: void
Declaring Type: EntityObject
Domain API Request: POST

Parameters

  • user
    The user.
    Type: Users

  • notificationClass
    The notification class.
    Type: string

  • subject
    The notification subject.
    Type: string

CreateCopy

Duplicates the object and its child objects belonging to the same aggregate. The duplicated objects are not saved to the data source but remain in the same transaction as the original object.
Return Type: EntityObject
Declaring Type: EntityObject
Domain API Request: POST

Business Rules

None

Front-End Business Rules

None

API

Domain API Query: https://demodb.my.erp.net/api/domain/odata/Production_ShopFloor_WorkOrderItemOperations?$top=10

Domain API Query Builder: https://demodb.my.erp.net/api/domain/querybuilder#Production_ShopFloor_WorkOrderItemOperations?$top=10