remove reason code from description



I used custom button to calculate the price of an item and add to
current transaction. Because this item is created in the database with
original price set to 0, I have to set up a discount reason code for
that. When I add the new transaction entry, I also created description
string for that. Everything works fine except that the reason code will
be automaticly added to my customized description string. The
description looks like "... Discount Code: CF". Is there any way to get
rid of this part from the description? The following is part of my

'Add new entry
TranEntry = Session.Transaction.Entries.Add(id, ilc, 1, 0, False, 1)
It doesn't make difference from Add(id, ilc, 1, 0, False, 0)

And then set reason code:
TranEntry.DiscountReasonCode = MyReasonCode

Finally set the description
TranEntry.Description = MyDes

When does Pos add the discount reason code to the description? I set
the description at the last stage but the discount reason still added
to the description.

Has anyone got an idea?



Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Remove Reason Code from Receipt 1
Reason codes 2
Reason Codes? 7
reason codes 0
reason codes 6
Reason Code Reports 1
Reason Code Report 2