Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

how to add a new record into the form by using a class and not the front end?

Posted on by Microsoft Employee

hi, 

i have a situation where in i need to create a record into the header form and create its corresponding lines by using a class in ax. 

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: how to add a new record into the form by using a class and not the front end?

    there is a All sales order form which contains the header and lines. so for that i need to create a new record for the header and its corresponding lines by creating a class. the form in the ax for that is SalesTable , but how do i begin the coding is where im stuck.

  • Israel Gonzalez Profile Picture
    Israel Gonzalez 708 on at
    RE: how to add a new record into the form by using a class and not the front end?

    Sanaa, can you specify your requirement? Your form has a datasource?

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans