How to open newly created orders through my custom action button.
*This post is locked for comments
How to open newly created orders through my custom action button.
*This post is locked for comments
Hi,
PurchaseHeader.FINDLAST;
PAGE.RUNMODAL (PAGE::"Purchase Order",PurchaseHeader) ;
I tried but it isnt working can you please suggest how can i use RUNMODAL function to open the page for the last PO.
SUPER..LIKE
Hi,
Record.RESET;
Record.SETRANGE(No, Rec.No);
IF Record.FINDFIRST THEN
PAGE.RUN(<PageNumber>,Record);
Here,
Record is Table Name.
I'm setting a filter with the current Record No and then Run the page
sort table on number and findlast and run the page with that record if you are using single number series.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156