Table of Contents

GOB Shipment Proposal Library

Properties

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

Procedures

FilterDocumentLines()

Syntax

FilterDocumentLines(ShipPropHandlerType: Enum "GOB Ship. Prop. Handler Type", DocumentHeaderId: RecordId, var DocumentLine: RecordRef)

Parameters

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

DocumentHeaderId
 Type: RecordId

DocumentLine
 Type: RecordRef

BuildWhseShipmentAggregationCriteriaString()

Builds filter string from a collection of field values from a source document header. The filter string is saved whse. shipment headers and used as the basis for aggregation.

The included fields depend on the interface implementation for the specific "ShipPropHandlerType".

Syntax

[Text[1024]] := BuildWhseShipmentAggregationCriteriaString(ShipPropHandlerType: Enum "GOB Ship. Prop. Handler Type", DocumentHeaderId: RecordId)

Parameters

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

Specifies the source document type.

DocumentHeaderId
 Type: RecordId

The RecordID of the source document header.

Return

AggregationCriteriaString: Text[1024]

Returns a string concatenation of all aggregation criteria fields that have been found.

CheckSourceDocumentTypeViableForAggregation()

Syntax

[Boolean] := CheckSourceDocumentTypeViableForAggregation(ShipPropHandlerType: Enum "GOB Ship. Prop. Handler Type")

Parameters

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

MapDocumentLineToHeaderTableNo()

Returns the matching header table number for a line table number.

Syntax

[Integer] := MapDocumentLineToHeaderTableNo(DocumentLineTableNo: Integer)

Parameters

DocumentLineTableNo
 Type: Integer

MapTableNoAndDocumentTypeToShipmentProposalDataType()

Syntax

[Boolean] := MapTableNoAndDocumentTypeToShipmentProposalDataType(TableNo: Integer, DocType: Integer, var ShipPropHandlerType: Enum "GOB Ship. Prop. Handler Type")

Parameters

TableNo
 Type: Integer

DocType
 Type: Integer

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

MapOutboundHeaderAvailabilityDataTypeToShipmentProposalDataType()

Syntax

[Boolean] := MapOutboundHeaderAvailabilityDataTypeToShipmentProposalDataType(GOBAvailabilityDataType: Enum "GOB Availability Data Type", var ShipPropHandlerType: Enum "GOB Ship. Prop. Handler Type")

Parameters

GOBAvailabilityDataType
 Type: Enum "GOB Availability Data Type"

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

FindWarehouseShipmentHeaderNo()

Syntax

[Boolean] := FindWarehouseShipmentHeaderNo(SourceType: Integer, SourceSubType: Option, SourceNo: Code[20], var FoundWhseShipmentNo: Code[20])

Parameters

SourceType
 Type: Integer

SourceSubType
 Type: Option

SourceNo
 Type: Code[20]

FoundWhseShipmentNo
 Type: Code[20]

TestLocationFilterValidForShipmentProposal()

Syntax

TestLocationFilterValidForShipmentProposal(LocationFilter: Text)

Parameters

LocationFilter
 Type: Text

OnBeforeFilterDocumentLines()

Syntax

OnBeforeFilterDocumentLines(DocumentHeaderId: RecordId, var DocumentLine: RecordRef, var IsHandled: Boolean)

Parameters

DocumentHeaderId
 Type: RecordId

DocumentLine
 Type: RecordRef

IsHandled
 Type: Boolean

OnMapDocumentLineToHeaderTableNo_NewDocumentType()

Syntax

OnMapDocumentLineToHeaderTableNo_NewDocumentType(DocumentLineTableNo: Integer, var ReturnValue: Integer)

Parameters

DocumentLineTableNo
 Type: Integer

ReturnValue
 Type: Integer