---
id: object/table/1660
type: object
title: Table 1660 "Payroll Setup"
summary: Table 1660 "Payroll Setup" in Base Application (Microsoft.Finance.Payroll). 4 fields, 1 public procedures. Present since at least BC23, still in BC30, changed in BC24, BC29.
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: 803cc14a9cbf5823f6082d47ec98f5f4aed89239a26a10913477326837b42d20
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Finance/Payroll/PayrollSetup.Table.al
    title: src/Layers/W1/BaseApp/Finance/Payroll/PayrollSetup.Table.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn:
    - https://learn.microsoft.com/dynamics365/business-central/finance-how-import-payroll-transactions
  objects: []
  features: []
  topics:
    - topic/business-central/business-functionality/finance/working-with-dimensions
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: table
object_id: 1660
name: Payroll Setup
namespace: Microsoft.Finance.Payroll
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "24"
  - "29"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 4
  procedures: 1
  events: 0
  subscribers: 0
relations:
  out: 4
  referenced_by: 0
  pages: 1
  extended_by: 0
  event_subscribers: 0
  calls: 0
  called_by: 0
  implements: 0
---

# Table 1660 "Payroll Setup"

> Table 1660 "Payroll Setup" in Base Application (Microsoft.Finance.Payroll). 4 fields, 1 public procedures. Present since at least BC23, still in BC30, changed in BC24, BC29.

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

Learn documents this table through its pages: [Page 1660 "Payroll Setup"](../page/1660.md) (1 Learn page).

## Properties

| Property | Value |
|---|---|
| Caption | Payroll Setup |
| 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 | Primary Key | Integer | — | AutoIncrement |
| 2 | General Journal Template Name | Code[10] | Specifies the name of the general journal template that is used for import. | TableRelation [Table 80 "Gen. Journal Template"](../table/80.md) ("Gen. Journal Template" where(Type = filter(General), Recurring = const(false))) |
| 3 | General Journal Batch Name | Code[10] | Specifies the name of the general journal batch that is used for import. | TableRelation [Table 232 "Gen. Journal Batch"](../table/232.md) ("Gen. Journal Batch".Name where("Journal Template Name" = field("General Journal Template Name"))) |
| 10 | User Name | Code[50] | Specifies the user account. | DataClassification EndUserIdentifiableInformation |

## Keys

- Key1: Primary Key (clustered)

## Procedures

- `Fetch()`: Retrieves setup record, creating default values if no record exists.

## Relations

- drill-down page [Page 191 "Incoming Documents Setup"](../page/191.md)
- lookup page [Page 191 "Incoming Documents Setup"](../page/191.md)
- General Journal Batch Name: TableRelation [Table 232 "Gen. Journal Batch"](../table/232.md)
- General Journal Template Name: TableRelation [Table 80 "Gen. Journal Template"](../table/80.md)

## Pages and codeunits on this table

- [Page 1660 "Payroll Setup"](../page/1660.md) (source table)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: BC24, BC29

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