---
id: object/table/7000021-es
type: object
title: Table 7000021 "Posted Payment Order" (ES)
summary: Table 7000021 "Posted Payment Order" (ES) in the ES country layer (Microsoft.Purchases.History). 21 fields, 2 public procedures. Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - table
  - es layer
versions:
  introduced: "29"
  last_changed: null
  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: ed38b9959c3c6bfab00329df41adbebceec2b93cb3735c7f4d80b55647311a8f
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/ES/BaseApp/Local/Purchases/History/PostedPaymentOrder.Table.al
    title: src/Layers/ES/BaseApp/Local/Purchases/History/PostedPaymentOrder.Table.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations:
    - localization/es
  videos: []
  posts: []
  guidelines: []
object_type: table
object_id: 7000021
name: Posted Payment Order
namespace: Microsoft.Purchases.History
app: Base Application
extends: null
first_version: "29"
last_version: "30"
present_in:
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
country: ES
counts:
  fields: 21
  procedures: 2
  events: 0
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
---

# Table 7000021 "Posted Payment Order" (ES)

> Table 7000021 "Posted Payment Order" (ES) in the ES country layer (Microsoft.Purchases.History). 21 fields, 2 public procedures. Introduced in BC29, still in BC30.

ES country layer · Microsoft.Purchases.History · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/ES/BaseApp/Local/Purchases/History/PostedPaymentOrder.Table.al) · facts from BC29

An object of the [ES localization](../../localizations/es.md), not part of W1.

## Properties

| Property | Value |
|---|---|
| Caption | Posted Payment Order |
| 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 |
|---|---|---|---|---|
| 2 | No. | Code[20] | — |  |
| 3 | Bank Account No. | Code[20] | — | TableRelation Bank Account |
| 4 | Bank Account Name | Text[100] | — | FlowField: lookup("Bank Account".Name where("No." = field("Bank Account No."))); not editable |
| 5 | Posting Description | Text[100] | — |  |
| 7 | Amount | Decimal | — | FlowField: sum("Posted Cartera Doc."."Remaining Amount" where("Bill Gr./Pmt. Order No." = field("No."), "Global Dimension 1 Code" = field("Global Dimension 1 Filter"), "Global Dimension 2 Code" = field("Global Dimension 2 Filter"), Status = field("Status Filter"), "Category Code" = field("Category Filter"), "D...; not editable |
| 8 | Reason Code | Code[10] | — | TableRelation Reason Code |
| 9 | No. Printed | Integer | — |  |
| 10 | Posting Date | Date | — |  |
| 11 | Comment | Boolean | — | FlowField: exist("BG/PO Comment Line" where("BG/PO No." = field("No."), Type = filter(Payable))); not editable |
| 12 | Category Filter | Code[10] | — | TableRelation Category Code; FlowFilter |
| 13 | Due Date Filter | Date | — | FlowFilter |
| 14 | Global Dimension 1 Filter | Code[20] | — | TableRelation "Dimension Value".Code where("Global Dimension No." = const(1)); FlowFilter |
| 15 | Global Dimension 2 Filter | Code[20] | — | TableRelation "Dimension Value".Code where("Global Dimension No." = const(2)); FlowFilter |
| 16 | Amount Grouped | Decimal | — | FlowField: sum("Posted Cartera Doc."."Amount for Collection" where("Bill Gr./Pmt. Order No." = field("No."), "Global Dimension 1 Code" = field("Global Dimension 1 Filter"), "Global Dimension 2 Code" = field("Global Dimension 2 Filter"), Status = field("Status Filter"), "Category Code" = field("Category Filter"...; not editable |
| 17 | Remaining Amount | Decimal | — | FlowField: sum("Posted Cartera Doc."."Remaining Amount" where("Bill Gr./Pmt. Order No." = field("No."), "Global Dimension 1 Code" = field("Global Dimension 1 Filter"), "Global Dimension 2 Code" = field("Global Dimension 2 Filter"), Status = field("Status Filter"), "Category Code" = field("Category Filter"), "D...; not editable |
| 18 | Status Filter | Enum "Cartera Document Status" | — | FlowFilter; enum Cartera Document Status |
| 29 | Payment Order Expenses Amt. | Decimal | — |  |
| 33 | Currency Code | Code[10] | — | TableRelation Currency; not editable |
| 34 | Amount (LCY) | Decimal | — | FlowField: sum("Posted Cartera Doc."."Remaining Amt. (LCY)" where("Bill Gr./Pmt. Order No." = field("No."), "Global Dimension 1 Code" = field("Global Dimension 1 Filter"), "Global Dimension 2 Code" = field("Global Dimension 2 Filter"), Status = field("Status Filter"), "Category Code" = field("Category Filter")...; not editable |
| 35 | Amount Grouped (LCY) | Decimal | — | FlowField: sum("Posted Cartera Doc."."Amt. for Collection (LCY)" where("Bill Gr./Pmt. Order No." = field("No."), "Global Dimension 1 Code" = field("Global Dimension 1 Filter"), "Global Dimension 2 Code" = field("Global Dimension 2 Filter"), Status = field("Status Filter"), "Category Code" = field("Category Fil...; not editable |
| 36 | Remaining Amount (LCY) | Decimal | — | FlowField: sum("Posted Cartera Doc."."Remaining Amt. (LCY)" where("Bill Gr./Pmt. Order No." = field("No."), "Global Dimension 1 Code" = field("Global Dimension 1 Filter"), "Global Dimension 2 Code" = field("Global Dimension 2 Filter"), Status = field("Status Filter"), "Category Code" = field("Category Filter")...; not editable |

## Keys

- Key1: No. (clustered)
- Key2: Bank Account No., Posting Date
- Key3: Bank Account No., Posting Date, Currency Code

## Procedures

- `PrintRecords(ShowRequestForm: Boolean)`
- `Caption(): Text`

## Across versions

- Present in: BC29-30
- Changed (declaration) in: none

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

A ES country object, not part of W1: the default corpus does not have it; `bcatlas_list_countries` shows which countries the atlas has.
