Codeunit 18090652 EOS05502 PKG CWS Group Mgt.

Codeunit 18090652 EOS05502 PKG CWS Group Mgt.

Methods

GetFormattedGroupNo

procedure GetFormattedGroupNo(GroupNo: Integer) SourceNo: Code[20]

Parameters / Return Value

  • GroupNo Integer

  • Returns Code[20]


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"

CopyPackingInfoToGroups

procedure CopyPackingInfoToGroups(DocGroupingEntry: Record "EOS CWS Doc. Grouping Entry")

Parameters / Return Value

  • DocGroupingEntry Record "EOS CWS Doc. Grouping Entry"

Events

OnBeforeDocGroupingEntryModify

local procedure OnBeforeDocGroupingEntryModify(var DocGroupingEntry: Record "EOS CWS Doc. Grouping Entry"; TempSourceItem: Record "EOS055 Handling Unit Buffer")

Raised when copying values from the packing list to the CWS grouping entry, before modifying the record.

Parameters / Return Value

  • DocGroupingEntry Record "EOS CWS Doc. Grouping Entry"

    The CWS Doc. Grouping Entry record that is going to be modified.

  • TempSourceItem Record "EOS055 Handling Unit Buffer"

    The temporary buffer containing the packing list records.


OnBeforeCannotDeleteGroupWithPackingError

local procedure OnBeforeCannotDeleteGroupWithPackingError(WhseShptHeader: Record "Warehouse Shipment Header"; var GroupEntriesToDelete: Record "EOS CWS Doc. Grouping Entry"; var IsHandled: Boolean)

Raised before checking if the groups to be deleted have any handling units assigned.

Parameters / Return Value

  • WhseShptHeader Record "Warehouse Shipment Header"

    The warehouse shipment header.

  • GroupEntriesToDelete Record "EOS CWS Doc. Grouping Entry"

    The CWS groups that are going to be deleted.

  • IsHandled Boolean

    If true, it allows group deletion even in the presence of assigned handling units. Customize further your extension to reassign them later.



EOS Labs -