Service registry
You can register services to link service codes to Business Central codeunits. When the mobile app sends a request, the Aptean Mesh Platform uses the service code on the page to find the corresponding codeunit and route the request. Each page requires a registered service; otherwise, the app returns an error.
Before registering a service, confirm the following:
- A Custom bundle in Dev or Test status exists.
- The codeunit implements the IBCRPC252FDW interface for API channels and IStepHandler252FDW for workflow steps.
- You have the Mesh Platform permission set.
To register a service, follow these steps:
-
Select the Search icon
, enter Mobile App Bundles, and then choose the related link.The Mobile App Bundles page opens.
-
On the Mobile App Bundles page, on the action bar, select Service Setup.
The Mobile Service Setup page opens.
-
Select New.
-
Enter the required information in the following fields:
Field Description Mobile Service Code Enter a unique code such as PICKING. Service codes are case-sensitive and must exactly match the Service field on any Mobile Page that uses them. Codeunit ID Enter the codeunit object ID that will handle the service request. Handler Name This field is automatically populated with the name of the selected codeunit. App Bundle Code Displays the Bundle code associated with the service.
Services in the Aptean bundles (STANDARD and FNB) and any bundle in Production status cannot be changed because the bundle is locked.
The Aptean Mesh apps register the following built-in services in their bundles:
- HOME – Used by the home screen to load inbound document lists.
- DETAIL – Handles document line detail views.
- RECEIPT – Handles warehouse receipt processing.
- PUT AWAY – Handles warehouse put-away processing.
- PICK – Handles warehouse pick processing.
- INVENTORY MOVEMENT – Handles document-driven inventory movements.
- AD-HOC MOVEMENT – Handles free-form bin-to-bin movements.
- SCANENTRY – Used by the scan entry screen to list and delete pending entries.
- BINCONTENTS – Handles bin content inquiries.
- ADJUSTMENTS – Handles inventory adjustments.
To add or change services, work in a Custom bundle.