---
title: "Report 7305 Whse.-Source - Create Document"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/report/7305-whse-source-create-document/
type: report
id: 7305
name: "Whse.-Source - Create Document"
app: "Base Application"
namespace: Microsoft.Warehouse.Request
versions: "17-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/report/7305-whse-source-create-document/source/29/"
checked: 2026-09-20
subject: "Microsoft Dynamics 365 Business Central"
license: "Content © 2026 Jonas Paprotka. Quote freely with attribution and a link."
---

# Report 7305 Whse.-Source - Create Document

Jonas Paprotka, https://jonas-paprotka.de/ref/report/7305-whse-source-create-document/

| | |
| --- | --- |
| App | Base Application |
| Namespace | Microsoft.Warehouse.Request |
| Versions | 17-28 |
| Source file | Warehouse/Request/WhseSourceCreateDocument.Report.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| SetPostedWhseReceiptLine | (var Record Posted Whse. Receipt Line, Code[50]) | - | public | 17-28 | - | - |
| SetWhseWkshLine | (var Record Whse. Worksheet Line) | - | public | 17-28 | - | - |
| SetWhseInternalPickLine | (var Record Whse. Internal Pick Line, Code[50]) | - | public | 17-28 | - | - |
| SetWhseInternalPutAway | (var Record Whse. Internal Put-away Header) | - | public | 17-28 | - | - |
| SetProdOrder | (var Record Production Order) | - | public | 17-26 | - | - |
| SetAssemblyOrder | (var Record Assembly Header) | - | public | 17-28 | - | - |
| GetActivityHeader | (var Record Warehouse Activity Header, Option) | - | public | 17-28 | - | - |
| GetResultMessage | (Option) | Boolean | public | 17-28 | - | - |
| SetHideValidationDialog | (Boolean) | - | public | 17-28 | - | - |
| Initialize | (Code[50], Enum Whse. Activity Sorting Method, Boolean, Boolean, Boolean) | - | public | 17-28 | - | - |
| SetQuantity | (var Record Posted Whse. Receipt Line, Integer, var Decimal) | - | public | 17-28 | - | - |
| UpdateWhseItemTrkgLines | (Record Posted Whse. Receipt Line, Integer, var Record Whse. Item Tracking Line) | - | public | 17-28 | - | - |
| CreatePutAwayFromDiffSource | (Record Posted Whse. Receipt Line, Integer) | - | public | 17-28 | - | - |
| FEFOLocation | (Code[10]) | Boolean | public | 17-28 | - | - |
| ItemTracking | (Code[20]) | Boolean | public | 17-28 | - | - |
| SetJob | (var Record Job) | - | public | 20-28 | - | - |
| Initialize | (Code[50], Enum Whse. Activity Sorting Method, Boolean, Boolean, Boolean, Boolean) | - | public | 23-28 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnAfterCreatePutAwayDeleteBlankBinContent | (var Record Warehouse Activity Header) | 17-28 | - | - |
| Integration event | OnAfterFilterWkshLine | (var Record Whse. Worksheet Line, Record Whse. Worksheet Line) | 17-28 | - | - |
| Integration event | OnAfterGetRecordProdOrderComponent | (var Record Prod. Order Component, var Boolean) | 17-26 | - | - |
| Integration event | OnAfterInitPostedWhseReceiptLineFromPutAway | (var Record Posted Whse. Receipt Line, Record Whse. Worksheet Line) | 17-28 | - | - |
| Integration event | OnAfterInitPostedWhseReceiptLineFromInternalPutAway | (var Record Posted Whse. Receipt Line, Record Whse. Internal Put-away Line) | 17-28 | - | - |
| Integration event | OnAfterOpenPage | (var Record Location, var Boolean) | 17-28 | - | - |
| Integration event | OnAfterPostReport | (Code[20], Code[20]) | 17-25 | - | - |
| Integration event | OnAfterPostedWhseReceiptLineOnPostDataItem | (var Record Posted Whse. Receipt Line) | 17-28 | - | - |
| Integration event | OnAfterSetPostedWhseReceiptLine | (Record Posted Whse. Receipt Line, var Option) | 17-28 | - | - |
| Integration event | OnAfterSetProdOrder | (Record Production Order, var Option) | 17-26 | - | - |
| Integration event | OnAfterSetQuantity | (var Record Posted Whse. Receipt Line, Record Whse. Item Tracking Line) | 17-28 | - | - |
| Integration event | OnAfterSetWhseInternalPickLine | (Record Whse. Internal Pick Line, var Option) | 17-28 | - | - |
| Integration event | OnAfterSetWhseInternalPutAway | (Record Whse. Internal Put-away Header, var Option) | 17-28 | - | - |
| Integration event | OnAfterSetWhseWkshLine | (Record Whse. Worksheet Line, var Option) | 17-28 | - | - |
| Integration event | OnAfterWhsePutAwayWorksheetLineOnPostDataItem | (var Record Whse. Worksheet Line) | 17-28 | - | - |
| Integration event | OnBeforeProcessWhseMovWkshLines | (var Record Whse. Worksheet Line) | 17-28 | - | - |
| Integration event | OnBeforeSetQuantity | (var Record Posted Whse. Receipt Line, Integer, var Decimal, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeSortWhseDocsForPrints | (Option, Code[20], Code[20], Enum Whse. Activity Sorting Method, Boolean, var Boolean) | 17-18 | - | - |
| Integration event | OnBeforeTempWhseWorksheetLineMovementModify | (var Record Whse. Worksheet Line, Record Whse. Worksheet Line) | 17-28 | - | - |
| Integration event | OnBeforeWhseItemTrackingLineModify | (var Record Whse. Item Tracking Line, Record Whse. Item Tracking Line) | 17-28 | - | - |
| Integration event | OnBeforeWhsePutAwayWorksheetLineOnPreDataItem | (var Record Whse. Worksheet Line) | 18-28 | - | - |
| Integration event | OnSetQuantityOnAfterWhseItemTrackingLineSetFilters | (var Record Whse. Item Tracking Line, var Record Posted Whse. Receipt Line) | 18-28 | - | - |
| Integration event | OnSetQuantityOnAfterFindWhseItemTrackingLine | (var Record Whse. Item Tracking Line, var Record Posted Whse. Receipt Line) | 18-28 | - | - |
| Integration event | OnBeforeSortWhseDocsForPrints | (Option, var Code[20], var Code[20], Enum Whse. Activity Sorting Method, Boolean, var Boolean) | 19-28 | - | - |
| Integration event | OnPostedWhseReceiptLineOnAfterGetRecordOnBeforeGetWhseItemTrkgSetup | (Record Whse. Worksheet Line, Record Posted Whse. Receipt Line, var Boolean) | 20-28 | - | - |
| Integration event | OnAfterSetAssemblyOrder | (var Record Assembly Header, var Enum Whse. Activity Sorting Method) | 21-28 | - | - |
| Integration event | OnAfterSetJob | (var Record Job, var Enum Whse. Activity Sorting Method) | 21-28 | - | - |
| Integration event | OnBeforeOnPreDataItemAssemblyLine | (var Record Assembly Header, Boolean, var Boolean) | 22-28 | - | - |
| Integration event | OnBeforeCreateMovementLines | (var Record Whse. Worksheet Line, var Decimal, var Decimal, var Boolean) | 22-28 | - | - |
| Integration event | OnPreDataItemJobPlanningLineOnAfterSetFilters | (var Record Job Planning Line, Record Job) | 23-28 | - | - |
| Integration event | OnAfterPostReport | (Code[20], Code[20], var Record Warehouse Activity Header, Report Whse.-Source - Create Document) | 26-28 | - | - |
| Integration event | OnPostReportOnBeforeCreateWarehouseDocument | (Report Whse.-Source - Create Document, Record Whse. Item Tracking Line, var Codeunit Item Tracking Management, var Codeunit Create Pick, var Codeunit Create Put-away, Option, var Text, var Code[20], var Code[20], var Boolean) | 26-28 | - | - |
| Integration event | OnPostReportOnBeforeDeleteBlankBinContent | (Report Whse.-Source - Create Document, var Record Warehouse Activity Header, var Enum Whse. Activity Sorting Method, var Boolean) | 26-28 | - | - |
| Integration event | OnCreatePutAwayFromDiffSourceOnBeforeProcessCreatePutAway | (Report Whse.-Source - Create Document, Record Posted Whse. Receipt Line, var Record Posted Whse. Receipt Line, var Codeunit Create Put-away, var Boolean) | 26-28 | - | - |
| Integration event | OnAfterProdOrderComponentOnPreDataItem | (var Record Prod. Order Component) | 26 | - | - |
| Integration event | OnCreatePutawayFromProduction | (var Record Whse. Worksheet Line, Integer, var Boolean, var Decimal) | 27-28 | - | - |
| Integration event | OnAfterCreatePutawaySetValues | (Code[50], Enum Whse. Activity Sorting Method, Boolean, Boolean) | 27-28 | - | - |
| Integration event | OnGetProductionMessageText | (var Text) | 27-28 | - | - |
| Integration event | OnAfterCreatePutawayGetWhseActivHeaderNo | (var Code[20], var Code[20]) | 27-28 | - | - |
| Integration event | OnAfterGetHeaderLocationCode | (Option, var Code[10]) | 28 | - | - |
| Integration event | OnCreatePutAwayFromDiffSourceOnAfterSplitPerSourceType | (var Record Posted Whse. Receipt Line, var Record Posted Whse. Receipt Line, Integer) | 28 | - | - |
| Integration event | OnPostReportOnAfterSetWhseActivHeaderTypeFilter | (var Record Warehouse Activity Header, Option) | 28 | - | - |

## Source

Symbols: Microsoft.BaseApplication.symbols.437dbf0e-84ff-417a-965d-ed2bb9650972, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-09-20.
AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at a66254c3b8b5bb1cea290dc8f9d097aec4381153.

Jonas Paprotka, 2026-09-20.
