Skip to main content

Notifications

Microsoft Dynamics AX forum
Suggested answer

Save Email on Parameters / Option - batch jobs

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

News and Announcements

Give Back to the Community this Month

Quick Links

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,802 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,133 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,154

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans