Logistics.Inventory.TransferOrderLines Entity
Namespace: Logistics.Inventory
Details of Transfer Orders. Each line contains order for the movement of one product. Entity: Inv_Transfer_Order_Lines
Default Visualization
Default Display Text Format:
{LineOrd}. {TransferOrder.DocumentNo} {TransferOrder.DocumentType.TypeName:T}
Default Search Members:
TransferOrder.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.Inventory.TransferOrders
Aggregate Root:
Logistics.Inventory.TransferOrders
Attributes
Name | Type | Description |
---|---|---|
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. |
DueDateIn | datetime | The date, when the goods are expected to be received in the destination warehouse. Initially copied from the transfer header. Required Filter(ge;le) |
DueDateOut | datetime | When this line of the transfer is scheduled to issue the goods from the source warehouse. Initially copied from the transfer header. Required Filter(ge;le) |
Id | guid | |
LineOrd | int32 | Line ordinal position within the transaction. Duplicates are allowed, but not advised. Required |
Notes | string (254) nullable | Notes for this TransferOrderLine. |
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. |
Quantity | Quantity (18, 3) | Quantity ordered for transfer. Unit: QuantityUnit Required Default(1) Filter(ge;le) |
QuantityBase | Quantity (18, 3) | Quantity in the base (default) measurement unit of the Item (calculated at the time of last update of the current store order line). Should be updated in parallel with each Quantity update. Unit: Product.BaseMeasurementCategory.BaseUnit Required Filter(ge;le) |
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 |
StandardUnitPrice | Amount (14, 5) nullable | Standard unit price of the product during the creation of the transfer order line. Currency: TransferOrder.DocumentCurrency |
References
Name | Type | Description |
---|---|---|
Document | TransferOrders | The parent transfer order. Required Filter(multi eq) |
FromStoreBin | StoreBins (nullable) | From which store bin to issue/receive the products. null means that the store bin is unknown or not applicable. Filter(multi eq) |
Lot | Lots (nullable) | If non-null, contains the specific lot to use for the movement. Filter(multi eq) |
Product | Products | The product which will be transferred. Required Filter(multi eq) |
ProductCode | ProductCodes (nullable) | Selects the product thru some of the product codes. Filter(multi eq) |
ProductVariant | ProductVariants (nullable) | If specified determines which product variant of the current product in this line is used. Filter(multi eq) |
QuantityUnit | MeasurementUnits | The measurement unit of Quantity. Required Filter(multi eq) |
SerialNumber | SerialNumbers (nullable) | Which serial number to receive/issue. null means that serial number is unknown or not applicable. Filter(multi eq) |
ToStoreBin | StoreBins (nullable) | To which store bin to issue/receive the products. null means that the store bin is unknown or not applicable. Filter(multi eq) |
TransferOrder | TransferOrders | The parent transfer order. Required Filter(multi eq) Owner |
Attribute Details
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
DueDateIn
The date, when the goods are expected to be received in the destination warehouse. Initially copied from the transfer header. Required
Filter(ge;le)
Type: datetime
Category: System
Supported Filters: GreaterThanOrLessThan
Supports Order By: False
Show in UI: HiddenByDefault
Back-End Default Expression:
obj.TransferOrder.DefaultDueDateIn
Front-End Recalc Expressions:
obj.TransferOrder.DefaultDueDateIn
DueDateOut
When this line of the transfer is scheduled to issue the goods from the source warehouse. Initially copied from the transfer header. Required
Filter(ge;le)
Type: datetime
Category: System
Supported Filters: GreaterThanOrLessThan
Supports Order By: False
Show in UI: HiddenByDefault
Back-End Default Expression:
obj.TransferOrder.DefaultDueDateOut
Front-End Recalc Expressions:
obj.TransferOrder.DefaultDueDateOut
Id
Type: guid
Indexed: True
Category: System
Supported Filters: Equals, EqualsIn
Default Value: NewGuid
Show in UI: CannotBeShown
LineOrd
Line ordinal position within the transaction. Duplicates are allowed, but not advised. Required
Type: int32
Category: System
Supported Filters: NotFilterable
Supports Order By: False
Show in UI: ShownByDefault
Back-End Default Expression:
( obj.TransferOrder.Lines.Select( c => c.LineOrd).DefaultIfEmpty( 0).Max( ) + 10)
Front-End Recalc Expressions:
( obj.TransferOrder.Lines.Select( c => c.LineOrd).DefaultIfEmpty( 0).Max( ) + 10)
Notes
Notes for this TransferOrderLine.
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
Quantity
Quantity ordered for transfer. 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
Quantity in the base (default) measurement unit of the Item (calculated at the time of last update of the current store order line). Should be updated in parallel with each Quantity update. Unit: Product.BaseMeasurementCategory.BaseUnit
Required
Filter(ge;le)
Type: Quantity (18, 3)
Category: System
Supported Filters: GreaterThanOrLessThan
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))
StandardUnitPrice
Standard unit price of the product during the creation of the transfer order line. Currency: TransferOrder.DocumentCurrency
Type: Amount (14, 5) nullable
Category: System
Supported Filters: NotFilterable
Supports Order By: False
Show in UI: HiddenByDefault
Front-End Recalc Expressions:
IIF( ( ( obj.Product != null) AndAlso ( obj.QuantityUnit != null)), obj.Product.GetStandardUnitPrice( obj.QuantityUnit, obj.TransferOrder.ToStore.Currency, obj.TransferOrder.CurrencyDirectory), obj.StandardUnitPrice)
Reference Details
Document
The parent transfer order. Required
Filter(multi eq)
Type: TransferOrders
Indexed: True
Category: System
Supported Filters: Equals, EqualsIn
Show in UI: ShownByDefault
FromStoreBin
From which store bin to issue/receive the products. null means that the store bin is unknown or not applicable. Filter(multi eq)
Type: StoreBins (nullable)
Category: System
Supported Filters: Equals, EqualsIn
Show in UI: HiddenByDefault
Lot
If non-null, contains the specific lot to use for the movement. Filter(multi eq)
Type: Lots (nullable)
Category: System
Supported Filters: Equals, EqualsIn
Show in UI: HiddenByDefault
Product
The product which will be transferred. 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.IfNullThen( obj.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.Product != null) AndAlso ( obj.ProductCode != null)) AndAlso ( obj.Product != obj.ProductCode.Product)), null, obj.ProductCode)
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
QuantityUnit
The measurement unit of Quantity. Required
Filter(multi eq)
Type: MeasurementUnits
Category: System
Supported Filters: Equals, EqualsIn
Show in UI: ShownByDefault
Front-End Recalc Expressions:
obj.ProductCode.CodingSystem.DefaultMeasurementUnit.IfNullThen( obj.Product.MeasurementUnit.IfNullThen( obj.QuantityUnit))
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
ToStoreBin
To which store bin to issue/receive the products. null means that the store bin is unknown or not applicable. Filter(multi eq)
Type: StoreBins (nullable)
Category: System
Supported Filters: Equals, EqualsIn
Show in UI: HiddenByDefault
TransferOrder
The parent transfer order. Required
Filter(multi eq)
Owner
Type: TransferOrders
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: 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
Front-End Business Rules
- R31382-3 Transfer Order Line - Set Standard Unit Price (Recalc)
- R31382-4 Transfer Order Line - Set Product (Recalc)
- R31382-5 Transfer Order Line - Set Product Code (Recalc)
- R31382-6 Transfer Order Line - Set Quantity Unit (Recalc)
- R31382-7 Transfer Order Line - Set Quantity Base (Recalc)
- R31382-8 Transfer Order Line - Set Standard Quantity Base (Recalc)
API
Domain API Query: https://demodb.my.erp.net/api/domain/odata/Logistics_Inventory_TransferOrderLines?$top=10
Domain API Query Builder: https://demodb.my.erp.net/api/domain/querybuilder#Logistics_Inventory_TransferOrderLines?$top=10