Codeunit 18006541 EOS Post Transfer Management

Codeunit 18006541 EOS Post Transfer Management

Methods

PostIncomingTransfer

procedure PostIncomingTransfer(var InspOrderHeader: Record "EOS Inspection Order Header")

Parameters / Return Value

  • InspOrderHeader Record "EOS Inspection Order Header"

PostComplianceTransfer

procedure PostComplianceTransfer(var InspOrderHeader: Record "EOS Inspection Order Header"; ItemLedgEntry: Record "Item Ledger Entry")

Parameters / Return Value

  • InspOrderHeader Record "EOS Inspection Order Header"

  • ItemLedgEntry Record "Item Ledger Entry"


PostBlockedTransfer

procedure PostBlockedTransfer(var InspOrderHeader: Record "EOS Inspection Order Header"; ItemLedgEntry: Record "Item Ledger Entry")

Parameters / Return Value

  • InspOrderHeader Record "EOS Inspection Order Header"

  • ItemLedgEntry Record "Item Ledger Entry"


CheckLine

procedure CheckLine(WhseJnlLine: Record "Warehouse Journal Line")

Parameters / Return Value

  • WhseJnlLine Record "Warehouse Journal Line"

CheckAdjustmentBin

procedure CheckAdjustmentBin(WhseJnlLine: Record "Warehouse Journal Line")

Parameters / Return Value

  • WhseJnlLine Record "Warehouse Journal Line"

ItemJnlRegisterLine

procedure ItemJnlRegisterLine(WhseJnlLine: Record "Warehouse Journal Line"; ReasonCode: Code[10]; NewBinCode: Code[20]; var WhseJnlPostLine: Codeunit "Whse. Jnl.-Register Line")

Parameters / Return Value

  • WhseJnlLine Record "Warehouse Journal Line"

  • ReasonCode Code[10]

  • NewBinCode Code[20]

  • WhseJnlPostLine Codeunit "Whse. Jnl.-Register Line"


TransferReservToItemJnlLine

procedure TransferReservToItemJnlLine(iRecWarehouseJournalLine: Record "Warehouse Journal Line")

Parameters / Return Value

  • iRecWarehouseJournalLine Record "Warehouse Journal Line"

UpdatePutAwayQty

procedure UpdatePutAwayQty(var InspOrderHeader: Record "EOS Inspection Order Header"; QtyPutAway: Decimal; QtyInspection: Decimal)

Parameters / Return Value

  • InspOrderHeader Record "EOS Inspection Order Header"

  • QtyPutAway Decimal

  • QtyInspection Decimal


IsPutAwayBin

procedure IsPutAwayBin(Location: Record Location; BinCode: Code[20]): Boolean

Parameters / Return Value

  • Location Record "Location"

  • BinCode Code[20]

  • Returns Boolean


SetPostingDate

procedure SetPostingDate(NewPostingDate: Date)

Parameters / Return Value

  • NewPostingDate Date

GetPostingDate

procedure GetPostingDate(): Date

Parameters / Return Value

  • Returns Date

Events

EventChangeQtyToHandleInPostBlockedTransfer

local procedure EventChangeQtyToHandleInPostBlockedTransfer(var QtyToHandle: Decimal; InspOrderHeader: Record "EOS Inspection Order Header"; ItemLedgEntry: Record "Item Ledger Entry"; var IsHandled: Boolean)

This event is raised after set QtyToHandle and allows you to change it.

Parameters / Return Value

  • QtyToHandle Decimal

    Variable to modify

  • InspOrderHeader Record "EOS Inspection Order Header"

    Inspection Order Header

  • ItemLedgEntry Record "Item Ledger Entry"

    Item Ledger Entry

  • IsHandled Boolean

    if true, no following app code will be executed


EventChangeQtyToHandleInPostComplianceTransfer

local procedure EventChangeQtyToHandleInPostComplianceTransfer(var QtyToHandle: Decimal; InspOrderHeader: Record "EOS Inspection Order Header"; ItemLedgEntry: Record "Item Ledger Entry"; var IsHandled: Boolean)

This event is raised after set QtyToHandle and allows you to change it.

Parameters / Return Value

  • QtyToHandle Decimal

    Variable to modify

  • InspOrderHeader Record "EOS Inspection Order Header"

    InspOrderHeader: Record “EOS Inspection Order Header”

  • ItemLedgEntry Record "Item Ledger Entry"

    ItemLedgEntry: Record “Item Ledger Entry”

  • IsHandled Boolean

    if true, no following app code will be executed


OnBeforePostWhseJnlLinefromItemJnlLine_TypeTransfer

local procedure OnBeforePostWhseJnlLinefromItemJnlLine_TypeTransfer(ItemJnlLine: Record "Item Journal Line"; var IsHandled: Boolean)

Raised in the procedure ItemJnlRegisterLine, after post the Item Journal Line with Entry Type “Transfer” and before post the Warehouse Journal Line.

Parameters / Return Value

  • ItemJnlLine Record "Item Journal Line"

    Record “Item Journal Line” posted

  • IsHandled Boolean

    if true, skip posting of the Warehouse Journal Line


OnBeforePostBlockedTransferError

local procedure OnBeforePostBlockedTransferError(var InspOrderHeader: Record "EOS Inspection Order Header"; ItemLedgEntry: Record "Item Ledger Entry"; var IsHandledErr: Boolean)

Raised in posting the Inspection Order that is non-compliant, before return Error if the Blocked Location has “Directed Put-away and Pick”.

Parameters / Return Value

  • InspOrderHeader Record "EOS Inspection Order Header"

    Inspection Order Header to post

  • ItemLedgEntry Record "Item Ledger Entry"

    Item Ledger Entry

  • IsHandledErr Boolean

    if true, skip the error


OnBeforeCreateReservEntryFor

local procedure OnBeforeCreateReservEntryFor(var ReservEntryFor: Record "Reservation Entry"; ItemLedgerEntry: Record "Item Ledger Entry"; InspOrderHeader: Record "EOS Inspection Order Header"; TransferType: Option Incoming,Compliance,Blocked)

Raised before creating the reservation entry before transferring the items to the QA bins.

Parameters / Return Value

  • ReservEntryFor Record "Reservation Entry"

    Record “Reservation Entry”.

  • ItemLedgerEntry Record "Item Ledger Entry"

    Record “Item Ledger Entry”.

  • InspOrderHeader Record "EOS Inspection Order Header"

    Record “EOS Inspection Order Header”.

  • TransferType Option

    Incoming (0) , Compliance (1) , Blocked (2)

    Option Incoming,Compliance,Blocked.


OnBeforePostWhseJnlLine

local procedure OnBeforePostWhseJnlLine(var WhseJnlLine: Record "Warehouse Journal Line"; var ItemLedgEntry: Record "Item Ledger Entry"; NewActionType: Option; var InspOrderHeader: Record "EOS Inspection Order Header")

Raised before posting the whse journal line.

Parameters / Return Value

  • WhseJnlLine Record "Warehouse Journal Line"

    Record “Warehouse Journal Line” to post

  • ItemLedgEntry Record "Item Ledger Entry"

    Item Ledger Entry

  • NewActionType Option

    Action Type “Take”,“Place”

  • InspOrderHeader Record "EOS Inspection Order Header"

    The Inspection Order Header


OnBeforePostItemJnlLine

procedure OnBeforePostItemJnlLine(var ItemJnlLine: Record "Item Journal Line"; var InspOrderHeader: Record "EOS Inspection Order Header"; ItemLedgerEntry: Record "Item Ledger Entry"; var Handled: Boolean; TransferType: Option Incoming,Compliance,Blocked)

Raised before posting the item journal line.

Parameters / Return Value

  • ItemJnlLine Record "Item Journal Line"

    Record “Item Journal Line”.

  • InspOrderHeader Record "EOS Inspection Order Header"

    Record “EOS Inspection Order Header”.

  • ItemLedgerEntry Record "Item Ledger Entry"

    ItemLedgerEntry: Record “Item Ledger Entry”.

  • Handled Boolean

    If true, skips running of codeunit “Item Jnl.-Post Line”.

  • TransferType Option

    Incoming (0) , Compliance (1) , Blocked (2)

    Option Incoming,Compliance,Blocked.



EOS Labs -