Skip to main content

Notifications

Business Central forum
Suggested answer

Visual Studio Code - Sales Order Lines

Posted on by 47
Hello All, 
 
Have been using Visual Studio Code to add some custom fields to various tables which has been working well however i now have a bigger task of making some custom tables which uses various fields from various tables one of which being the Sales Order Lines. 
 
So my questions is what do i need to do in order to select a Sales Order from a Lookup field that can copy the Sales Order lines or better yet select which sales order lines to copy across to the new table coating report and also job sheet? 
  • Sam @ Mikris Profile Picture
    Sam @ Mikris 47 on at
    Visual Studio Code - Sales Order Lines
    Hi Yun,
     
    Thank you for the reply, I guess I would need to create the field groups that are in the sales lines and replicate this based on what field are needed in the new table? 
     
    As I would only really need like 5 fields from the lines to copy across or am I thinking of this the wrong way?
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 71,232 Super User 2024 Season 2 on at
    Visual Studio Code - Sales Order Lines
    Hi, hope the following helps.
    How to create a Lookup, Drop-Down, or Option list (Single and Multi select)
     
    There are two other points to keep in mind:
    How to enter any value in a TableRelation field (Without validating the table relationship)
     
    Add a new FieldGroup (Brick & DropDown) to an existing table
     
     
    Thanks.
    ZHU

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

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,807 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,135 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans