Codeunit 18126893 EOS055.01 SDH - Transfer Shpt.

Codeunit 18126893 EOS055.01 SDH - Transfer Shpt.

Methods

AddItemLinesToBuffer

procedure AddItemLinesToBuffer(DocumentType: Integer; DocumentNo: Code[20]; DocumentLineFilter: Text;ItemNo: Code[20]; VariantCode: Code[10];var TempSourceBuffer: Record "EOS055 Handling Unit Buffer")

Parameters / Return Value

  • DocumentType Integer

  • DocumentNo Code[20]

  • DocumentLineFilter Text

  • ItemNo Code[20]

  • VariantCode Code[10]

  • TempSourceBuffer Record "EOS055 Handling Unit Buffer"


IsInbound

procedure IsInbound(SourceSubtype: Integer): Boolean

Parameters / Return Value

  • SourceSubtype Integer

  • Returns Boolean


IsPostedDoc

procedure IsPostedDoc(): Boolean

Parameters / Return Value

  • Returns Boolean

ShowPage

procedure ShowPage(DocumentType: Integer; DocumentNo: Code[20]; LineNo: Integer; SublineNo: Integer): Boolean

Parameters / Return Value

  • DocumentType Integer

  • DocumentNo Code[20]

  • LineNo Integer

  • SublineNo Integer

  • Returns Boolean


FillEmptyJnlLine

procedure FillEmptyJnlLine(DocumentType: Integer; DocumentNo: Code[20]; var EmptyJnlLine: Record "EOS029 Container Jnl. Line")

Parameters / Return Value

  • DocumentType Integer

  • DocumentNo Code[20]

  • EmptyJnlLine Record "EOS029 Container Jnl. Line"


GetAssignmentTargets

procedure GetAssignmentTargets(DocumentType: Integer; DocumentNo: Code[20]; var TmpAssignmentTarget: Record "EOS055.01 HU Assignment Target")

Parameters / Return Value

  • DocumentType Integer

  • DocumentNo Code[20]

  • TmpAssignmentTarget Record "EOS055.01 HU Assignment Target"


LineSourceType

procedure LineSourceType(): Integer

Parameters / Return Value

  • Returns Integer

HeaderSourceType

procedure HeaderSourceType(): Integer

Parameters / Return Value

  • Returns Integer

HandleHuAssignment

procedure HandleHuAssignment(Hu: Record "EOS055 Handling Unit";SourceSubtype: Integer; SourceNo: Code[20];Removed: Boolean;var AssignmentBuffer: Record "EOS055 Handling Unit Buffer")

Parameters / Return Value

  • Hu Record "EOS055 Handling Unit"

  • SourceSubtype Integer

  • SourceNo Code[20]

  • Removed Boolean

  • AssignmentBuffer Record "EOS055 Handling Unit Buffer"


DeleteEmptyItem

procedure DeleteEmptyItem(DocEmptyItem: Record "EOS029 Document Container")

Parameters / Return Value

  • DocEmptyItem Record "EOS029 Document Container"

CreateEmptyItem

procedure CreateEmptyItem(var DocEmptyItem: Record "EOS029 Document Container")

Parameters / Return Value

  • DocEmptyItem Record "EOS029 Document Container"

SetSourceDocument

procedure SetSourceDocument(DocVariant: Variant): Boolean

Parameters / Return Value

  • DocVariant Variant

  • Returns Boolean


DeleteContainers

procedure DeleteContainers(var DocContainer: Record "EOS029 Document Container")

Parameters / Return Value

  • DocContainer Record "EOS029 Document Container"

CreateContainers

procedure CreateContainers(var DocContainer: Record "EOS029 Document Container")

Parameters / Return Value

  • DocContainer Record "EOS029 Document Container"

CollectContainers

procedure CollectContainers(var DocContainer: Record "EOS029 Document Container")

Parameters / Return Value

  • DocContainer Record "EOS029 Document Container"

Events

OnAddItemLinesToBufferOnBeforeInsertBufferLine

local procedure OnAddItemLinesToBufferOnBeforeInsertBufferLine(ItemLedgerEntry: Record "Item Ledger Entry"; var TempSourceBuffer: Record "EOS055 Handling Unit Buffer")

Raised before inserting a line in the buffer.

Parameters / Return Value

  • ItemLedgerEntry Record "Item Ledger Entry"

    Record Item Ledger Entry.

  • TempSourceBuffer Record "EOS055 Handling Unit Buffer"

    Target Handling Unit Buffer.


OnBeforeMessageOnUndoTransferShipment

local procedure OnBeforeMessageOnUndoTransferShipment(var TransferShipmentLine: Record "Transfer Shipment Line"; var IsHandled: Boolean; var TempHandlingUnit: Record "EOS055 Handling Unit" temporary; var MessageIsHandled: Boolean)

Raised before showing message if there are Handling Units linked to transfer shipment. Raised in the standard event OnBeforeOnRun of “Undo Transfer Shipment” standard codeunit.

Parameters / Return Value

  • TransferShipmentLine Record "Transfer Shipment Line"

    Transfer Shipment Line to undo

  • IsHandled Boolean

    Standard event parameter

  • TempHandlingUnit Record "EOS055 Handling Unit"

    Handling Units linked to transfer shipment

  • MessageIsHandled Boolean

    if true message is not showed



EOS Labs -