Table "FA Journal Line"
Properties
| Name | Value |
|---|---|
| Caption | FA Journal Line |
| DataClassification | CustomerContent |
Fields
| Name | Type | Description |
|---|---|---|
| "Journal Template Name" | Code[10] | |
| "Journal Batch Name" | Code[10] | |
| "Line No." | Integer | |
| "Depreciation Book Code" | Code[10] | Specifies the code for the depreciation book to which the line will be posted if you have selected Fixed Asset in the Type field for this line. |
| "FA Posting Type" | Enum Microsoft.FixedAssets.Journal."FA Journal Line FA Posting Type" | Specifies the posting type, if Account Type field contains Fixed Asset. |
| "FA No." | Code[20] | Specifies the number of the related fixed asset. |
| "FA Posting Date" | Date | Specifies the posting date of the related fixed asset transaction, such as a depreciation. |
| "Posting Date" | Date | Specifies the same date as the FA Posting Date field when the line is posted. |
| "Document Type" | Enum Microsoft.FixedAssets.Journal."FA Journal Line Document Type" | Specifies the appropriate document type for the amount you want to post. |
| "Document Date" | Date | |
| "Document No." | Code[20] | Specifies a document number for the journal line. |
| "External Document No." | Code[35] | |
| Description | Text[100] | Specifies a description of the fixed asset. |
| Amount | Decimal | Specifies the total amount the journal line consists of. |
| "Debit Amount" | Decimal | Specifies the total of the ledger entries that represent debits. |
| "Credit Amount" | Decimal | Specifies the total of the ledger entries that represent credits. |
| "Salvage Value" | Decimal | Specifies the estimated residual value of a fixed asset when it can no longer be used. |
| Quantity | Decimal | |
| Correction | Boolean | |
| "No. of Depreciation Days" | Integer | Specifies the number of depreciation days if you have selected the Depreciation or Custom 1 option in the FA Posting Type field. |
| "Depr. until FA Posting Date" | Boolean | Specifies if depreciation was calculated until the FA posting date of the line. |
| "Depr. Acquisition Cost" | Boolean | Specifies if, when this line was posted, the additional acquisition cost posted on the line was depreciated in proportion to the amount by which the fixed asset had already been depreciated. |
| "FA Posting Group" | Code[20] | |
| "Maintenance Code" | Code[10] | Specifies a maintenance code. |
| "Shortcut Dimension 1 Code" | Code[20] | Specifies the code for Shortcut Dimension 1, which is one of two global dimension codes that you set up in the General Ledger Setup window. |
| "Shortcut Dimension 2 Code" | Code[20] | Specifies the code for Shortcut Dimension 2, which is one of two global dimension codes that you set up in the General Ledger Setup window. |
| "Insurance No." | Code[20] | Specifies an insurance code if you have selected the Acquisition Cost option in the FA Posting Type field. |
| "Budgeted FA No." | Code[20] | Specifies the number of a fixed asset with the Budgeted Asset check box selected. When you post the journal or document line, an additional entry is created for the budgeted fixed asset where the amount has the opposite sign. |
| "Use Duplication List" | Boolean | Specifies whether the line is to be posted to all depreciation books, using different journal batches and with a check mark in the Part of Duplication List field. |
| "Duplicate in Depreciation Book" | Code[10] | Specifies a depreciation book code if you want the journal line to be posted to that depreciation book, as well as to the depreciation book in the Depreciation Book Code field. |
| "FA Reclassification Entry" | Boolean | Specifies if the entry was generated from a fixed asset reclassification journal. |
| "FA Error Entry No." | Integer | Specifies the number of a posted FA ledger entry to mark as an error entry. |
| "Reason Code" | Code[10] | |
| "Source Code" | Code[10] | |
| "Recurring Method" | Option | Specifies a recurring method, if you have indicated that the journal is recurring. |
| "Recurring Frequency" | DateFormula | Specifies a recurring frequency if you indicated that the journal is a recurring. |
| "Expiration Date" | Date | Specifies the last date on which the recurring journal will be posted. |
| "Index Entry" | Boolean | Specifies whether to post an indexation. |
| "Posting No. Series" | Code[20] | |
| "Dimension Set ID" | Integer | |
| SystemId | Guid | |
| SystemCreatedAt | DateTime | |
| SystemCreatedBy | Guid | |
| SystemModifiedAt | DateTime | |
| SystemModifiedBy | Guid | |
| SystemCreatedByUserName | Text[50] | |
| SystemCreatedByFullName | Text[80] | |
| SystemModifiedByUserName | Text[50] | |
| SystemModifiedByFullName | Text[80] | |
| SystemRowVersion | BigInteger |
Methods
ConvertToLedgEntry
procedure ConvertToLedgEntry(var FAJnlLine: Record "FA Journal Line"): Option
Parameters
| Name | Type | Description |
|---|---|---|
| FAJnlLine | Table Microsoft.FixedAssets.Journal."FA Journal Line" |
Returns
| Type | Description |
|---|---|
| Option |
SetUpNewLine
procedure SetUpNewLine(LastFAJnlLine: Record "FA Journal Line")
Parameters
| Name | Type | Description |
|---|---|---|
| LastFAJnlLine | Table Microsoft.FixedAssets.Journal."FA Journal Line" |
CreateDim
procedure CreateDim(DefaultDimSource: List of [Dictionary of [Integer, Code[20]]])
Parameters
| Name | Type | Description |
|---|---|---|
| DefaultDimSource | List of [Dictionary of [Integer, Code[20]]] |
ValidateShortcutDimCode
procedure ValidateShortcutDimCode(FieldNumber: Integer; var ShortcutDimCode: Code[20])
Parameters
| Name | Type | Description |
|---|---|---|
| FieldNumber | Integer | |
| ShortcutDimCode | Code[20] |
LookupShortcutDimCode
procedure LookupShortcutDimCode(FieldNumber: Integer; var ShortcutDimCode: Code[20])
Parameters
| Name | Type | Description |
|---|---|---|
| FieldNumber | Integer | |
| ShortcutDimCode | Code[20] |
ShowShortcutDimCode
procedure ShowShortcutDimCode(var ShortcutDimCode: array[8] of Code[20])
Parameters
| Name | Type | Description |
|---|---|---|
| ShortcutDimCode | array[8] of Code[20] |
ShowDimensions
procedure ShowDimensions()
IsOpenedFromBatch
procedure IsOpenedFromBatch(): Boolean
Returns
| Type | Description |
|---|---|
| Boolean |
CreateDimFromDefaultDim
procedure CreateDimFromDefaultDim()
IsAcquisitionCost
procedure IsAcquisitionCost(): Boolean
Returns
| Type | Description |
|---|---|
| Boolean |
Events
OnAfterInitDefaultDimensionSources
[IntegrationEvent(False,False)]
local procedure OnAfterInitDefaultDimensionSources(var FAJournalLine: Record "FA Journal Line"; var DefaultDimSource: List of [Dictionary of [Integer, Code[20]]])
Parameters
| Name | Type | Description |
|---|---|---|
| FAJournalLine | Table Microsoft.FixedAssets.Journal."FA Journal Line" | |
| DefaultDimSource | List of [Dictionary of [Integer, Code[20]]] |
OnBeforeCreateDim
[IntegrationEvent(False,False)]
local procedure OnBeforeCreateDim(var FAJournalLine: Record "FA Journal Line"; var IsHandled: Boolean; var DefaultDimSource: List of [Dictionary of [Integer, Code[20]]])
Parameters
| Name | Type | Description |
|---|---|---|
| FAJournalLine | Table Microsoft.FixedAssets.Journal."FA Journal Line" | |
| IsHandled | Boolean | |
| DefaultDimSource | List of [Dictionary of [Integer, Code[20]]] |
OnAfterCreateDim
[IntegrationEvent(False,False)]
local procedure OnAfterCreateDim(var FAJournalLine: Record "FA Journal Line"; CurrFieldNo: Integer; xFAJournalLine: Record "FA Journal Line"; OldDimSetID: Integer; DefaultDimSource: List of [Dictionary of [Integer, Code[20]]])
Parameters
| Name | Type | Description |
|---|---|---|
| FAJournalLine | Table Microsoft.FixedAssets.Journal."FA Journal Line" | |
| CurrFieldNo | Integer | |
| xFAJournalLine | Table Microsoft.FixedAssets.Journal."FA Journal Line" | |
| OldDimSetID | Integer | |
| DefaultDimSource | List of [Dictionary of [Integer, Code[20]]] |
OnAfterSetUpNewLine
[IntegrationEvent(False,False)]
local procedure OnAfterSetUpNewLine(var FAJournalLine: Record "FA Journal Line"; FAJnlTemplate: Record "FA Journal Template"; FAJnlBatch: Record "FA Journal Batch"; LastFAJnlLine: Record "FA Journal Line")
Parameters
| Name | Type | Description |
|---|---|---|
| FAJournalLine | Table Microsoft.FixedAssets.Journal."FA Journal Line" | |
| FAJnlTemplate | Table Microsoft.FixedAssets.Journal."FA Journal Template" | |
| FAJnlBatch | Table Microsoft.FixedAssets.Journal."FA Journal Batch" | |
| LastFAJnlLine | Table Microsoft.FixedAssets.Journal."FA Journal Line" |
OnAfterShowDimensions
[IntegrationEvent(False,False)]
local procedure OnAfterShowDimensions(var FAJournalLine: Record "FA Journal Line")
Parameters
| Name | Type | Description |
|---|---|---|
| FAJournalLine | Table Microsoft.FixedAssets.Journal."FA Journal Line" |
OnAfterValidateShortcutDimCode
[IntegrationEvent(False,False)]
local procedure OnAfterValidateShortcutDimCode(var FAJournalLine: Record "FA Journal Line"; var xFAJournalLine: Record "FA Journal Line"; FieldNumber: Integer; var ShortcutDimCode: Code[20])
Parameters
| Name | Type | Description |
|---|---|---|
| FAJournalLine | Table Microsoft.FixedAssets.Journal."FA Journal Line" | |
| xFAJournalLine | Table Microsoft.FixedAssets.Journal."FA Journal Line" | |
| FieldNumber | Integer | |
| ShortcutDimCode | Code[20] |
OnBeforeCheckInsuranceFAPostingType
[IntegrationEvent(False,False)]
local procedure OnBeforeCheckInsuranceFAPostingType(var FAJournalLine: Record "FA Journal Line"; var IsHandled: Boolean)
Parameters
| Name | Type | Description |
|---|---|---|
| FAJournalLine | Table Microsoft.FixedAssets.Journal."FA Journal Line" | |
| IsHandled | Boolean |
OnBeforeValidateShortcutDimCode
[IntegrationEvent(False,False)]
local procedure OnBeforeValidateShortcutDimCode(var FAJournalLine: Record "FA Journal Line"; var xFAJournalLine: Record "FA Journal Line"; FieldNumber: Integer; var ShortcutDimCode: Code[20]; var IsHandled: Boolean)
Parameters
| Name | Type | Description |
|---|---|---|
| FAJournalLine | Table Microsoft.FixedAssets.Journal."FA Journal Line" | |
| xFAJournalLine | Table Microsoft.FixedAssets.Journal."FA Journal Line" | |
| FieldNumber | Integer | |
| ShortcutDimCode | Code[20] | |
| IsHandled | Boolean |
OnConvertToLedgEntryCase
[IntegrationEvent(False,False)]
local procedure OnConvertToLedgEntryCase(var FALedgerEntry: Record "FA Ledger Entry"; FAJournalLine: Record "FA Journal Line")
Parameters
| Name | Type | Description |
|---|---|---|
| FALedgerEntry | Table Microsoft.FixedAssets.Ledger."FA Ledger Entry" | |
| FAJournalLine | Table Microsoft.FixedAssets.Journal."FA Journal Line" |
OnValidateFANoOnAfterInitFields
[IntegrationEvent(False,False)]
local procedure OnValidateFANoOnAfterInitFields(var FAJournalLine: Record "FA Journal Line")
Parameters
| Name | Type | Description |
|---|---|---|
| FAJournalLine | Table Microsoft.FixedAssets.Journal."FA Journal Line" |
OnBeforeValidateFAPostingType
[IntegrationEvent(False,False)]
local procedure OnBeforeValidateFAPostingType(var FAJournalLine: Record "FA Journal Line"; var IsHandled: Boolean; FieldNumber: Integer)
Parameters
| Name | Type | Description |
|---|---|---|
| FAJournalLine | Table Microsoft.FixedAssets.Journal."FA Journal Line" | |
| IsHandled | Boolean | |
| FieldNumber | Integer |
OnAfterIsAcquisitionCost
[IntegrationEvent(False,False)]
local procedure OnAfterIsAcquisitionCost(var FAJournalLine: Record "FA Journal Line"; var AcquisitionCost: Boolean)
Parameters
| Name | Type | Description |
|---|---|---|
| FAJournalLine | Table Microsoft.FixedAssets.Journal."FA Journal Line" | |
| AcquisitionCost | Boolean |