Yetiforcecrm: Change a field from text to currency

Created on 16 Nov 2018  ยท  4Comments  ยท  Source: YetiForceCompany/YetiForceCRM

Hy all !

Can i change a text field that ALREADY has values in it (only numbers) to be a currency field and not deleting the data in it?
Example : i have a entry that has a text field and value 33. I want to change it to currency field that doesnt change the value 33, only the field type. I need this for reports. I have made a mistake when i implemented Yetiforce and i didnt realise that i need currency type field for that. Now i have about 400 entries and i cannot create a report because it`s text field.

โ” question

All 4 comments

@liviubbo I think you can change field UItype and typeofdata for this field in vtiger_fields database table but you mast be very carefull

Thanks! i will try it on local first. THX

@liviubbo another one solution: Add new currency field and transfer data from text field to this new one by SQL. After that you can remove text. In this case I don't know what happens with text field history data.

I guess i will do the second one. :) Its safer.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

MacarenaReina picture MacarenaReina  ยท  3Comments

rubysown picture rubysown  ยท  3Comments

michelmarquesrj picture michelmarquesrj  ยท  3Comments

PDMeira picture PDMeira  ยท  3Comments

serbiaserbia picture serbiaserbia  ยท  3Comments