Library
WebUI Home
UserPrompt Override
When the POS engine needs to ask the user for additional input, the routine Fieldpine.UIDispatch.userprompt is called describing what is required. You may like to override this function to provide styling or more user friendly input boxes.
Call Arguments
Field | Description | Example |
Physkey | A unique identifier for this prompt instance. You need to return this value with the reply data | KKWE9382BHKWL3ERFTY8PZ |
Message | The prompt message. You should avoid trying to make logic decisions based on this value as it may change without warning, or appear in different languages | Serial Number? |
Owner | ||
Buttons | ||
WantData | ||
FlowPoint | An internal routing number that identifies precisely in the Fieldpine engine where this prompt arose from. They are not needed for prompting purposes but are invaluable for support. They can be useful in some cases to determine a bit more about why a prompt is generated | 432200803 |
PromptType | A number that indicates what type of prompt this is. You can use this value to determine the difference between a 'serial number' or an 'authorization code' prompt. This value should always be present and non zero, but needs to be retrofitted to the engine so may be missing in some places | 1000 |
Prompt Types
Code | Description |
1000 | Serial Number requested for an item being sold |
1001 | Quantity being sold |
1002 | Confirm Price |
1003 | Price |
1004 | Quantity |
1005 | Scale weight. Used by scale emulator |
1006 | Date of sale |
1007 | Quantity being manufactured |
1008 | Customer order no |
1009 | Opening float |