Codeunit 70491909 EOS055.01 Whse. Act. Handler

Codeunit 70491909 EOS055.01 Whse. Act. Handler

Methods

RegisterHandlingUnit

procedure RegisterHandlingUnit(Hu: Record "EOS055 Handling Unit"; WhseActHeader: Record "Warehouse Activity Header")

Parameters / Return Value

  • Hu Record "EOS055 Handling Unit"

  • WhseActHeader Record "Warehouse Activity Header"


IsInbound

procedure IsInbound(WhseActHeader: Record "Warehouse Activity Header"): Boolean

Parameters / Return Value

  • WhseActHeader Record "Warehouse Activity Header"

  • Returns Boolean


AssignHandlingUnit

procedure AssignHandlingUnit(Hu: Record "EOS055 Handling Unit"; WhseActHeader: Record "Warehouse Activity Header")

Parameters / Return Value

  • Hu Record "EOS055 Handling Unit"

  • WhseActHeader Record "Warehouse Activity Header"


AssignHandlingUnit

procedure AssignHandlingUnit(Hu: Record "EOS055 Handling Unit"; WhseActHeader: Record "Warehouse Activity Header"; var TempWhseActLine: Record "Warehouse Activity Line")

Parameters / Return Value

  • Hu Record "EOS055 Handling Unit"

  • WhseActHeader Record "Warehouse Activity Header"

  • TempWhseActLine Record "Warehouse Activity Line"


UnassignHandlingUnit

procedure UnassignHandlingUnit(WhseActHeader: Record "Warehouse Activity Header"; HuNo: Code[20])

Parameters / Return Value

  • WhseActHeader Record "Warehouse Activity Header"

  • HuNo Code[20]


UnassignHandlingUnit

procedure UnassignHandlingUnit(WhseActHeader: Record "Warehouse Activity Header"; HuNo: Code[20]; Force: Boolean)

Parameters / Return Value

  • WhseActHeader Record "Warehouse Activity Header"

  • HuNo Code[20]

  • Force Boolean


BalanceWhseActLine

procedure BalanceWhseActLine(WhseActHeader: Record "Warehouse Activity Header"; WhseActLine: Record "Warehouse Activity Line"; HuNo: Code[20])

Parameters / Return Value

  • WhseActHeader Record "Warehouse Activity Header"

  • WhseActLine Record "Warehouse Activity Line"

  • HuNo Code[20]


CollectHusFromWhseActivity

procedure CollectHusFromWhseActivity(WhseActHeader: Record "Warehouse Activity Header"; var TmpHu: Record "EOS055 Handling Unit")

Parameters / Return Value

  • WhseActHeader Record "Warehouse Activity Header"

  • TmpHu Record "EOS055 Handling Unit"


CollectAssignments

procedure CollectAssignments(HuNo: Code[20]; ActivityType: Integer; ActivityNo: Code[20]; LineNo: Integer; var TempHandlingUnitBuffer: Record "EOS055 Handling Unit Buffer" temporary)

Collect all assignments for the given warehouse activity and add them to the buffer.

Parameters / Return Value

  • HuNo Code[20]

  • ActivityType Integer

  • ActivityNo Code[20]

  • LineNo Integer

  • TempHandlingUnitBuffer Record "EOS055 Handling Unit Buffer"


Events

OnBeforeTransferHuFromShipmentToPick

local procedure OnBeforeTransferHuFromShipmentToPick(HoNo: Code[20]; WhseShptNo: Code[20]; WhseActHeader: Record "Warehouse Activity Header"; var TransferHu: Enum "EOS066 TriState Boolean")

Raised before a handling unit is about to transferred from a warehouse shipment to a warehouse pick. Use this to selectively enable or disable this behaviour.

Parameters / Return Value

  • HoNo Code[20]

  • WhseShptNo Code[20]

    The warehouse shipment from which the pick has been generated.

  • WhseActHeader Record "Warehouse Activity Header"

    The warehouse activity header to which the HU is about to be copied.

  • TransferHu Enum "EOS066 TriState Boolean"

    A variable indicating whether the HU should be copied. This value may already be set to false if the HU assignment was made from an earlier pick. If you want to skip this HU, set this value to false.


OnAfterSplitWhseActivLineFindNewLineNo

local procedure OnAfterSplitWhseActivLineFindNewLineNo(WhseActivLine: Record "Warehouse Activity Line"; var NewLineNo: Integer)

Raised after a new whse. activity line no. has been determined during line split.

Parameters / Return Value

  • WhseActivLine Record "Warehouse Activity Line"

    The whse. activity line that needed to be split.

  • NewLineNo Integer

    The new line no. that has been assigned.


OnBeforeSplitWhseActLines

local procedure OnBeforeSplitWhseActLines(var WarehouseActivityLine: Record "Warehouse Activity Line";var NewWarehouseActivityLine: Record "Warehouse Activity Line";var WasSplit: Boolean;var IsHandled: Boolean)

Raied befor a warehouse activity line is split for HU assignment. Use this to override split behavior.

Parameters / Return Value

  • WarehouseActivityLine Record "Warehouse Activity Line"

    The warehouse activity line.

  • NewWarehouseActivityLine Record "Warehouse Activity Line"

    The new warehouse activity line that was created.

  • WasSplit Boolean

    Set this to true if the line was split, false otherwise.

  • IsHandled Boolean

    Gets or sets if this event has been completely handled.


OnAfterSplitWhseActLines

local procedure OnAfterSplitWhseActLines(var WarehouseActivityLine: Record "Warehouse Activity Line"; NewWarehouseActivityLine: Record "Warehouse Activity Line")

Event raised on after split put away lines.

Parameters / Return Value

  • WarehouseActivityLine Record "Warehouse Activity Line"

    The Source Warehouse activity line.

  • NewWarehouseActivityLine Record "Warehouse Activity Line"

    The New Warehouse activity line.


OnBeforeModifyOldWhseActivLine

local procedure OnBeforeModifyOldWhseActivLine(var WarehouseActivityLine: Record "Warehouse Activity Line")

Parameters / Return Value

  • WarehouseActivityLine Record "Warehouse Activity Line"

OnBeforeCheckTakePlaceQty

local procedure OnBeforeCheckTakePlaceQty(var WhseActLine: Record "Warehouse Activity Line"; var Handled: Boolean)

Raised before take and place quantities per HU are verified. Use this to override or customize this check.

Parameters / Return Value

  • WhseActLine Record "Warehouse Activity Line"

    The filtered whse. activity lines that are checked.

  • Handled Boolean

    Gets or sets whether this event has been completely handled.


OnBeforeCalcQtyToAssignToWhseActLine

local procedure OnBeforeCalcQtyToAssignToWhseActLine(var WhseActLine: Record "Warehouse Activity Line"; TempHuBuffer: Record "EOS055 Handling Unit Buffer"; AssignmentSource: Enum "EOS05501 Assignment Source"; var QtyToAssignThisLineBase: Decimal; var IsHandled: Boolean; var AssignHuToWhseActLine: Boolean)

Raised in AssignSingleHandlingUnit() procedure. Use this to modify assignments on fields of Warehouse Activity Line.

Parameters / Return Value

  • WhseActLine Record "Warehouse Activity Line"

    Current Record “Warehouse Activity Line”

  • TempHuBuffer Record "EOS055 Handling Unit Buffer"

    Temporary Record “EOS055 Handling Unit Buffer”

  • AssignmentSource Enum "EOS05501 Assignment Source"

    Enum “EOS05501 Assignment Source”

  • QtyToAssignThisLineBase Decimal

    Variable to modify. It’s the “Qty. Outstanding (Base)”

  • IsHandled Boolean

    if true, no following app code will be executed

  • AssignHuToWhseActLine Boolean

    This Parameter is used in the specific case of Handling Unit transfers from Whse Shipment Lines to Whse Activity Lines. if true, assign the Handling Unit to Whse Activity Line, without check if the Handling Unit is assigned a Whse Shipment Line.


OnAssignSingleHandlingUnitOnBeforeWhseActLineModify

local procedure OnAssignSingleHandlingUnitOnBeforeWhseActLineModify(var WhseActLine: Record "Warehouse Activity Line"; TempHuBuffer: Record "EOS055 Handling Unit Buffer")

Raised when assigning a handling unit to a warehouse activity line, before modifying the record.

Parameters / Return Value

  • WhseActLine Record "Warehouse Activity Line"

    Record “Warehouse Activity Line”.

  • TempHuBuffer Record "EOS055 Handling Unit Buffer"

    Temporary record “EOS055 Handling Unit Buffer”.


OnBalanceWhseActLineOnBeforeWhseActLineModify

local procedure OnBalanceWhseActLineOnBeforeWhseActLineModify(var WhseActLine: Record "Warehouse Activity Line"; WhseActLineToBalance: Record "Warehouse Activity Line")

Raised when assigning a handling unit to a warehouse activity line, when balancing the lines in the activity, before modifying the record.

Parameters / Return Value

  • WhseActLine Record "Warehouse Activity Line"

    The balancing warehouse activity line.

  • WhseActLineToBalance Record "Warehouse Activity Line"

    The warehouse activity line to balance.


OnSplitPostedWhseReceiptLineOnBeforeBufferModify

local procedure OnSplitPostedWhseReceiptLineOnBeforeBufferModify(var TempSplitBufferTarget: Record "Posted Whse. Receipt Line"; TempAssignmentEntry: Record "EOS055 Handling Unit Buffer")

Raised after splitting the posted whse receipt line, after calculating the quantities for each HUM, before modifying the buffer.

Parameters / Return Value

  • TempSplitBufferTarget Record "Posted Whse. Receipt Line"

    Temporary record “Posted Whse. Receipt Line”.

  • TempAssignmentEntry Record "EOS055 Handling Unit Buffer"

    Temporary record “EOS055 Handling Unit Buffer”.



EOS Labs -