Report "Whse. Get Bin Content"

ID 7391
Namespace: Microsoft.Warehouse.Structure

Properties

Name Value
Caption Whse. Get Bin Content
ProcessingOnly True

Methods

SetParameters

procedure SetParameters(WhseWorksheetLine2: Record "Whse. Worksheet Line", WhseInternalPutawayHeader2: Record "Whse. Internal Put-away Header", DestinationType: Enum "Warehouse Destination Type 2")

Parameters

Name Type Description
WhseWorksheetLine2 Table Microsoft.Warehouse.Worksheet."Whse. Worksheet Line"
WhseInternalPutawayHeader2 Table Microsoft.Warehouse.InternalDocument."Whse. Internal Put-away Header"
DestinationType Enum Microsoft.Warehouse.Worksheet."Warehouse Destination Type 2"

InitializeItemJournalLine

procedure InitializeItemJournalLine(ItemJournalLine2: Record "Item Journal Line")

Parameters

Name Type Description
ItemJournalLine2 Table Microsoft.Inventory.Journal."Item Journal Line"

InitializeTransferHeader

procedure InitializeTransferHeader(TransferHeader2: Record "Transfer Header")

Parameters

Name Type Description
TransferHeader2 Table Microsoft.Inventory.Transfer."Transfer Header"

InitializeInternalMovement

procedure InitializeInternalMovement(InternalMovementHeader2: Record "Internal Movement Header")

Parameters

Name Type Description
InternalMovementHeader2 Table Microsoft.Warehouse.InternalDocument."Internal Movement Header"

GetItemTracking

procedure GetItemTracking(var BinContent: Record "Bin Content", var WarehouseEntry: Record "Warehouse Entry", var TotalTrackedQtyBase: Decimal, var TempTrackingSpecification: Record "Tracking Specification" temporary)

Parameters

Name Type Description
BinContent Table Microsoft.Warehouse.Structure."Bin Content"
WarehouseEntry Table Microsoft.Warehouse.Ledger."Warehouse Entry"
TotalTrackedQtyBase Decimal
TempTrackingSpecification Table Microsoft.Inventory.Tracking."Tracking Specification"

Events

OnAfterInsertItemJnlLine

[IntegrationEvent(False,False)]
local procedure OnAfterInsertItemJnlLine(var ItemJournalLine: Record "Item Journal Line", BinContent: Record "Bin Content")

Parameters

Name Type Description
ItemJournalLine Table Microsoft.Inventory.Journal."Item Journal Line"
BinContent Table Microsoft.Warehouse.Structure."Bin Content"

OnAfterInitializeItemJournalLine

[IntegrationEvent(True,False)]
local procedure OnAfterInitializeItemJournalLine(var ItemJournalLine: Record "Item Journal Line", var ItemJournalTemplate: Record "Item Journal Template", var ItemJournalBatch: Record "Item Journal Batch")

Parameters

Name Type Description
ItemJournalLine Table Microsoft.Inventory.Journal."Item Journal Line"
ItemJournalTemplate Table Microsoft.Inventory.Journal."Item Journal Template"
ItemJournalBatch Table Microsoft.Inventory.Journal."Item Journal Batch"

OnAfterInsertTempTrackingSpec

[IntegrationEvent(False,False)]
local procedure OnAfterInsertTempTrackingSpec(var TempTrackingSpecification: Record "Tracking Specification" temporary, WarehouseEntry: Record "Warehouse Entry")

Parameters

Name Type Description
TempTrackingSpecification Table Microsoft.Inventory.Tracking."Tracking Specification"
WarehouseEntry Table Microsoft.Warehouse.Ledger."Warehouse Entry"

OnAfterBinContentOnPostDataItem

[IntegrationEvent(False,False)]
local procedure OnAfterBinContentOnPostDataItem(ItemJournalLine: Record "Item Journal Line", TransferHeader: Record "Transfer Header", InternalMovementHeader: Record "Internal Movement Header", DestinationType2: Option)

Parameters

Name Type Description
ItemJournalLine Table Microsoft.Inventory.Journal."Item Journal Line"
TransferHeader Table Microsoft.Inventory.Transfer."Transfer Header"
InternalMovementHeader Table Microsoft.Warehouse.InternalDocument."Internal Movement Header"
DestinationType2 Option

OnBinContenOnAfterGetRecordOnAfterCalcShouldSkipReportForQty

[IntegrationEvent(True,False)]
local procedure OnBinContenOnAfterGetRecordOnAfterCalcShouldSkipReportForQty(var BinContent: Record "Bin Content", var ShouldSkipReportForQty: Boolean, DestinationType2: Enum "Warehouse Destination Type 2", WhseWorksheetLine: Record "Whse. Worksheet Line", WhseInternalPutawayLine: Record "Whse. Internal Put-away Line", ItemJournalLine: Record "Item Journal Line", TransferLine: Record "Transfer Line", InternalMovementLine: Record "Internal Movement Line", PostingDate: Date, DocumentNo: Code[20])

Parameters

Name Type Description
BinContent Table Microsoft.Warehouse.Structure."Bin Content"
ShouldSkipReportForQty Boolean
DestinationType2 Enum Microsoft.Warehouse.Worksheet."Warehouse Destination Type 2"
WhseWorksheetLine Table Microsoft.Warehouse.Worksheet."Whse. Worksheet Line"
WhseInternalPutawayLine Table Microsoft.Warehouse.InternalDocument."Whse. Internal Put-away Line"
ItemJournalLine Table Microsoft.Inventory.Journal."Item Journal Line"
TransferLine Table Microsoft.Inventory.Transfer."Transfer Line"
InternalMovementLine Table Microsoft.Warehouse.InternalDocument."Internal Movement Line"
PostingDate Date
DocumentNo Code[20]

OnBinContentOnAfterGetRecordOnDestinationTypeElseCase

[IntegrationEvent(True,False)]
local procedure OnBinContentOnAfterGetRecordOnDestinationTypeElseCase(QtyToEmptyBase: Decimal, var BinContent: Record "Bin Content", DestinationType2: Enum "Warehouse Destination Type 2")

Parameters

Name Type Description
QtyToEmptyBase Decimal
BinContent Table Microsoft.Warehouse.Structure."Bin Content"
DestinationType2 Enum Microsoft.Warehouse.Worksheet."Warehouse Destination Type 2"

OnInsertTempTrackingSpecOnAfterAssignTracking

[IntegrationEvent(False,False)]
local procedure OnInsertTempTrackingSpecOnAfterAssignTracking(var TempTrackingSpecification: Record "Tracking Specification" temporary, WarehouseEntry: Record "Warehouse Entry")

Parameters

Name Type Description
TempTrackingSpecification Table Microsoft.Inventory.Tracking."Tracking Specification"
WarehouseEntry Table Microsoft.Warehouse.Ledger."Warehouse Entry"

OnBeforeGetItemTracking

Obsolete

This element will become obsolete from version 27.0. The GetItemTracking method has been refactored to use a query-based approach for improved performance. While this event publisher remains available, please verify that your subscriber logic continues to function as expected with the updated implementation.

[Obsolete(The GetItemTracking method has been refactored to use a query-based approach for improved performance. While this event publisher remains available, please verify that your subscriber logic continues to function as expected with the updated implementation.,27.0)]
[IntegrationEvent(True,False)]
local procedure OnBeforeGetItemTracking(var BinContent: Record "Bin Content", var IsHandled: Boolean, QtyToEmptyBase: Decimal, DestinationType2: Enum "Warehouse Destination Type 2", var ItemJournalLine: Record "Item Journal Line", var TransferLine: Record "Transfer Line")

Parameters

Name Type Description
BinContent Table Microsoft.Warehouse.Structure."Bin Content"
IsHandled Boolean
QtyToEmptyBase Decimal
DestinationType2 Enum Microsoft.Warehouse.Worksheet."Warehouse Destination Type 2"
ItemJournalLine Table Microsoft.Inventory.Journal."Item Journal Line"
TransferLine Table Microsoft.Inventory.Transfer."Transfer Line"

OnBeforeInsertInternalMovementLine

[IntegrationEvent(False,False)]
local procedure OnBeforeInsertInternalMovementLine(var InternalMovementLine: Record "Internal Movement Line", BinContent: Record "Bin Content")

Parameters

Name Type Description
InternalMovementLine Table Microsoft.Warehouse.InternalDocument."Internal Movement Line"
BinContent Table Microsoft.Warehouse.Structure."Bin Content"

OnBeforeInsertTransferLine

[IntegrationEvent(False,False)]
local procedure OnBeforeInsertTransferLine(var TransferLine: Record "Transfer Line", BinContent: Record "Bin Content")

Parameters

Name Type Description
TransferLine Table Microsoft.Inventory.Transfer."Transfer Line"
BinContent Table Microsoft.Warehouse.Structure."Bin Content"

OnBeforeInsertWIPLine

[IntegrationEvent(False,False)]
local procedure OnBeforeInsertWIPLine(var WhseInternalPutAwayLine: Record "Whse. Internal Put-away Line", BinContent: Record "Bin Content")

Parameters

Name Type Description
WhseInternalPutAwayLine Table Microsoft.Warehouse.InternalDocument."Whse. Internal Put-away Line"
BinContent Table Microsoft.Warehouse.Structure."Bin Content"

OnBeforeInsertWWLine

[IntegrationEvent(False,False)]
local procedure OnBeforeInsertWWLine(var WhseWorksheetLine: Record "Whse. Worksheet Line", BinContent: Record "Bin Content")

Parameters

Name Type Description
WhseWorksheetLine Table Microsoft.Warehouse.Worksheet."Whse. Worksheet Line"
BinContent Table Microsoft.Warehouse.Structure."Bin Content"

OnGetItemTrackingOnDestinationTypeCaseElse

Obsolete

This element will become obsolete from version 27.0. The GetItemTracking method has been refactored to use a query-based approach for improved performance. While this event publisher remains available, please verify that your subscriber logic continues to function as expected with the updated implementation.

[Obsolete(The GetItemTracking method has been refactored to use a query-based approach for improved performance. While this event publisher remains available, please verify that your subscriber logic continues to function as expected with the updated implementation.,27.0)]
[IntegrationEvent(False,False)]
local procedure OnGetItemTrackingOnDestinationTypeCaseElse(DestinationType2: Enum "Warehouse Destination Type 2", BinContent: Record "Bin Content", WarehouseEntry: Record "Warehouse Entry", TrackedQtyToEmptyBase: Decimal)

Parameters

Name Type Description
DestinationType2 Enum Microsoft.Warehouse.Worksheet."Warehouse Destination Type 2"
BinContent Table Microsoft.Warehouse.Structure."Bin Content"
WarehouseEntry Table Microsoft.Warehouse.Ledger."Warehouse Entry"
TrackedQtyToEmptyBase Decimal

OnGetItemTrackingOnAfterWarehouseEntrySetFilters

Obsolete

This element will become obsolete from version 27.0. The GetItemTracking method has been refactored to use a query-based approach for improved performance. While this event publisher remains available, please verify that your subscriber logic continues to function as expected with the updated implementation.

[Obsolete(The GetItemTracking method has been refactored to use a query-based approach for improved performance. While this event publisher remains available, please verify that your subscriber logic continues to function as expected with the updated implementation.,27.0)]
[IntegrationEvent(False,False)]
local procedure OnGetItemTrackingOnAfterWarehouseEntrySetFilters(var WarehouseEntry: Record "Warehouse Entry", var BinContent: Record "Bin Content")

Parameters

Name Type Description
WarehouseEntry Table Microsoft.Warehouse.Ledger."Warehouse Entry"
BinContent Table Microsoft.Warehouse.Structure."Bin Content"

OnInsertItemJournalLineOnBeforeInsert

[IntegrationEvent(False,False)]
local procedure OnInsertItemJournalLineOnBeforeInsert(var ItemJournalLine: Record "Item Journal Line", BinContent: Record "Bin Content")

Parameters

Name Type Description
ItemJournalLine Table Microsoft.Inventory.Journal."Item Journal Line"
BinContent Table Microsoft.Warehouse.Structure."Bin Content"

OnInsertItemJournalLineOnBeforeValidateEntryType

[IntegrationEvent(True,False)]
local procedure OnInsertItemJournalLineOnBeforeValidateEntryType(var ItemJournalLine: Record "Item Journal Line", var BinContent: Record "Bin Content", var ItemLedgerEntryType: Enum "Item Ledger Entry Type", ItemJournalTemplate: Record "Item Journal Template", ItemJournalBatch: Record "Item Journal Batch")

Parameters

Name Type Description
ItemJournalLine Table Microsoft.Inventory.Journal."Item Journal Line"
BinContent Table Microsoft.Warehouse.Structure."Bin Content"
ItemLedgerEntryType Enum Microsoft.Inventory.Ledger."Item Ledger Entry Type"
ItemJournalTemplate Table Microsoft.Inventory.Journal."Item Journal Template"
ItemJournalBatch Table Microsoft.Inventory.Journal."Item Journal Batch"

OnInsertItemJournalLineOnBeforeValidateNewLocationCode

[IntegrationEvent(True,False)]
local procedure OnInsertItemJournalLineOnBeforeValidateNewLocationCode(var ItemJournalLine: Record "Item Journal Line", var BinContent: Record "Bin Content", var IsHandled: Boolean)

Parameters

Name Type Description
ItemJournalLine Table Microsoft.Inventory.Journal."Item Journal Line"
BinContent Table Microsoft.Warehouse.Structure."Bin Content"
IsHandled Boolean

OnInsertItemJournalLineOnBeforeValidateNewBinCode

[IntegrationEvent(True,False)]
local procedure OnInsertItemJournalLineOnBeforeValidateNewBinCode(var ItemJournalLine: Record "Item Journal Line", BinContent: Record "Bin Content", var IsHandled: Boolean)

Parameters

Name Type Description
ItemJournalLine Table Microsoft.Inventory.Journal."Item Journal Line"
BinContent Table Microsoft.Warehouse.Structure."Bin Content"
IsHandled Boolean

See also