Table 18126558 EOS029 Doc. Container Link

Table 18126558 EOS029 Doc. Container Link

Fields

Entry No. (10)

Integer


Source Type (20)

Integer


Source Subtype (21)

Option

"0" (0) , "1" (1) , "2" (2) , "3" (3) , "4" (4) , "5" (5) , "6" (6) , "7" (7) , "8" (8) , "9" (9) , "10" (10)


Source No. (22)

Code[20]


Source Line No. (23)

Integer


For Source Line No. (25)

Integer


Handling Unit Type (30)

Enum "EOS055.01 Handling Unit Type"


Methods

SetSourceDocumentFilter

procedure SetSourceDocumentFilter(SourceType: Integer; SourceSubtype: Integer; SourceNo: Code[20])

Parameters / Return Value

  • SourceType Integer

  • SourceSubtype Integer

  • SourceNo Code[20]


SetSourceDocumentFilter

procedure SetSourceDocumentFilter(SourceType: Integer; SourceSubtype: Integer; SourceNo: Code[20]; SourceLineNo: Integer)

Parameters / Return Value

  • SourceType Integer

  • SourceSubtype Integer

  • SourceNo Code[20]

  • SourceLineNo Integer


SetSourceDocumentFilter

procedure SetSourceDocumentFilter(DocVariant: Variant): Boolean

Applies filters to the current instance for the given document.

Parameters / Return Value

  • DocVariant Variant

    The document to filter for.

  • Returns Boolean

    true if any records exist in the filter.


SetSourceDocumentFilterFor

procedure SetSourceDocumentFilterFor(DocVariant: Variant): Boolean

Parameters / Return Value

  • DocVariant Variant

  • Returns Boolean


SetDocumentFields

procedure SetDocumentFields(DocVariant: Variant)

Parameters / Return Value

  • DocVariant Variant

TestNoLinksExist

procedure TestNoLinksExist(DocLine: Variant)

Parameters / Return Value

  • DocLine Variant

GetQuantityFactor

procedure GetQuantityFactor(): Decimal

Parameters / Return Value

  • Returns Decimal

GetBySource

procedure GetBySource(SourceType: Integer; SourceSubtype: Option; SourceNo: Code[20]; SourceLineNo: Integer; ForSourceLineNo: Integer): Boolean

Retrieves a container link by providing the original and the container line.

Parameters / Return Value

  • SourceType Integer

    The source type.

  • SourceSubtype Option

    The source subtype.

  • SourceNo Code[20]

    The source no.

  • SourceLineNo Integer

    The line no. of the original document line.

  • ForSourceLineNo Integer

    The line no. of the container line.

  • Returns Boolean


Events

OnAfterGetQuantityFactor

local procedure OnAfterGetQuantityFactor(Rec: Record "EOS029 Doc. Container Link"; TempSourceItem: Record "EOS055 Handling Unit Buffer"; IsValidSourceLine: Boolean; var QtyFactor: Decimal)

Raised after the quantity factor for this container link has been calculated.

Parameters / Return Value

  • Rec Record "EOS029 Doc. Container Link"

    The source container link.

  • TempSourceItem Record "EOS055 Handling Unit Buffer"

    The source document line that this container link is for.

  • IsValidSourceLine Boolean

    Indicates whether the source document line has been found and is valid.

  • QtyFactor Decimal

    The quantity factor.


OnAfterCaseSourceType_GetContainerQtyToHandle

local procedure OnAfterCaseSourceType_GetContainerQtyToHandle(Rec: Record "EOS029 Doc. Container Link"; var MainLineQtyToHandle: Decimal)

Raised after the Main Line Quantity for this container link has been set from the source document.

Parameters / Return Value

  • Rec Record "EOS029 Doc. Container Link"

    The source container link.

  • MainLineQtyToHandle Decimal

    Quantity to set


OnAfterGetContainerQtyToHandle

local procedure OnAfterGetContainerQtyToHandle(Rec: Record "EOS029 Doc. Container Link"; var QuantityPer: Decimal; var MainLineQtyToHandle: Decimal; PackagingMaterial: Record "EOS055 Packaging Material"; var QtyToHandle: Decimal)

Raised at the end of procedure GetContainerQtyToHandle. Use it to set the Qty To Handle to return.

Parameters / Return Value

  • Rec Record "EOS029 Doc. Container Link"

    The source container link

  • QuantityPer Decimal

    Quantity factor calculated for this container link

  • MainLineQtyToHandle Decimal

    Main Line Quantity on the source document

  • PackagingMaterial Record "EOS055 Packaging Material"

    Packaging Material

  • QtyToHandle Decimal

    Quantity to return



EOS Labs -