I’ve just updated to 5.1.62 and wow the Rule test is amazing thanks for that Emre!
I’ve fixed most of the errors and I am quite excited to test out everything but I cant figure out the following rule error on my Gift certificates.
This is the Rule error:
[RU GC Purchased & Printed] [:Account] parameter not defined in [AC GC Purchase] action.
Here is the action:
Here is the rule:
Any help would be appreciated!
Jesse
August 28, 2017, 1:59pm
2
You have nothing in the Amount parameter.
Should I add an [:Amount] or something?
Edit:
Ok fixed the [:Amount] to the right place (silly me)…but still getting this error…
[RU GC Purchased & Printed] [:Account] parameter not defined in [AC GC Purchase] action.
Just so everyone knows this is from this tutorial:
Gift Certificate Sales & Redemption
This is a working implementation for Selling & Redeeming variable-value Gift Certificates (GCs) that are tracked under their own individual GC Account and 2 “GC Balance” Accounts called “GC Purchases” and “GC Redemptions”.
GC Sale:
Customer comes in to purchase a Gift Certificate (GC).
Enter the value of the GC that the customer wants to purchase into the NUMBERPAD ($10, $20, etc).
Select GC Product (open price).
Settle the ticket - customer pays for the G…
QMcKay
August 28, 2017, 9:59pm
4
What does it say?
It cannot find a parameter named [:Account]
in the Action named AC GC Purchase .
In the Action for AC GC Purchase , change the parameter for Account Name from [:Account Name]
to [:Account]
P.S. you don’t need the Amount in that Action unless the Tutorial indicates that you need it. Otherwise, it is not used by the Rule, but it doesn’t hurt to define it anyway.
1 Like