Codeunit 18126892 EOS055.01 SDH - Transfer Line

Codeunit 18126892 EOS055.01 SDH - Transfer Line

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"

CreateDocContainer

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

Parameters / Return Value

  • DocContainer 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"

CopyFieldsToHuBuffer

procedure CopyFieldsToHuBuffer(TransLine: Record "Transfer Line"; var TempHuBuffer: Record "EOS055 Handling Unit Buffer"): Boolean

Parameters / Return Value

  • TransLine Record "Transfer Line"

  • TempHuBuffer Record "EOS055 Handling Unit Buffer"

  • Returns Boolean


Events

OnAfterCopyFieldsToHuBuffer

local procedure OnAfterCopyFieldsToHuBuffer(TransLine: Record "Transfer Line"; var TempHuBuffer: Record "EOS055 Handling Unit Buffer"; var Success: enum "EOS066 TriState Boolean")

Raised after fields have been copied from a transfer line to the handling unit buffer. Use this to copy custom fields.

Parameters / Return Value

  • TransLine Record "Transfer Line"

    The source transfer line.

  • TempHuBuffer Record "EOS055 Handling Unit Buffer"

    The target handling unit buffer.

  • Success enum "EOS066 TriState Boolean"

    Gets or sets if the operation was successful.


OnAfterUpdateContainerItemTransferLine

local procedure OnAfterUpdateContainerItemTransferLine(var TransLine: Record "Transfer Line"; LineCreated: Boolean; DocContainerItem: Record "EOS029 Document Container")

Raised after a transfer line has been created or updated for a given document container item. Use this to apply custom fields and or attach custom logic.

Parameters / Return Value

  • TransLine Record "Transfer Line"

    The transfer line that was created or updated.

  • LineCreated Boolean

    Indicates whether a new line has been created or an existing one has been updated.

  • DocContainerItem Record "EOS029 Document Container"

    the document container item for which the transfer line has been updated.


OnFindTransferLineForContainerItem

local procedure OnFindTransferLineForContainerItem(var TransferLine: Record "Transfer Line"; DocContainer: Record "EOS029 Document Container"; TransferHeader: Record "Transfer Header")

Raised whenever a transfer line for the a given container item is looked up. Use this to change filters and/or apply custom ones or implement a new logic altogether.

Parameters / Return Value

  • TransferLine Record "Transfer Line"

    The transfer line to filter

  • DocContainer Record "EOS029 Document Container"

    The document container item

  • TransferHeader Record "Transfer Header"

    The Transfer Header



EOS Labs -