[SOLVED] Help for the tutorial GC Sales & Redemption

@QMcKay
I fixed it !!! (not the printing !!!)
and all thanks to you …
I don’t know how to thank you …

your help was priceless thank you very much …

And the solution was what?

somehow this was on GCBalance …

now i have to fix the printing …

The same Rule is responsible for Printing - it fires GC Print action.

Show your Template as well…

[LAYOUT]
-- General layout
<XCT>29,40,76,6,0,48,69,32,32,1,1
<J00> | 
<EB>
<T>My Place
<DB>
<J00>{DOCUMENT DATE} {DOCUMENT TIME}
<L>
<EB>
<C01>GIFT CERTIFICATE
<DB>
<L>
{TRANSACTIONS}
<C>NO CASH VALUE
<F>*
<L00>*           HAPPY HOUR 5-7pm Fri-Wed           *
<F>*
[TRANSACTIONS]
<C11>{AMOUNT}
<L>
<F>-
<EC>
-- <QR>{SOURCE ACCOUNT}
-- <BAR>{SOURCE ACCOUNT}
<EL>
<J00>{SOURCE ACCOUNT} | {AMOUNT}
[LAYOUT]
-- General layout
<EB>
<T>Coffee Shop
<DB>
<J00>{DOCUMENT DATE} {DOCUMENT TIME}
<L>
<EB>
<C01>GIFT CERTIFICATE
<DB>
<L>
{TRANSACTIONS}
<C>NO CASH VALUE
<F>*
[TRANSACTIONS]
<C11>{AMOUNT}
<L>
<F>-
<EC>
-- <QR>{SOURCE ACCOUNT}
-- <BAR>{SOURCE ACCOUNT}
<EL>
<J00>{SOURCE ACCOUNT} | {AMOUNT}

I have many Ticket Templates such WiFi Password, Free Coffee Ticket e.t.c. and printing is OK except th GC
I thing or it is a little bit weird ?

After 2 days of serching and testing I still can’t solve the print error …
All other templates Printed fine …
I would appriciate and Idea :dog:

Check the Rule and action.

Try removing the GC Print Action from the Rule, and save the Rule.

Find the GC Print Action and delete it completely. Then re-create it.

Now go back into the Rule and add the Action back in, and save the Rule.

Hi QMcKay hope you are well

The solution you suggest was the last thing I did before I ask for help :smile:

Done it again - nothing happend …
Also i sow that in entity Screen the ballance doesn’t change …

Any other idea ?

Can Someone send me a database that GC works correctly to search what I’m doing wrong ?

You probably have another Rule that is responsible for printing the Ticket and it might be interfering.

There is no way that GC Print Action should print the Ticket Template instead of the GC Template if you have followed the setup. Ensure that you are using an Print Account Transaction Document action, not an Execute Print Job action.

You could try clicking Sort Rules, and move the Rule up in the list to ensure it fires before other Rules such as Ticket Closing Rule.

1 Like

Nothing changed,
The problem is that i have checked everything more than once, no mistakes found.
You probably think that i’m crazy or lazy guy !!!



Show your GC Printer Template.

it’s exactly the same with the one you create …

[LAYOUT]
-- General layout
<EB>
<T>Coffee Shop
<DB>
<J00>{DOCUMENT DATE} {DOCUMENT TIME}
<L>
<EB>
<C01>GIFT CERTIFICATE
<DB>
<L>
{TRANSACTIONS}
<C>NO CASH VALUE
<F>*
[TRANSACTIONS]
<C11>{AMOUNT}
<L>
<F>-
<EC>
-- <QR>{SOURCE ACCOUNT}
-- <BAR>{SOURCE ACCOUNT}
<EL>
<J00>{SOURCE ACCOUNT} | {AMOUNT}

Show me a screenshot of that Template.

1 Like

Add a Show Message action into the Rule just before the GC Print Action…

Use this for the message - we want to see if the DocumentId is being created…

MessageToDisplay: Doc:[=Data.Get("DocumentId")] OP:[=Order.Price] A:[=Data.Get("AccountName")]