Mit diesem Formular können Sie fehlende, unklare oder fehlerhafte Inhalte in der Dokumentation melden und Verbesserungsvorschläge machen. Ihr Feedback hilft uns, die Qualität und Vollständigkeit kontinuierlich zu verbessern.
GOB EIP GetSrcDocOutbnd Ext.
Properties
| Property | Value |
|---|---|
| Object Type | Codeunit |
| Object Subtype | Normal |
| Object ID | 5320620 |
| Accessibility Level | Public |
Procedures
SetShipProposalWkshLineSelection()
Syntax
SetShipProposalWkshLineSelection(var NewShipProposalWkshLineSelection: Record "GOB Ship. Proposal Wksh. Line")
Parameters
NewShipProposalWkshLineSelection
Type: Record "GOB Ship. Proposal Wksh. Line"
GetShipProposalWkshLineSelection()
Syntax
GetShipProposalWkshLineSelection(var ShipProposalWkshLineSelection: Record "GOB Ship. Proposal Wksh. Line")
Parameters
ShipProposalWkshLineSelection
Type: Record "GOB Ship. Proposal Wksh. Line"
HandleOnAfterFindWarehouseRequestForSalesOrder()
Syntax
HandleOnAfterFindWarehouseRequestForSalesOrder(var WarehouseRequest: Record "Warehouse Request", SalesHeader: Record "Sales Header")
Parameters
WarehouseRequest
Type: Record "Warehouse Request"
SalesHeader
Type: Record "Sales Header"
HandleOnBeforeSalesLineOnAfterGetRecord()
Syntax
HandleOnBeforeSalesLineOnAfterGetRecord(SalesLine: Record "Sales Line", WarehouseRequest: Record "Warehouse Request", RequestType: Option, var IsHandled: Boolean)
Parameters
SalesLine
Type: Record "Sales Line"
WarehouseRequest
Type: Record "Warehouse Request"
RequestType
Type: Option
IsHandled
Type: Boolean
SetWhseShptLineQty_OnBeforeCreateShptLineFromSalesLine()
Syntax
SetWhseShptLineQty_OnBeforeCreateShptLineFromSalesLine(var WarehouseShipmentLine: Record "Warehouse Shipment Line", WarehouseShipmentHeader: Record "Warehouse Shipment Header", SalesLine: Record "Sales Line", SalesHeader: Record "Sales Header")
Parameters
WarehouseShipmentLine
Type: Record "Warehouse Shipment Line"
WarehouseShipmentHeader
Type: Record "Warehouse Shipment Header"
SalesLine
Type: Record "Sales Line"
SalesHeader
Type: Record "Sales Header"
HandleOnAfterFindWarehouseRequestForOutbndTransferOrder()
Syntax
HandleOnAfterFindWarehouseRequestForOutbndTransferOrder(var WarehouseRequest: Record "Warehouse Request", TransferHeader: Record "Transfer Header")
Parameters
WarehouseRequest
Type: Record "Warehouse Request"
TransferHeader
Type: Record "Transfer Header"
HandleOnBeforeTransferLineOnAfterGetRecord()
Syntax
HandleOnBeforeTransferLineOnAfterGetRecord(TransferLine: Record "Transfer Line", WarehouseRequest: Record "Warehouse Request", RequestType: Option, var IsHandled: Boolean)
Parameters
TransferLine
Type: Record "Transfer Line"
WarehouseRequest
Type: Record "Warehouse Request"
RequestType
Type: Option
IsHandled
Type: Boolean
HandleOnBeforeCreateShptLineFromTransLine()
Syntax
HandleOnBeforeCreateShptLineFromTransLine(var WarehouseShipmentLine: Record "Warehouse Shipment Line", WarehouseShipmentHeader: Record "Warehouse Shipment Header", TransferLine: Record "Transfer Line", TransferHeader: Record "Transfer Header")
Parameters
WarehouseShipmentLine
Type: Record "Warehouse Shipment Line"
WarehouseShipmentHeader
Type: Record "Warehouse Shipment Header"
TransferLine
Type: Record "Transfer Line"
TransferHeader
Type: Record "Transfer Header"
DeactivateManualWhseShptCreationError()
Syntax
DeactivateManualWhseShptCreationError(var SkipError: Boolean)
Parameters
SkipError
Type: Boolean
HandleWhseShipmentCreation()
This function augments the BC standard whse. shipment creation for shipment proposal, where only documents and quantities that are contained in the shipment proposal must be created as whse. shipments. The function handles whse. shipment aggregation as well as adding to existing whse. shipments for the same document. Shipment proposal lines for aggregation are added one-by-one, while all other lines are added document-by-document via the standard BC functionality.
Syntax
HandleWhseShipmentCreation(var WhseRqst: Record "Warehouse Request")
Parameters
WhseRqst
Type: Record "Warehouse Request"
A filtered set of warehouse requests, as provided by "Get Source Doc. Outbound".
UpdateExistingWhseShipments()
Adds a shipment proposal line, related to a specific warehouse request (i.e. a warehouse request for the source document of the shipment proposal line) to an existing warehouse shipment, if possible. If there is a warehouse shipment line for the exact document line, the quantity is simply summed up. Otherwise the function checks for an existing warehouse shipment that contains other lines from the same source document.
Syntax
UpdateExistingWhseShipments(WhseRqst: Record "Warehouse Request", ShipProposalWkshLine: Record "GOB Ship. Proposal Wksh. Line", var FoundExistingWhseShpt: Boolean)
Parameters
WhseRqst
Type: Record "Warehouse Request"
The warehouse request for the source document of the added "ShipProposalWkshLine".
ShipProposalWkshLine
Type: Record "GOB Ship. Proposal Wksh. Line"
The shipment proposal line that shall be added to a whse. shipment.
FoundExistingWhseShpt
Type: Boolean
When true, the shipment proposal line was added.
GetSingleOutboundDocHideUI()
This function is merely a wrapper to call the BC standard logic for whse. shipment creation. The BC standard logic is only called for a single warehouse request, as specified in "WhseRqst".
Syntax
GetSingleOutboundDocHideUI(var WhseRqst: Record "Warehouse Request", var WhseShptHeader: Record "Warehouse Shipment Header")
Parameters
WhseRqst
Type: Record "Warehouse Request"
A single warehouse request.
WhseShptHeader
Type: Record "Warehouse Shipment Header"
The created (or already existing) warehouse shipment header.
AddSingleWhseShipmentLine()
Adds a single shipment proposal line to a warehouse shipment. The warehouse shipment header is created, if it does not exist.
Syntax
AddSingleWhseShipmentLine(var WarehouseShipmentHeader: Record "Warehouse Shipment Header", WhseRqst: Record "Warehouse Request", ForShipProposalWkshLine: Record "GOB Ship. Proposal Wksh. Line")
Parameters
WarehouseShipmentHeader
Type: Record "Warehouse Shipment Header"
WhseRqst
Type: Record "Warehouse Request"
ForShipProposalWkshLine
Type: Record "GOB Ship. Proposal Wksh. Line"
FindMatchingWhseShipmentForAggregation()
If the source document of the specified shipment proposal line is viable for whse. shipment aggregation, this function will try to find a matching whse. shipment. Whse. shipments must be open to be considered.
Syntax
[Boolean] := FindMatchingWhseShipmentForAggregation(ShipProposalWkshLine: Record "GOB Ship. Proposal Wksh. Line", var WhseShptHeader: Record "Warehouse Shipment Header")
Parameters
ShipProposalWkshLine
Type: Record "GOB Ship. Proposal Wksh. Line"
Specifies a single shipment proposal line.
WhseShptHeader
Type: Record "Warehouse Shipment Header"
Returns the warehouse shipment header that was found.
Return
Boolean
Returns, if a warehouse shipment header was found.
SetForShipProposalWkshLineSingleWhseShipmentLineAddition()
Syntax
SetForShipProposalWkshLineSingleWhseShipmentLineAddition(ForShipProposalWkshLine: Record "GOB Ship. Proposal Wksh. Line")
Parameters
ForShipProposalWkshLine
Type: Record "GOB Ship. Proposal Wksh. Line"
GetForShipProposalWkshLineWhseSingleShipmentLineAddition()
Syntax
GetForShipProposalWkshLineWhseSingleShipmentLineAddition(var ForShipProposalWkshLine: Record "GOB Ship. Proposal Wksh. Line")
Parameters
ForShipProposalWkshLine
Type: Record "GOB Ship. Proposal Wksh. Line"
IsSingleWhseShipmentLineAddition()
Syntax
[Boolean] := IsSingleWhseShipmentLineAddition()
ClearForShipProposalWkshLineWhseSingleShipmentLineAddition()
Syntax
ClearForShipProposalWkshLineWhseSingleShipmentLineAddition()
IsSelectedForWhseSingleShipmentLineAddition()
Syntax
[Boolean] := IsSelectedForWhseSingleShipmentLineAddition(DocLineId: RecordId)
Parameters
DocLineId
Type: RecordId
IsContainedInShipProposalWkshLineSelection()
Syntax
[Boolean] := IsContainedInShipProposalWkshLineSelection(DocLineId: RecordId)
Parameters
DocLineId
Type: RecordId
SetWhseShptLineQty()
Syntax
SetWhseShptLineQty(DocLineId: RecordId, var TotalOutstandingWhseShptQty: Decimal, var TotalOutstandingWhseShptQtyBase: Decimal)
Parameters
DocLineId
Type: RecordId
TotalOutstandingWhseShptQty
Type: Decimal
TotalOutstandingWhseShptQtyBase
Type: Decimal
SetOutstandingQtyOnShptLine()
Syntax
SetOutstandingQtyOnShptLine(var WarehouseShipmentLine: Record "Warehouse Shipment Line")
Parameters
WarehouseShipmentLine
Type: Record "Warehouse Shipment Line"
UpdateShipmentHeaderStatus()
Syntax
UpdateShipmentHeaderStatus(var WarehouseShipmentHeader: Record "Warehouse Shipment Header")
Parameters
WarehouseShipmentHeader
Type: Record "Warehouse Shipment Header"
OnBeforeGetSingleOutboundDoc()
Syntax
OnBeforeGetSingleOutboundDoc(var WarehouseShipmentHeader: Record "Warehouse Shipment Header", var IsHandled: Boolean)
Parameters
WarehouseShipmentHeader
Type: Record "Warehouse Shipment Header"
IsHandled
Type: Boolean
OnAfterGetSingleOutboundDoc()
Syntax
OnAfterGetSingleOutboundDoc(var WarehouseShipmentHeader: Record "Warehouse Shipment Header")
Parameters
WarehouseShipmentHeader
Type: Record "Warehouse Shipment Header"
OnBeforeHandleWhseShipmentCreation()
Syntax
OnBeforeHandleWhseShipmentCreation(var WhseRqst: Record "Warehouse Request", var IsHandled: Boolean)
Parameters
WhseRqst
Type: Record "Warehouse Request"
IsHandled
Type: Boolean