Codeunit 18126890 EOS055.01 SDH - Sales Shpt.

Codeunit 18126890 EOS055.01 SDH - Sales 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"


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"


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"


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

OnCollectSourceDocLinesOnBeforeInsertBufferLine

local procedure OnCollectSourceDocLinesOnBeforeInsertBufferLine(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.


OnBeforeUndoHandlingUnit_OnAfterSalesShptLineModify

local procedure OnBeforeUndoHandlingUnit_OnAfterSalesShptLineModify(var SalesShptLine: Record "Sales Shipment Line"; var IsHandled: Boolean)

Raised before undo the Handling Unit of the Sales Shipment Line.

Parameters / Return Value

  • SalesShptLine Record "Sales Shipment Line"

    Record “Sales Shipment Line”

  • IsHandled Boolean

    if true, no following app code will be executed


OnUndoSalesShptLineOnBeforeInsertHuBuffer

local procedure OnUndoSalesShptLineOnBeforeInsertHuBuffer(var TempHuBuffer: Record "EOS055 Handling Unit Buffer")

Raised when undoing a sales shipment line, before inserting the new Hu line in the buffer.

Parameters / Return Value

  • TempHuBuffer Record "EOS055 Handling Unit Buffer"

    Temporary record “EOS055 Handling Unit Buffer”.



EOS Labs -