{"id":1913,"date":"2014-07-11T10:34:49","date_gmt":"2014-07-11T09:34:49","guid":{"rendered":"http:\/\/help.sdna.lu\/?p=1913&#038;lang=en"},"modified":"2020-07-30T13:54:15","modified_gmt":"2020-07-30T12:54:15","slug":"forex-2","status":"publish","type":"post","link":"https:\/\/sdna.lu\/?p=1913","title":{"rendered":"Forex"},"content":{"rendered":"<h3><span style=\"color: #ff0000;\"><b><span style=\"text-decoration: underline;\">Forex:<\/span><\/b><\/span><\/h3>\n<table>\n<tbody>\n<tr>\n<td valign=\"center\">RecordType;DBId;ForexType;CompanyName;OrgForexRef;TransDate;ValueDate;CurrencyRate;FBankAccount;FGLAccount<br \/>\n;FBankStatment;FDebited;FCurrency;FCurrencyRate;FCyAmount;FAmount;TBankAccount;TGLAccount;TBankStatment;<br \/>\nTDebited;TCurrency;TCurrencyRate;TCyAmount;TAmount<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<table>\n<tbody>\n<tr>\n<th width=\"10\">Nr<\/th>\n<th width=\"250\">Name<\/th>\n<th width=\"20\">Type<\/th>\n<th width=\"350\">Description<\/th>\n<\/tr>\n<tr>\n<td valign=\"top\">1<\/td>\n<td valign=\"top\"><span style=\"color: #993300;\">RecordType<\/span><\/td>\n<td valign=\"top\">Long<\/td>\n<td valign=\"top\">Type of object to import. 12 is for forex<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">2<\/td>\n<td valign=\"top\"><span style=\"color: #993300;\">DBId<\/span><\/td>\n<td valign=\"top\">Long<\/td>\n<td valign=\"top\">Database Id in DeMaSy. It is displayed in Utilities<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">3<\/td>\n<td valign=\"top\"><span style=\"color: #993300;\">Ref<br \/>\n<\/span><\/td>\n<td valign=\"top\">Char 255<\/td>\n<td valign=\"top\">Internal reference<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">4<\/td>\n<td valign=\"top\"><span style=\"color: #993300;\">Desc<br \/>\n<\/span><\/td>\n<td valign=\"top\">Char 255<\/td>\n<td valign=\"top\">Internal reference<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">5<\/td>\n<td valign=\"top\"><span style=\"color: #993300;\">Reference<br \/>\n<\/span><\/td>\n<td valign=\"top\">Char 50<\/td>\n<td valign=\"top\">Transaction reference<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">6<\/td>\n<td valign=\"top\"><span style=\"color: #993300;\">ForexType<br \/>\n<\/span><\/td>\n<td valign=\"top\">Integer<\/td>\n<td valign=\"top\">Types : 5 = Forex \/ 6 = Outright \/ 7 = Swap<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">7<\/td>\n<td valign=\"top\"><span style=\"color: #993300;\">OrgForexRef<\/span><\/td>\n<td valign=\"top\">Char 50<\/td>\n<td valign=\"top\">Link reference between forex and Outright part of Swap<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">8<\/td>\n<td valign=\"top\"><span style=\"color: #993300;\">TransDate<\/span><\/td>\n<td valign=\"top\">Date\/Time<\/td>\n<td valign=\"top\">Transaction date<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">9<\/td>\n<td valign=\"top\"><span style=\"color: #993300;\">ValueDate<\/span><\/td>\n<td valign=\"top\">Date\/Time<\/td>\n<td valign=\"top\">Value date<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">10<\/td>\n<td valign=\"top\"><span style=\"color: #993300;\">CurrencyRate<\/span><\/td>\n<td valign=\"top\">Double<\/td>\n<td valign=\"top\">Transaction currency rate<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">11<\/td>\n<td valign=\"top\"><span style=\"color: #993300;\">TGLAccount<\/span><\/td>\n<td valign=\"top\">Char 50<\/td>\n<td valign=\"top\">Accounting account (for purchase)<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">12<\/td>\n<td valign=\"top\"><span style=\"color: #993300;\">TBankStatment<\/span><\/td>\n<td valign=\"top\">Long<\/td>\n<td valign=\"top\">Bank statment (for purchase)<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">13<\/td>\n<td valign=\"top\"><span style=\"color: #993300;\">TCurrency<\/span><\/td>\n<td valign=\"top\">Char 10<\/td>\n<td valign=\"top\">Currency ISO code (for purchase)<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">14<\/td>\n<td valign=\"top\"><span style=\"color: #993300;\">TCurrencyRate<\/span><\/td>\n<td valign=\"top\">Double<\/td>\n<td valign=\"top\">Currency rate (for purchase)<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">15<\/td>\n<td valign=\"top\"><span style=\"color: #993300;\">TCyAmount<\/span><\/td>\n<td valign=\"top\">Double<\/td>\n<td valign=\"top\">Amount in transaction currency (for purchase)<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">16<\/td>\n<td valign=\"top\"><span style=\"color: #993300;\">TAmount<\/span><\/td>\n<td valign=\"top\">Double<\/td>\n<td valign=\"top\">Amount in capital currency (for purchase)<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">17<\/td>\n<td valign=\"top\"><span style=\"color: #993300;\">FGLAccount<\/span><\/td>\n<td valign=\"top\">Char 50<\/td>\n<td valign=\"top\">Accounting account (for sale)<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">18<\/td>\n<td valign=\"top\"><span style=\"color: #993300;\">FBankStatment<\/span><\/td>\n<td valign=\"top\">Long<\/td>\n<td valign=\"top\">Bank statment (for sale)<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">19<\/td>\n<td valign=\"top\"><span style=\"color: #993300;\">FCurrency<\/span><\/td>\n<td valign=\"top\">Char 10<\/td>\n<td valign=\"top\">Currency ISO code (for sale)<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">20<\/td>\n<td valign=\"top\"><span style=\"color: #993300;\">FCurrencyRate<\/span><\/td>\n<td valign=\"top\">Double<\/td>\n<td valign=\"top\">Currency rate (for sale)<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">21<\/td>\n<td valign=\"top\"><span style=\"color: #993300;\">FCyAmount<\/span><\/td>\n<td valign=\"top\">Double<\/td>\n<td valign=\"top\">Amount in transaction currency (for sale)<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\">22<\/td>\n<td valign=\"top\"><span style=\"color: #993300;\">Amount<\/span><\/td>\n<td valign=\"top\">Double<\/td>\n<td valign=\"top\">Amount in capital currency (for sale)<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>This table contains the following transaction : FOREX \/ OUTRIGHTS AND SWAPS<br \/>\nSwaps transactions have to be split into two different records : One forex and one linked outright.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Forex: RecordType;DBId;ForexType;CompanyName;OrgForexRef;TransDate;ValueDate;CurrencyRate;FBankAccount;FGLAccount ;FBankStatment;FDebited;FCurrency;FCurrencyRate;FCyAmount;FAmount;TBankAccount;TGLAccount;TBankStatment; TDebited;TCurrency;TCurrencyRate;TCyAmount;TAmount Nr Name Type Description 1 RecordType Long Type of object to import. 12 is for forex 2 DBId Long Database Id in DeMaSy. It is displayed in Utilities 3 Ref Char 255 Internal reference 4 Desc Char 255 Internal reference 5 Reference Char 50 Transaction reference 6 ForexType Integer Types : [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[237],"tags":[],"class_list":["post-1913","post","type-post","status-publish","format-standard","hentry","category-interface-utils"],"_links":{"self":[{"href":"https:\/\/sdna.lu\/index.php?rest_route=\/wp\/v2\/posts\/1913","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=1913"}],"version-history":[{"count":8,"href":"https:\/\/sdna.lu\/index.php?rest_route=\/wp\/v2\/posts\/1913\/revisions"}],"predecessor-version":[{"id":9322,"href":"https:\/\/sdna.lu\/index.php?rest_route=\/wp\/v2\/posts\/1913\/revisions\/9322"}],"wp:attachment":[{"href":"https:\/\/sdna.lu\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1913"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sdna.lu\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1913"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sdna.lu\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1913"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}