Table of Contents

Production.Resources.Operations Entity

Namespace: Production.Resources

The different steps performed to create products. Entity: Prd_Operations

Default Visualization

Default Display Text Format:
{Name}
Default Search Members:
Name
Name Data Member:
Name
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.Resources.OperationGroups
Aggregate Root:
Production.Resources.OperationGroups

Attributes

Name Type Description
Active boolean Indicates whether the current operation is active. Required Default(true) Filter(eq) Introduced in version 22.1.5.26
Description string (max) nullable The description of this Operation.
DisplayText string Uses the repository DisplayTextFormat to build the display text from the attributes and references of current object.
Id guid
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 The time required for the product to move to the next operation. During this time no resource is allocated. Required Default(0)
Name string (50) The name of this Operation. Required Filter(like)
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.
RunTimeMinutes int32 The time required to process one product lot. The run time is calculated for each produced lot. Required Default(0)
ScrapRate decimal (7, 6) nullable The percentage (0..1) of scrap usually occurring during the production operation. null means that the scrap rate cannot be generally calculated.
SetupTimeMinutes int32 The time required to setup the operation. The setup is incurred only once, regardless of the produced quntity. Required Default(0)
StandardPricePerHour decimal (18, 6) Standard price for 1 hour work for this operation. Required Default(0)
Tooling string (254) nullable Short description of the needed instruments for the operation.
UseQuantityBase Quantity (9, 3) Quantity of the resource that need to be allocated for the operation, in base measurement units for the resource. Unit: WorkgroupResource.Resource.PrimaryUnit Required Default(1)
WaitTimeMinutes int32 The time required to wait after completing the operation. During this time, the resource is still allocated to the operation. Required Default(0)

References

Name Type Description
OperationGroup OperationGroups The to which this Operation belongs. Required Filter(multi eq) Owner
OperationInstructions OperationInstructions (nullable) Full instructions for the operation. Filter(multi eq)
WorkgroupResource WorkgroupResources (nullable) When not null, specifies the Workgroup Resource, which is required by the operation. Filter(multi eq)

Attribute Details

Active

Indicates whether the current operation is active. Required Default(true) Filter(eq) Introduced in version 22.1.5.26

Type: boolean
Category: System
Supported Filters: Equals
Supports Order By: False
Default Value: True
Show in UI: ShownByDefault

Description

The description of this Operation.

Type: string (max) nullable
Category: System
Supported Filters: NotFilterable
Supports Order By: False
Maximum Length: 2147483647
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

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

The time required for the product to move to the next operation. During this time no resource is allocated. Required Default(0)

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

Name

The name of this Operation. Required Filter(like)

Type: string (50)
Category: System
Supported Filters: Like
Supports Order By: False
Maximum Length: 50
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

RunTimeMinutes

The time required to process one product lot. The run time is calculated for each produced lot. Required Default(0)

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

ScrapRate

The percentage (0..1) of scrap usually occurring during the production operation. null means that the scrap rate cannot be generally calculated.

Type: decimal (7, 6) nullable
Category: System
Supported Filters: NotFilterable
Supports Order By: False
Show in UI: ShownByDefault

SetupTimeMinutes

The time required to setup the operation. The setup is incurred only once, regardless of the produced quntity. Required Default(0)

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

StandardPricePerHour

Standard price for 1 hour work for this operation. Required Default(0)

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

Tooling

Short description of the needed instruments for the operation.

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

UseQuantityBase

Quantity of the resource that need to be allocated for the operation, in base measurement units for the resource. 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

The time required to wait after completing the operation. During this time, the resource is still allocated to the operation. Required Default(0)

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

Reference Details

OperationGroup

The to which this Operation belongs. Required Filter(multi eq) Owner

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

OperationInstructions

Full instructions for the operation. Filter(multi eq)

Type: OperationInstructions (nullable)
Category: System
Supported Filters: Equals, EqualsIn
Show in UI: CannotBeShown

WorkgroupResource

When not null, specifies the Workgroup Resource, which is required by the operation. Filter(multi eq)

Type: WorkgroupResources (nullable)
Category: System
Supported Filters: Equals, EqualsIn
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_Resources_Operations?$top=10

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