Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Suggested answer

Creating Purchase Quote using AL Code

(1) ShareShare
ReportReport
Posted on by 34
Hi All,
 
I have a requirement to create PQ from Project Lines.
I display a list of Project lines in a custom page. The user will select the lines and click on Choose Vendor . Here i need to display a dialog or something to choose multiple vendors.
Kindly give an idea about choosing vendors in a dialog.
 
Then for each vendor , I have to create PQ using AL Code. Kindly guide about creating PQ using AL Code.
 
thank you for any help!
  • Dej Profile Picture
    Dej 34 on at
    Creating Purchase Quote using AL Code
    Thank you @Tech-Lucky



    I'm a newbie in AL. Could you please provide any sample code to start with

    I can add a checkbox to select the lines. But Is it not possible to select the lines using readily available three dots and Select more ?

    How can I show a dialog for selecting multiple vendors? please help
  • Suggested answer
    Tech-Lucky Profile Picture
    Tech-Lucky 796 on at
    Creating Purchase Quote using AL Code
     

    Hi,

    I’ve developed a Procurement Module that supports multiple vendors and item combinations, enabling you to create multiple quotes.

    For your case, here's a streamlined approach:

    1. Add a Boolean field ("Select") on your Custom Page to mark project lines for inclusion in the quote.
    2. Use a lookup to select vendors and create a filter to identify the selected vendors.
    3. Filter the planning lines based on the "Select" field, then generate a quote for each vendor.
    4. After creating the quotes, clear the "Select" field for any further modifications.

    Let me know if that aligns with your needs!

     

     
     

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

Congratulations 2024 Spotlight Honorees!

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December!

Congratulations to our December super stars! 🥳

Get Started Blogging in the Community

Hosted or syndicated blogging is available! ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,661 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,379 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans