Logistics.Procurement.ReceivingOrderLines Entity
Namespace: Logistics.Procurement
Contains detail records of Receiving Orders. Each line contains the receiving of a quantity of a product. Entity: Scm_Receiving_Order_Lines
Default Visualization
Default Display Text Format:
{LineNo}. {ReceivingOrder.DocumentNo} {ReceivingOrder.DocumentType.TypeName:T}
Default Search Members:
ReceivingOrder.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:
Logistics.Procurement.ReceivingOrders
Aggregate Root:
Logistics.Procurement.ReceivingOrders
Attributes
Name | Type | Description |
---|---|---|
ConfirmedQuantity | Quantity (18, 3) nullable | The final confirmed received quantity, after adjustments. It is used in all calculations for the order. Usually changed with adjustments to the receivemnt order, in regard to the warehouse receipt or the invoice. When null, its value is equal to Quantity. Unit: QuantityUnit |
ConfirmedQuantityBase | Quantity (18, 3) nullable | The theoretical equivalence of Confirmed Quantity in base measurement unit according to the current measurement dimensions of the product. Unit: Product.BaseMeasurementCategory.BaseUnit |
ConfirmedStandard QuantityBase |
Quantity (18, 3) nullable | 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 Confirmed Quantity using the measurement ratios. Unit: Product.BaseMeasurementCategory.BaseUnit ReadOnly Introduced in version 18.2 |
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. |
Finished | boolean | When true, denotes that this is the last receivement for this purchase order line and further receivements are not expected. Required Default(false) |
Id | guid | |
LineAmount | Amount (14, 2) | The total amount for the line. Equals to Quantity * Price_Per_Unit. Currency: ReceivingOrder.DocumentCurrency Required Default(0) |
LineNo | int32 | Line number, unique within the ReceivingOrder. Usually is increasing number like 10, 20, 30, ... when initially entering the ReceivingOrder (in order to allow insertions with adjustment documents). Required |
Notes | string (254) nullable | Notes for this ReceivingOrderLine. |
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. |
PricePerUnit | Amount (14, 5) nullable | The unit price of the received products, in the documents currency. Currency: ReceivingOrder.DocumentCurrency Default(0) |
ProductDescription | MultilanguageString (254) | The name of the received product, initially copied from the name in the product definition. The field can be edited by the user. Required |
Quantity | Quantity (18, 3) | The received quantity. Unit: QuantityUnit Required Default(1) Filter(ge;le) |
QuantityBase | Quantity (18, 3) | The equivalence of Quantity, in the base measurement category of the product. Unit: Product.BaseMeasurementCategory.BaseUnit Required |
StandardQuantityBase | Quantity (18, 3) | The theoretical quantity in base measurement unit according to the current measurement dimensions for the product. Used to measure the execution. Unit: Product.BaseMeasurementCategory.BaseUnit Required ReadOnly Introduced in version 18.2 |
References
Name | Type | Description |
---|---|---|
Document | ReceivingOrders | The Required Filter(multi eq) |
LineStore | Stores (nullable) | The store in which the goods are received. Filter(multi eq) |
Lot | Lots (nullable) | The lot of the received goods. Filter(multi eq) |
Product | Products | The received product. Required Filter(multi eq) |
ProductCode | ProductCodes (nullable) | When not null, specifies that the product was selected using the specified product code record. Filter(multi eq) |
ProductVariant | ProductVariants (nullable) | If specified determines which product variant of the current product in this line is used. Filter(multi eq) |
PurchaseOrderLine | PurchaseOrderLines (nullable) | The purchase order line for which we are receiving quantity. Filter(multi eq) |
PurchaseProductPrice | PurchaseProductPrices (nullable) | When not null, specifies that the purchase unit price is loaded automatically from the specified purchase price record. Filter(multi eq) |
QuantityUnit | MeasurementUnits | The measurement unit of Quantity. Initially copied from the Default Measurement Unit of the Product. Required Filter(multi eq) |
ReceivingOrder | ReceivingOrders | The Required Filter(multi eq) Owner |
SerialNumber | SerialNumbers (nullable) | Which serial number to receive/issue. null means that serial number is unknown or not applicable. Filter(multi eq) |
StoreBin | StoreBins (nullable) | The store bin in which to receive the goods. Filter(multi eq) |
Attribute Details
ConfirmedQuantity
The final confirmed received quantity, after adjustments. It is used in all calculations for the order. Usually changed with adjustments to the receivemnt order, in regard to the warehouse receipt or the invoice. When null, its value is equal to Quantity. Unit: QuantityUnit
Type: Quantity (18, 3) nullable
Category: System
Supported Filters: NotFilterable
Supports Order By: False
Show in UI: HiddenByDefault
ConfirmedQuantityBase
The theoretical equivalence of Confirmed Quantity in base measurement unit according to the current measurement dimensions of the product. Unit: Product.BaseMeasurementCategory.BaseUnit
Type: Quantity (18, 3) nullable
Category: System
Supported Filters: NotFilterable
Supports Order By: False
Show in UI: HiddenByDefault
Front-End Recalc Expressions:
IIF( ( ( ( obj.ConfirmedQuantity == null) OrElse ( obj.QuantityUnit == null)) OrElse ( obj.Product == null)), obj.ConfirmedQuantityBase, obj.ConfirmedQuantity.ConvertTo( obj.Product.BaseUnit, obj.Product))
ConfirmedStandardQuantityBase
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 Confirmed Quantity using the measurement ratios. Unit: Product.BaseMeasurementCategory.BaseUnit
ReadOnly
Introduced in version 18.2
Type: Quantity (18, 3) nullable
Category: System
Supported Filters: NotFilterable
Supports Order By: False
Show in UI: HiddenByDefault
Front-End Recalc Expressions:
IIF( ( ( ( obj.ConfirmedQuantity == null) OrElse ( obj.QuantityUnit == null)) OrElse ( obj.Product == null)), obj.ConfirmedStandardQuantityBase, obj.ConfirmedQuantity.ConvertTo( obj.Product.BaseUnit, obj.Product))
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
Finished
When true, denotes that this is the last receivement for this purchase order line and further receivements are not expected. Required
Default(false)
Type: boolean
Category: System
Supported Filters: NotFilterable
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
LineAmount
The total amount for the line. Equals to Quantity * Price_Per_Unit. Currency: ReceivingOrder.DocumentCurrency
Required
Default(0)
Type: Amount (14, 2)
Category: System
Supported Filters: NotFilterable
Supports Order By: False
Default Value: Constant
Show in UI: ShownByDefault
Back-End Default Expression:
IIF( ( ( ( obj.ConfirmedQuantity ?? obj.Quantity) == null) OrElse ( obj.PricePerUnit == null)), obj.LineAmount, ( ( obj.ConfirmedQuantity ?? obj.Quantity).Value * obj.PricePerUnit).Round( ))
Front-End Recalc Expressions:
IIF( ( ( ( obj.ConfirmedQuantity ?? obj.Quantity) == null) OrElse ( obj.PricePerUnit == null)), obj.LineAmount, ( ( obj.ConfirmedQuantity ?? obj.Quantity).Value * obj.PricePerUnit).Round( ))
LineNo
Line number, unique within the ReceivingOrder. Usually is increasing number like 10, 20, 30, ... when initially entering the ReceivingOrder (in order to allow insertions with adjustment documents). Required
Type: int32
Category: System
Supported Filters: NotFilterable
Supports Order By: False
Show in UI: ShownByDefault
Back-End Default Expression:
( obj.ReceivingOrder.Lines.Select( c => c.LineNo).DefaultIfEmpty( 0).Max( ) + 10)
Front-End Recalc Expressions:
( obj.ReceivingOrder.Lines.Select( c => c.LineNo).DefaultIfEmpty( 0).Max( ) + 10)
Notes
Notes for this ReceivingOrderLine.
Type: string (254) nullable
Category: System
Supported Filters: NotFilterable
Supports Order By: False
Maximum Length: 254
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
PricePerUnit
The unit price of the received products, in the documents currency. Currency: ReceivingOrder.DocumentCurrency
Default(0)
Type: Amount (14, 5) nullable
Category: System
Supported Filters: NotFilterable
Supports Order By: False
Default Value: Constant
Show in UI: ShownByDefault
Front-End Recalc Expressions:
obj.PurchaseProductPrice.GetPurchasePrice( obj.QuantityUnit, obj.ReceivingOrder.CurrencyDirectory, obj.ReceivingOrder.DocumentCurrency)
ProductDescription
The name of the received product, initially copied from the name in the product definition. The field can be edited by the user. Required
Type: MultilanguageString (254)
Category: System
Supported Filters: NotFilterable
Supports Order By: False
Show in UI: HiddenByDefault
Back-End Default Expression:
obj.Product.Name
Front-End Recalc Expressions:
obj.Product.Name
Quantity
The received quantity. Unit: QuantityUnit
Required
Default(1)
Filter(ge;le)
Type: Quantity (18, 3)
Category: System
Supported Filters: GreaterThanOrLessThan
Supports Order By: False
Default Value: Constant
Show in UI: ShownByDefault
QuantityBase
The equivalence of Quantity, in the base measurement category of the product. Unit: Product.BaseMeasurementCategory.BaseUnit
Required
Type: Quantity (18, 3)
Category: System
Supported Filters: NotFilterable
Supports Order By: False
Show in UI: HiddenByDefault
Back-End Default Expression:
IIF( ( ( ( obj.Quantity == null) OrElse ( obj.QuantityUnit == null)) OrElse ( obj.Product == null)), obj.QuantityBase, obj.Quantity.ConvertTo( obj.Product.BaseUnit, obj.Product))
Front-End Recalc Expressions:
IIF( ( ( ( obj.Quantity == null) OrElse ( obj.QuantityUnit == null)) OrElse ( obj.Product == null)), obj.QuantityBase, obj.Quantity.ConvertTo( obj.Product.BaseUnit, obj.Product))
StandardQuantityBase
The theoretical quantity in base measurement unit according to the current measurement dimensions for the product. Used to measure the execution. 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.Quantity == null) OrElse ( obj.QuantityUnit == null)) OrElse ( obj.Product == null)), obj.StandardQuantityBase, obj.Quantity.ConvertTo( obj.Product.BaseUnit, obj.Product))
Front-End Recalc Expressions:
IIF( ( ( ( obj.Quantity == null) OrElse ( obj.QuantityUnit == null)) OrElse ( obj.Product == null)), obj.StandardQuantityBase, obj.Quantity.ConvertTo( obj.Product.BaseUnit, obj.Product))
Reference Details
Document
The Required
Filter(multi eq)
Type: ReceivingOrders
Indexed: True
Category: System
Supported Filters: Equals, EqualsIn
Show in UI: ShownByDefault
LineStore
The store in which the goods are received. Filter(multi eq)
Type: Stores (nullable)
Category: System
Supported Filters: Equals, EqualsIn
Show in UI: HiddenByDefault
Back-End Default Expression:
obj.ReceivingOrder.Store
Front-End Recalc Expressions:
obj.ReceivingOrder.Store
Lot
The lot of the received goods. Filter(multi eq)
Type: Lots (nullable)
Indexed: True
Category: System
Supported Filters: Equals, EqualsIn
Show in UI: HiddenByDefault
Product
The received product. Required
Filter(multi eq)
Type: Products
Indexed: True
Category: System
Supported Filters: Equals, EqualsIn
Show in UI: ShownByDefault
ProductCode
When not null, specifies that the product was selected using the specified product code record. Filter(multi eq)
Type: ProductCodes (nullable)
Category: System
Supported Filters: Equals, EqualsIn
Show in UI: HiddenByDefault
ProductVariant
If specified determines which product variant of the current product in this line is used. Filter(multi eq)
Type: ProductVariants (nullable)
Category: System
Supported Filters: Equals, EqualsIn
Show in UI: HiddenByDefault
PurchaseOrderLine
The purchase order line for which we are receiving quantity. Filter(multi eq)
Type: PurchaseOrderLines (nullable)
Indexed: True
Category: System
Supported Filters: Equals, EqualsIn
Show in UI: HiddenByDefault
PurchaseProductPrice
When not null, specifies that the purchase unit price is loaded automatically from the specified purchase price record. Filter(multi eq)
Type: PurchaseProductPrices (nullable)
Category: System
Supported Filters: Equals, EqualsIn
Show in UI: HiddenByDefault
Front-End Recalc Expressions:
obj.DeterminePurchaseProductPrice( Convert( obj.ReceivingOrder.DocumentDate, Nullable
1), obj.ReceivingOrder.Supplier, obj.Product, ( obj.ConfirmedQuantity ?? obj.Quantity), obj.ReceivingOrder.EnterpriseCompany, obj.ReceivingOrder.PurchasePriceList)`
QuantityUnit
The measurement unit of Quantity. Initially copied from the Default Measurement Unit of the Product. Required
Filter(multi eq)
Type: MeasurementUnits
Category: System
Supported Filters: Equals, EqualsIn
Show in UI: ShownByDefault
Back-End Default Expression:
obj.ProductCode.CodingSystem.DefaultMeasurementUnit.IfNullThen( obj.Product.PurchaseMeasurementUnit).IfNullThen( obj.Product.MeasurementUnit).IfNullThen( obj.QuantityUnit)
Front-End Recalc Expressions:
obj.ProductCode.CodingSystem.DefaultMeasurementUnit.IfNullThen( obj.Product.PurchaseMeasurementUnit).IfNullThen( obj.Product.MeasurementUnit).IfNullThen( obj.QuantityUnit)
ReceivingOrder
The Required
Filter(multi eq)
Owner
Type: ReceivingOrders
Indexed: True
Category: System
Supported Filters: Equals, EqualsIn
Filterable Reference: True
Show in UI: ShownByDefault
SerialNumber
Which serial number to receive/issue. null means that serial number is unknown or not applicable. Filter(multi eq)
Type: SerialNumbers (nullable)
Category: System
Supported Filters: Equals, EqualsIn
Show in UI: HiddenByDefault
StoreBin
The store bin in which to receive the goods. Filter(multi eq)
Type: StoreBins (nullable)
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
- R30505-10 ReceivingOrderLine - Copy Values From Purchase Order Line
- R30505-11 Receiving Order Line - Set Purchase Product Price (Recalc)
- R30505-12 Receiving Order Line - Set Price Per Unit (Recalc)
- R30505-13 ReceivingOrderLine - Set Price Per Unit From Line Amount
- R30505-14 ReceivingOrderLine - Convert Price Per Unit
- R30505-15 ReceivingOrderLine - Update Product Dependant Fields
- R30505-16 Receiving Order Line - Set Quantity Unit (Recalc)
- R30505-9 Receiving Order Line - Set Line Amount (Recalc)
- R31906-1 Receiving Order Line - Set Product Description (Recalc)
API
Domain API Query: https://demodb.my.erp.net/api/domain/odata/Logistics_Procurement_ReceivingOrderLines?$top=10
Domain API Query Builder: https://demodb.my.erp.net/api/domain/querybuilder#Logistics_Procurement_ReceivingOrderLines?$top=10