Codeunit 37203 PEPPOL30 Sales Validation Impl

PEPPOL, Microsoft.Peppol

Source AL, 390 lines

src/Apps/W1/PEPPOL/App/src/Sales/PEPPOL30SalesValidationImpl.Codeunit.allines 20 to 35 of 390, Copyright (c) Microsoft Corporation. MIT

codeunit 37203 "PEPPOL30 Sales Validation Impl"{    Access = Internal;    InherentEntitlements = X;    InherentPermissions = X;    var        ConfirmManagement: Codeunit "Confirm Management";        PEPPOLManagementImpl: Codeunit "PEPPOL30 Impl.";        OutsideScopeVATBreakdowns: Dictionary of [Text, Text];        EmptyUnitOfMeasureErr: Label 'You must specify a valid International Standard Code for the Unit of Measure for %1.', Comment = '%1 - Unit of Measure Code';        MissingDescriptionErr: Label 'Description field is empty. \Field must be filled if you want to send the posted document as an electronic document.', Comment = 'Parameter 1 - document type (), 2 - document number';        NegativeUnitPriceErr: Label 'The unit price is negative in %1. It cannot be negative if you want to send the posted document as an electronic document. \\Do you want to continue?', Comment = '%1 - record ID';        OnlyOneOCategoryVatPostingSetupErr: Label 'There can be only one tax subtotal present on invoice used with "Not subject to VAT" (O) tax category.';        VATGreaterThanZeroErr: Label 'Line should have greater VAT than 0% for tax category %1', Comment = '%1 - Tax Category code';        VatMustBeZeroForCategoryErr: Label 'VAT % must be 0 for tax category code %1', Comment = '%1 - Tax Category code';

All 390 lines

Public procedures 5 in 29

CheckSalesDocument(SalesHeader: Record "Sales Header")new in 28
CheckSalesDocumentLines(SalesHeader: Record "Sales Header")new in 28
CheckSalesDocumentLine(SalesLine: Record "Sales Line")new in 28
CheckPostedDocument(PostedDocumentVariant: Variant)new in 28
CheckSalesLineTypeAndDescription(SalesLine: Record "Sales Line"): Booleannew in 28

All 14 procedures in 28-29