Procedure CheckDefaultDimension(var Customer: Record Customer)
var
DefaultDimension: Record "Default Dimension";
begin
DefaultDimension.SetRange("Table ID", Database::Customer);
DefaultDimension.SetRange("No.", Customer."No.");
If DefaultDimension.IsEmpty() then
Error('Default Dimension is not set for this customer. Please set the default dimension for this customer.');
end;
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,269 Super User 2024 Season 2
Martin Dráb 230,198 Most Valuable Professional
nmaenpaa 101,156