Table 1104 "Cost Entry"
Base Application · Microsoft.CostAccounting.Ledger
Across versions
- BC23present
- BC24declaration changed
- BC25-26unchanged
- BC273 fields changed
- BC28-30unchanged
Neighbourhood 17 connected objects and pages
Base Application · Microsoft.CostAccounting.Ledger · BC23-30 · source at ea08af5e · facts from BC29
Learn documents this table through its pages: Page 1103 “Cost Entries” (2 Learn pages).
Properties
| Property | Value |
|---|---|
| Caption | Cost 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 | Specifies the number of the entry, as assigned from the specified number series when the entry was created. via Page 1103 “Cost Entries” | |
| 4 | Cost Type No. | Code[20] | Specifies the subtype of the cost center. This is an information field and is not used for any other purposes. Choose the field to select the cost subtype. via Page 1103 “Cost Entries” | TableRelation Table 1103 “Cost Type” (Cost Type) |
| 5 | Posting Date | Date | Specifies the entry’s posting date. via Page 1103 “Cost Entries” | |
| 7 | Document No. | Code[20] | Specifies the number of the related document. via Page 1103 “Cost Entries” | |
| 8 | Description | Text[100] | Specifies the description of the cost entry. via Page 1103 “Cost Entries” | |
| 16 | Amount Δ BC27 | Decimal | Specifies the amount of the cost entry. via Page 1103 “Cost Entries” | |
| 17 | Debit Amount Δ BC27 | Decimal | Specifies the total of the ledger entries that represent debits. via Page 1103 “Cost Entries” | |
| 18 | Credit Amount Δ BC27 | Decimal | Specifies the total of the ledger entries that represent credits. via Page 1103 “Cost Entries” | |
| 20 | Cost Center Code | Code[20] | Specifies the cost center code. The code serves as a default value for cost posting that is captured later in the cost journal. via Page 1103 “Cost Entries” | TableRelation Table 1112 “Cost Center” (Cost Center) |
| 21 | Cost Object Code | Code[20] | Specifies the cost object code. The code serves as a default value for cost posting that is captured later in the cost journal. via Page 1103 “Cost Entries” | TableRelation Table 1113 “Cost Object” (Cost Object) |
| 27 | Reason Code | Code[10] | Specifies the reason code, a supplementary source code that enables you to trace the entry. via Page 1103 “Cost Entries” | TableRelation Table 231 “Reason Code” (Reason Code) |
| 28 | G/L Account | Code[20] | Specifies the G/L account that the cost entry applies to. via Page 1103 “Cost Entries” | TableRelation Table 15 “G/L Account” (G/L Account) |
| 29 | G/L Entry No. | Integer | Specifies the entry number of the corresponding general ledger entry that is associated with this cost entry. For combined entries, the entry number of the last general ledger entry is saved in the field. This is the entry with the highest entry number. via Page 1103 “Cost Entries” | TableRelation Table 17 “G/L Entry” (G/L Entry); not editable |
| 30 | Source Code | Code[10] | Specifies the source code that specifies where the entry was created. via Page 1103 “Cost Entries” | TableRelation Table 230 “Source Code” (Source Code) |
| 31 | System-Created Entry | Boolean | Specifies the entry created by the system for the cost entry. via Page 1103 “Cost Entries” | not editable |
| 32 | Allocated | Boolean | Specifies whether the cost entry has been allocated. via Page 1103 “Cost Entries” | |
| 33 | Allocated with Journal No. | Integer | Specifies which cost journal was used to allocate the cost. via Page 1103 “Cost Entries” | |
| 40 | User ID | Code[50] | Specifies the ID of the user who posted the entry, to be used, for example, in the change log. via Page 1103 “Cost Entries” | TableRelation User.“User Name”; not editable; DataClassification EndUserIdentifiableInformation |
| 41 | Batch Name | Code[10] | Specifies the journal batch name used in the posting. The name is copied from the Journal Template Name field on the cost journal line. via Page 1103 “Cost Entries” | TableRelation Table 232 “Gen. Journal Batch” (Gen. Journal Batch) |
| 50 | Allocation Description | Text[80] | Specifies the description that explains the allocation level and shares. via Page 1103 “Cost Entries” | |
| 51 | Allocation ID | Code[10] | Specifies the ID of the allocation key that the cost budget entry comes from. via Page 1103 “Cost Entries” | TableRelation Table 1106 “Cost Allocation Source” (Cost Allocation Source) |
| 68 | Additional-Currency Amount | Decimal | Specifies the amount of this entry, in the additional reporting currency. via Page 1103 “Cost Entries” | |
| 69 | Add.-Currency Debit Amount | Decimal | — | |
| 70 | Add.-Currency Credit Amount | Decimal | — |
Keys
- Key1: Entry No. (clustered)
- Key2: Cost Type No., Posting Date
- Key3: Cost Type No., Cost Center Code, Cost Object Code, Allocated, Posting Date
- Key4: Cost Center Code, Cost Type No., Allocated, Posting Date
- Key5: Cost Object Code, Cost Type No., Allocated, Posting Date
- Key6: Allocation ID, Posting Date
- Key7: Document No., Posting Date
- Key8: Allocated with Journal No.
- Key9: Cost Type No., Posting Date, Cost Center Code, Cost Object Code
Procedures
GetCurrencyCode(): Code[10]GetLastEntryNo(): Integer
Relations
- drill-down page Page 1103 “Cost Entries”
- lookup page Page 1103 “Cost Entries”
- Cost Type No.: TableRelation Table 1103 “Cost Type”
- Allocation ID: TableRelation Table 1106 “Cost Allocation Source”
- Cost Center Code: TableRelation Table 1112 “Cost Center”
- Cost Object Code: TableRelation Table 1113 “Cost Object”
- G/L Account: TableRelation Table 15 “G/L Account”
- G/L Entry No.: TableRelation Table 17 “G/L Entry”
- Source Code: TableRelation Table 230 “Source Code”
- Reason Code: TableRelation Table 231 “Reason Code”
- Batch Name: TableRelation Table 232 “Gen. Journal Batch”
Referenced by
15 fields in 4 objects relate to this table (TableRelation or CalcFormula).
- Table 1103 “Cost Type”: Add. Currency Balance at Date, Add. Currency Net Change, Balance, Balance at Date, Balance to Allocate, Credit Amount, Debit Amount, Net Change
- Table 1112 “Cost Center”: Balance at Date, Balance to Allocate, Net Change
- Table 1105 “Cost Register”: From Cost Entry No., To Cost Entry No.
- Table 1113 “Cost Object”: Balance at Date, Net Change
Pages and codeunits on this table
- Page 1103 “Cost Entries” (source table)
Calls
From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.
- Codeunit 703 “Find Record Management” (1 call:
GetLastEntryNo → GetLastEntryIntFieldValue)
Ask your agent
Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. 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: "Cost Entry"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.