Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Event Request] report 5199 Update Contact Classification - Change Parameters Event #28324

Open
ChrSt89 opened this issue Mar 7, 2025 · 0 comments

Comments

@ChrSt89
Copy link

ChrSt89 commented Mar 7, 2025

Describe the request

We would like the Parameter/-s Date added to the following event (and ProfileQuestionnaireLine with var)

Original

local procedure FindCustomerValues(ProfileQuestionnaireLine: Record "Profile Questionnaire Line")
<...>
repeat 
  OnFindCustomerValuesOnBeforeCustLoop(ProfileQuestionnaireLine, Cust);
<...>


[IntegrationEvent(true, false)]
local procedure OnFindCustomerValuesOnBeforeCustLoop(ProfileQuestionnaireLine: Record "Profile Questionnaire Line"; var Customer: Record Customer)
begin
end;

local procedure FindContactValues(ProfileQuestionnaireLine: Record "Profile Questionnaire Line")
<...>
repeat
  OnFindContactValuesOnBeforeContLoop(ProfileQuestionnaireLine, Cont);
<...>

[IntegrationEvent(true, false)]
local procedure OnFindContactValuesOnBeforeContLoop(ProfileQuestionnaireLine: Record "Profile Questionnaire Line"; var Contact: Record Contact)
begin
end;

Change

    [IntegrationEvent(true, false)]
    local procedure OnFindContactValuesOnBeforeContLoop(var ProfileQuestionnaireLine: Record "Profile Questionnaire Line"; var Contact: Record Contact; Date: Date) // <-- ADDED
    begin
    end;

    [IntegrationEvent(true, false)]
    local procedure OnFindCustomerValuesOnBeforeCustLoop(var ProfileQuestionnaireLine: Record "Profile Questionnaire Line"; var Customer: Record Customer; Date: Date) // <-- ADDED
    begin
    end;

Additional context

In order to use custom Date-Formulas based on accounting periods the parameter "ProfileQuestionnaireLine" should be modifyable with "var" and the global variable "Date" should be accessible and be part of the parameters.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant