web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Automatically change gridline to next one

(0) ShareShare
ReportReport
Posted on by 50

I am working on Sales order picking list. I create customize form for barcode scanning.

 6683.q1.jpg

Screenshot shows my customized form for barcode scanning on picking list level.

My question is that how can I automatically change the gridline when barcode scan.

I use temp table for populate the data in form after the scanning user submit grid data into regular table.

So what's the best practice I use to change line to next one automatically after barcode scan.

Thanks in advance.

I have the same question (0)
  • Suggested answer
    ergun sahin Profile Picture
    8,826 Moderator on at

    I have never used it this way, but technically, we can change the selected record by providing position information.
    You can say something like, If the barcode is full, switch to next (active, in modifield, or maybe a method like write).
    It is necessary to think about it a little more and try a little bit, but it is technically possible.

    int position;
    ;
    position= MyTable_ds.getPosition();
    MyTable_ds.setPosition(position   1);

  • ovais rabbani Profile Picture
    50 on at

    I use that code on textchange method of grid column but its create new row on grid. But I want to change line on existing populated data. picture attach on my question.

  • Suggested answer
    ergun sahin Profile Picture
    8,826 Moderator on at

    If you are on the last record and try to move on to the next record, it will open a new line.

    In Debug, examine the structure and pay attention to the position you are in. The record you want to select and the positions of the record you are on may not be resolved with pos + 1.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 456 Super User 2025 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 429 Most Valuable Professional

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 239 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans