Codeunit 18126895 EOS055.01 SDH - Purch. Rcpt.

Codeunit 18126895 EOS055.01 SDH - Purch. Rcpt.

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

OnBeforeCollectSubContrItemLedgEntries

local procedure OnBeforeCollectSubContrItemLedgEntries(PurchRcptLine: Record "Purch. Rcpt. Line"; var TempSourceBuffer: Record "EOS055 Handling Unit Buffer"; var TempItemLedgEntry: Record "Item Ledger Entry"; var IsHandled: Boolean)

Raised in CollectSourceDocLines procedure, before CollectSubContrItemLedgEntries().

Parameters / Return Value

  • PurchRcptLine Record "Purch. Rcpt. Line"

    Current Record “Purch. Rcpt. Line”

  • TempSourceBuffer Record "EOS055 Handling Unit Buffer"

    Record “EOS055 Handling Unit Buffer” to modify

  • TempItemLedgEntry Record "Item Ledger Entry"

    Record “Item Ledger Entry” to modify

  • IsHandled Boolean

    If true, skip CollectSubContrItemLedgEntries procedure


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.


OnUndoPurchRcptLineOnBeforeInsertHuBuffer

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

Raised when undoing a purchase receipt 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 -