Skip to main content

Notifications

Microsoft Dynamics NAV forum
Suggested answer

Automatically filling in missing data in quote line in NAV2009

Posted on by 4
Hello, 
 
I have created a dataport in NAV2009 to import some data into our quote lines, and I would like the rest of the information to automatically populate the line by being retrieved from the system.
 
In the screenshot below you can see in orange the fields that I have imported and in black the lines as it should be when it is complete. How do I get the No., Description, Profit and all the other fields to be imported automatically when I enter the data through the dataport? Can that be done?
 
Thanks, 
Marco 
 
  • Suggested answer
    gdrenteria Profile Picture
    gdrenteria 10,415 Most Valuable Professional on at
    Automatically filling in missing data in quote line in NAV2009
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 71,222 Super User 2024 Season 2 on at
    Automatically filling in missing data in quote line in NAV2009
    I think these processes can be done in XmlPort trigger. You can try the following three triggers.
    trigger OnPostXmlPort()
    trigger OnAfterInsertRecord()
    trigger OnAfterGetRecord()
     
    Hope this helps.
    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,782 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,067 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,150

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans