Skip to main content

Notifications

Small and medium business | Business Central, N...
Answered

Moving fields on Sales Order

(0) ShareShare
ReportReport
Posted on by 22

HI All,

i'm trying to move the field "Item Tracking Lines" located under "related Information" on the sales order line. I would like to move this button and have it sit next to Order as shown by the red mark in the screenshot.

I'm using the following code, but not too sure what to do next

Can anyone assist?

pageextension 58100 "D365 ItemTrackingLn" extends "Sales Order Subform"
{
    actions
    {
        modify(ItemTrackingLines)
Screenshot-2023_2D00_01_2D00_01-133324.png
  • rajivsewsarran Profile Picture
    rajivsewsarran 22 on at
    RE: Moving fields on Sales Order

    Hi JC,

    thanks for your response, this worked !

  • Verified answer
    Jarrod Case Profile Picture
    Jarrod Case on at
    RE: Moving fields on Sales Order

    Hi @rajivsewsarran,

    I would change the code to say something like this. Add after the item currently being used on this page.

    actions
        {
            addafter("Order")
            {
                action("NewMenuItem")
                {
                
                }
    
                
            }
    
        }

    In VSCODE you want to download symbols and then use the object designer.

    pastedimage1672632822096v1.png

    Find the page you are extending. Open it, find the menu item you want your new item after, and copy the text into the 'addafter' 

    Let me know if this helps you out by clicking yes

    Thanks,

    JC

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,162 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,962 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans