Skip to content

[Event Request] Codeunit 11756 "Registration No. Mgt. CZL".CheckDuplicity #29845

@fridrichovsky

Description

@fridrichovsky

Why do you need this change?

Please add new event that we need for change securityfiltering. Customer use filtering, but it genereate unwanted error in this function. Because duplicity have to be over all records we need change securityfiltering. This change we need for Vendors, Contacts and Customers it is reason why we ask for event in this position.

Describe the request

local procedure CheckDuplicity(RegNo: Text[20]; Number: Code[20]; TableID: Option; IsTax: Boolean)
begin
    //-----------------------------OnBeforeCheckDuplicity:BEGIN
    OnBeforeCheckDuplicity(Customer, Vendor, Contact);
    //-----------------------------OnBeforeCheckDuplicity:END
    case TableID of
        DataBase::Customer:
            CheckCustomerDuplicity(RegNo, Number, IsTax);
        DataBase::Vendor:
            CheckVendorDuplicity(RegNo, Number, IsTax);
        DataBase::Contact:
            CheckContactDuplicity(RegNo, Number, IsTax);
    end;
end;

//-----------------------------OnBeforeCheckDuplicity:BEGIN
[IntegrationEvent(false, false)]
local procedure OnBeforeCheckDuplicity(var Customer: Record "Customer"; var Vendor: Record "Vendor"; var Contact: Record "Contact")
begin
end;
//-----------------------------OnBeforeCheckDuplicity:END

Internal work item: AB#626053

Metadata

Metadata

Assignees

No one assigned

    Labels

    FinanceGitHub request for Finance areaevent-requestRequest for adding an event

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions