---
id: object/table/387
type: object
title: Table 387 "Allocation Policy"
summary: Table 387 "Allocation Policy" in Base Application (Microsoft.Inventory.Tracking). 3 fields, 2 public procedures. 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: 4bd77375b6c68a246f64260a5d526d7bbc89abb3f61649fa17fc0d05ea239cc8
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Inventory/Tracking/AllocationPolicy.Table.al
    title: src/Layers/W1/BaseApp/Inventory/Tracking/AllocationPolicy.Table.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: table
object_id: 387
name: Allocation Policy
namespace: Microsoft.Inventory.Tracking
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: 3
  procedures: 2
  events: 0
  subscribers: 0
relations:
  out: 2
  referenced_by: 0
  pages: 1
  extended_by: 0
  event_subscribers: 0
  calls: 0
  called_by: 0
  implements: 0
---

# Table 387 "Allocation Policy"

> Table 387 "Allocation Policy" in Base Application (Microsoft.Inventory.Tracking). 3 fields, 2 public procedures. Present since at least BC23, still in BC30, changed in BC24, BC28.

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

## Properties

| Property | Value |
|---|---|
| Caption | Allocation Policy |
| DataClassification | CustomerContent |
| LookupPageId | Allocation Policies |

## 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 | Journal Batch Name | Text[10] | — | TableRelation [Table 345 "Reservation Wksh. Batch"](../table/345.md) (Reservation Wksh. Batch) |
| 2 | Line No. | Integer | Specifies the step number of the allocation policy. |  |
| 3 | Allocation Rule | Enum "Allocation Rules Impl." | Specifies the name of the allocation policy. Click or tap the AssistEdit button to see an example of how the allocation policy will be applied. | enum [Enum 300 "Allocation Rules Impl."](../enum/300.md); NotBlank |

## Keys

- Key1: Journal Batch Name, Line No. (clustered)

## Procedures

- `GetAllocationPolicyDescription(): Text`
- `GetNextLineNo(): Integer`

## Relations

- lookup page [Page 316 "Allocation Policies"](../page/316.md)
- Journal Batch Name: TableRelation [Table 345 "Reservation Wksh. Batch"](../table/345.md)

## Pages and codeunits on this table

- [Page 316 "Allocation Policies"](../page/316.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: "Allocation Policy")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
