web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Invoking actions through AL in an API Page

(1) ShareShare
ReportReport
Posted on by 4
Hello everyone, i would like to know how can i "press" the action buttons in BC Pages? I need to Register the Items that have been picked using AL Code, it's needed because i'm creating a Power Apps Inventory management and picking tool.
There's a lack of documentation on the internet, though i've tried something reading the source code but i've had no luck unfortunately.
How can i verify and register the items picked in the page Warehouse Pick (5779) through AL Code?

I have the same question (0)
  • Suggested answer
    Khushbu Rajvi. Profile Picture
    22,130 Super User 2026 Season 1 on at


    This is the how u can create action in the particular page and then when you press that action code will run.
  • Suggested answer
    Khushbu Rajvi. Profile Picture
    22,130 Super User 2026 Season 1 on at
  • MD-24101244-0 Profile Picture
    4 on at
    The problem with that is, that it's an API Page not a visible Page. The picks need to be registered when i'm calling it through OData functions using Postman or Power Apps, that's why i need to know if there's a codeunit already that i can use to register the lines or i need to implement it myself somehow.
  • Suggested answer
    YUN ZHU Profile Picture
    99,086 Super User 2026 Season 1 on at
    Not all standard buttons can be done in Power Apps. In the standard code, another page is opened to pick the items, which is not possible in Power Apps because there is no such page.
    You need to create a new page in Power Apps, open it using the same filtering criteria, and then refer to the code for picking items to add some logic to the new page.
     
    I'm sorry I haven't actually done this either, but I hope I can give you some advice.
    Thanks
    ZHU
  • MD-24101244-0 Profile Picture
    4 on at
    Thanks for the answers. 

    In Power Apps, it's possible to use the Business Central Connector to communicate with API Pages and also trigger a procedure inside a API Page, that's not an issue. The issue is, to register the picks using AL Code through a procedure. Because of lacking documentation i don't know which codeunit to use if there's any  that i can trigger to register all picks.
    Is there a codeunit i can Run to register all picks?

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,993 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,116 Super User 2026 Season 1

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 557 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans