Table 4851 "Automatic Account Line"
AutomaticAccountCodes · Microsoft.Finance.AutomaticAccounts
Across versions
- BC23-28not present
- BC29-30present
Neighbourhood 7 connected objects and pages
AutomaticAccountCodes · Microsoft.Finance.AutomaticAccounts · BC29-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| Caption | Automatic Account Line |
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 | Automatic Acc. No. | Code[10] | — | TableRelation Table 4850 “Automatic Account Header” (Automatic Account Header) |
| 2 | Line No. | Integer | — | |
| 3 | G/L Account No. | Code[20] | Specifies the general ledger account that the allocation must be posted to. via Page 4851 “Automatic Account Line” | TableRelation Table 15 “G/L Account” (“G/L Account” Where(“Account Type” = const(Posting), “Direct Posting” = const(true), Blocked = const(false))) |
| 4 | Allocation % | Decimal | Specifies the percentage of the source line amount that is to be allocated. via Page 4851 “Automatic Account Line” | |
| 5 | Shortcut Dimension 1 Code | Code[20] | Specifies the dimension value code for the G/L transaction. via Page 4851 “Automatic Account Line” | TableRelation Table 349 “Dimension Value” (“Dimension Value”.Code WHERE(“Global Dimension No.” = CONST(1))) |
| 6 | Shortcut Dimension 2 Code | Code[20] | Specifies the dimension value code for the G/L transaction. via Page 4851 “Automatic Account Line” | TableRelation Table 349 “Dimension Value” (“Dimension Value”.Code WHERE(“Global Dimension No.” = CONST(2))) |
| 7 | Description | Text[100] | Specifies text that describes the G/L account. via Page 4851 “Automatic Account Line” | FlowField: Lookup(“G/L Account”.Name WHERE(“No.” = FIELD(“G/L Account No.”))); not editable |
| 480 | Dimension Set ID | Integer | — | TableRelation Table 480 “Dimension Set Entry” (Dimension Set Entry); not editable |
Keys
- Key1: Automatic Acc. No., Line No. (clustered)
Procedures
ShowDimensions()ValidateShortcutDimCode(FieldNumber: Integer; var ShortcutDimCode: Code[20])LookupShortcutDimCode(FieldNumber: Integer; var ShortcutDimCode: Code[20])ShowShortcutDimCode(var ShortcutDimCode: array[8] of Code[20])
Relations
- drill-down page Page 4851 “Automatic Account Line”
- lookup page Page 4851 “Automatic Account Line”
- Description: CalcFormula Table 15 “G/L Account”
- G/L Account No.: TableRelation Table 15 “G/L Account”
- Shortcut Dimension 1 Code: TableRelation Table 349 “Dimension Value”
- Shortcut Dimension 2 Code: TableRelation Table 349 “Dimension Value”
- Dimension Set ID: TableRelation Table 480 “Dimension Set Entry”
- Automatic Acc. No.: TableRelation Table 4850 “Automatic Account Header”
Referenced by
1 fields in 1 objects relate to this table (TableRelation or CalcFormula).
Pages and codeunits on this table
- Page 4851 “Automatic Account Line” (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 408 “DimensionManagement” (6 calls:
LookupShortcutDimCode → LookupDimValueCode,LookupShortcutDimCode → ValidateShortcutDimValues,ShowDimensions → EditDimensionSet, …)
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: "Automatic Account Line"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.