---
id: object/table/5765
type: object
title: Table 5765 "Warehouse Request"
summary: Table 5765 "Warehouse Request" in Base Application (Microsoft.Warehouse.Request). 18 fields, 3 public procedures, 2 events. Present since at least BC23, still in BC30, changed in BC24, BC26, BC28-29.
tier: official
language: en
tags:
  - table
  - base application
versions:
  introduced: null
  last_changed: "29"
  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: ca6c8c6d39a0da3c46944dad7fd564dbd2dd3b7ae25bf1f951109313f5d478fc
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Warehouse/Request/WarehouseRequest.Table.al
    title: src/Layers/W1/BaseApp/Warehouse/Request/WarehouseRequest.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: 5765
name: Warehouse Request
namespace: Microsoft.Warehouse.Request
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "24"
  - "26"
  - "28"
  - "29"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 18
  procedures: 5
  events: 2
  subscribers: 0
relations:
  out: 12
  referenced_by: 0
  pages: 1
  extended_by: 2
  event_subscribers: 5
  calls: 0
  called_by: 0
  implements: 0
---

# Table 5765 "Warehouse Request"

> Table 5765 "Warehouse Request" in Base Application (Microsoft.Warehouse.Request). 18 fields, 3 public procedures, 2 events. Present since at least BC23, still in BC30, changed in BC24, BC26, BC28-29.

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

## Properties

| Property | Value |
|---|---|
| Caption | Warehouse Request |
| 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 | Source Type | Integer | — | not editable |
| 2 | Source Subtype | Option | — | OptionCaption: 0,1,2,3,4,5,6,7,8,9,10; not editable |
| 3 | Source No. | Code[20] | Specifies the number of the source document that the entry originates from. | TableRelation [Table 36 "Sales Header"](../table/36.md) (if ("Source Document" = const("Sales Order")) "Sales Header"."No." where("Document Type" = const(Order), "No." = field("Source No.")) else if ("Source Document" = const("Sales Return Order")) "Sales Header"."No." where("Document Type" = const("Return Order"), "No." = field("Source No.")) else if ("S...); not editable |
| 4 | Source Document | Enum "Warehouse Request Source Document" | Specifies the type of document that the line relates to. | enum [Enum 5770 "Warehouse Request Source Document"](../enum/5770.md); not editable |
| 5 | Document Status | Option | — | OptionCaption: Open,Released; not editable |
| 6 | Location Code | Code[10] | Specifies the location code to which the request line is linked. | TableRelation [Table 14 "Location"](../table/14.md); not editable |
| 7 | Shipment Method Code | Code[10] | Specifies the delivery conditions of the related shipment, such as free on board (FOB). | TableRelation [Table 10 "Shipment Method"](../table/10.md) (Shipment Method); not editable |
| 8 | Shipping Agent Code | Code[10] | Specifies the code for the shipping agent who is transporting the items. | TableRelation [Table 291 "Shipping Agent"](../table/291.md) (Shipping Agent); not editable |
| 9 | Shipping Agent Service Code | Code[10] | — | TableRelation [Table 5790 "Shipping Agent Services"](../table/5790.md) (Shipping Agent Services); not editable |
| 10 | Shipping Advice | Enum "Sales Header Shipping Advice" | Specifies the shipping advice, which informs whether partial deliveries are acceptable. | enum [Enum 3657 "Sales Header Shipping Advice"](../enum/3657.md); not editable |
| 11 | Destination Type | enum "Warehouse Destination Type" | Specifies whether the type of destination associated with the warehouse request is a customer or a vendor. | enum [Enum 7310 "Warehouse Destination Type"](../enum/7310.md) |
| 12 | Destination No. | Code[20] | Specifies the number or code of the customer or vendor related to the warehouse request. | TableRelation [Table 14 "Location"](../table/14.md), [Table 18 "Customer"](../table/18.md), [Table 23 "Vendor"](../table/23.md) (if ("Destination Type" = const(Vendor)) Vendor else if ("Destination Type" = const(Customer)) Customer else if ("Destination Type" = const(Location)) Location else if ("Destination Type" = const(Item)) Item else if ("Destination Type" = const("Sales Order")) "Sales Header"."No." where("Document Type...) |
| 13 | External Document No. | Code[35] | Specifies a document number that refers to the customer's or vendor's numbering system. |  |
| 14 | Expected Receipt Date | Date | Specifies the date when receipt of the items is expected. |  |
| 15 | Shipment Date | Date | Specifies when items on the document are shipped or were shipped. A shipment date is usually calculated from a requested delivery date plus lead time. |  |
| 19 | Type | Enum "Warehouse Request Type" | — | enum [Enum 5771 "Warehouse Request Type"](../enum/5771.md); not editable |
| 20 | Put-away / Pick No. | Code[20] | Specifies the number of the inventory put-away or pick that was created from this warehouse request. | FlowField: lookup("Warehouse Activity Line"."No." where("Source Type" = field("Source Type"), "Source Subtype" = field("Source Subtype"), "Source No." = field("Source No."), "Location Code" = field("Location Code"))); not editable |
| 41 | Completely Handled | Boolean | — |  |

## Keys

- Key1: Type, Location Code, Source Type, Source Subtype, Source No. (clustered)
- Key2: Source Type, Source Subtype, Source No.
- Key3: Source Type, Source No.
- Key4: Source Document, Source No.
- Key5: Type, Location Code, Completely Handled, Document Status, Expected Receipt Date, Shipment Date, Source Document, Source No.
- Key6: Source No., Source Subtype, Source Type, Type, Document Status

## Events published

- `OnAfterDeleteRequest(SourceType: Integer; SourceSubtype: Integer; SourceNo: Code[20])` (integration)
- `OnShowSourceDocumentCard(var WarehouseRequest: Record "Warehouse Request")` (integration)
  - subscribers: [Codeunit 5991 "Sales Warehouse Mgt."](../codeunit/5991.md) OnShowSourceDocumentCard, [Codeunit 5992 "Purchases Warehouse Mgt."](../codeunit/5992.md) OnShowSourceDocumentCard, [Codeunit 5993 "Transfer Warehouse Mgt."](../codeunit/5993.md) OnShowSourceDocumentCard, [Codeunit 5995 "Service Warehouse Mgt."](../codeunit/5995.md) OnShowSourceDocumentCard, [Codeunit 5996 "Prod. Order Warehouse Mgt."](../codeunit/5996.md) OnShowSourceDocumentCard

## Procedures

- `DeleteRequest(SourceType: Integer; SourceSubtype: Integer; SourceNo: Code[20])`
- `SetSourceFilter(SourceType: Integer; SourceSubtype: Integer; SourceNo: Code[20])`
- `ShowSourceDocumentCard()`

## Relations

- lookup page [Page 5793 "Source Documents"](../page/5793.md)
- Shipment Method Code: TableRelation [Table 10 "Shipment Method"](../table/10.md)
- Destination No.: TableRelation [Table 14 "Location"](../table/14.md) (conditional)
- Location Code: TableRelation [Table 14 "Location"](../table/14.md)
- Destination No.: TableRelation [Table 18 "Customer"](../table/18.md) (conditional)
- Destination No.: TableRelation [Table 23 "Vendor"](../table/23.md) (conditional)
- Destination No.: TableRelation [Table 27 "Item"](../table/27.md) (conditional)
- Shipping Agent Code: TableRelation [Table 291 "Shipping Agent"](../table/291.md)
- Destination No.: TableRelation [Table 36 "Sales Header"](../table/36.md) (conditional)
- Source No.: TableRelation [Table 36 "Sales Header"](../table/36.md) (conditional)
- Put-away / Pick No.: CalcFormula [Table 5767 "Warehouse Activity Line"](../table/5767.md)
- Shipping Agent Service Code: TableRelation [Table 5790 "Shipping Agent Services"](../table/5790.md)

## Pages and codeunits on this table

- [Page 5793 "Source Documents"](../page/5793.md) (source table)

## Extended by

- [Table extension 903 "Asm. Warehouse Request"](../tableextension/903.md)
- [Table extension 99000780 "Mfg. Warehouse Request"](../tableextension/99000780.md)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: BC24, BC26, BC28-29

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