Interface EOS055.01 Source Document Handler

Interface 0 EOS055.01 Source Document Handler

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

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")

This function is called whenever a handling unit has been assigned to or unassigned from a source document.

Parameters / Return Value

  • Hu Record "EOS055 Handling Unit"

    The handling unit that has been assigned.

  • SourceSubtype Integer

    The source subtype of the document the handling unit has been assigned to.

  • SourceNo Code[20]

    The source no. of the document the handling unit has been assigned to.

  • Removed Boolean

    Specifies if the handling unit has been assigned (false) or unassigned (true).

  • AssignmentBuffer Record "EOS055 Handling Unit Buffer"

    The assigned content.


ShowPage

procedure ShowPage(DocumentType: Integer; DocumentNo: Code[20]; LineNo: Integer; SublineNo: Integer): Boolean

Opens the page to show the specified document.

Parameters / Return Value

  • DocumentType Integer

    The document type.

  • DocumentNo Code[20]

    The document no.

  • LineNo Integer

    The document line no.

  • SublineNo Integer

    The document subline no.

  • Returns Boolean

    true if a page was found and shown.


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")

Retrieve all possible assignment targets for a given source document. See the table “EOS055.01 HU Assignment Target” for details.

Parameters / Return Value

  • DocumentType Integer

    The document.

  • DocumentNo Code[20]

    The document no.

  • TmpAssignmentTarget Record "EOS055.01 HU Assignment Target"

    The result buffer containing all valid assignment targets.


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"


EOS Labs -