Codeunit 18122378 EOS CWS Transfer Mgmt

Codeunit 18122378 EOS CWS Transfer Mgmt

Methods

ClearTemp

procedure ClearTemp()

CreateShipmentHeaderForSourceTransferOrder

procedure CreateShipmentHeaderForSourceTransferOrder(PostedWhseShipmentLine: Record "Posted Whse. Shipment Line"; PostingGroupNo: Integer)

Parameters / Return Value

  • PostedWhseShipmentLine Record "Posted Whse. Shipment Line"

  • PostingGroupNo Integer


CreateShipmentHeaderNotFromWhseDocument

procedure CreateShipmentHeaderNotFromWhseDocument(TransferShipmentHeader: Record "Transfer Shipment Header"; PostingGroupNo: Integer; UseShipmentNoFromSource: Boolean)

Parameters / Return Value

  • TransferShipmentHeader Record "Transfer Shipment Header"

  • PostingGroupNo Integer

  • UseShipmentNoFromSource Boolean


SetTransferHeaderInfo

procedure SetTransferHeaderInfo(WarehouseShipmentHeader: Record "Warehouse Shipment Header"; var TransferHeader: Record "Transfer Header"): Boolean

Parameters / Return Value

  • WarehouseShipmentHeader Record "Warehouse Shipment Header"

  • TransferHeader Record "Transfer Header"

  • Returns Boolean


TransferTransferShipmentLineToShipmentLine

procedure TransferTransferShipmentLineToShipmentLine(TransferShipmentLine: Record "Transfer Shipment Line"; ShipmentHeader: Record "EOS CWS Shipment Header"; Correction: Boolean): Integer

Parameters / Return Value

  • TransferShipmentLine Record "Transfer Shipment Line"

  • ShipmentHeader Record "EOS CWS Shipment Header"

  • Correction Boolean

  • Returns Integer


SynchTransferShipmentLineToShipmentLine

procedure SynchTransferShipmentLineToShipmentLine(TransferShipmentLine: Record "Transfer Shipment Line"; var ShipmentLine: Record "EOS CWS Shipment Line")

Parameters / Return Value

  • TransferShipmentLine Record "Transfer Shipment Line"

  • ShipmentLine Record "EOS CWS Shipment Line"


InsertEntriesRelationFromTransferShipmentLine

procedure InsertEntriesRelationFromTransferShipmentLine(TransferShipmentLine: Record "Transfer Shipment Line"; ShipmentLine: record "EOS CWS Shipment Line")

Parameters / Return Value

  • TransferShipmentLine Record "Transfer Shipment Line"

  • ShipmentLine record "EOS CWS Shipment Line"


TransferFieldsFromSourceHeader

procedure TransferFieldsFromSourceHeader(TransferShipmentHeader: Record "Transfer Shipment Header"; var ShipmentHeader: Record "EOS CWS Shipment Header")

Parameters / Return Value

  • TransferShipmentHeader Record "Transfer Shipment Header"

  • ShipmentHeader Record "EOS CWS Shipment Header"


TransferFieldsFromSourceLine

procedure TransferFieldsFromSourceLine(TransferShipmentLine: Record "Transfer Shipment Line"; var ShipmentLine: Record "EOS CWS Shipment Line")

Parameters / Return Value

  • TransferShipmentLine Record "Transfer Shipment Line"

  • ShipmentLine Record "EOS CWS Shipment Line"


PrintFromTransferPostDocument

procedure PrintFromTransferPostDocument(LastShipmentNo: Code[20]; SendReportAsEmail: Boolean)

Parameters / Return Value

  • LastShipmentNo Code[20]

  • SendReportAsEmail Boolean


TransferAddressFieldsToSourceHeader

procedure TransferAddressFieldsToSourceHeader(ShipmentHeader: Record "EOS CWS Shipment Header"; var TransferShipmentHeader: Record "Transfer Shipment Header")

Parameters / Return Value

  • ShipmentHeader Record "EOS CWS Shipment Header"

  • TransferShipmentHeader Record "Transfer Shipment Header"


UndoTransferShipmentLine

procedure UndoTransferShipmentLine(TransferShipmentLine: Record "Transfer Shipment Line")

Parameters / Return Value

  • TransferShipmentLine Record "Transfer Shipment Line"

Events

OnAfterCreateShipmentHeaderForSourceTransferOrder

local procedure OnAfterCreateShipmentHeaderForSourceTransferOrder(var ShipmentHeader: Record "EOS CWS Shipment Header"; PostingGroupNo: Integer; PostedWhseShipmentLine: Record "Posted Whse. Shipment Line")

This event is raised after CWS shipment creation from Transfer Order.

Parameters / Return Value

  • ShipmentHeader Record "EOS CWS Shipment Header"

    CWS Shipment Header created.

  • PostingGroupNo Integer

    EOS Posting Group No. on CWS shipment header

  • PostedWhseShipmentLine Record "Posted Whse. Shipment Line"

    Source Posted Whse Shipment Line.


OnAfterCreateCWSShipment

local procedure OnAfterCreateCWSShipment(TransferShipmentHeader: Record "Transfer Shipment Header"; PostingGroupNo: Integer; var ShipmentHeader: Record "EOS CWS Shipment Header")

This event is raised after CWS shipment creation from not whse. posting.

Parameters / Return Value

  • TransferShipmentHeader Record "Transfer Shipment Header"

    Source Document Header

  • PostingGroupNo Integer

    EOS Posting Group No. on CWS shipment header

  • ShipmentHeader Record "EOS CWS Shipment Header"


OnAfterSetTransferHeaderInfo

local procedure OnAfterSetTransferHeaderInfo(var TransferHeader: Record "Transfer Header"; DocGroupingEntry: Record "EOS CWS Doc. Grouping Entry"; var ModifyHeader: Boolean)

This event is raised after Group Shipment Info are set on Source Document in whse. posting process.

Parameters / Return Value

  • TransferHeader Record "Transfer Header"

    Source Document

  • DocGroupingEntry Record "EOS CWS Doc. Grouping Entry"

    Document Grouping Entry

  • ModifyHeader Boolean

    Set true to modify value on Source Document


OnAfterInsertEntryRelationFromTransferShipmentLine

local procedure OnAfterInsertEntryRelationFromTransferShipmentLine(TransferShipmentLine: Record "Transfer Shipment Line"; DocNoFilter: Code[20]; PostingDateFilter: Date; ShipmentLine: record "EOS CWS Shipment Line")

This event is raised after insert Entry Relations for Posted Source Document Line. You can use to create Entry Relation for custom tables.

Parameters / Return Value

  • TransferShipmentLine Record "Transfer Shipment Line"

    Posted Source Document Line

  • DocNoFilter Code[20]

    Document No.

  • PostingDateFilter Date

    Posting Date

  • ShipmentLine record "EOS CWS Shipment Line"

    Shipment Line


OnAfterTransferFieldsFromSourceHeader

local procedure OnAfterTransferFieldsFromSourceHeader(TransferShipmentHeader: Record "Transfer Shipment Header"; var ShipmentHeader: Record "EOS CWS Shipment Header")

This event is raised after transferfields from Posted Source Document Header to Shipment Header. You can use to transfer custom fields.

Parameters / Return Value

  • TransferShipmentHeader Record "Transfer Shipment Header"

    Posted Source Document Header

  • ShipmentHeader Record "EOS CWS Shipment Header"

    Shipment Header


OnAfterTransferFieldsFromSourceLine

local procedure OnAfterTransferFieldsFromSourceLine(TransferShipmentLine: Record "Transfer Shipment Line"; var ShipmentLine: Record "EOS CWS Shipment Line")

This event is raised after transferfields from Posted Source Document Line to Shipment Line. You can use to transfer custom fields.

Parameters / Return Value

  • TransferShipmentLine Record "Transfer Shipment Line"

    Posted Source Document Line

  • ShipmentLine Record "EOS CWS Shipment Line"

    Shipment Line


OnAfterTransferAddressFieldsToSourceHeader

local procedure OnAfterTransferAddressFieldsToSourceHeader(ShipmentHeader: Record "EOS CWS Shipment Header"; var TransferShipmentHeader: Record "Transfer Shipment Header")

This event is raised after transferfields from Shipment Header to Posted Source Document Header and before use Format Address codeunit to format addresses in report print.

Parameters / Return Value

  • ShipmentHeader Record "EOS CWS Shipment Header"

    Shipment Header

  • TransferShipmentHeader Record "Transfer Shipment Header"

    Posted Source Document Header


OnBeforeGetHeaderNoFromWhse

local procedure OnBeforeGetHeaderNoFromWhse(PostedWhseShptLine: Record "Posted Whse. Shipment Line"; var ShipmentNo: Code[20])

Raised before assigning the No. to the CWS Header after posting a warehouse shipment.

Parameters / Return Value

  • PostedWhseShptLine Record "Posted Whse. Shipment Line"

    The first Posted Whse. Shipment Line in the CWS.

  • ShipmentNo Code[20]

    The no. you want to assign to the CWS.


OnBeforeTransferTransferShipmentLineToShipmentLine

local procedure OnBeforeTransferTransferShipmentLineToShipmentLine(TransferShipmentLine: Record "Transfer Shipment Line"; ShipmentHeader: Record "EOS CWS Shipment Header"; Correction: Boolean)

Raised before copying Transfer Shipment Line to Shipment Line.

Parameters / Return Value

  • TransferShipmentLine Record "Transfer Shipment Line"

  • ShipmentHeader Record "EOS CWS Shipment Header"

  • Correction Boolean


OnAfterTransferTransferShipmentLineToShipmentLine

local procedure OnAfterTransferTransferShipmentLineToShipmentLine(TransferShipmentLine: Record "Transfer Shipment Line"; ShipmentHeader: Record "EOS CWS Shipment Header"; Correction: Boolean; var ShipmentLine: Record "EOS CWS Shipment Line")

Raised after copying Transfer Shipment Line to Shipment Line.

Parameters / Return Value

  • TransferShipmentLine Record "Transfer Shipment Line"

  • ShipmentHeader Record "EOS CWS Shipment Header"

  • Correction Boolean

  • ShipmentLine Record "EOS CWS Shipment Line"



EOS Labs -