<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.aras.com/community/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>cambrianexplosion さんの グループ アクティビティ</title><link>https://www.aras.com/community/members/cambrianexplosion</link><description>cambrianexplosion さんの グループ ユーザーの最近のアクティビティ</description><dc:language>ja-JP</dc:language><generator>Telligent Community 12</generator><item><title>Decimal and Float  precision, rounding and overflow errors</title><link>https://www.aras.com/community/f/community/36756/decimal-and-float-precision-rounding-and-overflow-errors</link><pubDate>Fri, 30 Jul 2021 15:28:54 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:b410035f-6b89-45e2-a0ea-fa693d5dab4d</guid><dc:creator>david.creech</dc:creator><description>&lt;p&gt;I am looking for a solution to the following problems that I am encountering using 12.0 SP9 with Float and Decimal data types.&lt;/p&gt;
&lt;p&gt;I need to store engineering data that can contain very large and very small numbers. In testing a property using the Float and Decimal types I find that both have problems storing the full precision that SQL Server supports.&lt;/p&gt;
&lt;p&gt;For Float, large numbers work as expected&amp;nbsp;from -&lt;span&gt;1.79E+308 to&lt;/span&gt;&amp;nbsp;+&lt;span&gt;1.79E+308. However small numbers do not. The smallest number that I can store in a Float property from the Aras item&amp;#39;s form is 1E-20. I can not store any more digits of precision (for example, 1.000000000000001E-20), either entering the value in scientific or decimal notation.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Using MS SQL Server Management Studio I can manually edit the&amp;nbsp;item to store smaller numbers in the database (down to the minimum of&amp;nbsp;&lt;span&gt;2.23E-308). However these&amp;nbsp;are rounded to 0 in Aras.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;As an aside, despite the documentation and training saying that you need to specify Precision and Scale for floats, neither of these appear to have any effect on how the Float column is specified in SQL Server - it always uses the default 8 byte float size.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;For Decimal there are problems with precision, rounding and large numbers. Here Precision and Scale really do matter, as they should. For Precision of 38 and Scale of 0, I should be able to store values up to 10^38-1 = 99999999999999999999999999999999999999, and I can do this directly in SQL. However Aras gives a Conversion Overflow error in search grids and the item form if this is stored in the database. The largest number that Aras&amp;nbsp;can handle is&amp;nbsp;79228162514264330000000000000. This happens to be 2^96 rounded to 16 digits of precision. If Scale &amp;gt; 0 is specified the largest number possible is reduced.&lt;/p&gt;
&lt;p&gt;Aras only seems to be able to store 16 or sometimes 17 precise digits in the Decimal type with Precision set to 38, and the rounding behavior is inconsistent. For example&amp;nbsp;entering&amp;nbsp;&lt;span&gt;11111111111111111 rounds up (!) to 11111111111111112 when the item is saved.&amp;nbsp;&amp;nbsp;1111111111111111111 also rounds up to&amp;nbsp;1111111111111111200, but&amp;nbsp;1111111111111111100 rounds down to 1111111111111111000.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;My best guess is that Aras is&amp;nbsp;performing internal conversions that result in the rounding and overflow problems, since using SQL Server directly works as expected.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Is this a known bug? Is there any way to work around this behavior? Do later&amp;nbsp;service packs fix these issues?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Discussion Starter I</title><link>https://www.aras.com/community/achievements/21025ab1-febb-4fb4-a872-d32a921cb45c</link><pubDate>Thu, 30 Jul 2020 06:29:04 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:ee60bd56-50c0-42f0-b666-64cc68d67c2e</guid><dc:creator /><description>Start a discussion in a forum that receives 5 replies.</description></item><item><title>Uploading a local file to Innovator using the Batch Loader</title><link>https://www.aras.com/community/f/community/35812/uploading-a-local-file-to-innovator-using-the-batch-loader</link><pubDate>Thu, 23 Jul 2020 20:38:48 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:6ac1d4a4-506f-4a30-aca3-ed27ef1a4d2a</guid><dc:creator>cambrianexplosion</dc:creator><description>&lt;p&gt;I&amp;#39;m having issues uploading a local file to an instance of Innovator using the Batch Loader. I have the following XML:&lt;/p&gt;
&lt;p style="padding-left:30px;text-align:left;"&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Item type=&amp;quot;Document File&amp;quot; action=&amp;quot;add&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;related_id&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Item type=&amp;quot;File&amp;quot; action=&amp;quot;add&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;actual_filename&amp;gt;C:\some\file\path\@1&amp;lt;/actual_filename&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;filename&amp;gt;@1&amp;lt;/filename&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/Item&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;text-align:left;"&gt;This currently fails. I had to search to find out the &amp;lt;actual_filename&amp;gt; tag is used for the fully qualified path of the file, yet it is not present in the File Item when inspecting it through Innovator Client.&lt;/p&gt;
&lt;p style="padding-left:30px;text-align:left;"&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;text-align:left;"&gt;Any help with this would be appreciated.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>innovator service and Javascript Methods</title><link>https://www.aras.com/community/f/development/35683/innovator-service-and-javascript-methods</link><pubDate>Thu, 18 Jun 2020 21:58:08 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:3efae7b3-bbc5-4ee5-85ec-1822ace5a3c2</guid><dc:creator>cambrianexplosion</dc:creator><description>&lt;p&gt;I would like to know if it&amp;#39;s possible to run a javascript method from Innovator Service. I would like to be able to use javascript to make async http calls over the network. I can currently use C# for this but the methods will not be asynchronous as far as I am aware since Aras currently doesn&amp;#39;t support async C# Server Methods.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Ask A Question I</title><link>https://www.aras.com/community/achievements/460ac7df-7ccc-4c42-a204-9e05eef3be09</link><pubDate>Thu, 18 Jun 2020 09:09:58 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:95438dad-0668-48a9-b7d0-5981c9c457ae</guid><dc:creator /><description>Ask a question in a forum.</description></item></channel></rss>