Amounts in Words

Hi All!

I want to edit my SalesConfirm.Report so that the total amount of Sales will be viewed in Words.

Ex. 80.00$. Eighty Dollars Only

Any help is highly appreciated

Hi Genovia,

Use numeralsToTxt_BR() Global method .

Hi Geno,

I think you can use the Global() in the method that you are trying to return the total amount.

Hi Genovia,

write this method to your report.

public static TempStr numeralsToTxt_BR(real _num)
{
return Global::numeralsToTxt_BR(_num);
}

Check in global class

try this logic

public void numeralsToTxt_BR(real _num)
{

info(Global::numeralsToTxt_EN(5698412));

}

Hi Rajkumar Verma,

I tried it on my report but when I print my sales order

it printed

public static TempStr numeralsToTxt_BR(real _num)
{
return Global::numeralsToTxt_BR(_num);
}

Hi ,

Try this

Display tempStr amountInWords()

{

return Global::numeralsToTxt_BR(_num);

}

And drop this method into ur report design

Hi Jyothi,

Could you pls share that coding in this blog [i.e., numeralsToTxt_BR]

Thanks,

Kannan