Transaction Amount in Words

Dear All,

Any one try converting Receipt Transaction Amount into words.

Thanx in Advance,

Ibrahim Zubair

Reply to
Ibrahim Zubair
Loading thread data ...
2-convert the VB code to an SQL function 3-create a trigger to update [Transaction].Comment with value returned from the function 4-print Transaction.Comment on the receipt

I know that this is not easy, but it might help you till someone else posts a more helpful way to do it

BTW, where r u located?

Reply to
Nashat

there is a standard string you can use in the xml receipt design · VbCurrencyWords . value written as words, eg $10.52 = "Ten dollars and Fifty-Two cents"

Reply to
Afshin Alikhani

there is a standard string you can use in the xml receipt design · VbCurrencyWords . value written as words, eg $10.52 = "Ten dollars and Fifty-Two cents"

Reply to
Afshin Alikhani

Thank you Afshin for the tip, Ibrahim should be so happy coz you posted your tip before he goes thru the hell that I advised him to do:)

Reply to
Nashat

Dear Afshin, Nashat

Thanks so much for your speedy response, I will do what Afshin said & I will be back again to you. Saudi Arabia - Jeddah.

With my due respect, Ibrahim Zubair

"Nashat" wrote:

Reply to
Ibrahim Zubair

Dear Afshin, I did what you advised me to do & working fine but i need it to be in other currency istead of dollar like " Ten Riyals and Fifty-Two halala's". which is saudi currency. Is it possible? Thanks again, Ibrahim Zubair

"Afsh> there is a standard string you can use in the xml receipt design

Reply to
Ibrahim Zubair

Hummmm you are correct. It seems that Microsoft has hardcoded the VB string with Dollars and Cents rather than using the default currency from window. I have asked my programmers to look into this. We should be able to do a small mod that can pass the string in words using correct currency to the session object. Will keep you updated.

Reply to
Afshin Alikhani

OK Ibrahim,

To do the amount in words we will have to create a dll and then insert that logic in the receipt. We had done a similar project a couple of years ago to do that in Spanish. This is a 10 days development project to do it right. Contact me if you wish us to do this. But this would be a chargeable project.

Reply to
Afshin Alikhani

Dear Afshin, We create our own dll regarding Amount in words coz we need it to be in ARABIC language, I need your help for insert the logic in the receipt.

Thanks in advance, Ibrahim Zubair

"Afsh> OK Ibrahim,

Reply to
Ibrahim Zubair

email me and we will try to help you with this.

Reply to
Afshin Alikhani

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.