Codeunit 18126899 EOS055.01 SDH - Service Line

Codeunit 18126899 EOS055.01 SDH - Service 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


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"


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"


CopyFieldsToHuBuffer

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

Parameters / Return Value

  • ServiceLine Record "Service Line"

  • TempHuBuffer Record "EOS055 Handling Unit Buffer"

  • Returns Boolean


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"

Events

OnAfterCopyFieldsToHuBuffer

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

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

Parameters / Return Value

  • ServiceLine Record "Service 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.


OnBeforeCheckHandlingUnitIssues

local procedure OnBeforeCheckHandlingUnitIssues(var ServHeader: Record "Service Header"; var IsHandled: Boolean)

This event is raised before calling the CheckHandlingUnitIssues procedure.

Parameters / Return Value

  • ServHeader Record "Service Header"

    The document header.

  • IsHandled Boolean

    If true, skips the procedure call.



EOS Labs -