{"title":"Codeunit 1890 Reminder Communication, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/1890-reminder-communication/points/","author":"JOP-AL","license":"Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/","subject":"Microsoft Dynamics 365 Business Central","checked":"2026-11-20","changed":"2026-10-05","object":{"type":"codeunit","id":1890,"name":"Reminder Communication","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/1890-reminder-communication/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/1890-reminder-communication/source/","path":"src/Layers/W1/BaseApp/Sales/Reminder/TermsAndLevels/ReminderCommunication.Codeunit.al","commit":"4303e5e584d3aa5d9e98cbc615525a5396ad6ed7","lines":"a line is <source url>#L<line>"},"steps":{"event":"[line, \"event\", name, handled]: raises an event of this object; handled 1 when it has an IsHandled parameter","call":"[line, \"call\", name, arguments]: calls a procedure of this object","ext":"[line, \"ext\", type, id, name, arguments]: calls a procedure of another object, through a variable declared with that type","write":"[line, \"write\", table id, method, 1 when called with true]: Insert, Modify, ModifyAll, Delete, DeleteAll or Rename","validate":"[line, \"validate\", table id, field name]","run":"[line, \"run\", type, id]: Codeunit.Run, Page.Run, Report.Run and their kin"},"objects":{"table:295":{"name":"Reminder Header","url":"https://jonas-paprotka.de/ref/table/295-reminder-header/"},"codeunit:43":{"name":"Language","url":"https://jonas-paprotka.de/ref/codeunit/43-language/"},"codeunit:45":{"name":"Auto Format","url":"https://jonas-paprotka.de/ref/codeunit/45-auto-format/"},"table:502":{"name":"Reminder Attachment Text","url":"https://jonas-paprotka.de/ref/table/502-reminder-attachment-text/"},"table:503":{"name":"Reminder Email Text","url":"https://jonas-paprotka.de/ref/table/503-reminder-email-text/"},"codeunit:9520":{"name":"Mail Management","url":"https://jonas-paprotka.de/ref/codeunit/9520-mail-management/"},"codeunit:10":{"name":"Type Helper","url":"https://jonas-paprotka.de/ref/codeunit/10-type-helper/"},"codeunit:1890":{"name":"Reminder Communication","url":"https://jonas-paprotka.de/ref/codeunit/1890-reminder-communication/"},"table:504":{"name":"Reminder Attachment Text Line","url":"https://jonas-paprotka.de/ref/table/504-reminder-attachment-text-line/"},"table:297":{"name":"Issued Reminder Header","url":"https://jonas-paprotka.de/ref/table/297-issued-reminder-header/"},"codeunit:3960":{"name":"Regex","url":"https://jonas-paprotka.de/ref/codeunit/3960-regex/"},"codeunit:4100":{"name":"Temp Blob","url":"https://jonas-paprotka.de/ref/codeunit/4100-temp-blob/"},"codeunit:452":{"name":"Report Distribution Management","url":"https://jonas-paprotka.de/ref/codeunit/452-report-distribution-management/"}},"procs":[{"name":"FindDescriptionForLineFee","line":32,"kind":"procedure","params":4,"steps":[[39,"call","GetCustomerLanguageOrDefaultUserLanguage",1],[42,"call","TryGetReminderAttachmentText",3],[43,"call","SubstituteInlineFeeDescription",3],[47,"call","TryGetReminderAttachmentText",3],[48,"call","SubstituteInlineFeeDescription",3]]},{"name":"InsertBeginningText","line":63,"kind":"procedure","params":3,"steps":[[70,"call","GetCustomerLanguageOrDefaultUserLanguage",1],[75,"call","TryGetReminderAttachmentText",3],[76,"call","CalculateLineSpacingForBeginningText",2],[77,"ext","table",295,"InsertTextLines",5],[81,"call","TryGetReminderAttachmentText",3],[82,"call","CalculateLineSpacingForBeginningText",2],[83,"ext","table",295,"InsertTextLines",5]]},{"name":"InsertEndingText","line":94,"kind":"procedure","params":3,"steps":[[102,"call","GetCustomerLanguageOrDefaultUserLanguage",1],[125,"call","TryGetReminderAttachmentText",3],[126,"call","CalculateLineSpacingForEndingText",3],[127,"ext","table",295,"InsertTextLines",5],[131,"call","TryGetReminderAttachmentText",3],[132,"call","CalculateLineSpacingForEndingText",3],[133,"ext","table",295,"InsertTextLines",5]]},{"name":"GetCustomerLanguageOrDefaultUserLanguage","line":138,"kind":"procedure","access":"local","params":1,"steps":[[148,"ext","codeunit",43,"GetUserLanguageCode",0],[151,"ext","codeunit",43,"GetLanguageCode",1],[151,"ext","codeunit",43,"GetDefaultApplicationLanguageId",0]]},{"name":"SubstituteBeginningOrEndingDescription","line":187,"kind":"procedure","params":5,"steps":[[206,"ext","codeunit",45,"ResolveAutoFormat",2],[214,"ext","codeunit",45,"ResolveAutoFormat",2]]},{"name":"GetListOfAttachmentLanguagesFromIdWithSeparator","line":232,"kind":"procedure","params":2,"steps":[[236,"call","GetListOfAttachmentLanguagesFromId",1],[237,"call","GenerateTextofLanguagesFromListOfCode",2]]},{"name":"GetListOfEmailLanguagesFromIdWithSeparator","line":246,"kind":"procedure","params":2,"steps":[[250,"call","GetListOfEmailLanguagesFromId",1],[251,"call","GenerateTextofLanguagesFromListOfCode",2]]},{"name":"SetDefaultContentForNewLanguage","line":326,"kind":"procedure","params":4,"steps":[[331,"ext","table",502,"SetDefaultContentForNewLanguage",4],[332,"ext","table",503,"SetDefaultContentForNewLanguage",4]]},{"name":"ExtractAttachmentAndEmailLanguages","line":360,"kind":"procedure","params":1,"steps":[[365,"call","GetListOfAttachmentLanguagesFromIdWithSeparator",2],[366,"call","GetListOfEmailLanguagesFromIdWithSeparator",2]]},{"name":"PopulateEmailText","line":381,"kind":"procedure","params":8,"steps":[[390,"ext","table",503,"GetDescriptionLbl",0],[394,"ext","table",503,"GetDefaultGreetingLbl",0],[395,"ext","table",503,"GetDefaultClosingLbl",0],[397,"ext","codeunit",9520,"IsHandlingGetEmailBody",0],[398,"call","SelectEmailBodyText",2],[399,"call","StripHtmlTags",1],[400,"call","SubstituteRelatedValues",4],[404,"call","GetReminderEmailText",2],[408,"ext","codeunit",9520,"IsHandlingGetEmailBody",0],[409,"call","SelectEmailBodyText",3],[410,"call","StripHtmlTags",1],[411,"call","SubstituteRelatedValues",4],[414,"ext","table",503,"GetDefaultGreetingLbl",0],[416,"ext","table",503,"GetAmtDueLbl",0],[417,"ext","table",503,"GetDefaultClosingLbl",0],[420,"call","SubstituteRelatedValues",4],[421,"call","SubstituteRelatedValues",4]]},{"name":"SelectEmailBodyText","line":424,"kind":"procedure","access":"local","params":3,"steps":[[432,"ext","codeunit",10,"TryReadAsTextWithSepAndFieldErrMsg",3],[432,"ext","codeunit",10,"LFSeparator",0],[435,"ext","table",503,"GetBodyText",0]]},{"name":"SelectEmailBodyText","line":438,"kind":"procedure","access":"local","params":2,"steps":[[447,"ext","codeunit",10,"TryReadAsTextWithSepAndFieldErrMsg",3],[447,"ext","codeunit",10,"LFSeparator",0],[450,"ext","table",503,"GetBodyLbl",0]]},{"name":"SubstituteRelatedValues","line":453,"kind":"procedure","access":"local","params":4,"steps":[[468,"ext","codeunit",45,"ResolveAutoFormat",2],[471,"ext","codeunit",45,"ResolveAutoFormat",2],[478,"event","OnAfterSubstituteRelatedValues",0]]},{"name":"CheckMissMatchBetweenLanguages","line":481,"kind":"procedure","access":"internal","params":1,"steps":[[496,"ext","codeunit",1890,"GetListOfAttachmentLanguagesFromIdWithSeparator",2],[497,"ext","codeunit",1890,"GetListOfEmailLanguagesFromIdWithSeparator",2],[503,"ext","codeunit",1890,"GetListOfAttachmentLanguagesFromIdWithSeparator",2],[504,"ext","codeunit",1890,"GetListOfEmailLanguagesFromIdWithSeparator",2]]},{"name":"TransferReminderText","line":537,"kind":"procedure","access":"internal","params":0,"steps":[[552,"ext","codeunit",43,"GetUserLanguageCode",0],[570,"ext","table",502,"SetDefaultContentForNewLanguage",4],[573,"ext","table",503,"SetDefaultContentForNewLanguage",4],[585,"event","OnTransferReminderTextOnBeforeInsertBeginningReminderAttachmentTextLine",0],[586,"write",504,"Insert",1],[596,"event","OnTransferReminderTextOnBeforeInsertEndingReminderAttachmentTextLine",0],[597,"write",504,"Insert",1],[603,"ext","table",503,"SetBodyText",1],[603,"ext","codeunit",10,"TryReadAsTextWithSepAndFieldErrMsg",3],[603,"ext","codeunit",10,"LFSeparator",0]]},{"name":"TransferReminderTermsTranslations","line":610,"kind":"procedure","access":"internal","params":0,"steps":[[633,"ext","table",502,"SetDefaultContentForNewLanguage",4],[635,"ext","table",503,"SetDefaultContentForNewLanguage",4],[638,"write",502,"Modify",1]]},{"name":"TransferReminderTermsLineFeeDescription","line":644,"kind":"procedure","access":"internal","params":0,"steps":[[655,"ext","codeunit",43,"GetUserLanguageCode",0],[668,"ext","table",502,"SetDefaultContentForNewLanguage",4],[670,"ext","table",503,"SetDefaultContentForNewLanguage",4],[673,"write",502,"Modify",1]]},{"name":"TransferReminderLevelLineFeeDescription","line":678,"kind":"procedure","access":"internal","params":0,"steps":[[689,"ext","codeunit",43,"GetUserLanguageCode",0],[702,"ext","table",502,"SetDefaultContentForNewLanguage",4],[704,"ext","table",503,"SetDefaultContentForNewLanguage",4],[707,"write",502,"Modify",1]]},{"name":"FindEmailSubject","line":712,"kind":"procedure","access":"local","params":2,"steps":[[716,"call","GetReminderEmailText",2],[720,"call","SubstituteRelatedValues",4],[720,"ext","table",297,"CalculateTotalIncludingVAT",0]]},{"name":"ReplaceHTMLText","line":724,"kind":"procedure","access":"local","params":2,"steps":[[730,"call","GetReminderEmailText",2],[731,"call","SelectEmailBodyText",3],[733,"call","SelectEmailBodyText",2],[735,"call","SubstituteRelatedValues",4],[735,"ext","table",297,"CalculateTotalIncludingVAT",0]]},{"name":"FindFileName","line":739,"kind":"procedure","access":"local","params":3,"steps":[[743,"call","GetReminderAttachmentText",2],[750,"call","SubstituteRelatedValues",4],[750,"ext","table",297,"CalculateTotalIncludingVAT",0]]},{"name":"GetReminderEmailText","line":755,"kind":"procedure","access":"local","params":2,"steps":[[767,"call","GetCustomerLanguageOrDefaultUserLanguage",1],[768,"call","TryGetReminderEmailText",3],[774,"call","TryGetReminderEmailText",3]]},{"name":"GetReminderAttachmentText","line":817,"kind":"procedure","access":"local","params":2,"steps":[[829,"call","GetCustomerLanguageOrDefaultUserLanguage",1],[830,"call","TryGetReminderAttachmentText",3],[836,"call","TryGetReminderAttachmentText",3]]},{"name":"StripHtmlTags","line":858,"kind":"procedure","access":"local","params":1,"steps":[[864,"ext","codeunit",3960,"Replace",3],[867,"ext","codeunit",10,"HtmlDecode",1]]},{"name":"OnReplaceHTMLText","line":892,"kind":"procedure","access":"local","params":3,"steps":[[904,"event","OnBeforeExitReportIDOnReplaceHTMLText",0],[916,"ext","codeunit",4100,"CreateInStream",2],[917,"ext","codeunit",10,"TryReadAsTextWithSeparator",3],[917,"ext","codeunit",10,"LFSeparator",0],[921,"call","ReplaceHTMLText",2],[923,"ext","codeunit",4100,"CreateOutStream",2]]},{"name":"OnBeforeGetEmailSubject","line":928,"kind":"procedure","access":"local","params":5,"steps":[[939,"ext","codeunit",452,"GetIssuedReminderDocTypeTxt",0],[945,"call","FindEmailSubject",2]]},{"name":"GetFilename","line":950,"kind":"procedure","access":"local","params":7,"steps":[[967,"call","FindFileName",3]]},{"name":"OnBeforeGetAttachmentFileName","line":972,"kind":"procedure","access":"local","params":3,"steps":[[982,"call","FindFileName",3]]}]}