Modify receipt template

I have a receipt template with the following line:

Entry.Item.ItemLookupCode "|" Entry.Description "|" Entry.ExtendedFullPrice

Everytime I discount an item it automatically gets a line that reads "Discount Code: mycode"

I was trying to modify the text verbaige "Discount Code" but can't seem to find the text or a variable that holds the text so I can modify it. It almost seems like it is appended to the "Entry.Description" field.

Any ideas on how to modify the text "Discount Code:" or where it might me stored.

Thanks

Reply to
Chas
Loading thread data ...

You are kind of correct Chas, the Discount Code gets added as an Item Comment and it would have to be editted before the transaction is completed.

You might be able to customize you what appears by using the variables below and suppressing the wrapping of the Description column. Entry.ReasonDiscount.Description: Description of the reason a discount was applied to the transaction entry, if applicable. Entry.ReasonDiscount.Code: Reason code that indicates the reason a discount was applied to the transaction entry, if applicable.

Rob

Reply to
Rob

Thanks Rob, I'll give it a try.

Chas

"Rob" wrote:

Reply to
Chas

Hi Rob,

The RMS Customization Giode V1.0 shows TransactionEntry.DiscountReasonCode Property (Set)

Public Property Set DiscountReasonCode( _

Value As ReasonCode _

)

how to create an instance of ReasonCode and pass into the Set property in addin? I need to set discount reason description for each entry and print out on receipt.

Please advise!

Reply to
lzcouponex

"I need to set discount reason description for each entry" You don't need an addin for this, you can have the Reason Codes already defined in Manager then force the cashier to choose a Reason Code when setting a Discount. Once the Reason Code has been set for a specific entry RMS automatically enters that Reason Code Description as a comment for said entry. If you want to have the reason code print on the receipt without having to enable line wrapping then you can use the instructions below. If you don't mind your Item Desctiptions wrapping you can remove the ` (tilde) from the Item.Description column Alignment setting and the Reason Code will be printed on the receipt.

If this is not what you are looking for then please explain a little more about what you are trying to accomplish.

Rob

Reply to
Rob

Hi Rob,

Thanks for your reply. My app involves complex coupon policy, the discount may come from mfr, retailer or manager overwrites, that's why I need to set discount reason code for each entry and print on receipt too. If entry can be set to predefined reason code programmably, it also works for me. I just don't know how to create a ReasonCode object and assign to entry. My alternative is to use Entry.PriceSource to set to different value, and modify the receipt template to print reason description accordingly.

BTW, do you know if it is possible to change the lightning bolt icon in the price field?

Reply to
lzcouponex

BeanSmart website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.