<?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>Vikas さんの グループ アクティビティ</title><link>https://www.aras.com/community/members/mdrvb</link><description>Vikas さんの グループ ユーザーの最近のアクティビティ</description><dc:language>ja-JP</dc:language><generator>Telligent Community 12</generator><item><title>REST API does not return properties with Item datatype</title><link>https://www.aras.com/community/f/development/38044/rest-api-does-not-return-properties-with-item-datatype</link><pubDate>Thu, 27 Jul 2023 06:49:25 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:1fc9dde5-db94-4201-9339-2ca5fe3f9719</guid><dc:creator>Vikas</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am using Release 15 and trying to GET all Properties of an Item using REST API with this request:&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp;http://server/innovatorserver/server/odata/par(&amp;#39;D193004BBD7D4EF390925A859A4E371D&amp;#39;)&lt;/p&gt;
&lt;p&gt;&lt;span&gt;It does return all properties except the ones which are datatype = Item.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I am able to get the missing items properties one-by-one with such requests:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;http://server/innovatorserver/server/odata/par(&amp;#39;D193004BBD7D4EF390925A859A4E371D&amp;#39;)/lead_est&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;I tried with other ItemTypes as well and find same issue.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Is this normal for OData or I am missing something in the API request? Or may be newer version has this issue fixed already?&lt;/p&gt;
&lt;p&gt;Of course AML requests do return all properties though.&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>Calling SearchDialog from Server method</title><link>https://www.aras.com/community/f/development/37812/calling-searchdialog-from-server-method</link><pubDate>Fri, 03 Feb 2023 07:51:39 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:e19c5916-3f1a-4177-b592-e3f152d19ca3</guid><dc:creator>Vikas</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Is it possible to show SearchDialog from a Server method?&amp;nbsp; I can use&amp;nbsp;MaximazableDialog in Javascript to show the SearchDialog and get the response in callback.&amp;nbsp; But I want to use such facility in a Server method.&lt;/p&gt;
&lt;p&gt;In my particular case, I am trying to send email using a server method.&amp;nbsp; If the Recipent is already entered then it sends the email.&amp;nbsp; But I want to prompt the user to search for another user item when Recipient is not pre-defined.&lt;/p&gt;
&lt;p&gt;If that is not possible then any alternative suggestions will be appreciated.&lt;/p&gt;
&lt;p&gt;Kind Regards,&lt;/p&gt;
&lt;p&gt;Vikas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><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>Dynamic Dropdown Error</title><link>https://www.aras.com/community/f/development/37467/dynamic-dropdown-error</link><pubDate>Wed, 06 Jul 2022 09:47:01 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:ac536ba5-0f5a-482c-bfd6-395ca2ea325d</guid><dc:creator>Vikas</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am using example in&amp;nbsp;&lt;a href="/b/english/posts/tech-tip-dynamically-change-type-ahead-english/"&gt;https://community.aras.com/b/english/posts/tech-tip-dynamically-change-type-ahead-english/&lt;/a&gt;&amp;nbsp;for dynamically populating values for a dropdown at OnFocus event.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The form works fine as far as a value is selected from the dropdown.&amp;nbsp; But if no value is selected in the dropdown and the dropdown loses focus, an error appears that &amp;#39;Value entered does not exist for (so-n-so). Edit again?&amp;#39;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/3/DropDownErrorNew.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;Can anyone please advise what am I missing here?&lt;/p&gt;
&lt;p&gt;Vikas&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>Wed, 06 Jul 2022 02:39:22 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:d8e1f1ca-548d-40e6-8f34-d22fb359cffe</guid><dc:creator /><description>Ask a question in a forum.</description></item><item><title>Unlock Item using REST API</title><link>https://www.aras.com/community/f/development/36017/unlock-item-using-rest-api</link><pubDate>Wed, 07 Oct 2020 07:44:37 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:c5ddf560-ed30-4c26-905c-be7f53a54f58</guid><dc:creator>gautamk</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Consider the scenario&lt;/p&gt;
&lt;p&gt;1. User A has locked the Document from Innovator GUI and edited Name property but did not Save, unlock and Close&lt;/p&gt;
&lt;p&gt;2. Same user using REST API (through Postman, does not matter though) unlock the Item. Rest call as below&amp;nbsp;&lt;/p&gt;
&lt;p&gt;PATCH:&amp;nbsp;&lt;a href="http://mersenpoc.centralus.cloudapp.azure.com/mersen/server/odata/Document(&amp;#39;8B07D4B0D3AF4376BC031336E2E0E216&amp;#39;)"&gt;http://&amp;lt;hostname&amp;gt;/odata/Document(&amp;#39;8B07D4B0D3AF4376BC031336E2E0E216&amp;#39;)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;{&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;quot;@aras.action&amp;quot; : &amp;quot;unlock&amp;quot;&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;The response status is 200 ok.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;3. Try to unlock Item again by firing the same REST API: Status 500 Internal Server Error &amp;quot;ItemIsNotLockedException&amp;quot; which is considering #2 above. This indicates Item is not locked.&lt;/p&gt;
&lt;p&gt;4. Go to Innovator UI and access Item ( In this case above Document ), UI shows up Document as &amp;quot;Locked&amp;quot;. Refresh, logout have no impact. Status on UI is &amp;quot;Locked&amp;quot;. Even I cannot Unlock, &amp;quot;Save Unlock and Close&amp;quot; from Innovator UI for this Item.&lt;/p&gt;
&lt;p&gt;I would like to know&amp;nbsp;&lt;/p&gt;
&lt;p&gt;1. What is the problem in this scenario and why there is the discrepancy in REST API and Innovator UI behavior&lt;/p&gt;
&lt;p&gt;2. Why dont&amp;nbsp; &amp;nbsp;&lt;span&gt;&amp;nbsp;&amp;quot;@aras.action&amp;quot; : &amp;quot;unlock&amp;quot; checks if the document is in edit stage and not to unlock in this case&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;3. How to fetch the lock status of an Item using REST API. Instead of using locked_by_id property of Document Item Type&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Any help / suggestions are greatly appreciated&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;- Gautam&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="border:2px dotted #000000;height:0px;left:85px;margin:0px auto;position:absolute;top:413px;width:0px;"&gt;&lt;/span&gt;&lt;span style="color:black;font-size:10px;height:20px;left:70px;position:absolute;top:398px;width:50px;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>