Skip to main content
Business Central forum
Suggested answer

Auto fill the fields on sales order line while selecting the item

editSubscribe (2) ShareShare
ReportReport
Posted on by 12
I'm having the fields on item card of common item number and now when i am selecting the line on sales order that filed should automatically fetch the data from item card
Categories:
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 59,978 Super User on at
    Auto fill the fields on sales order line while selecting the item
    Hi, here is a simple example.
     
    Hope this helps.
    Thanks.
    ZHU
  • Suggested answer
    Nitin Verma Profile Picture
    Nitin Verma 20,984 Super User on at
    Auto fill the fields on sales order line while selecting the item
    Hi,
    You need to check the OnValidate trigger of No. field from the Sales Line table, and in the same way either you can choose OnAfterValidate event of No. field from Sales Line table or you can create a Table Extension of Sales Line and write your code there.
     
     
    Thanks
    Nitin

Helpful resources

Quick Links

What Motivates a Super User?

We know many of you visit the Dynamics 365 Community and Power Platform…

Demystifying Copilot with Georg Glantschnig…

Industry experts answer burning questions directly from our amazing Community…

Setting Up Knowledge Sources for Copilot…

Look at how configuring a comprehensive knowledge base is crucial…

Leaderboard

#1
Andre Arnaud de Calavon Profile Picture

Andre Arnaud de Cal... 283,066 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 222,585 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,138

Product updates

Dynamics 365 release plans