Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to find which Item excluded from a particular discount applied to a Check using C# extensibility

Status
Not open for further replies.

Vikram Singh

Programmer
Jan 3, 2018
39
KW
Hello,

Anyone can help me with this:

How do I know which Item is excluded from a particular discount applied to a Guest Check?

For example:

[tt]First Item = $10.00
Second Item = $10.00
Third Item = $10.00
20% Discount = $4.00
--------------------------
Due Amt = $26.00
[/tt]

From the Above Guest Check example, one of the items is not linked with the above 20% Discount.
How can I find out which is that item using C# Extensibility? Please guide me with a sample
Code.
 
Nothing useful was found in DiscountEngineLog it is just a list object with logs . do you have another suggestion that I can try ?
 
I'm sorry, but I didn't pay more attention.

I use OpsContext.CheckDetail traversal did not get what I wanted.
 
this.OpsContext.Check.GetMenuItemDiscountedTotal
You can use GetMenuItemDiscountedTotal to determine whether the amount of dishes exists, which may be able to distinguish what you want.

Simphony Developer,Welcome to contact me!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top