Hi guys,
Whenever I click on the carry out action message the last posted purchase order must be opened.Can you guide me how to customize it.
Bharath
*This post is locked for comments
Write your code on OnAction trigger of carry out action message.
Hi
On which trigger should i write this code .
Hi,
Requisition Line is your source table then. Craete a Global Variable for the record PurchaseHeader then write the below code. Let me know if you require more help.
OnAction()
If PurchaseHeader.FINDLAST Then
PAGE.RUN(50,PurchaseHeader);
Hi,
The page Name is 291 req. worksheet . In that there is action called carry out action message. whenever i click that the last purchase order should get open.
Can you post the Page name and Source Table ?
refer https://docs.microsoft.com/en-us/dynamics-nav/findlast-function--record-
to understand FINDLAST
Hi,
Can you explain it in detail
Hi,
Write the below code on the action button:
IF Record.FINDLAST THEN
PAGE.RUN(<PageNumber>,Record);
Here,
Record is Table Name.
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,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156