Table of Contents

GOB EIP Create Whse. Shipment

Properties

Property Value
Object Type Codeunit
Object Subtype Normal
Object ID 5320386
Accessibility Level Public

Procedures

FillAggregationCriteriaStringOnBeforeWhseShptHeaderInsert()

Syntax

FillAggregationCriteriaStringOnBeforeWhseShptHeaderInsert(var WarehouseRequest: Record "Warehouse Request", var WarehouseShipmentHeader: Record "Warehouse Shipment Header")

Parameters

WarehouseRequest
 Type: Record "Warehouse Request"

WarehouseShipmentHeader
 Type: Record "Warehouse Shipment Header"

CreateWhseShipment()

Creates warehouse shipment for the selected shipment proposal lines. The selection may contain multiple documents and warehouse shipments will be aggregated if possible. Only the qty. to ship of the shipment proposal lines are transferred to th warehouse shipment.

Syntax

CreateWhseShipment(var ShipProposalWkshLineSelection: Record "GOB Ship. Proposal Wksh. Line")

Parameters

ShipProposalWkshLineSelection
 Type: Record "GOB Ship. Proposal Wksh. Line"

TestQtyToShip()

Syntax

TestQtyToShip(var ShipProposalWkshLine: Record "GOB Ship. Proposal Wksh. Line")

Parameters

ShipProposalWkshLine
 Type: Record "GOB Ship. Proposal Wksh. Line"

TestShippingAdvice()

Syntax

TestShippingAdvice(var ShipProposalWkshLine: Record "GOB Ship. Proposal Wksh. Line")

Parameters

ShipProposalWkshLine
 Type: Record "GOB Ship. Proposal Wksh. Line"

GetDocumentHeadersToProcess()

Syntax

GetDocumentHeadersToProcess(var ShipProposalWkshLine: Record "GOB Ship. Proposal Wksh. Line", var DocumentHeadersToProcess: Dictionary of [RecordId, Integer])

Parameters

ShipProposalWkshLine
 Type: Record "GOB Ship. Proposal Wksh. Line"

DocumentHeadersToProcess
 Type: Dictionary of [RecordId, Integer]

PrepareDocuments()

Sets the posting date of the source documents. The provided event publishers are the intended entry points for further preparations.

Syntax

PrepareDocuments(var ShipProposalWkshLine: Record "GOB Ship. Proposal Wksh. Line", DocumentHeadersToProcess: Dictionary of [RecordId, Integer])

Parameters

ShipProposalWkshLine
 Type: Record "GOB Ship. Proposal Wksh. Line"

A selection of shipment proposal lines.

DocumentHeadersToProcess
 Type: Dictionary of [RecordId, Integer]

Must contain RecordIDs of document headers and the integer value of their type ("GOB Ship. Prop. Handler Type").

CreateWhseShipmentPerDocument()

Calls the actual whse. shipment creation in the "GOB Ship. Proposal Handler Interface" and handles UI feedback.

Syntax

CreateWhseShipmentPerDocument(DocumentHeadersToProcess: Dictionary of [RecordId, Integer], var ShipProposalWkshLine: Record "GOB Ship. Proposal Wksh. Line")

Parameters

DocumentHeadersToProcess
 Type: Dictionary of [RecordId, Integer]

Must contain RecordIDs of document headers and the integer value of their type ("GOB Ship. Prop. Handler Type").

ShipProposalWkshLine
 Type: Record "GOB Ship. Proposal Wksh. Line"

A selection of shipment proposal lines.

ReleaseWhseShipment()

Syntax

ReleaseWhseShipment(DocumentHeaderId: RecordId, WhseShptHeaderNo: Code[20], ShipPropHandlerType: Enum "GOB Ship. Prop. Handler Type")

Parameters

DocumentHeaderId
 Type: RecordId

WhseShptHeaderNo
 Type: Code[20]

ShipPropHandlerType
 Type: Enum "GOB Ship. Prop. Handler Type"

DeleteProcessedLines()

Syntax

DeleteProcessedLines(DocumentHeaderId: RecordId)

Parameters

DocumentHeaderId
 Type: RecordId

SetHideDialog()

Syntax

SetHideDialog(Hide: Boolean)

Parameters

Hide
 Type: Boolean

OnBeforeCreateWhseShipment()

Syntax

OnBeforeCreateWhseShipment(var ShipProposalWkshLineSelection: Record "GOB Ship. Proposal Wksh. Line")

Parameters

ShipProposalWkshLineSelection
 Type: Record "GOB Ship. Proposal Wksh. Line"

OnAfterCreateWarehouseShipment()

Syntax

OnAfterCreateWarehouseShipment(var ShipProposalWkshLineSelection: Record "GOB Ship. Proposal Wksh. Line", DocumentHeadersToProcess: Dictionary of [RecordId, Integer])

Parameters

ShipProposalWkshLineSelection
 Type: Record "GOB Ship. Proposal Wksh. Line"

DocumentHeadersToProcess
 Type: Dictionary of [RecordId, Integer]

OnAfterGetDocHeadersToProcess()

Syntax

OnAfterGetDocHeadersToProcess(var ShipProposalWkshLine: Record "GOB Ship. Proposal Wksh. Line", var DocumentHeadersToProcess: Dictionary of [RecordId, Integer])

Parameters

ShipProposalWkshLine
 Type: Record "GOB Ship. Proposal Wksh. Line"

DocumentHeadersToProcess
 Type: Dictionary of [RecordId, Integer]

OnBeforePrepareDocs()

Syntax

OnBeforePrepareDocs(var ShipProposalWkshLine: Record "GOB Ship. Proposal Wksh. Line", DocumentHeadersToProcess: Dictionary of [RecordId, Integer], var IsHandled: Boolean)

Parameters

ShipProposalWkshLine
 Type: Record "GOB Ship. Proposal Wksh. Line"

DocumentHeadersToProcess
 Type: Dictionary of [RecordId, Integer]

IsHandled
 Type: Boolean

OnAfterPrepareDocs()

Syntax

OnAfterPrepareDocs(var ShipProposalWkshLine: Record "GOB Ship. Proposal Wksh. Line", DocumentHeadersToProcess: Dictionary of [RecordId, Integer])

Parameters

ShipProposalWkshLine
 Type: Record "GOB Ship. Proposal Wksh. Line"

DocumentHeadersToProcess
 Type: Dictionary of [RecordId, Integer]

OnBeforeReleaseWhseShipment()

Syntax

OnBeforeReleaseWhseShipment(DocumentHeaderId: RecordId, WhseShptHeaderNo: Code[20], ShipPropHandlerType: Enum "GOB Ship. Prop. Handler Type", var IsHandled: Boolean)

Parameters

DocumentHeaderId
 Type: RecordId

WhseShptHeaderNo
 Type: Code[20]

ShipPropHandlerType
 Type: Enum "GOB Ship. Prop. Handler Type"

IsHandled
 Type: Boolean

OnBeforeDeleteProcessedLines()

Syntax

OnBeforeDeleteProcessedLines(DocumentHeaderId: RecordId, var IsHandled: Boolean)

Parameters

DocumentHeaderId
 Type: RecordId

IsHandled
 Type: Boolean

OnBeforeCreateWhseShipmentPerDocument()

Syntax

OnBeforeCreateWhseShipmentPerDocument(DocumentHeadersToProcess: Dictionary of [RecordId, Integer], var ShipProposalWkshLine: Record "GOB Ship. Proposal Wksh. Line", var EIPGetSrcDocOutbndExt: Codeunit "GOB EIP GetSrcDocOutbnd Ext.", var HideDialog: Boolean, var IsHandled: Boolean)

Parameters

DocumentHeadersToProcess
 Type: Dictionary of [RecordId, Integer]

ShipProposalWkshLine
 Type: Record "GOB Ship. Proposal Wksh. Line"

EIPGetSrcDocOutbndExt
 Type: Codeunit "GOB EIP GetSrcDocOutbnd Ext."

HideDialog
 Type: Boolean

IsHandled
 Type: Boolean