help with how to create a purchase order with a shortcut dimension pre-populated in the right compan

benjasikbenjasik Member Posts: 7
edited 2021-01-27 in NAV Three Tier
I need to launch a page in Business central and change the company through the URL, launch the create purchase order (page 50) and have one of the required dimensions pre-populated

I am thinking it would be nice to be able to launch the following URL

https://mybcinstance/Live/?company=CompanyName&Page=50&dimensionParam=123

This changes the company to the right company and launchs the PO page but not always in the edit or new state.

I can't seem to figure out how to pick off a query string param and set it on the page and when I launch the PO page it's not always in the "new creation
mode"

This is for business central 17 wave 2 on premise

Thanks in advance for any tips!

Answers

  • krikikriki Member, Moderator Posts: 8,956
    [Topic moved from 'Design Patterns' forum to 'NAV Three Tier' forum]

    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
    NAV TechDays 2020: 19 & 20 November 2020, Antwerp (Belgium)
Sign In or Register to comment.