Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX forum
Suggested answer

Records delete on grid

Posted on by Microsoft Employee

hi all

while delete multi records on a grid(i.e. ledger journal), not selected record will deleted, but selected will not deleted.

does anyone have meet this questions before.

found hotfix at LCS but the version is AX 2012 R2 ,current ax version is ax 2012 R3 CU8.

8865.pic.PNG

Categories:
  • SMAQ Profile Picture
    SMAQ 15 on at
    RE: Records delete on grid

    Can you please let me know resolution. we are facing the same issue.

    Appreciate in advance

  • Ahmad Saify Profile Picture
    Ahmad Saify 10 on at
    RE: Records delete on grid

    This is a Bug which I have fixed... if you still need the resolution please let me know  

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Records delete on grid

    thanks you Martin.

    I think this is Ax bug ,because the code was standard,

    I will check the code and try to fix it.

  • Martin Dráb Profile Picture
    Martin Dráb 225,783 Super User on at
    RE: Records delete on grid

    So is it just about this single form or not? If so, have you tried to find out which piece of code does the deletion? Then you should check whether it's standard logic or a customization.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Records delete on grid

    hello ,martin

    I'm sorry for not say clearly.

    please see below.

    1. 53 general journal have created. on description field sequences number was input,001~053

    1452.4.PNG1768.2.PNG

    2.select the first 29 journal to delete

    0564.3.PNG 

    3.after deleted.

    selected journals were not delete, still checked,

    but other journal between 30 and 53, some have been deleted,031,033,035,035(Seq No on description)

    1452.4.PNG

  • Martin Dráb Profile Picture
    Martin Dráb 225,783 Super User on at
    RE: Records delete on grid

    I'm sorry, but your doesn't make clear whether this problem occurs only in "General journal grid" or other forms as well.

    If it works with one line, what about two lines? Please do some testing by yourself, so you give us more precise information about when it happened and when it doesn't.

  • Suggested answer
    dekaasboer Profile Picture
    dekaasboer 1,530 on at
    RE: Records delete on grid

    AX sometimes does not load all lines into memmory when you open a large list or journal, this is normal beheviour. (imagine opening the customer list page when you have 1M customers)

    When you make a selection and hit delete, ax will apply your action to those rows. When you really need to cath them all hit CTRL + ALT + END. This will force AX to load all lines in memmory. Now your delete action will work for all lines.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Records delete on grid

    hello martin

    the General journal grid was commonly used multi delete function, other ware rarely used .

    there was no problem while a single row delete.

    the environment is production, user found this question.

    after test, test and dev environment also have same problems.

    for the production environment, china function was enabled.

  • Martin Dráb Profile Picture
    Martin Dráb 225,783 Super User on at
    RE: Records delete on grid

    Can you tell us a bit more? Does it happen in all grids? When did it start happening? It is the same in all environments and for all users? What happens if you have a single row, mark it and try to delete it?

    By the way, please separate tags with comma.

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... 288,459 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,783 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans