Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Suggested answer

Save Email on Parameters / Option - batch jobs

(0) ShareShare
ReportReport
Posted on by 15

Hi all,

I'd like to know to save the Email parameter. The problem is:

I run the report for Site=20 with Email_1@nnn.com 

pastedimage1586266050622v3.png

Then, TI run the report for Site=30 with   testEmail2@ppp.com 

pastedimage1586266212485v4.png

The batches are scheduled every 1 hour. When I come back to the first batch job (Site=20), go to Parameters / Option the email populated is the last one "testEmail2@ppp.com" instead of "Email_1@nnn.com"

The class extends of RunBaseReport with :

pastedimage1586266620047v5.png

Pack and unpack are have   version,#CurrentList, base

public container pack()
{
     return [#CurrentVersion,#CurrentList] + [super()];
}

pastedimage1586266752645v6.png

any idea?

Thank you in advance.

  • Suggested answer
    AitorMartin Profile Picture
    AitorMartin 15 on at
    RE: Save Email on Parameters / Option - batch jobs

    Hi,

    thank you for your answer. I think it’s not possible to do it because AX updates the “value” field (options etc.) by record. That means it updates the last one.

    Index is: User, type, element (report, form, etc) and company.

    pastedimage1586419785397v1.png

  • RE: Save Email on Parameters / Option - batch jobs

    Hi Aitor,

    I have asked our technical team for their opinion on this issue. We will get back soon.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,431 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,503 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans