---
id: object/report/7305
type: object
title: Report 7305 "Whse.-Source - Create Document"
summary: Report 7305 "Whse.-Source - Create Document" in Base Application (Microsoft.Warehouse.Request). 16 public procedures, 38 events. Present since at least BC23, still in BC30, changed in BC24, BC26-29.
tier: official
language: en
tags:
  - report
  - base application
versions:
  introduced: null
  last_changed: "29"
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: 0b8d591d08f2b6939273b18aa8fe542d0e4981c499cc09426745221dfb2c2f00
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Warehouse/Request/WhseSourceCreateDocument.Report.al
    title: src/Layers/W1/BaseApp/Warehouse/Request/WhseSourceCreateDocument.Report.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes:
    - change/bcapps/10631
    - change/bcapps/10518
    - change/bcapps/8905
    - change/bcapps/9224
object_type: report
object_id: 7305
name: Whse.-Source - Create Document
namespace: Microsoft.Warehouse.Request
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "24"
  - "26"
  - "27"
  - "28"
  - "29"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 65
  events: 38
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 1
  event_subscribers: 7
  calls: 6
  called_by: 0
  implements: 0
---

# Report 7305 "Whse.-Source - Create Document"

> Report 7305 "Whse.-Source - Create Document" in Base Application (Microsoft.Warehouse.Request). 16 public procedures, 38 events. Present since at least BC23, still in BC30, changed in BC24, BC26-29.

Base Application · Microsoft.Warehouse.Request · BC23-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Warehouse/Request/WhseSourceCreateDocument.Report.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Caption | Whse.-Source - Create Document |
| Permissions | TableData "Whse. Item Tracking Line" = rm |

## Events published

- `OnAfterCreatePutAwayDeleteBlankBinContent(var WarehouseActivityHeader: Record "Warehouse Activity Header")` (integration)
  - subscribers: [Codeunit 99000984 "Mfg. WhseSourceCreateDocument"](../codeunit/99000984.md) OnAfterCreatePutAwayDeleteBlankBinContent
- `OnAfterGetHeaderLocationCode(WhseDoc: Option "Whse. Mov.-Worksheet","Posted Receipt","Internal Pick","Internal Put-away",Production,"Put-away Worksheet",Assembly,"Service Order",Job; var LocationCode: Code[10])` (integration)
- `OnAfterFilterWkshLine(var WhseWorksheetLineToFilter: Record "Whse. Worksheet Line"; WhseWorksheetLine: Record "Whse. Worksheet Line")` (integration)
- `OnAfterInitPostedWhseReceiptLineFromPutAway(var PostedWhseReceiptLine: Record "Posted Whse. Receipt Line"; WhseWorksheetLine: Record "Whse. Worksheet Line")` (integration)
- `OnAfterInitPostedWhseReceiptLineFromInternalPutAway(var PostedWhseReceiptLine: Record "Posted Whse. Receipt Line"; WhseInternalPutAwayLine: Record "Whse. Internal Put-away Line")` (integration)
- `OnAfterOpenPage(var Location: Record Location; var DoNotFillQtytoHandle: Boolean)` (integration)
- `OnAfterPostReport(FirstActivityNo: Code[20]; LastActivityNo: Code[20]; var WarehouseActivityHeader: Record "Warehouse Activity Header"; WhseSourceCreateDocument: Report "Whse.-Source - Create Document")` (integration)
  - subscribers: [Codeunit 20451 "Qlty. Disp. Move Worksheet"](../codeunit/20451.md) HandleOnAfterPostReport, [Codeunit 20453 "Qlty. Disp. Warehouse Put-away"](../codeunit/20453.md) HandleOnAfterPostReport
