---
id: object/codeunit/99000893
type: object
title: Codeunit 99000893 "Mfg. Create Put-away"
summary: Codeunit 99000893 "Mfg. Create Put-away" in Base Application (Microsoft.Warehouse.Activity). 15 public procedures, 29 events. Introduced in BC27, still in BC30, changed in BC28.
tier: official
language: en
tags:
  - codeunit
  - base application
versions:
  introduced: "27"
  last_changed: "28"
  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: c9b647e28e774999f692cf2f77c24332f29172785d9c7f163acfae6f4aa3c68f
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Manufacturing/Warehouse/Activity/MfgCreatePutaway.Codeunit.al
    title: src/Layers/W1/BaseApp/Manufacturing/Warehouse/Activity/MfgCreatePutaway.Codeunit.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes:
    - change/bcapps/12066
object_type: codeunit
object_id: 99000893
name: Mfg. Create Put-away
namespace: Microsoft.Warehouse.Activity
app: Base Application
extends: null
first_version: "27"
last_version: "30"
present_in:
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "28"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 84
  events: 29
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 7
  called_by: 3
  implements: 0
---

# Codeunit 99000893 "Mfg. Create Put-away"

> Codeunit 99000893 "Mfg. Create Put-away" in Base Application (Microsoft.Warehouse.Activity). 15 public procedures, 29 events. Introduced in BC27, still in BC30, changed in BC28.

Base Application · Microsoft.Warehouse.Activity · BC27-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Manufacturing/Warehouse/Activity/MfgCreatePutaway.Codeunit.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Permissions | tabledata "Production Order" = rm, tabledata "Prod. Order Line" = rm |

## Events published

- `OnAfterGetItemAndSKU(Location: Record Location; var Item: Record Item; var StockkeepingUnit: Record "Stockkeeping Unit")` (integration)
- `OnAfterGetLocation(LocationCode: Code[10]; var Location: Record Location; var PostedWhseRcptLine: Record "Posted Whse. Receipt Line")` (integration)
- `OnAfterGetMessageText(var MessageText: Text)` (integration)
- `OnAfterGetWhseActivHeaderNo(var FirstPutAwayNo: Code[20]; var LastPutAwayNo: Code[20])` (integration)
- `OnAfterSetValues(var AssignedID: Code[50]; var SortActivity: Enum "Whse. Activity Sorting Method"; var DoNotFillQtytoHandle: Boolean; var BreakbulkFilter: Boolean)` (integration)
- `OnBeforeAssignQtyToPutAwayForBinMandatory(Item: Record Item; Location: Record Location; var QtyToPutAwayBase: Decimal; var RemQtyToPutAwayBase: Decimal)` (integration)
- `OnBeforeCalcAvailCubageAndWeight(var Bin: Record Bin; PostedWhseReceiptLine: Record "Posted Whse. Receipt Line"; PutAwayItemUOM: Record "Item Unit of Measure"; var QtyToPutAwayBase: Decimal; var IsHandled: Boolean; PutAwayTemplLine: Record "Put-away Template Line")` (integration)
- `OnBeforeEverythingIsHandled(var EverythingHandled: Boolean)` (integration)
- `OnBeforeGetPutAwayTemplate(SKU: Record "Stockkeeping Unit"; Item: Record Item; Location: Record Location; var PutAwayTemplHeader: Record "Put-away Template Header"; var IsHandled: Boolean)` (integration)
- `OnBeforeGetFirstPutAwayDocument(var TempWarehouseActivityHeader: Record "Warehouse Activity Header" temporary)` (integration)
- `OnBeforeGetNextPutAwayDocument(var TempWarehouseActivityHeader: Record "Warehouse Activity Header" temporary)` (integration)
- `OnFindBin(PostedWhseReceiptLine: Record "Posted Whse. Receipt Line"; PutAwayTemplateLine: Record "Put-away Template Line"; var Bin: Record Bin; var BinFound: Boolean; var IsHandled: Boolean)` (integration)
- `OnFindBinContent(PostedWhseReceiptLine: Record "Posted Whse. Receipt Line"; PutAwayTemplateLine: Record "Put-away Template Line"; var BinContent: Record "Bin Content"; var BinContentFound: Boolean; var IsHandled: Boolean)` (integration)
- `OnNextBin(PostedWhseReceiptLine: Record "Posted Whse. Receipt Line"; PutAwayTemplateLine: Record "Put-away Template Line"; var Bin: Record Bin; var BinFound: Boolean; var IsHandled: Boolean)` (integration)
- `OnNextBinContent(PostedWhseReceiptLine: Record "Posted Whse. Receipt Line"; PutAwayTemplateLine: Record "Put-away Template Line"; var BinContent: Record "Bin Content"; var BinContentFound: Boolean; var IsHandled: Boolean)` (integration)
- `OnUpdateTempWhseItemTrkgLines(var TempWhseItemTrackingLine: Record "Whse. Item Tracking Line" temporary; PostedWhseReceiptLine: Record "Posted Whse. Receipt Line")` (integration)
- `OnCalcAvailCubageAndWeightOnBeforeCalcCubageAndWeight(var Bin: Record Bin; var AvailPerCubageBase: Decimal; var AvailPerWeightBase: Decimal; var IsHandled: Boolean)` (integration)
- `OnBeforeCreateWhsePutAwayForProdOutput(var TempProductionOrderForWhsePutAwayForProdOutput: Record "Production Order" temporary)` (integration)
- `OnBeforeFindBinFromBinContentForProdOrderLine(ProdOrderLine: Record "Prod. Order Line"; var TempProdOrdLineTrackingBuff: Record "Prod. Ord. Line Tracking Buff." temporary; var BinContentQtyBase: Decimal)` (integration)
- `OnBeforeFindBinForProdOrderLine(ProdOrderLine: Record "Prod. Order Line"; var TempProdOrdLineTrackingBuff: Record "Prod. Ord. Line Tracking Buff." temporary; var BinContentQtyBase: Decimal)` (integration)
- `OnBeforeCreateWhsePutAwayForProdOrder(var ProductionOrder: Record "Production Order")` (integration)
- `OnCreateNewWhseActivityForProdOrderLineOnBeforeValidateQuantity(var WarehouseActivityLine: Record "Warehouse Activity Line"; ProdOrderLine: Record "Prod. Order Line"; var TempProdOrdLineTrackingBuff: Record "Prod. Ord. Line Tracking Buff." temporary)` (integration)
- `OnCreateNewWhseActivityForProdOrderLineOnAfterSetQtyToHandle(var WarehouseActivityLine: Record "Warehouse Activity Line"; ProdOrderLine: Record "Prod. Order Line"; var TempProdOrdLineTrackingBuff: Record "Prod. Ord. Line Tracking Buff." temporary; DoNotFillQtytoHandle: Boolean)` (integration)
- `OnCreateNewWhseActivityForProdOrderLineOnBeforeWarehouseActivityLineInsert(var WarehouseActivityLine: Record "Warehouse Activity Line"; ProdOrderLine: Record "Prod. Order Line"; var TempProdOrdLineTrackingBuff: Record "Prod. Ord. Line Tracking Buff." temporary)` (integration)
- `OnAfterCreateNewWhseActivityForProdOrderLine(var WarehouseActivityLine: Record "Warehouse Activity Line"; ProdOrderLine: Record "Prod. Order Line"; var TempProdOrdLineTrackingBuff: Record "Prod. Ord. Line Tracking Buff." temporary)` (integration)
- `OnBeforeCreateWhsPutAwayForProdOutput(ProdOrderLine: Record "Prod. Order Line"; var TempProdOrdLineTrackingBuff: Record "Prod. Ord. Line Tracking Buff." temporary)` (integration)
- `OnAfterCreateWhsePutAwayForProdOutput(ProdOrderLine: Record "Prod. Order Line"; var TempProdOrdLineTrackingBuff: Record "Prod. Ord. Line Tracking Buff." temporary; var WarehouseActivityHeader: Record "Warehouse Activity Header"; var WarehouseActivityLine: Record "Warehouse Activity Line"; QtyToPickBase: Decimal)` (integration)
- `OnBeforeGetPutAwayUOMForProdOrderLine(var ItemUnitOfMeasure: Record "Item Unit of Measure"; ProdOrderLine: Record "Prod. Order Line"; var IsHandled: Boolean; var BasePutAwayItemUnitOfMeasure: Record "Item Unit of Measure")` (integration)
- `OnShouldCreateWhsePutAwayForProdOutputOnAfterSetWhsePutAwayRequired(var WhsePutAwayRequired: Boolean; ItemJournalLine: Record "Item Journal Line")` (integration)

## Procedures

- `SetValues(NewAssignedID: Code[50]; NewSortActivity: Enum "Whse. Activity Sorting Method"; NewDoNotFillQtytoHandle: Boolean; BreakbulkFilter2: Boolean)`
- `GetWhseActivHeaderNo(var FirstPutAwayNo: Code[20]; var LastPutAwayNo: Code[20])`
- `EverythingIsHandled(): Boolean`
- `GetFirstPutAwayDocument(var WhseActivHeader: Record "Warehouse Activity Header"): Boolean`
- `GetNextPutAwayDocument(var WhseActivHeader: Record "Warehouse Activity Header"): Boolean`
- `GetMessageText(var ErrorText: Text)`
- `UpdateTempWhseItemTrkgLines(PostedWhseRcptLine: Record "Posted Whse. Receipt Line"; SourceType: Integer)`
- `DeleteBlankBinContent(WarehouseActivityHeader: Record "Warehouse Activity Header")` (internal)
- `IncludeIntoWhsePutAwayForProdOrder(ItemJournalLine: Record "Item Journal Line")` (internal)
- `CreateWhsePutAwayForProdOutput()` (internal)
- `SetCalledFromPutAwayWorksheet(NewCalledFromPutAwayWorksheet: Boolean)`
- `CreateWhsePutAwayForProdOrderOutputLine(ProdOrderLine: Record "Prod. Order Line")`
- `ShouldCreateWhsePutAwayForProdOutput(ItemJournalLine: Record "Item Journal Line"): Boolean`
- `CreateWhsePutAwayForProdOrder(var ProductionOrder: Record "Production Order")` (internal)
- `CreateBinContentForProdOrderOutputLine(ProdOrderLine: Record "Prod. Order Line")` (internal)

Plus 40 local procedures.

## 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 7350 "Mfg. Put Away Helper"](../codeunit/7350.md) (4 calls: `CreateWhsePutAwayForProdOrder → CanCreateProdWhsePutAway`, `ProcessWhsePutAwayForProdOrderFromItemJnlLine → FindProdOrderLine`, `ShouldCreateWhsePutAwayForProdOutput → CreateWhsePutAwayRequestForProdOutput`, …)
- [Codeunit 6500 "Item Tracking Management"](../codeunit/6500.md) (2 calls: `CreateWhsePutAwayForProdOrderOutputLine → GetWhseItemTrkgSetup`, `CreateWhsePutAwayForProdOrderOutputLine → InitItemTrackingForTempWhseWorksheetLine`)
- [Codeunit 5402 "Unit of Measure Management"](../codeunit/5402.md) (1 call: `CreateNewWhseActivityForProdOrderLine → RoundQty`)
- [Codeunit 5996 "Prod. Order Warehouse Mgt."](../codeunit/5996.md) (1 call: `CreateNewWhseActivityForProdOrderLine → TransferFromOutputLine`)
- [Codeunit 7302 "WMS Management"](../codeunit/7302.md) (1 call: `CreateWhsePutAwayForProdOutputFromDefaultBin → GetDefaultBin`)
- [Codeunit 8703 "Feature Telemetry"](../codeunit/8703.md) (1 call: `CreateWhsePutAwayForProdOutputFromDefaultBin → LogUsage`)
- [Codeunit 99000891 "Mfg. Item Tracking Mgt."](../codeunit/99000891.md) (1 call: `CreateWhsePutAwayForProdOrderOutputLine → SplitProdOrderLineForOutputPutAway`)

## Called by

- [Codeunit 99000984 "Mfg. WhseSourceCreateDocument"](../codeunit/99000984.md) (7 calls: `OnAfterCreatePutAwayDeleteBlankBinContent → DeleteBlankBinContent`, `OnAfterCreatePutawayGetWhseActivHeaderNo → GetWhseActivHeaderNo`, `OnAfterCreatePutawaySetValues → SetValues`, …)
- [Codeunit 5407 "Prod. Order Status Management"](../codeunit/5407.md) (2 calls: `HandleWhsePutAwayForProdOutput → CreateWhsePutAwayForProdOrderOutputLine`, `HandleWhsePutAwayForProdOutput → ShouldCreateWhsePutAwayForProdOutput`)
- [Codeunit 99000823 "Mfg. Item Jnl.-Post Batch"](../codeunit/99000823.md) (2 calls: `HandleWhsePutAwayForProdOutput → IncludeIntoWhsePutAwayForProdOrder`, `OnAfterPostLines → CreateWhsePutAwayForProdOutput`)

## Recent changes

- 2026-10-02 [#12066 Bugs/remove asm inv mfg clean27 tags for wave2 2026](../../changes/bcapps/12066.md) (main, BC30, obsoletion)

## Across versions

- Present in: BC27-30
- Changed (declaration) in: BC28

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: "codeunit", object_name: "Mfg. Create Put-away")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
