当前位置:网站首页>Oracle general ledger balance table GL for foreign currency bookkeeping_ Balance change (Part 1)
Oracle general ledger balance table GL for foreign currency bookkeeping_ Balance change (Part 1)
2022-07-02 07:12:00 【Virtuous time】
Is that GL_JE_LINES For a line of credit vouchers on , The base currency is RMB , Bookkeeping currency is USD, Bookkeeping amount 1 dollar , exchange rate USD/CNY= 6
stay EBS After posting , The general ledger balance table generates two records for a row of vouchers , Detailed as follows :
GL_JE_LINES data
ENTERED_CR Is the original currency (USD)- Debit amount The field values for 1
ACCOUNTED_CR It is the functional currency (CNY)- Credit amount The field value is 6
GL_BALANCES data
Focus on currency fields and current related fields
| CURRENCY_CODE | TRANSLATED_FLAG | PERIOD_NET_DR | PERIOD_NET_CR | PERIOD_NET_DR_BEQ | PERIOD_NET_CR_BEQ |
|---|---|---|---|---|---|
| CNY | 0 | 6 | 0 | 0 | |
| USD | R | 0 | 1 | 0 | 6 |
It can be seen that EBS The subtlety of field design , Later, when revaluation and conversion occur , How do the relevant fields of the general ledger balance table change .
Reference material
1 Summary
GL_BALANCES contains actual, budget, and encumbrance balances for detail and summary accounts.
This table stores ledger currency, foreign currency, and statistical balances for each accounting period that has ever been opened.
ACTUAL_FLAG is either ‘A’, ‘B’, or ‘E’ for actual, budget, or encumbrance balances, respectively. If ACTUAL_FLAG is ‘E’, then ENCUMBRANCE_TYPE_ID is required.
2 Balances Calculations
GL_BALANCES stores period activity for an account in the PERIOD_NET_DR and PERIOD_NET_CR columns.
The table stores the period beginning balances in BEGIN_BALANCE_DR and BEGIN_BALANCE_CR.
An account’s year-to-date balance is calculated as BEGIN_BALANCE_DR – BEGIN_BALANCE_CR + PERIOD_NET_DR – PERIOD_NET_CR.
Example
decode(map.account_type,’Asset’,greatest(sum(period1.begin_balance_dr + period1.period_net_dr)-sum(period1.begin_balance_cr + period1.period_net_cr),0),’Liability’,(greatest(sum(period1.begin_balance_dr + period1.period_net_dr)-sum(period1.begin_balance_cr + period1.period_net_cr),0)),q’[Ownership/Stockholder’s Equity]’,(greatest(sum(period1.begin_balance_dr + period1.period_net_dr)-sum(period1.begin_balance_cr + period1.period_net_cr),0)),null) “Ledger Debit Amount”,
decode(map.account_type,’Asset’,greatest(sum(period1.begin_balance_cr + period1.period_net_cr)-sum(period1.begin_balance_dr + period1.period_net_dr),0),’Liability’,(greatest(sum(period1.begin_balance_cr + period1.period_net_cr)-sum(period1.begin_balance_dr + period1.period_net_dr),0)),q’[Ownership/Stockholder’s Equity]’,(greatest(sum(period1.begin_balance_cr + period1.period_net_cr)-sum(period1.begin_balance_dr + period1.period_net_dr),0)),null) “Ledger Credit Amount”,
3 Foreign Currency Transactions or Journals
Detail and summary foreign currency balances that are the result of posted foreign currency journal entries have TRANSLATED_FLAG set to ‘R’, to indicate that the row is a candidate for revaluation.
For foreign currency rows, the begin balance and period net columns contain the foreign currency balance, while the begin balance and period net (_BEQ) columns contain the converted ledger currency balance.
Summary foreign currency balances that are the result of foreign currency translation have TRANSLATED_FLAG set to NULL. All summary account balances have TEMPLATE_ID not NULL.
Example
For US Company whose functional currency is USD, and if transaction (AP Invoice) is entered is in INR. Here entered Dr and Entered Cr are in INR and Accounted Dr and Cr is in USD. (Context is for Liability account)
In GL Balances there will be two rows for this liability account, one for currency INR and other for currency USD.
A row with INR (Foreign Currency) will have TRANSLATED_FLAG set to ‘R’. For foreign currency (INR) rows, the begin balance and period net columns contain the foreign currency balance, while the begin balance and period net (_BEQ) columns contain the converted ledger currency balance (USD).
A row with USD (Functional Currency) will have TRANSLATED_FLAG set to NULL
4 Foreign Currency Translation
Detail foreign currency balances that are the result of foreign currency translation have TRANSLATED_FLAG set to ‘Y’ or ‘N’. ‘N’ indicates that the translation is out of date (i.e., the account needs to be re-translated). ‘Y’ indicates that the translation is current.
Summary foreign currency balances that are the result of foreign currency translation have TRANSLATED_FLAG set to NULL. All summary account balances have TEMPLATE_ID not NULL.
The columns that end in _ADB are not used. Also, the REVALUATION_STATUS column is not used.
边栏推荐
- php中删除指定文件夹下的内容
- sqli-labs通关汇总-page2
- CSRF attack
- Changes in foreign currency bookkeeping and revaluation general ledger balance table (Part 2)
- Wechat applet Foundation
- How to call WebService in PHP development environment?
- Redis -- cache breakdown, penetration, avalanche
- How to debug wechat built-in browser applications (enterprise number, official account, subscription number)
- sqli-labs通關匯總-page2
- Tool grass welfare post
猜你喜欢

SQLI-LABS通关(less15-less17)

sqli-labs通关汇总-page4

ssm人事管理系统

Take you to master the formatter of visual studio code

ORACLE EBS中消息队列fnd_msg_pub、fnd_message在PL/SQL中的应用

SSM学生成绩信息管理系统

Sqli - Labs Clearance (less6 - less14)

The table component specifies the concatenation parallel method

Sqli-labs customs clearance (less2-less5)

Date time API details
随机推荐
ORACLE 11.2.0.3 不停机处理SYSAUX表空间一直增长问题
Tool grass welfare post
TCP攻击
js删除字符串的最后一个字符
Only the background of famous universities and factories can programmers have a way out? Netizen: two, big factory background is OK
SSM实验室设备管理
微信小程序基础
Oracle 11.2.0.3 handles the problem of continuous growth of sysaux table space without downtime
2021-07-19c CAD secondary development creates multiple line segments
SSM学生成绩信息管理系统
SSM二手交易网站
ssm+mysql实现进销存系统
UEditor .Net版本任意文件上传漏洞复现
pySpark构建临时表报错
ssm垃圾分类管理系统
SQLI-LABS通关(less15-less17)
JS countdown case
Oracle APEX 21.2 installation et déploiement en une seule touche
Oracle rman半自动恢复脚本-restore阶段
SQL注入闭合判断