---
id: object/table/7335
type: object
title: Table 7335 "Bin Template"
summary: Table 7335 "Bin Template" in Base Application (Microsoft.Warehouse.Structure). 13 fields, 1 public procedures, 1 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: 8dd35fad090a9ecf8c9c3e1a1fd5f4ec4c4b086c65f51a68c0242b05bb12cc34
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Warehouse/Structure/BinTemplate.Table.al
    title: src/Layers/W1/BaseApp/Warehouse/Structure/BinTemplate.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-set-up-bin-types
  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: 7335
name: Bin Template
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: 13
  procedures: 4
  events: 1
  subscribers: 0
relations:
  out: 6
  referenced_by: 0
  pages: 1
  extended_by: 0
  event_subscribers: 0
  calls: 0
  called_by: 0
  implements: 0
---

# Table 7335 "Bin Template"

> Table 7335 "Bin Template" in Base Application (Microsoft.Warehouse.Structure). 13 fields, 1 public procedures, 1 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/BinTemplate.Table.al) · facts from BC29

Learn documents this table through its pages: [Page 7367 "Bin Templates"](../page/7367.md) (1 Learn page).

## Properties

| Property | Value |
|---|---|
| Caption | Bin Template |
| 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 | Code | Code[20] | Specifies a code for the bin template. | NotBlank |
| 2 | Description | Text[100] | Specifies a description for the bin creation template. |  |
| 4 | Location Code | Code[10] | Specifies the location code that will apply to all the bins set up with this bin template. | TableRelation [Table 14 "Location"](../table/14.md) (Location where("Bin Mandatory" = const(true))); NotBlank |
| 5 | Bin Description | Text[50] | Specifies a description of the bins that are set up using the bin template. |  |
| 6 | Zone Code | Code[10] | Specifies the code of the zone where the bins created by this template are located. | TableRelation [Table 7300 "Zone"](../table/7300.md) (Zone.Code where("Location Code" = field("Location Code"))) |
| 10 | Bin Type Code | Code[10] | Specifies a bin type code that will be copied to all bins created using the template. | TableRelation [Table 7303 "Bin Type"](../table/7303.md) (Bin Type) |
| 11 | Warehouse Class Code | Code[10] | Specifies a warehouse class code that will be copied to all bins created using the template. | 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 |
| 20 | Special Equipment Code | Code[10] | Specifies a special equipment code that will be copied to all bins created using the template. | TableRelation [Table 7305 "Special Equipment"](../table/7305.md) (Special Equipment) |
| 21 | Bin Ranking | Integer | Specifies the bin ranking that will be copied to all bins created using the template. |  |
| 22 | Maximum Cubage | Decimal | Specifies the maximum cubage that will be copied to all bins that are created using the template. |  |
| 23 | Maximum Weight | Decimal | Specifies the maximum weight that will be copied to all bins that are created using the template. |  |
| 24 | Dedicated | Boolean | — |  |

## Keys

- Key1: Code (clustered)

## Events published

- `OnBeforeSetUpNewLine(BinTemplate: Record "Bin Template"; var IsHandled: Boolean)` (integration)

## Procedures

- `SetUpNewLine()`

Plus 2 local procedures.

## Triggers

OnInsert, OnModify

## Relations

- lookup page [Page 7367 "Bin Templates"](../page/7367.md)
- Location Code: TableRelation [Table 14 "Location"](../table/14.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)

## Pages and codeunits on this table

- [Page 7367 "Bin Templates"](../page/7367.md) (source table)

## 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). 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 Template")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
