简体   繁体   English

如何从 Acumatica 中的 REST API 中检索日记帐交易的货币详细信息?

[英]How do I retrieve the currency details of a journal transaction from the REST API in Acumatica?

I'm having a hard time making sense of multi-currency transactions.我很难理解多币种交易。 I'm using the REST API to retrieve journal transaction details.我正在使用 REST API 检索日记帐交易详细信息。 I'm hitting the /entity/Default/18.200.001/JournalTransaction endpoint with $expand=Details and some date filters.我正在使用 $expand=Details 和一些日期过滤器访问 /entity/Default/18.200.001/JournalTransaction 端点。 The base currency of this Acumatica instance is USD, but some journal transactions are entered in EUR.此 Acumatica 实例的基础货币是美元,但某些日记帐交易以欧元输入。 The problem is that for these EUR transactions, I have no way of knowing these debit/credit amounts were entered in the non-default currency.问题是对于这些欧元交易,我无法知道这些借方/贷方金额是以非默认货币输入的。 I see the EUR amount, but the CurrencyID of the transactions indicates “USD”.我看到欧元金额,但交易的 CurrencyID 显示“美元”。 About the only thing I notice is that the transaction is in the “US” branch, but the details are in the “EU” branch.我唯一注意到的是交易在“美国”分支,但细节在“欧盟”分支。 Is there a way, via the REST API, to query journal transactions/details, and discern what currency the debit/credit amount is represented in?有没有办法通过 REST API 查询日记帐交易/明细,并辨别借方/贷方金额用什么货币表示?

Journal header contains CurrencyID field which should tell you what currency it belongs to.日记帐 header 包含 CurrencyID 字段,该字段应该告诉您它属于哪种货币。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM