Source AL, 159 lines
src/Layers/W1/BaseApp/FixedAssets/FixedAsset/MakeFALedgerEntry.Codeunit.allines 13 to 28 of 159, Copyright (c) Microsoft Corporation. MIT
codeunit 5604 "Make FA Ledger Entry"{ trigger OnRun() begin end; procedure CopyFromFAJnlLine(var FALedgEntry: Record "FA Ledger Entry"; FAJnlLine: Record "FA Journal Line") begin FALedgEntry.Init(); FALedgEntry."User ID" := CopyStr(UserId(), 1, MaxStrLen(FALedgEntry."User ID")); FALedgEntry."Entry No." := FAJnlLine."FA Error Entry No."; FALedgEntry."G/L Entry No." := 0; FALedgEntry."Depreciation Book Code" := FAJnlLine."Depreciation Book Code"; FALedgEntry."FA No." := FAJnlLine."FA No."; FALedgEntry."FA Posting Date" := FAJnlLine."FA Posting Date";
All 159 lines
Events 4 in 29
| [IntegrationEvent] OnAfterCopyFromFAJnlLine(var FALedgerEntry: Record "FA Ledger Entry"; FAJournalLine: Record "FA Journal Line") | 17-29 |
| [IntegrationEvent] OnAfterCopyFromGenJnlLine(var FALedgerEntry: Record "FA Ledger Entry"; GenJournalLine: Record "Gen. Journal Line") | 17-29 |
| [IntegrationEvent] OnAfterCopyFromFACard(var FALedgerEntry: Record "FA Ledger Entry"; var FixedAsset: Record "Fixed Asset"; var FADepreciationBook: Record "FA Depreciation Book"; var xFALedgerEntry: Record "FA Ledger Entry") | 17-29 |
| [IntegrationEvent] OnBeforeCopyFromFACard(var FALedgerEntry: Record "FA Ledger Entry"; var FixedAsset: Record "Fixed Asset"; var FADepreciationBook: Record "FA Depreciation Book"; var xFALedgerEntry: Record "FA Ledger Entry") | 17-29 |
Public procedures 3 in 29
| CopyFromFAJnlLine(var FALedgEntry: Record "FA Ledger Entry"; FAJnlLine: Record "FA Journal Line") | 17-29 |
| CopyFromGenJnlLine(var FALedgEntry: Record "FA Ledger Entry"; GenJnlLine: Record "Gen. Journal Line") | 17-29 |
| CopyFromFACard(var FALedgEntry: Record "FA Ledger Entry"; var FA: Record "Fixed Asset"; var FADeprBook: Record "FA Depreciation Book") | 17-29 |