Table 70491904 EOS055 Handling Unit
Table 70491904 EOS055 Handling Unit
| Language | Caption | 
|---|---|
| de-DE | Ladeeinheit | 
| en-US | Handling Unit | 
| it-IT | Unità di carico | 
Fields
No. (1)
Code[20]
| Language | Caption | 
|---|---|
| de-DE | Nr. | 
| en-US | No. | 
| it-IT | Nr. | 
HU Type Code (2)
Code[10]
TableRelation: "EOS055 Handling Unit Type"
| Language | Caption | 
|---|---|
| de-DE | LE-Artencode | 
| en-US | HU Type Code | 
| it-IT | Cod. tipo UdC | 
Type (3)
Enum "EOS055.01 Handling Unit Type"
| Language | Caption | 
|---|---|
| de-DE | Art | 
| en-US | Type | 
| it-IT | Tipo | 
Status (4)
Enum "EOS055.01 Handling Unit Status"
| Language | Caption | 
|---|---|
| de-DE | Status | 
| en-US | Status | 
| it-IT | Stato | 
Description (5)
Text[100]
| Language | Caption | 
|---|---|
| de-DE | Beschreibung | 
| en-US | Description | 
| it-IT | Descrizione | 
Location Code (10)
Code[10]
TableRelation: Location where("Use As In-Transit" = const(false))
| Language | Caption | 
|---|---|
| de-DE | Lagerortcode | 
| en-US | Location Code | 
| it-IT | Cod. ubicazione | 
Bin Code (11)
Code[20]
TableRelation: Bin.Code where("Location Code" = field("Location Code"))
| Language | Caption | 
|---|---|
| de-DE | Lagerplatzcode | 
| en-US | Bin Code | 
| it-IT | Cod. collocazione | 
Item No. (15)
Code[20]
TableRelation: Item where(Type = const(Inventory))
| Language | Caption | 
|---|---|
| de-DE | Artikelnr. | 
| en-US | Item No. | 
| it-IT | Nr. articolo | 
Variant Code (16)
Code[10]
TableRelation: "Item Variant".Code where("Item No." = field("Item No."))
| Language | Caption | 
|---|---|
| de-DE | Variantencode | 
| en-US | Variant Code | 
| it-IT | Cod. variante | 
Packaging Material No. (20)
Code[20]
TableRelation: "EOS055 Packaging Material"
| Language | Caption | 
|---|---|
| de-DE | Verpackungsmaterialnr. | 
| en-US | Packaging Material No. | 
| it-IT | Nr. materiale di imballaggio | 
No. Series (30)
Code[20]
TableRelation: "No. Series"
Obsolete
Removed: Unused (17.0)| Language | Caption | 
|---|
Created by (31)
Code[50]
| Language | Caption | 
|---|---|
| de-DE | Erstellt durch | 
| en-US | Created by | 
| it-IT | Creato da | 
Creation Date-Time (32)
DateTime
| Language | Caption | 
|---|---|
| de-DE | Datum-Uhrzeit Erstellung | 
| en-US | Creation Date-Time | 
| it-IT | Creazione data-ora | 
Has Content (35)
Boolean
| Language | Caption | 
|---|---|
| de-DE | Hat Inhalt | 
| en-US | Has Content | 
| it-IT | Ha contenuti | 
Blocked (36)
Boolean
| Language | Caption | 
|---|---|
| de-DE | Gesperrt | 
| en-US | Blocked | 
| it-IT | Bloccato | 
Editable (37)
Boolean
| Language | Caption | 
|---|---|
| de-DE | Änderbar | 
| en-US | Editable | 
| it-IT | Modificabile | 
Parent Handling Unit No. (40)
Code[20]
TableRelation: "EOS055 Handling Unit"
| Language | Caption | 
|---|---|
| de-DE | Übergeordnete Ladeeinheit | 
| en-US | Parent Handling Unit No. | 
| it-IT | Nr. unità di carico padre | 
Calc. Gross Weight (45)
Decimal
| Language | Caption | 
|---|---|
| de-DE | Berech. Bruttogewicht | 
| en-US | Calc. Gross Weight | 
| it-IT | Peso lordo calcolato | 
Calc. Net Weight (46)
Decimal
| Language | Caption | 
|---|---|
| de-DE | Berech. Nettogewicht | 
| en-US | Calc. Net Weight | 
| it-IT | Peso netto calcolato | 
Calc. Unit Volume (47)
Decimal
| Language | Caption | 
|---|---|
| de-DE | Berech. Volumen | 
| en-US | Calc. Unit Volume | 
| it-IT | Volume unitario calcolato | 
Gross Weight (48)
Decimal
| Language | Caption | 
|---|---|
| de-DE | Bruttogewicht | 
| en-US | Gross Weight | 
| it-IT | Peso lordo | 
Net Weight (49)
Decimal
| Language | Caption | 
|---|---|
| de-DE | Nettogewicht | 
| en-US | Net Weight | 
| it-IT | Peso netto | 
Unit Volume (50)
Decimal
| Language | Caption | 
|---|---|
| de-DE | Volumen | 
| en-US | Unit Volume | 
| it-IT | Volume unitario | 
No. of Assignments (60)
Integer
FieldClass: FlowField
CalcFormula: count("EOS055 Handling Unit Assignm." where("Handling Unit No." = field("No.")))
Obsolete
Removed: Removed. Use ‘GetAssignments’ instead. (16.0)| Language | Caption | 
|---|
Width (mm) (80)
Decimal
| Language | Caption | 
|---|---|
| de-DE | Breite (mm) | 
| en-US | Width (mm) | 
| it-IT | Larghezza (mm) | 
Length (mm) (81)
Decimal
| Language | Caption | 
|---|---|
| de-DE | Länge mm) | 
| en-US | Length (mm) | 
| it-IT | Lunghezza (mm) | 
Height (mm) (82)
Decimal
| Language | Caption | 
|---|---|
| de-DE | Höhe (mm) | 
| en-US | Height (mm) | 
| it-IT | Altezza (mm) | 
Packaging Description (85)
Text[100]
| Language | Caption | 
|---|---|
| de-DE | Verpackungsbeschreibung | 
| en-US | Packaging Description | 
| it-IT | Descrizione imballaggio | 
Shelf No. (86)
Code[10]
| Language | Caption | 
|---|---|
| de-DE | Regalnr. | 
| en-US | Shelf No. | 
| it-IT | Nr. scaffale | 
Transfer Order No. (87)
Code[20]
| Language | Caption | 
|---|---|
| en-US | Transfer Order No. | 
| it-IT | Nr. Ordine Trasferimento | 
Secondary Unit of Measure Code (90)
Code[10]
TableRelation: "Unit of Measure".Code
Specifies a secondary unit of measure. This unit of measure is used to calculate the secondary
quantities on the HU content. This is only used for display purposes.
This is alternative to using Secondary UoM Factor.
| Language | Caption | 
|---|---|
| de-DE | Sekundär-Einheitencode | 
| en-US | Secondary Unit of Measure Code | 
| it-IT | Cod. unità di misura secondaria | 
Secondary UoM Factor (91)
Decimal
Specifies a secondary unit of measure factor. This factor is used to calculate the secondary
quantities on all HU contents. This is only used for display purposes.
This is alternative to using Secondary Unit of Measure Code.
| Language | Caption | 
|---|---|
| de-DE | Sekundär-Einheitsfaktor | 
| en-US | Secondary Unit of Measure Factor | 
| it-IT | Fattore unità di misura secondaria | 
Source TableID (200)
Integer
| Language | Caption | 
|---|
Source SystemID (201)
Guid
| Language | Caption | 
|---|
Methods
TestCanBeDeleted
procedure TestCanBeDeleted()
TestCanBeDeleted
procedure TestCanBeDeleted(WithError: Boolean): Boolean
Parameters / Return Value
- WithError - Boolean
- Returns - Boolean
SetHandlingUnitType
procedure SetHandlingUnitType()
ShowIssues
procedure ShowIssues()
Shows a list of all issues for the current handling unit, if there are any.
GetIssues
procedure GetIssues(): Integer
Retrieves the number of issues for this handling unit.
Parameters / Return Value
- Returns - Integer- The number of issues found. 
GetIssues
procedure GetIssues(var TempErrorMessage: Record "Error Message"): Integer
Retrieves a list of all issues for this handling unit.
Parameters / Return Value
- TempErrorMessage - Record "Error Message"- The target buffer where issues are written to. Any existing records will be overwritten. 
- Returns - Integer- The number of issues found. 
GetIssues
procedure GetIssues(var TempErrorMessage: Record "Error Message"; AddToBuffer: Boolean): Integer
Retrieves a list of all issues for this handling unit.
Parameters / Return Value
- TempErrorMessage - Record "Error Message"- The target buffer where issues are added to. 
- AddToBuffer - Boolean- Specifies if existing records in the buffer are kept ( - true) or deleted (- false).
- Returns - Integer- The number of issues found. 
ThrowIssues
procedure ThrowIssues()
Generates and throws a runtime error, if the handling unit has any issues.
TestNotAssignedPartially
procedure TestNotAssignedPartially()
Lock
procedure Lock(LockId: Guid; AllowMovements: Boolean)
Locks a handling unit.
Parameters / Return Value
- LockId - Guid- An ID to assign to the lock. 
- AllowMovements - Boolean- Indicates if this lock allows or prevents movement of the handling unit. 
Unlock
procedure Unlock(LockId: Guid): Boolean
Unlocks a handling unit.
Parameters / Return Value
- LockId - Guid- The lock ID to unlock. 
- Returns - Boolean- trueif the handling unit was locked before unlocking.
GetLocks
procedure GetLocks(var TmpHuLock: Record "EOS055.01 Handling Unit Lock")
Retrieves all currently active locks for this handling unit.
Parameters / Return Value
- TmpHuLock - Record "EOS055.01 Handling Unit Lock"- A temporary buffer that will contain all active locks. 
TestNotLocked
procedure TestNotLocked(MovementLocksOnly: Boolean; Throw: Boolean): Boolean
Tests that a handling unit is not locked.
Parameters / Return Value
- MovementLocksOnly - Boolean- Indicates if only locks that block movement should be checked. 
- Throw - Boolean- Indicates whether a runtime error is generated if the handling unit is locked. 
- Returns - Boolean- trueif the handling unit is not locked.
TestNotLocked
procedure TestNotLocked(LockId: Guid; MovementLocksOnly: Boolean; Throw: Boolean): Boolean
Tests that a handling unit is not locked by a specific lock ID.
Parameters / Return Value
- LockId - Guid- Specifies the lock ID to check. 
- MovementLocksOnly - Boolean- Indicates if only locks that block movement should be checked. 
- Throw - Boolean- Indicates whether a runtime error is generated if the handling unit is locked. 
- Returns - Boolean- trueif the handling unit is not locked.
ChangeParent
procedure ChangeParent(NewParentHuNo: Code[20])
Parameters / Return Value
- NewParentHuNo Code[20]
FindTopLevelHandlingUnitNo
procedure FindTopLevelHandlingUnitNo(): Code[20]
Returns the top-level handling unit for this handling unit.
Parameters / Return Value
- Returns - Code[20]- The no. of the top-level handling unit. 
GetTopLevel
procedure GetTopLevel(HuNo: Code[20])
Gets the top-level handling unit for the given child handling unit no.
Parameters / Return Value
- HuNo - Code[20]- The child handling unit no. 
CalcSecondaryQuantity
procedure CalcSecondaryQuantity(ItemNo: Code[20]; QtyBase: Decimal): Decimal
Parameters / Return Value
- ItemNo - Code[20]
- QtyBase - Decimal
- Returns - Decimal
CalcSecondaryQuantity
procedure CalcSecondaryQuantity(Item: Record Item; QtyBase: Decimal): Decimal
Parameters / Return Value
- Item - Record "Item"
- QtyBase - Decimal
- Returns - Decimal
TestAvailableToTake
procedure TestAvailableToTake()
Check or verify if a HU is available to be taken on a warehouse activity line. The result of this can be customized. This is a TryFunction.
CanUpdate
procedure CanUpdate(): Boolean
Parameters / Return Value
- Returns Boolean
BeginTransaction
procedure BeginTransaction()
Starts a transaction on a given HU. This disables all update routines on the HU and marks HU contents as inconsistent.
You must make sure to call EndTransaction after the transaction is completed and before it is committed to the database.
EndTransaction
procedure EndTransaction()
Ends an open transaction on a HU, if there is one. If there is not, this has no effect.
This must always be called after a transaction has been started through BeginTransaction to make tables consistent again.
This does not include eventual parent handling units, they must be updated manually.
EndTransactionWithParents
procedure EndTransactionWithParents()
Ends an open transaction on a HU, if there is one. If there is not, this has no effect.
This must always be called after a transaction has been started through BeginTransaction to make tables consistent again.
This include eventual parent handling units.
EndTransactionWithChildren
procedure EndTransactionWithChildren()
Ends an open transaction on a HU and all it’s children, starting from the children and then moving up level by level.
See EndTransaction for more details.
AddHuAndParentsToList
procedure AddHuAndParentsToList(var resultList: List of [Code[20]])
Parameters / Return Value
- resultList List[Code]
ApplyPackagingInstruction
procedure ApplyPackagingInstruction(PackInstruction: Record "EOS055 Packaging Instruction")
Applies packaging instruction setups and fields to a handling unit. This is only called during packing list suggestion as it is the only time a HU is directly linked to a single source document line. You can use this to apply a packaging instruction to a HU in different custom scenarios as well.
Parameters / Return Value
- PackInstruction - Record "EOS055 Packaging Instruction"- The packaging instruction to be applied. 
Events
OnAfterCopyFromPackagingMaterial
local procedure OnAfterCopyFromPackagingMaterial(var Hu: Record "EOS055 Handling Unit"; PackMaterial: Record "EOS055 Packaging Material")
Raised after values are copied from the packaging material to the handling unit. Use this to copy custom fields.
Parameters / Return Value
- Hu - Record "EOS055 Handling Unit"- The handling unit. 
- PackMaterial - Record "EOS055 Packaging Material"- The packaging material. 
OnBeforeTestCanBeDeleted
local procedure OnBeforeTestCanBeDeleted(var Handled: Boolean)
Raised before a handling unit is checked if it can be deleted. You can use this to add custom checks or override the default ones. Note that this event is called from within a TryFunction. If you want to fail the check, raise an error. If no error is raised, the checks are considered passed. If you set “Handled”, no further default checks are executed.
Parameters / Return Value
- Handled - Boolean- Gets or sets if the event is completely handled. If this is handled, no further checks will be performed. 
OnAfterUnlock
local procedure OnAfterUnlock(Rec: Record "EOS055 Handling Unit"; LockId: Guid)
Raised after a handling unit has been unlocked for a specific lock ID.
Parameters / Return Value
- Rec - Record "EOS055 Handling Unit"- The handling unit. 
- LockId - Guid- The lock ID that has been removed from the handling unit. 
OnAfterSetHandlingUnitNo
local procedure OnAfterSetHandlingUnitNo(var HandlingUnit: Record "EOS055 Handling Unit")
Parameters / Return Value
- HandlingUnit Record "EOS055 Handling Unit"
OnBeforeCheckNoByType
local procedure OnBeforeCheckNoByType(var HandlingUnit: Record "EOS055 Handling Unit"; var NewNo: Code[20]; var IsHandled: Boolean)
Parameters / Return Value
- HandlingUnit - Record "EOS055 Handling Unit"
- NewNo - Code[20]
- IsHandled - Boolean
OnAfterCheckNoByType
local procedure OnAfterCheckNoByType(var HandlingUnit: Record "EOS055 Handling Unit"; var NewNo: Code[20])
Parameters / Return Value
- HandlingUnit - Record "EOS055 Handling Unit"
- NewNo - Code[20]
OnAfterGetNoSeriesCode
local procedure OnAfterGetNoSeriesCode(var HandlingUnit: Record "EOS055 Handling Unit"; PackagingSetup: Record "EOS055 Packaging Setup"; var NoSeriesCode: Code[20])
Parameters / Return Value
- HandlingUnit - Record "EOS055 Handling Unit"
- PackagingSetup - Record "EOS055 Packaging Setup"
- NoSeriesCode - Code[20]
OnBeforeTestIsAvailableToTake
local procedure OnBeforeTestIsAvailableToTake(Hu: Record "EOS055 Handling Unit"; var IsAvailableToTake: Enum "EOS066 TriState Boolean")
If a HU is not available to take on a warehouse activity (already present on any take line) an error is thrown. This event is raised before this error and allows to override it.
Parameters / Return Value
- Hu - Record "EOS055 Handling Unit"- The handling unit. 
- IsAvailableToTake - Enum "EOS066 TriState Boolean"- Set this to - trueto allow the handling unit to be taken. Any other value is interpreted as- false.
OnAfterCalcSecondaryQuantity
local procedure OnAfterCalcSecondaryQuantity(Hu: Record "EOS055 Handling Unit"; Item: Record Item; var SecondaryQty: Decimal)
Raised after the secondary quantity for an item is calculated. Use this to override the results.
Parameters / Return Value
- Hu - Record "EOS055 Handling Unit"- The handling unit for which to calculated the secondary qauntity. 
- Item - Record "Item"- The item for which to calculate the secondary quantity. 
- SecondaryQty - Decimal- Gets or sets the secondary quantity to be returned. 
OnAfterBeginHuTransaction
local procedure OnAfterBeginHuTransaction(var Hu: Record "EOS055 Handling Unit")
Raised after a HU transaction has been started.
Parameters / Return Value
- Hu - Record "EOS055 Handling Unit"- The handling unit. 
OnAfterEndHuTransaction
local procedure OnAfterEndHuTransaction(var Hu: Record "EOS055 Handling Unit")
Raised after a HU transaction has been completed.
Parameters / Return Value
- Hu - Record "EOS055 Handling Unit"- The handling unit. 
OnAfterApplyPackagingInstruction
local procedure OnAfterApplyPackagingInstruction(var Hu: Record "EOS055 Handling Unit"; PackInstruction: Record "EOS055 Packaging Instruction")
Raised after a packaging instruction has been applied to a handling unit. Use this to copy custom fields from the packaging instruction to the handling unit.
Parameters / Return Value
- Hu - Record "EOS055 Handling Unit"- The handling unit. 
- PackInstruction - Record "EOS055 Packaging Instruction"- The packaging instruction. 
OnAfterFilterHuContentOnBeforeTestNotAssignedPartially
local procedure OnAfterFilterHuContentOnBeforeTestNotAssignedPartially(var TempHuContent: Record "EOS055 Handling Unit Buffer" temporary; HandlingUnitNo: Code[20])
Raised after the handling unit content is filtered in the TestNotAssignedPartially procedure.
This allows you to add custom filters to the handling unit content before the final check is performed.
Parameters / Return Value
- TempHuContent - Record "EOS055 Handling Unit Buffer"- Buffer with handling unit content 
- HandlingUnitNo - Code[20]- The current handling unit no. 
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.