Table 70491904 EOS055 Handling Unit

Table 70491904 EOS055 Handling Unit

LanguageCaption
de-DELadeeinheit
en-USHandling Unit
it-ITUnità di carico

Fields

No. (1)

Code[20]

LanguageCaption
de-DENr.
en-USNo.
it-ITNr.

HU Type Code (2)

Code[10]

TableRelation: "EOS055 Handling Unit Type"

LanguageCaption
de-DELE-Artencode
en-USHU Type Code
it-ITCod. tipo UdC

Type (3)

Enum "EOS055.01 Handling Unit Type"

LanguageCaption
de-DEArt
en-USType
it-ITTipo

Status (4)

Enum "EOS055.01 Handling Unit Status"

LanguageCaption
de-DEStatus
en-USStatus
it-ITStato

Description (5)

Text[100]

LanguageCaption
de-DEBeschreibung
en-USDescription
it-ITDescrizione

Location Code (10)

Code[10]

TableRelation: Location where("Use As In-Transit" = const(false))

LanguageCaption
de-DELagerortcode
en-USLocation Code
it-ITCod. ubicazione

Bin Code (11)

Code[20]

TableRelation: Bin.Code where("Location Code" = field("Location Code"))

LanguageCaption
de-DELagerplatzcode
en-USBin Code
it-ITCod. collocazione

Item No. (15)

Code[20]

TableRelation: Item where(Type = const(Inventory))

LanguageCaption
de-DEArtikelnr.
en-USItem No.
it-ITNr. articolo

Variant Code (16)

Code[10]

TableRelation: "Item Variant".Code where("Item No." = field("Item No."))

LanguageCaption
de-DEVariantencode
en-USVariant Code
it-ITCod. variante

Packaging Material No. (20)

Code[20]

TableRelation: "EOS055 Packaging Material"

LanguageCaption
de-DEVerpackungsmaterialnr.
en-USPackaging Material No.
it-ITNr. materiale di imballaggio

No. Series (30)

Code[20]

TableRelation: "No. Series"

LanguageCaption

Created by (31)

Code[50]

LanguageCaption
de-DEErstellt durch
en-USCreated by
it-ITCreato da

Creation Date-Time (32)

DateTime

LanguageCaption
de-DEDatum-Uhrzeit Erstellung
en-USCreation Date-Time
it-ITCreazione data-ora

Has Content (35)

Boolean

LanguageCaption
de-DEHat Inhalt
en-USHas Content
it-ITHa contenuti

Blocked (36)

Boolean

LanguageCaption
de-DEGesperrt
en-USBlocked
it-ITBloccato

Editable (37)

Boolean

LanguageCaption
de-DEÄnderbar
en-USEditable
it-ITModificabile

Parent Handling Unit No. (40)

Code[20]

TableRelation: "EOS055 Handling Unit"

LanguageCaption
de-DEÜbergeordnete Ladeeinheit
en-USParent Handling Unit No.
it-ITNr. unità di carico padre

Calc. Gross Weight (45)

Decimal

LanguageCaption
de-DEBerech. Bruttogewicht
en-USCalc. Gross Weight
it-ITPeso lordo calcolato

Calc. Net Weight (46)

Decimal

LanguageCaption
de-DEBerech. Nettogewicht
en-USCalc. Net Weight
it-ITPeso netto calcolato

Calc. Unit Volume (47)

Decimal

LanguageCaption
de-DEBerech. Volumen
en-USCalc. Unit Volume
it-ITVolume unitario calcolato

Gross Weight (48)

Decimal

LanguageCaption
de-DEBruttogewicht
en-USGross Weight
it-ITPeso lordo

Net Weight (49)

Decimal

LanguageCaption
de-DENettogewicht
en-USNet Weight
it-ITPeso netto

Unit Volume (50)

Decimal

LanguageCaption
de-DEVolumen
en-USUnit Volume
it-ITVolume unitario

No. of Assignments (60)

Integer

FieldClass: FlowField

CalcFormula: count("EOS055 Handling Unit Assignm." where("Handling Unit No." = field("No.")))

LanguageCaption

Width (mm) (80)

Decimal

LanguageCaption
de-DEBreite (mm)
en-USWidth (mm)
it-ITLarghezza (mm)

Length (mm) (81)

Decimal

LanguageCaption
de-DELänge mm)
en-USLength (mm)
it-ITLunghezza (mm)

Height (mm) (82)

Decimal

LanguageCaption
de-DEHöhe (mm)
en-USHeight (mm)
it-ITAltezza (mm)

Packaging Description (85)

Text[100]

LanguageCaption
de-DEVerpackungsbeschreibung
en-USPackaging Description
it-ITDescrizione imballaggio

Shelf No. (86)

Code[10]

LanguageCaption
de-DERegalnr.
en-USShelf No.
it-ITNr. scaffale

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.

LanguageCaption
de-DESekundär-Einheitencode
en-USSecondary Unit of Measure Code
it-ITCod. 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.

LanguageCaption
de-DESekundär-Einheitsfaktor
en-USSecondary Unit of Measure Factor
it-ITFattore unità di misura secondaria

Source TableID (200)

Integer

LanguageCaption

Source SystemID (201)

Guid

LanguageCaption

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

    true if 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

    true if 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

    true if 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 true to 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.



EOS Labs -