Skip to content

[Event Requet] Table 222 "Ship-to Address".GetFilterCustNo #29801

@fridrichovsky

Description

@fridrichovsky

Why do you need this change?

Customer have very strict filter for each user. We need change Security filtering before set filter.

Describe the request

procedure GetFilterCustNo(): Code[20]
     begin
 //-----------------------------------------OnBeforeGetFilterCustNo:BEGIN
     OnBeforeGetFilterCustNo(Rec);
 //-----------------------------------------OnBeforeGetFilterCustNo:END
    if GetFilter("Customer No.") <> '' then
         if GetRangeMin("Customer No.") = GetRangeMax("Customer No.") then
             exit(GetRangeMax("Customer No."));
     end;
//-----------------------------------------OnBeforeGetFilterCustNo:BEGIN
     [IntegrationEvent(false, false)]
     local procedure OnBeforeGetFilterCustNo(var ShipToAddress: Record "Ship-to Address")
     begin
     end;
 //-----------------------------------------OnBeforeGetFilterCustNo:END

Internal work item: AB#624640

Metadata

Metadata

Assignees

No one assigned

    Labels

    SCMGitHub request for SCM areaevent-requestRequest for adding an eventships-in-future-updateFix ships in a future update

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions