---
id: object/table/5771
type: object
title: Table 5771 "Warehouse Source Filter"
summary: Table 5771 "Warehouse Source Filter" in Base Application (Microsoft.Warehouse.Request). 45 fields, 1 public procedures, 4 events. Present since at least BC23, still in BC30, changed in BC24-26, 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: 67017a53a6c35ed99511ade031c08ce7e2e9a367d862b847c3520ffb7c186564
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Warehouse/Request/WarehouseSourceFilter.Table.al
    title: src/Layers/W1/BaseApp/Warehouse/Request/WarehouseSourceFilter.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: 5771
name: Warehouse Source Filter
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"
  - "25"
  - "26"
  - "28"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 45
  procedures: 9
  events: 4
  subscribers: 0
relations:
  out: 14
  referenced_by: 0
  pages: 2
  extended_by: 2
  event_subscribers: 6
  calls: 0
  called_by: 0
  implements: 0
---

# Table 5771 "Warehouse Source Filter"

> Table 5771 "Warehouse Source Filter" in Base Application (Microsoft.Warehouse.Request). 45 fields, 1 public procedures, 4 events. Present since at least BC23, still in BC30, changed in BC24-26, BC28.

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

## Properties

| Property | Value |
|---|---|
| Caption | Warehouse Source Filter |
| 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[10] | Specifies the code that identifies the filter record. | NotBlank |
| 2 | Description | Text[100] | Specifies the description of filter combinations in the Source Document Filter Card window to retrieve lines from source documents. |  |
| 3 | Item No. Filter | Code[100] | Specifies the item number used to filter the source documents to get. | TableRelation [Table 27 "Item"](../table/27.md) |
| 4 | Variant Code Filter | Code[100] | Specifies the item variant used to filter the source documents to get. | TableRelation [Table 5401 "Item Variant"](../table/5401.md) ("Item Variant".Code) |
| 5 | Unit of Measure Filter | Code[100] | Specifies the unit of measure used to filter the source documents to get. | TableRelation [Table 204 "Unit of Measure"](../table/204.md) (Unit of Measure) |
| 6 | Sell-to Customer No. Filter | Code[100] | Specifies the sell-to customer number used to filter the source documents to get. | TableRelation [Table 18 "Customer"](../table/18.md) |
| 7 | Buy-from Vendor No. Filter | Code[100] | Specifies the buy-from vendor number used to filter the source documents to get. | TableRelation [Table 23 "Vendor"](../table/23.md) |
| 8 | Customer No. Filter | Code[100] | Specifies which customers are included when you use the Filters to Get Source Docs. window to retrieve source document lines. | TableRelation [Table 18 "Customer"](../table/18.md) |
| 10 | Planned Delivery Date Filter | Date | — | FlowFilter |
| 11 | Shipment Method Code Filter | Code[100] | Specifies the shipment method code used to filter the source documents to get. | TableRelation [Table 10 "Shipment Method"](../table/10.md) (Shipment Method) |
| 12 | Shipping Agent Code Filter | Code[100] | Specifies the shipping agent code used to filter the source documents. | TableRelation [Table 291 "Shipping Agent"](../table/291.md) (Shipping Agent) |
| 13 | Shipping Advice Filter | Code[100] | — |  |
| 15 | Do Not Fill Qty. to Handle | Boolean | Specifies that inventory quantities are assigned when you get outbound source document lines for shipment. |  |
| 16 | Show Filter Request | Boolean | Specifies if the Filters to Get Source Docs. window appears when you choose Use Filters to Get Source Docs on a warehouse shipment or receipt. |  |
| 17 | Shipping Agent Service Filter | Code[100] | Specifies the shipping agent service used to filter the source documents. | TableRelation [Table 5790 "Shipping Agent Services"](../table/5790.md) ("Shipping Agent Services".Code) |
| 18 | In-Transit Code Filter | Code[100] | Specifies the in-transit code used to filter the source documents. | TableRelation [Table 14 "Location"](../table/14.md) (Location where("Use As In-Transit" = const(true))) |
| 19 | Transfer-from Code Filter | Code[100] | Specifies the transfer-from code used to filter the source documents. | TableRelation [Table 14 "Location"](../table/14.md) (Location where("Use As In-Transit" = const(false))) |
| 20 | Transfer-to Code Filter | Code[100] | Specifies the transfer-to code used to filter the source documents to get. | TableRelation [Table 14 "Location"](../table/14.md) (Location where("Use As In-Transit" = const(false))) |
| 21 | Planned Shipment Date Filter | Date | — | FlowFilter |
| 22 | Planned Receipt Date Filter | Date | — | FlowFilter |
| 23 | Expected Receipt Date Filter | Date | — | FlowFilter |
| 24 | Shipment Date Filter | Date | Outbound Date Filter <small>caption</small> | FlowFilter |
| 25 | Receipt Date Filter | Date | Inbound Date Filter <small>caption</small> | FlowFilter |
| 28 | Sales Shipment Date Filter | Date | — | FlowFilter |
| 45 | Job No. | Code[20] | Project No. <small>caption</small> | TableRelation [Table 167 "Job"](../table/167.md) |
| 96 | Reserved From Stock | Enum "Reservation From Stock" | Reserved from Stock <small>caption</small> | enum [Enum 342 "Reservation From Stock"](../enum/342.md) |
| 98 | Source No. Filter | Code[100] | Specifies the number, or number range, that is used to filter the source documents to get. |  |
| 99 | Source Document | Code[250] | — |  |
| 100 | Type | Option | — | OptionCaption: Inbound,Outbound |
| 101 | Sales Orders | Boolean | Specifies that sales orders are retrieved when you choose Use Filters to Get Src. Docs in the Warehouse Shipment window. |  |
| 102 | Sales Return Orders | Boolean | Specifies that sales return orders are retrieved when you choose Use Filters to Get Src. Docs in the Warehouse Shipment window. |  |
| 103 | Purchase Orders | Boolean | Specifies that purchase orders are retrieved when you choose Use Filters to Get Src. Docs in the Warehouse Receipt window. |  |
| 104 | Purchase Return Orders | Boolean | Specifies that purchase return orders are retrieved when you choose Use Filters to Get Src. Docs in the Warehouse Shipment window. |  |
| 105 | Inbound Transfers | Boolean | Specifies that inbound transfer orders are retrieved when you choose Use Filters to Get Src. Docs in the Warehouse Receipt. |  |
| 106 | Outbound Transfers | Boolean | Specifies that outbound transfer orders are retrieved when you choose Use Filters to Get Src. Docs in the Warehouse Shipment window. |  |
| 108 | Partial | Boolean | Specifies the Shipping Advice field on sales orders must contain Partial when you choose Use Filters to Get Src. Docs. |  |
| 109 | Complete | Boolean | Specifies the Shipping Advice field on sales orders must contain Complete when you choose Use Filters to Get Src. Docs. |  |
| 1001 | Job Task No. Filter | Code[100] | Project Task No. Filter <small>caption</small> | TableRelation [Table 1001 "Job Task"](../table/1001.md) ("Job Task"."Job Task No." where("Job No." = field("Job No."))) |
| 7300 | Planned Delivery Date | Text[250] | — |  |
| 7301 | Planned Shipment Date | Text[250] | — |  |
| 7302 | Planned Receipt Date | Text[250] | — |  |
| 7303 | Expected Receipt Date | Text[250] | — |  |
| 7304 | Shipment Date | Text[250] | — |  |
| 7305 | Receipt Date | Text[250] | — |  |
| 7306 | Sales Shipment Date | Text[250] | — |  |

## Keys

- Key1: Type, Code (clustered)

## Events published

- `OnAfterSetFilters(var GetSourceBatch: Report "Get Source Documents"; var WarehouseSourceFilter: Record "Warehouse Source Filter")` (integration)
- `OnSetFiltersOnSourceTables(var WarehouseSourceFilter: Record "Warehouse Source Filter"; var GetSourceDocuments: Report "Get Source Documents"; var WarehouseRequest: Record "Warehouse Request")` (integration)
  - subscribers: [Codeunit 5991 "Sales Warehouse Mgt."](../codeunit/5991.md) OnSetFiltersOnSourceTables, [Codeunit 5992 "Purchases Warehouse Mgt."](../codeunit/5992.md) OnSetFiltersOnSourceTables, [Codeunit 5993 "Transfer Warehouse Mgt."](../codeunit/5993.md) OnSetFiltersOnSourceTables, [Codeunit 5995 "Service Warehouse Mgt."](../codeunit/5995.md) OnSetFiltersOnSourceTables
- `OnAfterCheckType(var WarehouseSourceFilter: Record "Warehouse Source Filter")` (integration)
  - subscribers: [Codeunit 5995 "Service Warehouse Mgt."](../codeunit/5995.md) OnAfterCheckType
- `OnSetFiltersOnAfterSetSourceFilters(var WarehouseSourceFilter: Record "Warehouse Source Filter"; var WarehouseRequest: Record "Warehouse Request")` (integration)
  - subscribers: [Codeunit 5995 "Service Warehouse Mgt."](../codeunit/5995.md) OnSetFiltersOnAfterSetSourceFilters

## Procedures

- `SetFilters(var GetSourceDocuments: Report "Get Source Documents"; LocationCode: Code[10])`

Plus 4 local procedures.

## Relations

- Shipment Method Code Filter: TableRelation [Table 10 "Shipment Method"](../table/10.md)
- Job Task No. Filter: TableRelation [Table 1001 "Job Task"](../table/1001.md)
- In-Transit Code Filter: TableRelation [Table 14 "Location"](../table/14.md)
- Transfer-from Code Filter: TableRelation [Table 14 "Location"](../table/14.md)
- Transfer-to Code Filter: TableRelation [Table 14 "Location"](../table/14.md)
- Job No.: TableRelation [Table 167 "Job"](../table/167.md)
- Customer No. Filter: TableRelation [Table 18 "Customer"](../table/18.md)
- Sell-to Customer No. Filter: TableRelation [Table 18 "Customer"](../table/18.md)
- Unit of Measure Filter: TableRelation [Table 204 "Unit of Measure"](../table/204.md)
- Buy-from Vendor No. Filter: TableRelation [Table 23 "Vendor"](../table/23.md)
- Item No. Filter: TableRelation [Table 27 "Item"](../table/27.md)
- Shipping Agent Code Filter: TableRelation [Table 291 "Shipping Agent"](../table/291.md)
- Variant Code Filter: TableRelation [Table 5401 "Item Variant"](../table/5401.md)
- Shipping Agent Service Filter: TableRelation [Table 5790 "Shipping Agent Services"](../table/5790.md)

## Pages and codeunits on this table

- [Page 5784 "Filters to Get Source Docs."](../page/5784.md) (source table)
- [Page 5786 "Source Document Filter Card"](../page/5786.md) (source table)

## Extended by

- [Table extension 6479 "Serv. Warehouse Source Filter"](../tableextension/6479.md)
- [Table extension 99000781 "Mfg. Warehouse Source Filter"](../tableextension/99000781.md)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: BC24-26, 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: "Warehouse Source Filter")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
