Codeunit 131300 Library - ERM

Application Test Library

Source AL, 3,224 lines

src/Layers/W1/Tests/ApplicationTestLibrary/LibraryERM.Codeunit.allines 4 to 19 of 3,224, Copyright (c) Microsoft Corporation. MIT

codeunit 131300 "Library - ERM"{    Permissions = TableData Currency = rimd,                  TableData "Cust. Ledger Entry" = rimd,                  TableData "Vendor Ledger Entry" = rimd,                  TableData "Gen. Journal Template" = rimd,                  TableData "VAT Posting Setup" = rimd;    trigger OnRun()    begin    end;    var        GeneralLedgerSetup: Record "General Ledger Setup";        LibraryUtility: Codeunit "Library - Utility";

All 3,224 lines

Events 12 in 29

[IntegrationEvent] OnAfterCreatePaymentTerms(var PaymentTerms: Record "Payment Terms")new in 28
[IntegrationEvent] OnAfterCreatePostCode(var PostCode: Record "Post Code")new in 28
[IntegrationEvent] OnBeforeCreatePrepaymentVATPostingSetup(var VATPostingSetup: Record "VAT Posting Setup"; VATCalcType: Enum "Tax Calculation Type"; GenPostingType: Enum "General Posting Type"; SetupGLAccount: Record "G/L Account"; VATAccountNo: Code[20]; var Handled: Boolean)new in 28
[IntegrationEvent] OnAfterCreatePrepaymentVATPostingSetup(var VATPostingSetup: Record "VAT Posting Setup"; VATCalcType: Enum "Tax Calculation Type"; GenPostingType: Enum "General Posting Type"; SetupGLAccount: Record "G/L Account"; VATAccountNo: Code[20])new in 28
[IntegrationEvent] OnBeforeCreateVATPostingSetupWithAccounts(var VATPostingSetup: Record "VAT Posting Setup"; VATCalculationType: Enum "Tax Calculation Type"; VATRate: Decimal; var IsHandled: Boolean)new in 28
[IntegrationEvent] OnBeforeSetPostingGroupsOnPrepmtGLAccount(var LineGLAccount: Record "G/L Account"; var PrepmtGLAccount: Record "G/L Account"; GenPostingType: Enum "General Posting Type"; VATCalcType: Option "Normal VAT","Reverse Charge VAT","Full VAT","Sales Tax"; PrepmtVATCalcType: Option; var Handled: Boolean)new in 28
[IntegrationEvent] OnAfterSetPostingGroupsOnPrepmtGLAccount(var LineGLAccount: Record "G/L Account"; var PrepmtGLAccount: Record "G/L Account"; GenPostingType: Enum "General Posting Type"; VATCalcType: Option "Normal VAT","Reverse Charge VAT","Full VAT","Sales Tax"; PrepmtVATCalcType: Option)new in 28

All 12 events

Public procedures 269 in 29

ApplicationAmountRounding(ApplicationAmount: Decimal; CurrencyCode: Code[10]): Decimalnew in 28
ApplyCustomerLedgerEntries(ApplyingDocumentType: Enum "Gen. Journal Document Type"; DocumentType: Enum "Gen. Journal Document Type"; ApplyingDocumentNo: Code[20]; DocumentNo: Code[20])new in 28
ApplyVendorLedgerEntries(ApplyingDocumentType: Enum "Gen. Journal Document Type"; DocumentType: Enum "Gen. Journal Document Type"; ApplyingDocumentNo: Code[20]; DocumentNo: Code[20])new in 28
ClearAdjustPmtDiscInVATSetup()new in 28
CheckPreview(PaymentJournal: TestPage "Payment Journal"): Textnew in 28
ClearGenJournalLines(GenJournalBatch: Record "Gen. Journal Batch")new in 28

All 269 procedures

Changes 8 in 29

List17181920212223242526272829
Procedures8
CreateReminderTermsAndLevel(var ReminderTerms: Record "Reminder Terms"; var ReminderLevel: Record "Reminder Level")new in 29
added
CreateReminderAttachmentText(var ReminderAttachmentText: Record "Reminder Attachment Text"; var ReminderTerms: Record "Reminder Terms"; LanguageCode: Code[10])new in 29
added
CreateReminderAttachmentText(var ReminderAttachmentText: Record "Reminder Attachment Text"; var ReminderLevel: Record "Reminder Level"; LanguageCode: Code[10])new in 29
added
CreateReminderAttachmentTextLine(var ReminderAttachmentTextLine: Record "Reminder Attachment Text Line"; ReminderAttachmentText: Record "Reminder Attachment Text"; Position: Option "Beginning Line","Ending Line"; LineText: Text[100])new in 29
added
SetReminderAttachmentTextInlineFeeDescription(var ReminderAttachmentText: Record "Reminder Attachment Text"; InlineFeeDescription: Text[100])new in 29
added
CreateReminderEmailText(var ReminderEmailText: Record "Reminder Email Text"; var ReminderTerms: Record "Reminder Terms"; LanguageCode: Code[10])new in 29
added

All 8 changes in 28-29