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
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
Internal work item: AB#626053