Codeunit 204 Alt. Cust. VAT Reg. Cons.Impl.

Base Application, Microsoft.Finance.VAT.Registration

Source AL, 52 lines

src/Layers/W1/BaseApp/Finance/VAT/Registration/AltCustVATRegConsImpl.Codeunit.allines 10 to 25 of 52, Copyright (c) Microsoft Corporation. MIT

codeunit 204 "Alt. Cust. VAT Reg. Cons.Impl." implements "Alt. Cust. VAT Reg. Consist."{    Access = Internal;    InherentEntitlements = X;    InherentPermissions = X;    var        CountryCodeMatchesCustomerErr: Label 'You cannot have the same VAT Country/Region Code as the Customer Country/Region Code';        InconsistentSetupErr: Label 'Not possible to have Alternative Customer VAT Registration with the same Customer No. and VAT Country/Region Code';        ChangeCountryOfCustQst: Label 'There is an alternative customer VAT registration with the same country/region code that is not allowed. Do you want to change the country/region code in the customer card and remove the alternative customer VAT registration?';    procedure CheckAltCustVATRegConsistent(AltCustVATReg: Record "Alt. Cust. VAT Reg.")    var        ExistingAltCustVATReg: Record "Alt. Cust. VAT Reg.";        Customer: Record Customer;    begin

All 52 lines

Public procedures 2 in 29

CheckAltCustVATRegConsistent(AltCustVATReg: Record "Alt. Cust. VAT Reg.")new in 25
CheckCustomerConsistency(Customer: Record Customer)new in 25