Skip to main content



No record found.

Business Central forum

How to make an item of a list item on another list page?

Posted on by 422

So i've create a page where i am able to make movies and display them on a page list:


Now as diplayed in the the ribbon there is a button "create Item". When i click that button i want to create a new item in my inventory that has the movie name as a description. Now at the moment there is no code behind the button simply because i have no idea on how to start, also when normally creating an item you select a template so some fields are filled in already, do i select a template somehow or fill them in hardcoded, i have no clue.

How can i do this?

Thanks in advance.

  • InsertX Profile Picture
    InsertX 422 on at
    RE: How to make an item of a list item on another list page?

    Also came to this conclusion. Thanks anyway.

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How to make an item of a list item on another list page?

    Use below code on Action:-

    Define local variable of Item -Record,

    Define local variable of NoseriesManagement Codeunit


    Item. Init;

    Item. "No." := NoseriesMangmt(NoseriesCode, Today, TRUE) ; //NoseriesCode pass hardcode otherwise pick where u define noseries code for item

    Item. Description := Movie. Movie_Name;

    Item. Insert(True) ;

    ///you can also assign field as u required .

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 . . .


André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 288,459 Super User

Martin Dráb Profile Picture

Martin Dráb 225,783 Super User

nmaenpaa Profile Picture

nmaenpaa 101,148


Featured topics

Product updates

Dynamics 365 release plans