Dialog service

The dialog service holds a number of dialogs and functionality related to the UI of the POS. Some dialogs are being used exclusively by other services others are being used specifically by an operation within the POS where the rest of the functionality is not available in the development pack.

 

Some of the dialogs use Dev Express components and cannot be opened up in designer view in Visual Studio without having Dev Express v. 15 installed.

 

Configurations

There are no specific configurations for this service as it is used by various other services and operations.

Main functionality

Name Description
ShowMessage Displays a touch friendly message dialog with a message and an icon. There are various versions of this function with different parameters
ItemSearch Used by the Item search operation as well as the Infocode service and the inventory lookup dialog
BarcodeSelect Used by the Item search operation when the item selected has more than one barcode
ShowSpinnerDialog

Displays a dialog with a spinner. Should be used when the action that is being run can be expected to take some time.

Note -> should not be used with Site service operations. Then usethe function UpdateStatusDialog

EmailAddressInput Makes sure that the value entered into the dialog is a valid email address
KeyboardInput Displays a touch friendly dialog for keyboard input. Used by various operations in the POS
DateSelection Displays a touch friendly dialog for the user to select a date
NumpadInput Displays a touch friendly dialog for the user to enter a number

ShowStatusDialog, UpdateStatusDialog,

CloseStatusDialog

Displays a status dialog that should be used when the action is being run can be expected to take some time.

Note -> this dialog can be used with Site service operations.

ShowCloseDrawerMessage Shows a modal message dialog which does not close until the drawer is closed. This dialog will automatically close if called when the drawer is not open.

 

POS Operations

Many operations in the POS directly call the Dialog service. Here below is a list of all the operations and which functions they call

Name Description
Sales person Calls function ShowSalesPersonDialog
Return transaction Calls function ShowReturnItemsDialog
Set reason code Calls function ShowReturnItemsDialog
Item sale Calls function ShowReasonCodeSelectDialog
Show journal Calls function ShowJournalDialog
Item search Calls function Item search
Price check Calls function PriceCheck
Tender declaration, Bank drop, Safe drop, Bank drop reversal, Safe drop reversal Calls function TenderDeclaration
Inventory lookup Calls function InventoryLookup
Recall suspend transaction Calls function ShowOverrideCustomer

 

Development pack

To find this service in the development pack go to DevPack\Source\POS\Services