- `OnAfterPostedWhseReceiptLineOnPostDataItem(var PostedWhseReceiptLine: Record "Posted Whse. Receipt Line")` (integration)
- `OnAfterSetAssemblyOrder(var AssemblyHeader: Record "Assembly Header"; var SortActivity: Enum "Whse. Activity Sorting Method")` (integration)
- `OnAfterSetJob(var Job: Record Job; var SortActivity: Enum "Whse. Activity Sorting Method")` (integration)
- `OnAfterSetPostedWhseReceiptLine(PostedWhseReceiptLine: Record "Posted Whse. Receipt Line"; var SortActivity: Option)` (integration)
- `OnAfterSetQuantity(var PostedWhseReceiptLine: Record "Posted Whse. Receipt Line"; WhseItemTrackingLine: Record "Whse. Item Tracking Line")` (integration)
- `OnAfterSetWhseInternalPickLine(WhseInternalPickLine: Record "Whse. Internal Pick Line"; var SortActivity: Option)` (integration)
- `OnAfterSetWhseInternalPutAway(WhseInternalPutAwayHeader: Record "Whse. Internal Put-away Header"; var SortActivity: Option)` (integration)
- `OnAfterSetWhseWkshLine(WhseWorksheetLine: Record "Whse. Worksheet Line"; var SortActivity: Option)` (integration)
- `OnAfterWhsePutAwayWorksheetLineOnPostDataItem(var WhseWorksheetLine: Record "Whse. Worksheet Line")` (integration)
- `OnAfterWhseInternalPutAwayLineOnPreDataItem(var WhseInternalPutAwayLine: Record "Whse. Internal Put-away Line")` (integration)
- `OnBeforeProcessWhseMovWkshLines(var WhseWorksheetLine: Record "Whse. Worksheet Line")` (integration)
- `OnBeforeSetQuantity(var PostedWhseRcptLine: Record "Posted Whse. Receipt Line"; SourceType: Integer; var QtyToHandleBase: Decimal; var IsHandled: Boolean)` (integration)
- `OnBeforeSortWhseDocsForPrints(WhseDoc: Option "Whse. Mov.-Worksheet","Posted Receipt","Internal Pick","Internal Put-away",Production,"Put-away Worksheet",Assembly,"Service Order"; var FirstActivityNo: Code[20]; var LastActivityNo: Code[20]; SortActivity: Enum "Whse. Activity Sorting Method"; PrintDoc: Boolean; var HideNothingToHandleErr: Boolean)` (integration)
- `OnBeforeTempWhseWorksheetLineMovementModify(var TempWhseWorksheetLineMovement: Record "Whse. Worksheet Line" temporary; WhseWorksheetLine: Record "Whse. Worksheet Line")` (integration)
- `OnBeforeWhseItemTrackingLineModify(var WhseItemTrackingLine: Record "Whse. Item Tracking Line"; TempWhseItemTrackingLine: Record "Whse. Item Tracking Line" temporary)` (integration)
- `OnBeforeWhsePutAwayWorksheetLineOnPreDataItem(var WhsePutawayWorksheetLine: Record "Whse. Worksheet Line")` (integration)
- `OnSetQuantityOnAfterWhseItemTrackingLineSetFilters(var WhseItemTrackingLine: Record "Whse. Item Tracking Line"; var PostedWhseRcptLine: Record "Posted Whse. Receipt Line")` (integration)
- `OnPostedWhseReceiptLineOnAfterGetRecordOnBeforeGetWhseItemTrkgSetup(WhseWorksheetLine: Record "Whse. Worksheet Line"; PostedWhseRcptLine: Record "Posted Whse. Receipt Line"; var IsHandled: Boolean)` (integration)
- `OnSetQuantityOnAfterFindWhseItemTrackingLine(var WhseItemTrackingLine: Record "Whse. Item Tracking Line"; var PostedWhseRcptLine: Record "Posted Whse. Receipt Line")` (integration)
- `OnBeforeOnPreDataItemAssemblyLine(var AssemblyHeader: Record "Assembly Header"; HideValidationDialog: Boolean; var IsHandled: Boolean)` (integration)
- `OnBeforeCreateMovementLines(var WhseWorksheetLine: Record "Whse. Worksheet Line"; var PickQty: Decimal; var PickQtyBase: Decimal; var IsHandled: Boolean)` (integration)
- `OnPreDataItemJobPlanningLineOnAfterSetFilters(var JobPlanningLine: Record "Job Planning Line"; Job: Record Job)` (integration)
- `OnPostReportOnBeforeCreateWarehouseDocument(WhseSourceCreateDocument: Report "Whse.-Source - Create Document"; TempWhseItemTrackingLine: Record "Whse. Item Tracking Line" temporary; var ItemTrackingManagement: Codeunit "Item Tracking Management"; var CreatePick: Codeunit "Create Pick"; var CreatePutAway: Codeunit "Create Put-away"; WhseDoc: Option "Whse. Mov.-Worksheet","Posted Receipt","Internal Pick","Internal Put-away",Production,"Put-away Worksheet",Assembly,"Service Order",Job; var CreateErrorText: Text; var FirstActivityNo: Code[20]; var LastActivityNo: Code[20]; var IsHandled: Boolean)` (integration)
- `OnPostReportOnBeforeDeleteBlankBinContent(WhseSourceCreateDocument: Report "Whse.-Source - Create Document"; var WarehouseActivityHeader: Record "Warehouse Activity Header"; var WhseActivitySortingMethod: Enum "Whse. Activity Sorting Method"; var IsHandled: Boolean)` (integration)
- `OnCreatePutAwayFromDiffSourceOnBeforeProcessCreatePutAway(WhseSourceCreateDocument: Report "Whse.-Source - Create Document"; PostedWhseReceiptLine: Record "Posted Whse. Receipt Line"; var TempPostedWhseReceiptLine: Record "Posted Whse. Receipt Line" temporary; var CreatePutAway: Codeunit "Create Put-away"; var IsHandled: Boolean)` (integration)
- `OnCreatePutAwayFromDiffSourceOnAfterSplitPerSourceType(var PostedWhseReceiptLine: Record "Posted Whse. Receipt Line"; var TempPostedWhseReceiptLine: Record "Posted Whse. Receipt Line" temporary; SourceType: Integer)` (integration)
- `OnCreatePutawayFromProduction(var WhsePutawayWorksheetLine: Record "Whse. Worksheet Line"; SourceType: Integer; var EverythingHandled: Boolean; var QtyHandledBase: Decimal)` (integration)
  - subscribers: [Codeunit 99000984 "Mfg. WhseSourceCreateDocument"](../codeunit/99000984.md) OnCreatePutawayFromProduction
- `OnAfterCreatePutawaySetValues(NewAssignedID: Code[50]; NewSortActivity: Enum "Whse. Activity Sorting Method"; NewDoNotFillQtytoHandle: Boolean; NewBreakbulkFilter: Boolean)` (integration)
  - subscribers: [Codeunit 99000984 "Mfg. WhseSourceCreateDocument"](../codeunit/99000984.md) OnAfterCreatePutawaySetValues
- `OnGetProductionMessageText(var CreateErrorText: Text)` (integration)
  - subscribers: [Codeunit 99000984 "Mfg. WhseSourceCreateDocument"](../codeunit/99000984.md) OnGetProductionMessageText
- `OnAfterCreatePutawayGetWhseActivHeaderNo(var FirstActivityNo: Code[20]; var LastActivityNo: Code[20])` (integration)
  - subscribers: [Codeunit 99000984 "Mfg. WhseSourceCreateDocument"](../codeunit/99000984.md) OnAfterCreatePutawayGetWhseActivHeaderNo
- `OnPostReportOnAfterSetWhseActivHeaderTypeFilter(var WarehouseActivityHeader: Record "Warehouse Activity Header"; WhseDoc: Option "Whse. Mov.-Worksheet","Posted Receipt","Internal Pick","Internal Put-away",Production,"Put-away Worksheet",Assembly,"Service Order",Job)` (integration)

## Procedures

- `SetPostedWhseReceiptLine(var PostedWhseReceiptLine2: Record "Posted Whse. Receipt Line"; AssignedID2: Code[50])`
- `SetWhseWkshLine(var WhseWkshLine2: Record "Whse. Worksheet Line")`
- `SetWhseInternalPickLine(var WhseInternalPickLine2: Record "Whse. Internal Pick Line"; AssignedID2: Code[50])`
- `SetWhseInternalPutAway(var WhseInternalPutAwayHeader2: Record "Whse. Internal Put-away Header")`
- `SetAssemblyOrder(var AssemblyHeader2: Record "Assembly Header")`
- `SetJob(var Job2: Record Job)`
- `GetActivityHeader(var WhseActivityHeader: Record "Warehouse Activity Header"; TypeToFilter: Option " ","Put-away",Pick,Movement,"Invt. Put-away","Invt. Pick","Invt. Movement")`
- `GetResultMessage(WhseDocType: Option): Boolean`
- `SetHideValidationDialog(NewHideValidationDialog: Boolean)`
- `Initialize(AssignedID2: Code[50]; SortActivity2: Enum "Whse. Activity Sorting Method"; PrintDoc2: Boolean; DoNotFillQtytoHandle2: Boolean; BreakbulkFilter2: Boolean)`
- `Initialize(AssignedID2: Code[50]; SortActivity2: Enum "Whse. Activity Sorting Method"; PrintDoc2: Boolean; DoNotFillQtytoHandle2: Boolean; BreakbulkFilter2: Boolean; ShowSummary2: Boolean)`
- `SetQuantity(var PostedWhseRcptLine: Record "Posted Whse. Receipt Line"; SourceType: Integer; var QtyToHandleBase: Decimal)`
- `UpdateWhseItemTrkgLines(PostedWhseRcptLine: Record "Posted Whse. Receipt Line"; SourceType: Integer; var TempWhseItemTrkgLine: Record "Whse. Item Tracking Line")`
- `CreatePutAwayFromDiffSource(PostedWhseRcptLine: Record "Posted Whse. Receipt Line"; SourceType: Integer)`
- `FEFOLocation(LocCode: Code[10]): Boolean`
- `ItemTracking(ItemNo: Code[20]): Boolean`

Plus 11 local procedures.

## Triggers

OnPostReport, OnPreReport

## Extended by

- [Report extension 7305 "Mfg. WhseSourceCreateDocument"](../reportextension/7305.md)

## Calls

From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an `Object::"Name"` argument. Interface dispatch and calls through events are not counted, so the list is not complete.

- [Codeunit 7312 "Create Pick"](../codeunit/7312.md) (10 calls: `CreateMovementLines → CreateTempLine`, `CreateMovementLines → SetCalledFromWksh`, `CreateMovementLines → SetTempWhseItemTrkgLineFromBuffer`, …)
- [Codeunit 6500 "Item Tracking Management"](../codeunit/6500.md) (4 calls: `CreatePutAwayFromDiffSource → SplitInternalPutAwayLine`, `CreatePutAwayFromDiffSource → SplitPostedWhseRcptLine`, `OnPostReport → UpdateWhseItemTrkgLines`, …)
- [Codeunit 7313 "Create Put-away"](../codeunit/7313.md) (4 calls: `CreatePutAwayFromDiffSource → (object)`, `CreatePutAwayFromDiffSource → UpdateTempWhseItemTrkgLines`, `OnPostReport → DeleteBlankBinContent`, …)
- [Codeunit 5776 "Warehouse Document-Print"](../codeunit/5776.md) (3 calls: `PrintWarehouseDocument → PrintMovementHeader`, `PrintWarehouseDocument → PrintPickHeader`, `PrintWarehouseDocument → PrintPutAwayHeader`)
- [Codeunit 7314 "Warehouse Availability Mgt."](../codeunit/7314.md) (2 calls: `CheckAvailabilityWithTracking → CalcQtyAssignedToMove`, `CheckAvailabilityWithTracking → CalcQtyOnBin`)
- [Codeunit 5402 "Unit of Measure Management"](../codeunit/5402.md) (1 call: `SetQuantity → QtyRndPrecision`)

## Recent changes

- 2026-08-26 [#10631 Integration/main to releases 29.x 31a860b5](../../changes/bcapps/10631.md) (releases/29.x, BC29, feature)
- 2026-08-24 [#10518 [Extensibility Request] issue 30338: expose internal put-away line event](../../changes/bcapps/10518.md) (main, BC30, feature)
- 2026-07-17 [#8905 [Master] Different source reference on reservation entries created directly from Job Planning Line and via a warehouse pick.](../../changes/bcapps/8905.md) (main, BC30, fix)
- 2026-07-14 [#9224 [main] GitHub event batch 1746](../../changes/bcapps/9224.md) (main, BC30, fix)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: BC24, BC26-29

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

## Ask your agent

Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: `bcatlas_resolve_node(object_type: "report", object_name: "Whse.-Source - Create Document")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
