{"id":1598,"date":"2014-06-25T08:35:57","date_gmt":"2014-06-25T07:35:57","guid":{"rendered":"http:\/\/help.sdna.lu\/?p=1598&#038;lang=en"},"modified":"2018-06-28T15:57:17","modified_gmt":"2018-06-28T14:57:17","slug":"currency-rate","status":"publish","type":"post","link":"https:\/\/sdna.lu\/?p=1598","title":{"rendered":"Currency rate"},"content":{"rendered":"<h3><b><span style=\"text-decoration: underline;\">Currency rate:<br \/>\n<\/span><\/b><\/h3>\n<table>\n<tbody>\n<tr>\n<th width=\"350\">Name<\/th>\n<th width=\"20\">Type<\/th>\n<th width=\"15\">Mandatory<\/th>\n<th width=\"250\">Description<\/th>\n<\/tr>\n<tr>\n<td valign=\"top\">&lt;<span style=\"color: #993300;\">Record<\/span> <span style=\"color: #0000ff;\">Type<\/span> =&#8221;<span style=\"color: #ff0000;\">5<\/span><span style=\"color: #ff0000;\">1<\/span>&#8220;&gt;<\/td>\n<td valign=\"top\">Long<\/td>\n<td align=\"center\" valign=\"top\">Y<\/td>\n<td valign=\"top\">Type of object to import. 51 is for currency rate<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\"><span style=\"color: #993300;\">&lt;DBId&gt;&lt;\/DBId&gt;<\/span><\/td>\n<td valign=\"top\">Long<\/td>\n<td align=\"center\" valign=\"top\">Y<\/td>\n<td valign=\"top\">Database Id in DeMaSy. It is displayed in Utilities<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\"><span style=\"color: #993300;\">&lt;StartDate&gt;&lt;\/StartDate&gt;<\/span><\/td>\n<td valign=\"top\">Date\/Time<\/td>\n<td align=\"center\" valign=\"top\">Y<\/td>\n<td valign=\"top\">Date of exchange rate<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\"><span style=\"color: #993300;\">&lt;EndDate&gt;&lt;\/EndDate&gt;<\/span><\/td>\n<td valign=\"top\">Date\/Time<\/td>\n<td align=\"center\" valign=\"top\">N<\/td>\n<td valign=\"top\">Date at which the exchange rate is no longer valid.<br \/>\nIf no date is given, DeMaSy will fit it in automatically.<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\"><span style=\"color: #993300;\">&lt;OrgCurrency&gt;&lt;\/OrgCurrency&gt;<\/span><\/td>\n<td valign=\"top\">Char(10)<\/td>\n<td align=\"center\" valign=\"top\">N<\/td>\n<td valign=\"top\">Reference currency &#8211; ISO code.<br \/>\nCurrency against which all the rates are expressed. Has to be the same for all the rates provided.<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\"><span style=\"color: #993300;\">&lt;DestCurrency&gt;&lt;\/DestCurrency&gt;<\/span><\/td>\n<td valign=\"top\">Char(10)<\/td>\n<td align=\"center\" valign=\"top\">Y<\/td>\n<td valign=\"top\">Currency for which rate is provided &#8211; ISO code<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\"><span style=\"color: #993300;\">&lt;Value&gt;&lt;\/Value&gt;<\/span><\/td>\n<td valign=\"top\">Double<\/td>\n<td align=\"center\" valign=\"top\">\/<\/td>\n<td valign=\"top\">\/<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\"><span style=\"color: #993300;\">&lt;BuyValue&gt;&lt;\/BuyValue&gt;<\/span><\/td>\n<td valign=\"top\">Double<\/td>\n<td align=\"center\" valign=\"top\">N<\/td>\n<td valign=\"top\">Exchange rate &#8211; buy<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\"><span style=\"color: #993300;\">&lt;SellValue&gt;&lt;\/SellValue&gt;<\/span><\/td>\n<td valign=\"top\">Double<\/td>\n<td align=\"center\" valign=\"top\">N<\/td>\n<td valign=\"top\">Exchange rate &#8211; sell<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\"><span style=\"color: #993300;\">&lt;InputValue&gt;&lt;\/InputValue&gt;<\/span><\/td>\n<td valign=\"top\">Double<\/td>\n<td align=\"center\" valign=\"top\">Y<\/td>\n<td valign=\"top\">Exchange rate (average value between buy and sell values if provided)<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\"><span style=\"color: #993300;\">&lt;Invert&gt;&lt;\/Invert&gt;<\/span><\/td>\n<td valign=\"top\">Boolean<\/td>\n<td align=\"center\" valign=\"top\">Y<\/td>\n<td valign=\"top\">Exchange rate is to be inverted. Give -1 as value.<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\"><span style=\"color: #993300;\">&lt;RoundPos&gt;&lt;\/RoundPos&gt;<\/span><\/td>\n<td valign=\"top\">Integer<\/td>\n<td align=\"center\" valign=\"top\">N<\/td>\n<td valign=\"top\">Number of decimals<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\"><span style=\"color: #993300;\">&lt;\/Record&gt;<\/span><\/td>\n<td valign=\"top\"><\/td>\n<td align=\"center\" valign=\"top\">Y<\/td>\n<td valign=\"top\">End of block<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Before the first &lt;Record&gt; tag you must insert the following tag: &lt;Records&gt;<br \/>\nAt the end of the file you must add the following tag: &lt;\/Records&gt;<\/p>\n<a href=\"https:\/\/sdna.lu\/?media_dl=4791\">PDF version<\/a>\n","protected":false},"excerpt":{"rendered":"<p>Currency rate: Name Type Mandatory Description &lt;Record Type =&#8221;51&#8220;&gt; Long Y Type of object to import. 51 is for currency rate &lt;DBId&gt;&lt;\/DBId&gt; Long Y Database Id in DeMaSy. It is displayed in Utilities &lt;StartDate&gt;&lt;\/StartDate&gt; Date\/Time Y Date of exchange rate &lt;EndDate&gt;&lt;\/EndDate&gt; Date\/Time N Date at which the exchange rate is no longer valid. If no [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[42,15,12],"class_list":["post-1598","post","type-post","status-publish","format-standard","hentry","category-utils","tag-currency-rate","tag-interface","tag-xml"],"_links":{"self":[{"href":"https:\/\/sdna.lu\/index.php?rest_route=\/wp\/v2\/posts\/1598","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sdna.lu\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sdna.lu\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sdna.lu\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/sdna.lu\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1598"}],"version-history":[{"count":9,"href":"https:\/\/sdna.lu\/index.php?rest_route=\/wp\/v2\/posts\/1598\/revisions"}],"predecessor-version":[{"id":6555,"href":"https:\/\/sdna.lu\/index.php?rest_route=\/wp\/v2\/posts\/1598\/revisions\/6555"}],"wp:attachment":[{"href":"https:\/\/sdna.lu\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1598"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sdna.lu\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1598"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sdna.lu\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1598"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}