---
id: object/table/6790
type: object
title: Table 6790 "Temp Withholding Tax Entry"
summary: Table 6790 "Temp Withholding Tax Entry" in WithholdingTax (Microsoft.WithholdingTax). 53 fields, 1 public procedures. Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - table
  - withholdingtax
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: a90b2e5bdd04b5a229020288d9400f99f742c29bf2dd5831047423e620a93adb
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/WithholdingTax/app/src/Purchase/Transaction/TempWithholdingTaxEntry.Table.al
    title: src/Apps/W1/WithholdingTax/app/src/Purchase/Transaction/TempWithholdingTaxEntry.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: 6790
name: Temp Withholding Tax Entry
namespace: Microsoft.WithholdingTax
app: WithholdingTax
extends: null
first_version: "29"
last_version: "30"
present_in:
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 53
  procedures: 1
  events: 0
  subscribers: 0
relations:
  out: 14
  referenced_by: 2
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 0
  called_by: 0
  implements: 0
---

# Table 6790 "Temp Withholding Tax Entry"

> Table 6790 "Temp Withholding Tax Entry" in WithholdingTax (Microsoft.WithholdingTax). 53 fields, 1 public procedures. Introduced in BC29, still in BC30.

WithholdingTax · Microsoft.WithholdingTax · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/WithholdingTax/app/src/Purchase/Transaction/TempWithholdingTaxEntry.Table.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Caption | Temp Withholding Tax Entry |
| 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 | Entry No. | Integer | — | not editable; DataClassification SystemMetadata |
| 2 | Gen. Bus. Posting Group | Code[20] | — | TableRelation [Table 250 "Gen. Business Posting Group"](../table/250.md) (Gen. Business Posting Group); not editable; DataClassification SystemMetadata |
| 3 | Gen. Prod. Posting Group | Code[20] | — | TableRelation [Table 251 "Gen. Product Posting Group"](../table/251.md) (Gen. Product Posting Group); not editable; DataClassification SystemMetadata |
| 4 | Posting Date | Date | — | not editable; DataClassification SystemMetadata |
| 5 | Document No. | Code[20] | — | not editable; DataClassification SystemMetadata |
| 6 | Document Type | Enum "Gen. Journal Document Type" | — | enum [Enum 6 "Gen. Journal Document Type"](../enum/6.md); not editable; DataClassification SystemMetadata |
| 8 | Base | Decimal | — | not editable; DataClassification SystemMetadata |
| 9 | Amount | Decimal | — | not editable; DataClassification SystemMetadata |
| 10 | Withholding Tax Calc. Type | Option | Withholding Tax Calculation Type <small>caption</small> | OptionCaption: Normal Withholding Tax,Full Withholding Tax; not editable; DataClassification SystemMetadata |
| 11 | Currency Code | Code[10] | — | DataClassification SystemMetadata |
| 12 | Bill-to/Pay-to No. | Code[20] | — | TableRelation [Table 18 "Customer"](../table/18.md), [Table 23 "Vendor"](../table/23.md) (if ("Transaction Type" = const(Purchase)) Vendor else if ("Transaction Type" = const(Sale)) Customer); DataClassification SystemMetadata |
| 14 | User ID | Code[50] | — | not editable; DataClassification EndUserIdentifiableInformation |
| 15 | Source Code | Code[10] | — | TableRelation Source Code; not editable; DataClassification SystemMetadata |
| 16 | Reason Code | Code[10] | — | TableRelation Reason Code; not editable; DataClassification SystemMetadata |
| 17 | Closed by Entry No. | Integer | — | TableRelation [Table 6790 "Temp Withholding Tax Entry"](../table/6790.md) (Temp Withholding Tax Entry); not editable; DataClassification SystemMetadata |
| 18 | Closed | Boolean | — | not editable; DataClassification SystemMetadata |
| 19 | Country/Region Code | Code[10] | — | TableRelation [Table 9 "Country/Region"](../table/9.md) (Country/Region); DataClassification SystemMetadata |
| 21 | Transaction No. | Integer | — | not editable; DataClassification SystemMetadata |
| 22 | Unrealized Amount | Decimal | — | not editable; DataClassification SystemMetadata |
| 23 | Unrealized Base | Decimal | — | not editable; DataClassification SystemMetadata |
| 24 | Remaining Unrealized Amount | Decimal | — | not editable; DataClassification SystemMetadata |
| 25 | Remaining Unrealized Base | Decimal | — | not editable; DataClassification SystemMetadata |
| 26 | External Document No. | Code[35] | — | not editable; DataClassification SystemMetadata |
| 27 | Transaction Type | Option | — | OptionCaption: ,Purchase,Sale,Settlement; DataClassification SystemMetadata |
| 28 | No. Series | Code[20] | — | TableRelation No. Series; not editable; DataClassification SystemMetadata |
| 29 | Unreal. Wthldg. Tax Entry No. | Integer | Unrealized Withholding Tax Entry No. <small>caption</small> | TableRelation [Table 6790 "Temp Withholding Tax Entry"](../table/6790.md) (Temp Withholding Tax Entry); not editable; DataClassification SystemMetadata |
| 30 | Wthldg. Tax Bus. Post. Group | Code[20] | Withholding Tax Bus. Post. Group <small>caption</small> | TableRelation [Table 6784 "Wthldg. Tax Bus. Post. Group"](../table/6784.md) (Wthldg. Tax Bus. Post. Group); not editable; DataClassification SystemMetadata |
| 31 | Wthldg. Tax Prod. Post. Group | Code[20] | Withholding Tax Prod. Post. Group <small>caption</small> | TableRelation [Table 6785 "Wthldg. Tax Prod. Post. Group"](../table/6785.md) (Wthldg. Tax Prod. Post. Group); not editable; DataClassification SystemMetadata |
| 32 | Base (LCY) | Decimal | — | not editable; DataClassification SystemMetadata |
| 33 | Amount (LCY) | Decimal | — | not editable; DataClassification SystemMetadata |
| 34 | Unrealized Amount (LCY) | Decimal | — | not editable; DataClassification SystemMetadata |
| 35 | Unrealized Base (LCY) | Decimal | — | not editable; DataClassification SystemMetadata |
| 36 | Withholding Tax % | Decimal | — | not editable; DataClassification SystemMetadata |
| 37 | Rem Unrealized Amount (LCY) | Decimal | — | not editable; DataClassification SystemMetadata |
| 38 | Rem Unrealized Base (LCY) | Decimal | — | not editable; DataClassification SystemMetadata |
| 39 | Withholding Tax Difference | Decimal | — | not editable; DataClassification SystemMetadata |
| 41 | Ship-to/Order Address Code | Code[10] | — | TableRelation [Table 222 "Ship-to Address"](../table/222.md), [Table 224 "Order Address"](../table/224.md) (if ("Transaction Type" = const(Purchase)) "Order Address".Code where("Vendor No." = field("Bill-to/Pay-to No.")) else if ("Transaction Type" = const(Sale)) "Ship-to Address".Code where("Customer No." = field("Bill-to/Pay-to No."))); DataClassification SystemMetadata |
| 42 | Document Date | Date | — | not editable; DataClassification SystemMetadata |
| 44 | Actual Vendor No. | Code[20] | Withholding Actual Vendor No. <small>caption</small> |  |
| 45 | Wthldg. Tax Certificate No. | Code[20] | Withholding Tax Certificate No. <small>caption</small> | DataClassification SystemMetadata |
| 47 | Void Check | Boolean | — | DataClassification SystemMetadata |
| 48 | Original Document No. | Code[20] | — | DataClassification SystemMetadata |
| 49 | Void Payment Entry No. | Integer | — | DataClassification SystemMetadata |
| 50 | Wthldg. Tax Report Line No | Code[20] | Withholding Tax Report Line No <small>caption</small> | DataClassification SystemMetadata |
| 51 | Withholding Tax Report | Option | Withholding Report <small>caption</small> | OptionCaption: ,Por Ngor Dor 1,Por Ngor Dor 2,Por Ngor Dor 3,Por Ngor Dor 53,Por Ngor Dor 54; DataClassification SystemMetadata |
| 52 | Applies-to Doc. Type | Enum "Gen. Journal Document Type" | — | enum [Enum 6 "Gen. Journal Document Type"](../enum/6.md); DataClassification SystemMetadata |
| 53 | Applies-to Doc. No. | Code[20] | — | DataClassification SystemMetadata |
| 54 | Applies-to Entry No. | Integer | — | DataClassification SystemMetadata |
| 55 | Withholding Tax Revenue Type | Code[10] | — | DataClassification SystemMetadata |
| 57 | Payment Amount | Decimal | — | DataClassification SystemMetadata |
| 58 | Reversed by Entry No. | Integer | — | TableRelation [Table 6788 "Withholding Tax Entry"](../table/6788.md) ("Withholding Tax Entry"."Entry No."); DataClassification SystemMetadata |
| 59 | Reversed Entry No. | Integer | — | TableRelation [Table 6788 "Withholding Tax Entry"](../table/6788.md) ("Withholding Tax Entry"."Entry No."); DataClassification SystemMetadata |
| 60 | Reversed | Boolean | — | DataClassification SystemMetadata |

## Keys

- Key1: Entry No. (clustered)
- Key2: Transaction Type, Closed, Withholding Tax Difference, Amount (LCY), Base (LCY), Posting Date
- Key3: Transaction Type, Country/Region Code, Withholding Tax Difference, Posting Date
- Key4: Document No., Posting Date
- Key5: Transaction No.
- Key6: Amount (LCY), Unrealized Amount (LCY), Unrealized Base (LCY), Base (LCY), Posting Date
- Key7: Document Type, Document No.
- Key8: Transaction Type, Document No., Document Type, Bill-to/Pay-to No.
- Key9: Applies-to Entry No.
- Key10: Bill-to/Pay-to No., Original Document No., Withholding Tax Revenue Type
- Key11: Bill-to/Pay-to No., Withholding Tax Revenue Type, Wthldg. Tax Prod. Post. Group

## Procedures

- `GetCurrencyCode(): Code[10]`

## Relations

- lookup page [Page 6788 "Withholding Tax Entries"](../page/6788.md)
- Bill-to/Pay-to No.: TableRelation [Table 18 "Customer"](../table/18.md) (conditional)
- Ship-to/Order Address Code: TableRelation [Table 222 "Ship-to Address"](../table/222.md) (conditional)
- Ship-to/Order Address Code: TableRelation [Table 224 "Order Address"](../table/224.md) (conditional)
- Bill-to/Pay-to No.: TableRelation [Table 23 "Vendor"](../table/23.md) (conditional)
- Gen. Bus. Posting Group: TableRelation [Table 250 "Gen. Business Posting Group"](../table/250.md)
- Gen. Prod. Posting Group: TableRelation [Table 251 "Gen. Product Posting Group"](../table/251.md)
- Wthldg. Tax Bus. Post. Group: TableRelation [Table 6784 "Wthldg. Tax Bus. Post. Group"](../table/6784.md)
- Wthldg. Tax Prod. Post. Group: TableRelation [Table 6785 "Wthldg. Tax Prod. Post. Group"](../table/6785.md)
- Reversed by Entry No.: TableRelation [Table 6788 "Withholding Tax Entry"](../table/6788.md)
- Reversed Entry No.: TableRelation [Table 6788 "Withholding Tax Entry"](../table/6788.md)
- Closed by Entry No.: TableRelation [Table 6790 "Temp Withholding Tax Entry"](../table/6790.md)
- Unreal. Wthldg. Tax Entry No.: TableRelation [Table 6790 "Temp Withholding Tax Entry"](../table/6790.md)
- Country/Region Code: TableRelation [Table 9 "Country/Region"](../table/9.md)

## Referenced by

2 fields in 1 objects relate to this table (TableRelation or CalcFormula).

- [Table 6790 "Temp Withholding Tax Entry"](../table/6790.md): Closed by Entry No., Unreal. Wthldg. Tax Entry No.

## 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: "Temp Withholding Tax Entry")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
