Production.ShopFloor.OutputOrderLines Entity
Namespace: Production.ShopFloor
Detail records of output orders. Entity: Prd_Output_Order_Lines
Default Visualization
Default Display Text Format:
{LineOrd}. {OutputOrder.DocumentNo} {OutputOrder.DocumentType.TypeName:T}
Default Search Members:
OutputOrder.DocumentNo
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.OutputOrders
Aggregate Root:
Production.ShopFloor.OutputOrders
Attributes
Name | Type | Description |
---|---|---|
datetime nullable | OBSOLETE! Do not use! Not used. Obsolete Filter(ge;le) Obsoleted in version 22.1.6.61 |
|
CurrentBalanceBase | Quantity | The current balance of the product in the selected store and enterprise company. If lot, serial number or product variant are specified the quantity is calculated accordingly. |
DisplayText | string | Uses the repository DisplayTextFormat to build the display text from the attributes and references of current object. |
EndTime | datetime | Date and time when the operation has ended. Required Default(Now) Filter(ge;le) |
Finished | boolean | True if this output entry completes the operation. false if there might be more entries. Required Default(false) Filter(eq) |
Id | guid | |
LineOrd | int32 | Line number within the order. Required |
Notes | string (max) nullable | Notes for this OutputOrderLine. |
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. |
ProducedQuantity | Quantity (18, 3) | The processed quantity of the end product. Unit: ProducedQuantityUnit Required Default(0) Filter(ge;le) |
ProducedQuantityBase | Quantity (18, 3) | The equivalence of Produced Quantity in the base measurement unit of the product. Unit: Product.BaseMeasurementCategory.BaseUnit Required Default(0) ReadOnly |
ProducedStandard QuantityBase |
Quantity (18, 3) | The theoretical quantity in base measurement unit according to the current measurement dimensions for the product. Used to measure the execution. null means to convert the value from Quantity using the measurement ratios. Unit: Product.BaseMeasurementCategory.BaseUnit Required ReadOnly Introduced in version 18.2 |
StartTime | datetime | Date and time when the operation has began. Required Default(Now) Filter(ge;le) |
TransactionTimestamp | datetime nullable | Sets the timestamp of the receipt store operations for this output order line. Used in completing output orders. Filter(ge;le) ReadOnly |
References
Name | Type | Description |
---|---|---|
Document | OutputOrders | The Required Filter(multi eq) |
LineWorkOrder | WorkOrders | The work order for which work is being accounted. Required Filter(multi eq) |
Lot | Lots (nullable) | The lot of the produced product. Filter(multi eq) |
OutputOrder | OutputOrders | The Required Filter(multi eq) Owner |
ProducedQuantityUnit | MeasurementUnits | The measurement unit of Produced Quantity. Required Filter(multi eq) |
Product | Products | The actually produced product. Required Filter(multi eq) |
ProductCode | ProductCodes (nullable) | Selects the product thru some of the product codes. Filter(multi eq) |
SerialNumber | SerialNumbers (nullable) | If not null, specifies that the product was (has to be) stored with specific serial number. Filter(multi eq) |
Store | Stores (nullable) | Where to output the produced quantity. Can be null only if Produced_Quantity = 0. Filter(multi eq) |
StoreBin | StoreBins (nullable) | If not null, specifies that the product was (has to be) stored to specific store bin. Filter(multi eq) |
WorkDoneByParty | Parties (nullable) | The party (usually employee worker) who has accomplished the work. null if unknown or N/A. Filter(multi eq) |
WorkgroupResource | WorkgroupResources (nullable) | The resource, which was used to perform the operation. Filter(multi eq) |
WorkOrderItem | WorkOrderItems | The work order item for which this output is recorded. Required Filter(multi eq) |
WorkOrderItemOperation | WorkOrderItemOperations (nullable) | The operation for which this output is recorded. Filter(multi eq) |
Child Collections
Name | Type | Description |
---|---|---|
OutputOrderDistributed MaterialConsumptions |
OutputOrderDistributedMaterialConsumptions | List of OutputOrderDistributed<br />MaterialConsumption (Production.ShopFloor.OutputOrderDistributedMaterialConsumptions.md) child objects, based on the Production.ShopFloor.OutputOrderDistributed<br />MaterialConsumption.OutputOrderLine (Production.ShopFloor.OutputOrderDistributedMaterialConsumptions.md#outputorderline) back reference |
Attribute Details
BeginDateTime
OBSOLETE! Do not use! Not used. Obsolete
Filter(ge;le)
Obsoleted in version 22.1.6.61
Type: datetime nullable
Category: System
Supported Filters: GreaterThanOrLessThan
Supports Order By: False
Show in UI: CannotBeShown
CurrentBalanceBase
The current balance of the product in the selected store and enterprise company. If lot, serial number or product variant are specified the quantity is calculated accordingly.
Type: Quantity
Category: Calculated Attributes
Supported Filters: NotFilterable
Supports Order By: ****
Show in UI: HiddenByDefault
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
EndTime
Date and time when the operation has ended. Required
Default(Now)
Filter(ge;le)
Type: datetime
Category: System
Supported Filters: GreaterThanOrLessThan
Supports Order By: False
Default Value: CurrentDateTime
Show in UI: HiddenByDefault
Finished
True if this output entry completes the operation. false if there might be more entries. Required
Default(false)
Filter(eq)
Type: boolean
Category: System
Supported Filters: Equals
Supports Order By: False
Default Value: False
Show in UI: HiddenByDefault
Id
Type: guid
Indexed: True
Category: System
Supported Filters: Equals, EqualsIn
Default Value: NewGuid
Show in UI: CannotBeShown
LineOrd
Line number within the order. Required
Type: int32
Category: System
Supported Filters: NotFilterable
Supports Order By: False
Show in UI: ShownByDefault
Back-End Default Expression:
( obj.OutputOrder.Lines.Select( c => c.LineOrd).DefaultIfEmpty( 0).Max( ) + 10)
Front-End Recalc Expressions:
( obj.OutputOrder.Lines.Select( c => c.LineOrd).DefaultIfEmpty( 0).Max( ) + 10)
Notes
Notes for this OutputOrderLine.
Type: string (max) nullable
Category: System
Supported Filters: NotFilterable
Supports Order By: False
Maximum Length: 2147483647
Show in UI: HiddenByDefault
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
ProducedQuantity
The processed quantity of the end product. Unit: ProducedQuantityUnit
Required
Default(0)
Filter(ge;le)
Type: Quantity (18, 3)
Category: System
Supported Filters: GreaterThanOrLessThan
Supports Order By: False
Default Value: Constant
Show in UI: ShownByDefault
ProducedQuantityBase
The equivalence of Produced Quantity in the base measurement unit of the product. Unit: Product.BaseMeasurementCategory.BaseUnit
Required
Default(0)
ReadOnly
Type: Quantity (18, 3)
Category: System
Supported Filters: NotFilterable
Supports Order By: False
Default Value: Constant
Show in UI: HiddenByDefault
Back-End Default Expression:
IIF( ( ( ( obj.ProducedQuantity == null) OrElse ( obj.ProducedQuantityUnit == null)) OrElse ( obj.Product == null)), obj.ProducedQuantityBase, obj.ProducedQuantity.ConvertTo( obj.Product.BaseUnit, obj.Product))
Front-End Recalc Expressions:
IIF( ( ( ( obj.ProducedQuantity == null) OrElse ( obj.ProducedQuantityUnit == null)) OrElse ( obj.Product == null)), obj.ProducedQuantityBase, obj.ProducedQuantity.ConvertTo( obj.Product.BaseUnit, obj.Product))
ProducedStandardQuantityBase
The theoretical quantity in base measurement unit according to the current measurement dimensions for the product. Used to measure the execution. null means to convert the value from Quantity using the measurement ratios. Unit: Product.BaseMeasurementCategory.BaseUnit
Required
ReadOnly
Introduced in version 18.2
Type: Quantity (18, 3)
Category: System
Supported Filters: NotFilterable
Supports Order By: False
Show in UI: HiddenByDefault
Back-End Default Expression:
IIF( ( ( ( obj.ProducedQuantity == null) OrElse ( obj.ProducedQuantityUnit == null)) OrElse ( obj.Product == null)), obj.ProducedStandardQuantityBase, obj.ProducedQuantity.ConvertTo( obj.Product.BaseUnit, obj.Product))
Front-End Recalc Expressions:
IIF( ( ( ( obj.ProducedQuantity == null) OrElse ( obj.ProducedQuantityUnit == null)) OrElse ( obj.Product == null)), obj.ProducedStandardQuantityBase, obj.ProducedQuantity.ConvertTo( obj.Product.BaseUnit, obj.Product))
StartTime
Date and time when the operation has began. Required
Default(Now)
Filter(ge;le)
Type: datetime
Category: System
Supported Filters: GreaterThanOrLessThan
Supports Order By: False
Default Value: CurrentDateTime
Show in UI: HiddenByDefault
TransactionTimestamp
Sets the timestamp of the receipt store operations for this output order line. Used in completing output orders. Filter(ge;le)
ReadOnly
Type: datetime nullable
Category: System
Supported Filters: GreaterThanOrLessThan
Supports Order By: False
Show in UI: HiddenByDefault
Reference Details
Document
The Required
Filter(multi eq)
Type: OutputOrders
Indexed: True
Category: System
Supported Filters: Equals, EqualsIn
Show in UI: ShownByDefault
LineWorkOrder
The work order for which work is being accounted. Required
Filter(multi eq)
Type: WorkOrders
Indexed: True
Category: System
Supported Filters: Equals, EqualsIn
Show in UI: HiddenByDefault
Back-End Default Expression:
obj.OutputOrder.WorkOrder
Front-End Recalc Expressions:
obj.OutputOrder.WorkOrder
Lot
The lot of the produced product. Filter(multi eq)
Type: Lots (nullable)
Category: System
Supported Filters: Equals, EqualsIn
Show in UI: HiddenByDefault
OutputOrder
The Required
Filter(multi eq)
Owner
Type: OutputOrders
Indexed: True
Category: System
Supported Filters: Equals, EqualsIn
Filterable Reference: True
Show in UI: ShownByDefault
ProducedQuantityUnit
The measurement unit of Produced Quantity. Required
Filter(multi eq)
Type: MeasurementUnits
Category: System
Supported Filters: Equals, EqualsIn
Show in UI: ShownByDefault
Front-End Recalc Expressions:
IIF( ( ( obj.ProductCode != null) AndAlso ( obj.ProductCode.CodingSystem.DefaultMeasurementUnit != null)), obj.ProductCode.CodingSystem.DefaultMeasurementUnit, obj.Product.MeasurementUnit)
Product
The actually produced product. Required
Filter(multi eq)
Type: Products
Indexed: True
Category: System
Supported Filters: Equals, EqualsIn
Show in UI: ShownByDefault
Front-End Recalc Expressions:
obj.ProductCode.Product
ProductCode
Selects the product thru some of the product codes. Filter(multi eq)
Type: ProductCodes (nullable)
Category: System
Supported Filters: Equals, EqualsIn
Show in UI: HiddenByDefault
Front-End Recalc Expressions:
IIF( ( obj.ProductCode.Product != obj.Product), null, obj.ProductCode)
SerialNumber
If not null, specifies that the product was (has to be) stored with specific serial number. Filter(multi eq)
Type: SerialNumbers (nullable)
Category: System
Supported Filters: Equals, EqualsIn
Show in UI: HiddenByDefault
Store
Where to output the produced quantity. Can be null only if Produced_Quantity = 0. Filter(multi eq)
Type: Stores (nullable)
Category: System
Supported Filters: Equals, EqualsIn
Show in UI: HiddenByDefault
StoreBin
If not null, specifies that the product was (has to be) stored to specific store bin. Filter(multi eq)
Type: StoreBins (nullable)
Category: System
Supported Filters: Equals, EqualsIn
Show in UI: HiddenByDefault
WorkDoneByParty
The party (usually employee worker) who has accomplished the work. null if unknown or N/A. Filter(multi eq)
Type: Parties (nullable)
Category: System
Supported Filters: Equals, EqualsIn
Show in UI: HiddenByDefault
WorkgroupResource
The resource, which was used to perform the operation. Filter(multi eq)
Type: WorkgroupResources (nullable)
Category: System
Supported Filters: Equals, EqualsIn
Show in UI: HiddenByDefault
Front-End Recalc Expressions:
obj.WorkOrderItemOperation.WorkgroupResource
WorkOrderItem
The work order item for which this output is recorded. Required
Filter(multi eq)
Type: WorkOrderItems
Indexed: True
Category: System
Supported Filters: Equals, EqualsIn
Show in UI: HiddenByDefault
WorkOrderItemOperation
The operation for which this output is recorded. Filter(multi eq)
Type: WorkOrderItemOperations (nullable)
Indexed: True
Category: System
Supported Filters: Equals, EqualsIn
Show in UI: HiddenByDefault
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: stringsearch
The search text - searches by value or description. Can contain wildcard character %.
Type: string
Optional: True
Default Value: nullexactMatch
If true the search text should be equal to the property value
Type: boolean
Optional: True
Default Value: FalseorderByDescription
If true the result is ordered by Description instead of Value. Note that ordering is not always possible.
Type: boolean
Optional: True
Default Value: Falsetop
The top clause - default is 10
Type: int32
Optional: True
Default Value: 10skip
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: UsersnotificationClass
The notification class.
Type: stringsubject
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
- R31357-2 Output Order Line - Set Produced Quantity Unit (Recalc)
- R31357-3 Output Order Line - Set Workgroup Resource (Recalc)
- R31357-5 Output Order Line - Set Product From Work Order Item
- R31357-7 Output Order Line - Set Product Code (Recalc)
- R31357-8 Output Order Line - Set Product (Recalc)
API
Domain API Query: https://demodb.my.erp.net/api/domain/odata/Production_ShopFloor_OutputOrderLines?$top=10
Domain API Query Builder: https://demodb.my.erp.net/api/domain/querybuilder#Production_ShopFloor_OutputOrderLines?$top=10