Skip to main content

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
ValueNameCaptionDescription
0DevDevelopmentActive development -- only accessible via user assignments
1TestTestTesting phase -- accessible via user assignments
2ProductionProductionLive -- the default bundle served to all users
3ArchiveArchiveArchived -- 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
ValueNameCaptionDescription
0HomeHomeThe landing/home page of the mobile app
1DetailDetailA detail view page
2ReceiptReceiptWarehouse receipt processing page
3PutAwayPut AwayWarehouse put-away processing page
4PickPickWarehouse pick processing page
5InventoryMovementInventory MovementInventory movement processing page
6AdHocMovementAd-Hoc MovementAd-hoc (unplanned) movement page
7BinContentsBinContentsBin contents inquiry page
8AdjustmentsAdjustmentsInventory adjustment page
100ScanEntryScanEntryScan 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.

Extending with Custom Pages

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
ValueNameCaptionDescription
0PendingPendingScan captured but not yet processed into a warehouse document
1TransferredTransferredScan has been registered/posted to a warehouse activity line
2DeletedDeletedSoft-deleted -- logically removed but retained for audit
3OverwrittenOverwrittenSuperseded 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.

Extending with Custom 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
ValueNameCaptionDescription
0Init(empty)Initialization step -- runs setup logic before the first visible step
10BinBin CodeScan or enter a warehouse bin code
20ItemItemScan or enter an item identifier
30LicensePlateLicense PlateScan a license plate barcode
40LotNumberLot NumberScan or enter a lot/batch number
50ExpirationDateExpiration DateSelect an expiration date
60QuantityQuantityEnter a numeric quantity
70SerialNumberSerial NumberScan or enter a serial number
80LocationLocationScan or enter a location code
90VariantVariantSelect or enter an item variant code
100ReasonCodeReason CodeSelect or enter a reason code
200Completed(empty)Final step -- marks the workflow as complete and triggers registration
Extending with Custom Step Types

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
ValueNameCaptionDescription
0BarcodeBarcodeBarcode scanner -- accepts hardware scanner input
1TextTextFree-text input -- also accepts hardware scanner
2NumericNumericNumeric keypad input
3DatePickerDatePickerDate picker control
4ImageImageCamera capture
5ChoiceChoiceMultiple-choice selection
6StatusInfoStatusInfoRead-only status information display
7SummarySummarySummary view with key-value pairs

Mapping to MobileScanInputBuilder

Enum ValueJSON typeAccepts 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
ValueNameCaptionImplementation
731679312 Days 220FDW2 DaysRetentionPeriodImpl220FDW

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.