Enums
Reference for all enumerations in the Aptean Mesh SDUI framework. Each enum defines a fixed set of named values used throughout the mobile infrastructure -- from bundle lifecycle management to workflow step configuration.
AppBundleStatus220FDW
Enum 73167870 -- Mobile App Bundle lifecycle status.
- Namespace:
Aptean.Mesh.SDUI - Extensible:
false
| Value | Name | Caption | Description |
|---|---|---|---|
| 0 | Dev | Development | Active development -- only accessible via user assignments |
| 1 | Test | Test | Testing phase -- accessible via user assignments |
| 2 | Production | Production | Live -- the default bundle served to all users |
| 3 | Archive | Archive | Archived -- no longer active |
Bundle Lifecycle
Dev --> Test --> Production --> Archive
- Dev and Test bundles require explicit User Assignments to be accessible
- Only one Production bundle may be active at a time -- the system enforces this constraint on validation
- Production bundles are locked from further edits; change the status to Dev or Test first
Usage Context
This enum is used by the Status field on the Mobile App Bundle 220FDW table. It controls which bundle is served to mobile clients and whether the bundle can be modified.
MobilePage220FDW
Enum 73167874 -- Identifies the type of mobile page within an app bundle.
- Namespace:
Aptean.Mesh.SDUI - Extensible:
true
| Value | Name | Caption | Description |
|---|---|---|---|
| 0 | Home | Home | The landing/home page of the mobile app |
| 1 | Detail | Detail | A detail view page |
| 2 | Receipt | Receipt | Warehouse receipt processing page |
| 3 | PutAway | Put Away | Warehouse put-away processing page |
| 4 | Pick | Pick | Warehouse pick processing page |
| 5 | InventoryMovement | Inventory Movement | Inventory movement processing page |
| 6 | AdHocMovement | Ad-Hoc Movement | Ad-hoc (unplanned) movement page |
| 7 | BinContents | BinContents | Bin contents inquiry page |
| 8 | Adjustments | Adjustments | Inventory adjustment page |
| 100 | ScanEntry | ScanEntry | Scan entry review page |
Usage Context
This enum identifies page types in the MobilePage220FDW table. It is used by the mobile client to determine which page template to render and which service/workflow to associate with the page.
This enum is extensible. To add a custom page type in your own AL extension, use an enumextension:
enumextension 50100 MyCustomPages extends MobilePage220FDW
{
value(50100; MyCustomPage)
{
Caption = 'My Custom Page', Locked = true;
}
}
Scan Entry Status 220FDW
Enum 73167900 -- Status of a mobile scan entry record.
- Namespace:
Aptean.Mesh.SDUI - Extensible:
true
| Value | Name | Caption | Description |
|---|---|---|---|
| 0 | Pending | Pending | Scan captured but not yet processed into a warehouse document |
| 1 | Transferred | Transferred | Scan has been registered/posted to a warehouse activity line |
| 2 | Deleted | Deleted | Soft-deleted -- logically removed but retained for audit |
| 3 | Overwritten | Overwritten | Superseded by a newer scan for the same source line |
Scan Entry Lifecycle
Pending --> Transferred (successful registration)
Pending --> Deleted (user cancellation / soft delete)
Pending --> Overwritten (replaced by a corrective scan)
Usage Context
This enum is used by the Status field on the Mobile Scan Entry 220FDW table. The ScanEntryMgt220FDW codeunit manages transitions between these statuses.
This enum is extensible. To add a custom status in your extension:
enumextension 50100 MyCustomScanStatus extends "Scan Entry Status 220FDW"
{
value(50100; MyCustomStatus)
{
Caption = 'My Custom Status';
}
}
StepType220FDW
Enum 73167873 -- Workflow step types for guided mobile processes.
- Namespace:
Aptean.Mesh.SDUI - Extensible:
true
| Value | Name | Caption | Description |
|---|---|---|---|
| 0 | Init | (empty) | Initialization step -- runs setup logic before the first visible step |
| 10 | Bin | Bin Code | Scan or enter a warehouse bin code |
| 20 | Item | Item | Scan or enter an item identifier |
| 30 | LicensePlate | License Plate | Scan a license plate barcode |
| 40 | LotNumber | Lot Number | Scan or enter a lot/batch number |
| 50 | ExpirationDate | Expiration Date | Select an expiration date |
| 60 | Quantity | Quantity | Enter a numeric quantity |
| 70 | SerialNumber | Serial Number | Scan or enter a serial number |
| 80 | Location | Location | Scan or enter a location code |
| 90 | Variant | Variant | Select or enter an item variant code |
| 100 | ReasonCode | Reason Code | Select or enter a reason code |
| 200 | Completed | (empty) | Final step -- marks the workflow as complete and triggers registration |
This enum is extensible -- you can add custom step types in your own extension for domain-specific workflows:
enumextension 50100 MyCustomStepTypes extends StepType220FDW
{
value(50100; MyCustomStep)
{
Caption = 'My Custom Step';
}
}
Usage in Workflows
Step types are assigned to Mobile Workflow Step 220FDW records and evaluated by the workflow's resolver codeunit (which implements IStepHandler220FDW):
case CurrentStepType of
StepType220FDW::Init:
// Initialize workflow state, load source document
StepType220FDW::Bin:
// Validate scanned bin code
StepType220FDW::Item:
// Resolve item from barcode or item number
StepType220FDW::LicensePlate:
// Validate scanned license plate
StepType220FDW::Quantity:
// Validate entered quantity against remaining
StepType220FDW::Completed:
// Finalize and register warehouse activity
end;
StepInputType220FDW
Enum 73167872 -- Input control types rendered on the mobile device for each workflow step.
- Namespace:
Aptean.Mesh.SDUI - Extensible:
false
| Value | Name | Caption | Description |
|---|---|---|---|
| 0 | Barcode | Barcode | Barcode scanner -- accepts hardware scanner input |
| 1 | Text | Text | Free-text input -- also accepts hardware scanner |
| 2 | Numeric | Numeric | Numeric keypad input |
| 3 | DatePicker | DatePicker | Date picker control |
| 4 | Image | Image | Camera capture |
| 5 | Choice | Choice | Multiple-choice selection |
| 6 | StatusInfo | StatusInfo | Read-only status information display |
| 7 | Summary | Summary | Summary view with key-value pairs |
Mapping to MobileScanInputBuilder
| Enum Value | JSON type | Accepts Hardware Scan |
|---|---|---|
Barcode | "barcode" | Yes |
Text | "text" | Yes |
Numeric | "numeric" | No |
DatePicker | "date" | No |
Image | "image" | No |
Choice | "choice" | No |
StatusInfo | "statusinfo" | No |
Summary | "summary" | No |
Usage
The step input type is assigned to the Step Input Type field on Mobile Workflow Step 220FDW records and controls which UI control the mobile client renders:
ScanBuilder.SetInput(
StepInputType220FDW::Barcode,
'scanItem',
'Scan Item',
'Point scanner at barcode'
);
RetentionPeriodExt220FDW
Enum Extension 73167871 -- Extends the standard Retention Period Enum with a custom 2-day retention period.
- Namespace:
Aptean.Mesh.SDUI - Extends:
Retention Period Enum
| Value | Name | Caption | Implementation |
|---|---|---|---|
| 73167931 | 2 Days 220FDW | 2 Days | RetentionPeriodImpl220FDW |
Usage Context
This enum extension adds a 2-day retention option to the standard Business Central data retention framework. It is used to configure automatic cleanup of Mobile Request Log 220FDW records, keeping the log table from growing unbounded.