---
id: object/table/7338
type: object
title: Table 7338 "Bin Creation Worksheet Line"
summary: Table 7338 "Bin Creation Worksheet Line" in Base Application (Microsoft.Warehouse.Structure). 26 fields, 11 public procedures, 4 events. Present since at least BC23, still in BC30, changed in BC24, BC28.
tier: official
language: en
tags:
  - table
  - base application
versions:
  introduced: null
  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: 3e352335282990c73ae8305315c1dd44be66d27c198a2fb9262e8807b1d89350
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Warehouse/Structure/BinCreationWorksheetLine.Table.al
    title: src/Layers/W1/BaseApp/Warehouse/Structure/BinCreationWorksheetLine.Table.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn:
    - https://learn.microsoft.com/dynamics365/business-central/warehouse-how-to-assign-default-bins-to-items
    - https://learn.microsoft.com/dynamics365/business-central/warehouse-how-to-create-individual-bins
  objects: []
  features: []
  topics:
    - topic/business-central/business-functionality/set-up-business-central/set-up-warehouse-management
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: table
object_id: 7338
name: Bin Creation Worksheet Line
namespace: Microsoft.Warehouse.Structure
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "24"
  - "28"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 26
  procedures: 23
  events: 4
  subscribers: 0
relations:
  out: 12
  referenced_by: 1
  pages: 2
  extended_by: 0
  event_subscribers: 0
  calls: 2
  called_by: 0
  implements: 0
---

# Table 7338 "Bin Creation Worksheet Line"

> Table 7338 "Bin Creation Worksheet Line" in Base Application (Microsoft.Warehouse.Structure). 26 fields, 11 public procedures, 4 events. Present since at least BC23, still in BC30, changed in BC24, BC28.

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

Learn documents this table through its pages: [Page 7371 "Bin Content Creation Worksheet"](../page/7371.md) (2 Learn pages), [Page 7372 "Bin Creation Worksheet"](../page/7372.md) (1).

## Properties

| Property | Value |
|---|---|
| Caption | Bin Creation Worksheet Line |
| DataClassification | CustomerContent |

## Fields

Explanation: the field's ToolTip in the code; without one, the ToolTip of a page control bound to the field (marked via the page); without that, its Caption (marked caption) when that differs from the name.

| No. | Name | Type | Explanation | Notes |
|---|---|---|---|---|
| 1 | Worksheet Template Name | Code[10] | — | TableRelation [Table 7336 "Bin Creation Wksh. Template"](../table/7336.md) ("Bin Creation Wksh. Template".Name where(Type = field(Type))) |
| 2 | Name | Code[10] | — | TableRelation [Table 7337 "Bin Creation Wksh. Name"](../table/7337.md) ("Bin Creation Wksh. Name".Name where("Worksheet Template Name" = field("Worksheet Template Name"))) |
| 3 | Line No. | Integer | — |  |
| 4 | Type | Option | — | OptionCaption: Bin,Bin Content |
| 5 | Location Code | Code[10] | — | TableRelation [Table 14 "Location"](../table/14.md) (Location where("Bin Mandatory" = const(true))); NotBlank |
| 6 | Zone Code | Code[10] | Specifies the code of the zone where the bin on the worksheet will be located. | TableRelation [Table 7300 "Zone"](../table/7300.md) (Zone.Code where("Location Code" = field("Location Code"))) |
| 7 | Bin Code | Code[20] | Specifies the bin where the items are picked or put away. | TableRelation [Table 7354 "Bin"](../table/7354.md) (Bin.Code where("Location Code" = field("Location Code"))); NotBlank |
| 8 | Item No. | Code[20] | Specifies the item number for which bin content should be created. | TableRelation [Table 27 "Item"](../table/27.md); NotBlank |
| 9 | Description | Text[100] | Specifies the description for the bin that should be created. |  |
| 10 | Bin Type Code | Code[10] | Specifies the bin type or bin content that should be created. | TableRelation [Table 7303 "Bin Type"](../table/7303.md) (Bin Type) |
| 11 | Warehouse Class Code | Code[10] | Specifies the warehouse class of the bin or bin content that should be created. | TableRelation [Table 7304 "Warehouse Class"](../table/7304.md) (Warehouse Class) |
| 12 | Block Movement | Option | Specifies how the movement of a particular item, or bin content, into or out of this bin, is blocked. | OptionCaption: ,Inbound,Outbound,All |
| 15 | Min. Qty. | Decimal | Specifies the minimum quantity for the bin content that should be created. |  |
| 16 | Max. Qty. | Decimal | Specifies the maximum quantity for the bin content that should be created. |  |
| 20 | Special Equipment Code | Code[10] | Specifies the special equipment code of the bin or bin content that should be created. | TableRelation [Table 7305 "Special Equipment"](../table/7305.md) (Special Equipment) |
| 21 | Bin Ranking | Integer | Specifies the ranking of the bin or bin content that should be created. |  |
| 22 | Maximum Cubage | Decimal | Specifies the maximum cubage of the bin that should be created. |  |
| 23 | Maximum Weight | Decimal | Specifies the maximum weight of the bin that should be created. |  |
| 37 | Fixed | Boolean | Specifies whether the bin content that is to be created will be fixed for the item. |  |
| 38 | Default | Boolean | Specifies if the bin is to be the default bin for the item on the bin worksheet line. |  |
| 40 | Cross-Dock Bin | Boolean | Specifies new cross-dock bins. |  |
| 67 | User ID | Code[50] | — | TableRelation User."User Name"; not editable; DataClassification EndUserIdentifiableInformation |
| 5402 | Variant Code | Code[10] | Specifies the variant of the item on the line. | TableRelation [Table 5401 "Item Variant"](../table/5401.md) ("Item Variant".Code where("Item No." = field("Item No."))) |
| 5404 | Qty. per Unit of Measure | Decimal | — | not editable |
| 5407 | Unit of Measure Code | Code[10] | Specifies how each unit of the item or resource is measured, such as in pieces or hours. By default, the value in the Base Unit of Measure field on the item or resource card is inserted. | TableRelation [Table 5404 "Item Unit of Measure"](../table/5404.md) ("Item Unit of Measure".Code where("Item No." = field("Item No."))); NotBlank |
| 5408 | Dedicated | Boolean | — |  |

## Keys

- Key1: Worksheet Template Name, Name, Location Code, Line No. (clustered)
- Key2: Location Code, Zone Code, Bin Code, Item No., Variant Code

## Events published

- `OnAfterGetUnitOfMeasureDescr(UOMCode: Code[10]; var UOMDescription: Text[50])` (integration)
- `OnBeforeBinCreateWkshTemplateSetPageIDFilter(var BinCreateWkshTemplate: Record "Bin Creation Wksh. Template"; var IsHandled: Boolean)` (integration)
- `OnBeforeCheckMaxQtyBinContent(var BinCreationWorksheetLine: Record "Bin Creation Worksheet Line"; CheckWeight: Boolean; var IsHandled: Boolean)` (integration)
- `OnBeforeCheckName(var WkshName: Code[10]; var LocationCode: Code[10]; var IsHandled: Boolean)` (integration)

## Procedures

- `EmptyLine(): Boolean`
- `SetUpNewLine(CurrentWkshTemplateName: Code[10])`
- `TemplateSelection(PageID: Integer; PageTemplate: Option; var BinCreateWkshLine: Record "Bin Creation Worksheet Line"; var WkshSelected: Boolean)`
- `TemplateSelectionFromBatch(var BinCreateWkshName: Record "Bin Creation Wksh. Name")`
- `OpenWksh(var CurrentWkshName: Code[10]; var CurrentLocationCode: Code[10]; var BinCreateWkshLine: Record "Bin Creation Worksheet Line")`
- `OpenWkshBatch(var BinCreateWkshName: Record "Bin Creation Wksh. Name")`
- `CheckName(CurrentWkshName: Code[10]; CurrentLocationCode: Code[10]; var BinCreateWkshLine: Record "Bin Creation Worksheet Line")`
- `SetName(CurrentWkshName: Code[10]; CurrentLocationCode: Code[10]; var BinCreateWkshLine: Record "Bin Creation Worksheet Line")`
- `LookupBinCreationName(var CurrentWkshName: Code[10]; var CurrentLocationCode: Code[10]; var BinCreateWkshLine: Record "Bin Creation Worksheet Line")`
- `GetItemDescr(ItemNo: Code[20]; VariantCode: Code[10]; var ItemDescription: Text[100])`
- `GetUnitOfMeasureDescr(UOMCode: Code[10]; var UOMDescription: Text[50])`

Plus 8 local procedures.

## Triggers

OnInsert, OnModify

## Relations

- lookup page [Page 7372 "Bin Creation Worksheet"](../page/7372.md)
- Location Code: TableRelation [Table 14 "Location"](../table/14.md)
- Item No.: TableRelation [Table 27 "Item"](../table/27.md)
- Variant Code: TableRelation [Table 5401 "Item Variant"](../table/5401.md)
- Unit of Measure Code: TableRelation [Table 5404 "Item Unit of Measure"](../table/5404.md)
- Zone Code: TableRelation [Table 7300 "Zone"](../table/7300.md)
- Bin Type Code: TableRelation [Table 7303 "Bin Type"](../table/7303.md)
- Warehouse Class Code: TableRelation [Table 7304 "Warehouse Class"](../table/7304.md)
- Special Equipment Code: TableRelation [Table 7305 "Special Equipment"](../table/7305.md)
- Worksheet Template Name: TableRelation [Table 7336 "Bin Creation Wksh. Template"](../table/7336.md)
- Name: TableRelation [Table 7337 "Bin Creation Wksh. Name"](../table/7337.md)
- Bin Code: TableRelation [Table 7354 "Bin"](../table/7354.md)

## Referenced by

1 fields in 1 objects relate to this table (TableRelation or CalcFormula).

- [Table 7337 "Bin Creation Wksh. Name"](../table/7337.md): No. of Lines

## Pages and codeunits on this table

- [Page 7371 "Bin Content Creation Worksheet"](../page/7371.md) (source table)
- [Page 7372 "Bin Creation Worksheet"](../page/7372.md) (source table)
- [Codeunit 7318 "Bin Create"](../codeunit/7318.md) (codeunit runs on it)
- [Codeunit 7319 "Bin Content Create"](../codeunit/7319.md) (codeunit runs on it)

## 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 7302 "WMS Management"](../codeunit/7302.md) (3 calls: `CheckMaxQtyBinContent → CalcCubageAndWeight`, `CheckTemplateName → GetWMSLocation`, `OpenWksh → CheckUserIsWhseEmployee`)
- [Page 7373 "Bin Creation Wksh. Name List"](../page/7373.md) (1 call: `LookupBinCreationName → (object)`)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: BC24, 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: "table", object_name: "Bin Creation Worksheet Line")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
