Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX forum
Suggested answer

Run base batch in ax2012

Posted on by Microsoft Employee

Hi 

How can we clear the old parameter values of a Run base batch in ax2012,here I am using the file path as a parameter.

  • Martin Dráb Profile Picture
    Martin Dráb 225,490 Super User on at
    RE: Run base batch in ax2012

    Do you want to clear the value in a particular case or do you want to always open the dialog without values from the previous run? If it's the latter, you can disable saving of values completely.

    Removing the value from CurrentlyList isn't a good idea. It would mean that the value wouldn't be passed to batch processing at all.

  • Suggested answer
    Gunjan Bhattachayya Profile Picture
    Gunjan Bhattachayya 35,417 on at
    RE: Run base batch in ax2012

    Hi mahiims18,

    There would be a macro CurrentList that would have the variable used to hold the file path value. You can remove the variable from this macro and also increment the CurrentVersion macro.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Run base batch in ax2012

    Hi Gunjan,

    I am trying to clear the parameter value.

  • Gunjan Bhattachayya Profile Picture
    Gunjan Bhattachayya 35,417 on at
    RE: Run base batch in ax2012

    Hi mahiims18,

    Are you looking to remove this file path parameter from the run base batch class or are you trying to clear the value?

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,696 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,490 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans