Source AL, 161 lines
src/Apps/W1/Sustainability/app/src/ExciseTax/SustExciseJnlCheck.Codeunit.allines 13 to 28 of 161, Copyright (c) Microsoft Corporation. MIT
codeunit 6273 "Sust. Excise Jnl.-Check"{ procedure CheckCommonConditionsBeforePosting(var SustainabilityExciseJnlLine: Record "Sust. Excise Jnl. Line") begin if SustainabilityExciseJnlLine."Line No." = 0 then Error(SustainabilityExciseJnlLineEmptyErr); // This condition should be met by design, but checking in case of customization if not (SustainabilityExciseJnlLine.GetRangeMax("Journal Template Name") = SustainabilityExciseJnlLine.GetRangeMin("Journal Template Name")) then Error(SustainabilityExciseJournalTemplateMismatchErr); if not (SustainabilityExciseJnlLine.GetRangeMax("Journal Batch Name") = SustainabilityExciseJnlLine.GetRangeMin("Journal Batch Name")) then Error(SustainabilityExciseJournalBatchMismatchErr); end;
All 161 lines
Events 2 in 29
Public procedures 4 in 29
Changes 1 in 28
| List | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 |
|---|
| Events | | | | | | | | | | | | 1 | |
|---|
| [IntegrationEvent] OnBeforeTestEmissionAmount(SustainabilityExciseJnlLine: Record "Sust. Excise Jnl. Line"; var IsHandled: Boolean) | new in 28 |
| added |
All 1 changes in 27-29