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