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”.


OnUndoSalesShptLineOnBeforeUndoHandlingUnits

local procedure OnUndoSalesShptLineOnBeforeUndoHandlingUnits(SalesShipmentHeader: Record "Sales Shipment Header"; var UndoHandlingUnits: Boolean)

Raised before undoing the Handling Unit assigned to the Sales Shipment Line.

Parameters / Return Value

  • SalesShipmentHeader Record "Sales Shipment Header"

    The Sales Shipment Header

  • UndoHandlingUnits Boolean

    if true, undo handling units


OnBeforeInsertSourceDocLinesToBufferFromItemLedgEntries

local procedure OnBeforeInsertSourceDocLinesToBufferFromItemLedgEntries(SalesShptLine: Record "Sales Shipment Line"; var TempSourceBuffer: Record "EOS055 Handling Unit Buffer"; var IsHandled: Boolean)

Raised before inserting source document lines to the buffer from item ledger entries, linked to the sales shipment line. This event allows to modify the buffer before the item ledger entries are collected.

Parameters / Return Value

  • SalesShptLine Record "Sales Shipment Line"

    Current Sales Shipment Line

  • TempSourceBuffer Record "EOS055 Handling Unit Buffer"

    Buffer to fill with item ledger entries linked to the sales shipment line

  • IsHandled Boolean

    if true, doesn’t fill the buffer from item ledger entries



EOS Labs -