Enabling/Disabling Commands in Journal Line Edit Menus
If you want commands to appear disabled in the journal line edit menus if they don't apply to the selected line, you need to set up command enabled rules. This is done in the POS Menu Enabled Commands page.
Rules for when a command is enabled or disabled:
-
If a command does not exist in the page, it appears Enabled in all the menus.
-
If a command exists in the page, it needs to be assigned to each Journal Line Type it applies to, to appear enabled.
Note: This setup is per POS commands and their parameters, not per menu profile. You only need to set it up once.
Tip: You can subscribe to the event ... to mark a command as enabled or disabled within the journal line edit menu.
To set up the POS Menu Enabled Commands
On the POS Menu Profile Card:
-
Select Enabled Commands on the POS Menu Edit Journal Line List. The POS Menu Enabled Commands page appears.
-
In the POS Command field, select the desired command.
-
In the Parameter field, enter a text parameter.
-
In the Journal Line Type field, select the journal line type that the command is valid for.
-
In the Journal Line Sub-Type field, select the type that the command is valid for (if the sub-type does not matter, select All Types).
-
Repeat for POS commands that should appear disabled for certain journal line types and sub-types.
The program uses this setup to select which commands appear disabled or enabled in the journal line edit menus.
The Journal Line Sub-Type further categorizes the journal line by looking at the item or text on the line.
Journal Line Sub-Types:
-
All Types - No categorization needed, the POS command is enabled depending on the journal line type only.
-
Infocodes Assigned to Item - infocode/modifier change possible on linked infocodes/modifiers
-
Item is Recipe -ingredient exclusion possible
-
Deal Contains Deal Modifiers - deal modifier change possible for deal
-
Deal Contains Items Shown on Request Only - requesting and changing extra items possible for deal
-
Deal Size Change Possible - size change possible on deal
-
Linked Text from Infocode - linked text change possible (change line)
-
Linked Item from Infocode - linked item change possible (change line)
-
Deal Line is Deal Modifier - deal modifier item change possible (change line)
-
Deal Line is Deal Modifier-Size Change OK - size change on deal modifier item possible (line size change)
-
Deal Line is Deal Modifier-Shown on Request Only - extra item change possible (change line)
-
Line Can Be Split - split item or split deal possible
An Example of a POS Command Enabled Commands setup that provides the correct results:
POS Command |
Parameter | Journal Line Type | Journal Line Sub-Type |
DEALMODADDEXTRA | Deal Header | Deal Contains Items Shown on Request Only | |
DEALMODADDEXTRA | Deal Line | Deal Line Is Deal Modifier-Shown on Request Only | |
DEALMODCHANGE | Deal Header | Deal Contains Deal Modifiers | |
DEALMODCHANGELINE | Deal Line | Deal Line Is Deal Modifier | |
DEALMODSWITCHLINE | Deal Line | Deal Line Is Deal Modifier-Size Change OK | |
DEALMODSWITCHMOD | Deal Header | Deal Size Change Possible | |
INFO_REQLI_ALL | Item Line | Infocodes Assigned to Item | |
INFO_REQLI_ALL | Deal Line | Infocodes Assigned to Item | |
INFO_REQLI_ALL | CHANGELINESEL | Linked Item Line | Linked Item from Infocode |
INFO_REQLI_ALL | CHANGELINESEL | Linked Text Line | Linked Text from Infocode |
INFO_REQLI_ALL | LINKEDLINE | Linked Item Line | Infocodes Assigned to Item |
POPUPBOM | Item Line | Item Is Recipe | |
POPUPBOM | Linked Item Line | Item Is Recipe | |
POPUPBOM | Deal Line | Item Is Recipe | |
SPLIT_ITEMORDEAL_JNL | Item Line | Line Can Be Split | |
SPLIT_ITEMORDEAL_JNL | Deal Header | Line Can Be Split |