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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

create line number with increment of 10

(0) ShareShare
ReportReport
Posted on by

Hello

I want to add linenum to my custom table but not linenum 1, 2, 3

They should be 10, 20, 30 instead

How do I do this

*This post is locked for comments

  • Verified answer
    Jonathan  Halland Profile Picture
    11,310 on at

    Hi Chris.

    Take a look at the PurchReqTable's insert and "lastLightNum" methods

    instead of incrementing by 1, simply increment by 10 in your insert method.

    e.g.

    this.LineNum        = PurchReqLine::lastLineNum(this.PurchReqTable) + 1;

    this.LineNum        = YourTable::lastLineNum(this.YourTableHeader) + 10;

  • Community Member Profile Picture
    on at

    thx a lot

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Prashant Singh Profile Picture

Prashant Singh 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans