Cathy Wilbur
Well Known Member
Is it possible to take alpha-numeric formatted fields and convert them to a numeric value
We have to write a new interface and all the numeric dollar value fields coming in are formatted with dollar signs, commas, and decimal places as alpha-numeric. The amounts come in as comma delimited fields but these fields are not a fixed length. The field is only as long as it needs to be when exported. The data fields are sent in a CSV file. We want to take this CSV file and do an Oracle DB table load. Should I load all these fields as string and do a conversion in OW to convert them back to a numeric values?
We are coding our program using the table conversion tool.
I would have to find business functions that takes my string data and convert them to an unformatted amount field. One of my amount fields is an exchange rate field so I would have to use a business function "string to numeric conversion" that allows me to specify the maximum number of decimal places.
The client, that is passing us this GL interface data, is doing an Export from a product called Raiser's Edge. The export formats all the numeric decimal data complete with ("$" "," and ".").
I asked them to export the data with all the fields with fixed format lengths with no special formating but the client said they do not have the option.
Has anyone had this problem and if so how did you resolve it?
We have to write a new interface and all the numeric dollar value fields coming in are formatted with dollar signs, commas, and decimal places as alpha-numeric. The amounts come in as comma delimited fields but these fields are not a fixed length. The field is only as long as it needs to be when exported. The data fields are sent in a CSV file. We want to take this CSV file and do an Oracle DB table load. Should I load all these fields as string and do a conversion in OW to convert them back to a numeric values?
We are coding our program using the table conversion tool.
I would have to find business functions that takes my string data and convert them to an unformatted amount field. One of my amount fields is an exchange rate field so I would have to use a business function "string to numeric conversion" that allows me to specify the maximum number of decimal places.
The client, that is passing us this GL interface data, is doing an Export from a product called Raiser's Edge. The export formats all the numeric decimal data complete with ("$" "," and ".").
I asked them to export the data with all the fields with fixed format lengths with no special formating but the client said they do not have the option.
Has anyone had this problem and if so how did you resolve it?