﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » Issues  » Business Object Mapper and Numeric field type (9,2)</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 09 Jun 2026 17:44:02 GMT</lastBuildDate><ttl>20</ttl><item><title>Business Object Mapper and Numeric field type (9,2)</title><link>http://forum.strataframe.net/FindPost82.aspx</link><description>When using the business object mapper and setting the business object properties using SQL Server as the data source the table fields are not mapped\added.&amp;nbsp; There are two fields in the table that are of type numeric 9,2.&lt;/P&gt;&lt;P&gt;If I use the Database Development Toolkit it will map the fields.&amp;nbsp; When using the business object there is a "Specified cast is not valid" message for the numeric fields.&lt;/P&gt;&lt;P&gt;I know I should use a currency field, and I will be changing this.&amp;nbsp; I just wanted to point this out&amp;nbsp;incase it is an issues that needs to be looked into.</description><pubDate>Tue, 07 Nov 2006 15:54:38 GMT</pubDate><dc:creator>Scott</dc:creator></item><item><title>RE: Business Object Mapper and Numeric field type (9,2)</title><link>http://forum.strataframe.net/FindPost4228.aspx</link><description>:hehe: not today!!! So I can "tell the truth" :D</description><pubDate>Tue, 07 Nov 2006 15:54:38 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Business Object Mapper and Numeric field type (9,2)</title><link>http://forum.strataframe.net/FindPost4226.aspx</link><description>I knew it!&lt;/P&gt;&lt;P&gt;(I bet he is not at the office)</description><pubDate>Tue, 07 Nov 2006 15:52:24 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item><item><title>RE: Business Object Mapper and Numeric field type (9,2)</title><link>http://forum.strataframe.net/FindPost4219.aspx</link><description>Yeah...same thing here :D&amp;nbsp; every bug that we have ever had...Ben's fault :laugh:</description><pubDate>Tue, 07 Nov 2006 13:49:03 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Business Object Mapper and Numeric field type (9,2)</title><link>http://forum.strataframe.net/FindPost4218.aspx</link><description>actually it was another developer here I was helping.... I would never make such an error :Whistling:</description><pubDate>Tue, 07 Nov 2006 13:37:38 GMT</pubDate><dc:creator>Keith Chisarik</dc:creator></item><item><title>RE: Business Object Mapper and Numeric field type (9,2)</title><link>http://forum.strataframe.net/FindPost4216.aspx</link><description>That's good because I could not figure out what was going on here...I will get out of my test now :)</description><pubDate>Tue, 07 Nov 2006 13:30:39 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Business Object Mapper and Numeric field type (9,2)</title><link>http://forum.strataframe.net/FindPost4215.aspx</link><description>nevermind......I had one field set to scale of zero. my bad.</description><pubDate>Tue, 07 Nov 2006 13:23:01 GMT</pubDate><dc:creator>Keith Chisarik</dc:creator></item><item><title>RE: Business Object Mapper and Numeric field type (9,2)</title><link>http://forum.strataframe.net/FindPost4214.aspx</link><description>I am getting errors trying to save values to a decimal(6,2) field.&lt;br&gt;
&lt;br&gt;
I tried changing the type to money, BO Mapper still shows it as decimal.&lt;br&gt;
&lt;br&gt;
What do we use for numeric fields?</description><pubDate>Tue, 07 Nov 2006 13:00:51 GMT</pubDate><dc:creator>Keith Chisarik</dc:creator></item><item><title>RE: Business Object Mapper and Numeric field type (9,2)</title><link>http://forum.strataframe.net/FindPost4212.aspx</link><description>As am I</description><pubDate>Tue, 07 Nov 2006 12:53:36 GMT</pubDate><dc:creator>Keith Chisarik</dc:creator></item><item><title>RE: Business Object Mapper and Numeric field type (9,2)</title><link>http://forum.strataframe.net/FindPost3081.aspx</link><description>Thanks for the heads up, Ivan... I'll take a look at it.</description><pubDate>Tue, 26 Sep 2006 14:53:40 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: Business Object Mapper and Numeric field type (9,2)</title><link>http://forum.strataframe.net/FindPost2990.aspx</link><description>Hya.&lt;P&gt;No need to look at this now. Just to say I'm facing this "Decimal" data type problem, at run time.</description><pubDate>Fri, 22 Sep 2006 13:48:47 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item><item><title>RE: Business Object Mapper and Numeric field type (9,2)</title><link>http://forum.strataframe.net/FindPost84.aspx</link><description>Scott,&lt;/P&gt;&lt;P&gt;Thanks for the tip.&amp;nbsp; This has been fixed and was actually caused by .NET excluding the Numeric data type from the SqlDbType enumeration.&amp;nbsp; I suppose they don't want us using the numeric type anymore.&amp;nbsp; At any rate, this has been fixed in the update that is now available through the downloads.&amp;nbsp;</description><pubDate>Tue, 22 Nov 2005 17:16:09 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Business Object Mapper and Numeric field type (9,2)</title><link>http://forum.strataframe.net/FindPost83.aspx</link><description>So, the SQL Server database has a field type of Decimal(9,2)?&lt;br&gt;
&lt;br&gt;
Are you getting this error message at runtime, or when the Business Object Mapper is generating the partial class?&lt;br&gt;
&lt;br&gt;
What I mean is, does the Business Object Mapper properly create the partial and then you get the error when you access the field, or do you get the error message when you choose "Rebuild Partial" within the Business Object Mapper?</description><pubDate>Tue, 22 Nov 2005 16:54:02 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item></channel></rss>