---
id: object/table/1022
type: object
title: Table 1022 "Job Planning Line Invoice"
summary: Table 1022 "Job Planning Line Invoice" in Base Application (Microsoft.Projects.Project.Planning). 12 fields, 2 public procedures, 1 events. Present since at least BC23, still in BC30, changed in BC24, BC27-28.
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: 430605eb637450200685dbc5c1571b9102d60c27e3b1fd91809203a25c1e1261
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Projects/Project/Planning/JobPlanningLineInvoice.Table.al
    title: src/Layers/W1/BaseApp/Projects/Project/Planning/JobPlanningLineInvoice.Table.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn:
    - https://learn.microsoft.com/dynamics365/business-central/projects-manage-projects
    - https://learn.microsoft.com/dynamics365/business-central/projects-setup-projects
  objects: []
  features: []
  topics:
    - topic/business-central/business-functionality/project-management
    - topic/business-central/business-functionality/set-up-business-central/set-up-project-management
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: table
object_id: 1022
name: Job Planning Line Invoice
caption: Project Planning Line Invoice
namespace: Microsoft.Projects.Project.Planning
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "24"
  - "27"
  - "28"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 12
  procedures: 3
  events: 1
  subscribers: 0
relations:
  out: 6
  referenced_by: 4
  pages: 1
  extended_by: 0
  event_subscribers: 0
  calls: 0
  called_by: 0
  implements: 0
---

# Table 1022 "Job Planning Line Invoice"

> Table 1022 "Job Planning Line Invoice" in Base Application (Microsoft.Projects.Project.Planning). 12 fields, 2 public procedures, 1 events. Present since at least BC23, still in BC30, changed in BC24, BC27-28.

Base Application · Microsoft.Projects.Project.Planning · captioned "Project Planning Line Invoice" · BC23-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Projects/Project/Planning/JobPlanningLineInvoice.Table.al) · facts from BC29

Learn documents this table through its pages: [Page 1029 "Job Invoices"](../page/1029.md) (2 Learn pages).

## Properties

| Property | Value |
|---|---|
| Caption | Project Planning Line Invoice |
| 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 | Job No. | Code[20] | Project No. <small>caption</small> | TableRelation [Table 167 "Job"](../table/167.md); not editable |
| 2 | Job Task No. | Code[20] | Project Task No. <small>caption</small> | TableRelation [Table 1001 "Job Task"](../table/1001.md) ("Job Task"."Job Task No." where("Job No." = field("Job No."))); not editable |
| 3 | Job Planning Line No. | Integer | Project Planning Line No. <small>caption</small> | TableRelation [Table 1003 "Job Planning Line"](../table/1003.md) ("Job Planning Line"."Line No." where("Job No." = field("Job No."), "Job Task No." = field("Job Task No."))); not editable |
| 4 | Document Type | Enum "Job Planning Line Invoice Document Type" | Specifies the information about the type of document. There are four options: | enum [Enum 1022 "Job Planning Line Invoice Document Type"](../enum/1022.md); not editable |
| 5 | Document No. | Code[20] | Specifies the number associated with the document. For example, if you have created an invoice, the field Specifies the invoice number. | not editable |
| 6 | Line No. | Integer | Specifies the line number that is linked to the document. Numbers are created sequentially. |  |
| 7 | Quantity Transferred | Decimal | Specifies the quantity transferred from the project planning line to the invoice or credit memo. | not editable |
| 8 | Transferred Date | Date | Specifies the date on which the invoice or credit document was created. The date is set to the posting date you specified when you created the invoice or credit memo. | not editable |
| 9 | Invoiced Date | Date | Specifies the date on which the invoice or credit memo was posted. | not editable |
| 10 | Invoiced Amount (LCY) | Decimal | Specifies the amount (LCY) that was posted from the invoice or credit memo. The amount is calculated based on Quantity, Line Discount %, and Unit Price. <small>via [Page 1029 "Job Invoices"](../page/1029.md)</small> | not editable |
| 11 | Invoiced Cost Amount (LCY) | Decimal | Specifies the amount of the unit costs that has been posted from the invoice or credit memo. The amount is calculated based on Quantity, Unit Cost, and Line Discount %. <small>via [Page 1029 "Job Invoices"](../page/1029.md)</small> | not editable |
| 12 | Job Ledger Entry No. | Integer | Specifies a link to the project ledger entry that was created when the document was posted. | TableRelation [Table 169 "Job Ledger Entry"](../table/169.md) (Job Ledger Entry); not editable |

## Keys

- Key1: Job No., Job Task No., Job Planning Line No., Document Type, Document No., Line No. (clustered)
- Key2: Document Type, Document No., Job Ledger Entry No.
- Key3: Job No., Job Planning Line No., Job Task No., Document Type

## Events published

- `OnAfterInitFromJobPlanningLine(var JobPlanningLineInvoice: Record "Job Planning Line Invoice"; JobPlanningLine: Record "Job Planning Line")` (integration)

## Procedures

- `InitFromJobPlanningLine(JobPlanningLine: Record "Job Planning Line")`
- `InitFromSales(SalesHeader: Record "Sales Header"; PostingDate: Date; LineNo: Integer)`

## Relations

- drill-down page [Page 1029 "Job Invoices"](../page/1029.md)
- lookup page [Page 1029 "Job Invoices"](../page/1029.md)
- Job Task No.: TableRelation [Table 1001 "Job Task"](../table/1001.md)
- Job Planning Line No.: TableRelation [Table 1003 "Job Planning Line"](../table/1003.md)
- Job No.: TableRelation [Table 167 "Job"](../table/167.md)
- Job Ledger Entry No.: TableRelation [Table 169 "Job Ledger Entry"](../table/169.md)

## Referenced by

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

- [Table 1003 "Job Planning Line"](../table/1003.md): Invoiced Amount (LCY), Invoiced Cost Amount (LCY), Qty. Invoiced, Qty. Transferred to Invoice

## Pages and codeunits on this table

- [Page 1029 "Job Invoices"](../page/1029.md) (source table)

## Across versions

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

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: "Job Planning Line Invoice")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
