Business Central Team Member Item Data Insert Hack ☠︎
Emphasis on the hack part here. Right now this is a possibility so why not share – will it stay that way? No guarantees. The inspiration is born out of the fact a team member user license is not able to insert item data (amongst other data such as, Customers and Vendors). The “New” button is greyed out for that user type. Now many businesses like to use a team member license for raising purchase quotes. In the scenario where you are requesting to purchase an item which is not on the system yet, you want to give access but keep control. My idea is to satisfy both sides of that with a simple solution – HTTP request and no tables.

To resolve this I’ve opted for a mix of AL and Power Automate. The process flow will be like this:
- Create a page that is not related to a table – so no conflict on entering data into tables
- Have the page raise a HTTP Post request to a define endpoint in Power Automate
- Pick up the data from the endpoint in Power Automate and use it for the resulting business process
- As Power Automate has plenty of connectors you could have an approval process, Teams message with an adaptive card, details written to SharePoint etc.




{
"type": "object",
"properties": {
"ItemDescription": {
"type": "string"
},
"ItemUoM": {
"type": "string"
},
"ItemCategory": {
"type": "string"
}
}
}

Here is how the experience can look. Note I just create the item right after requesting it:

Try it for yourself: https://github.com/JAng13sea/Blogs/tree/master/Team%20Member%20Hack
This was originally posted here.

Like
Report
*This post is locked for comments