Handeling Half Pints

i imagine looking at other constrains it will be allong the lines of ‘{SETTING:HP_Portion}’==‘Half Pint’
am trying now

2 Likes

Yes, exactly.

'{ORDER STATE:DiscountType}'=='HH' && [=TN('{ITEM TAG:HH}')]>0 && '{PORTION}'=='Half' && '{SETTING:HP_Portion}'=='Half Pint'

whats does not =?
!=

1 Like

Yes != is not equals

:slight_smile: am getting there

have tried to find but is there a post which lists the defult functions { ?} and [:? ] and their uses

You must have missed it …

is there a way to display program setting variables for debugging?

ie wether or not the HP_Portion is set to Half Print or Blank?

Use Microsoft SQL server management studio.

where abouts would you find the listings?

Or use show msg action with {SETTING:Name} so {SETTING:HP_Portion}

1 Like

The Show Message Action is your friend. Use it lots while testing to check value of variables and parameters. It is a fantastic tool to use when debugging Rules.

1 Like

trying that
so action - show message {SETTING:HP_Portion}
command show message
rule command = show message - action show message
?
dont get a message with this config

IGNORE THAT, SORTED

The best thing you could do is to create a generic Show Message Action for Debugging…

Then add the Action to any Rule you want to test…

thanks :smile:
half set the ticket title shell to HALF PINT to show if it is selected also

if there an event name which relates to changing menu catagory? ie if on draught menu doing anything other than adding a draught product would clear the HP_Portion setting?

Screen change?

Screen Change won’t help you in this case. Add another Rule for Order Added to Ticket, and specify the Group Code not to use in the Constraint. You may need to be careful to sort your Rules properly, so they fire in the proper order.

perfect hanks allot :slight_smile:

what does screen change relate to?

It captures a Screen Change event :wink:

TicketView is the POS screen. But it does not distinguish switching between Menu Categories.

1 Like

thanks, so does adding a product count as a screen change?

No, it does not. Take a look at the post that I linked.

back to half pint and happy hour, have slight glitch in half pint during happy hour.

have product added during time frame with two actions (pint and half pint hh price list) with constrains relating to the program setting of HP_Portion=Half

but even thought the happy hour rule is above the normal half pint rule while it is mapped it overights the happy hour half pint update

SORRY, IGNORE THAT, HAVE TRIED DIFFERENT ORDERS AND MANAGED TO SOLVE

1 Like