--需要输入set_of_books_id,set_of_books_id可以从GL_SETS_OF_BOOKS查,Demo环境中的Vision Operations (USA)的set_of_books_id是1
SELECT a.period_name,
a.period_num,
a.gl_status,
b.po_status,
c.ap_status,
d.inv_status
FROM (SELECT period_name,
period_num,
DECODE (closing_status,
'O', 'Open',
'C', 'Closed',
'F', 'Future',
'N', 'Never',
closing_status)
gl_status
FROM gl_period_statuses
WHERE application_id = 101 --GL
AND start_date >= '01-JAN-08'
AND end_date < '01-JAN-09'
AND set_of_books_id = &&set_of_books_id) a,
(SELECT period_name,
DECODE (closing_status,
'O', 'Open',
'C', 'Closed',
'F', 'Future',
'N', 'Never',
closing_status)
po_status
FROM gl_period_statuses
WHERE application_id = 201 --Purchasing
AND start_date >= '01-JAN-08'
AND end_date < '01-JAN-09'
AND set_of_books_id = &&set_of_books_id) b,
(SELECT period_name,
DECODE (closing_status,
'O', 'Open',
'C', 'Closed',
'F', 'Future',
'N', 'Never',
closing_status)
ap_status
FROM gl_period_statuses
WHERE application_id = 200 --AP
AND start_date >= '01-JAN-08'
AND end_date < '01-JAN-09'
AND set_of_books_id = &&set_of_books_id) c,
(SELECT period_name,
DECODE (closing_status,
'O', 'Open',
'C', 'Closed',
'F', 'Future',
'N', 'Never',
closing_status)
inv_status
FROM gl_period_statuses
WHERE application_id = 401 --Inventory
AND start_date >= '01-JAN-08'
AND end_date < '01-JAN-09'
AND set_of_books_id = &&set_of_books_id) d
WHERE a.period_name = b.period_name AND a.period_name = c.period_name
ORDER BY a.period_num;
--SELECT * FROM fnd_application WHERE application_id IN (101,201,200,401)
分享到:
相关推荐
a tool which is used to design the regular expression a tool which is used to design the regular expression a tool which is used to design the regular expression a tool which is used to design the ...
The AP acting as the WLC is referred to as the master AP while the other APs in the Cisco Mobility Express network, which are managed by this master AP, are referred to as subordinate APs. In ...
Added TFlexFileFormat.StreamSupport property (default True), which difines, is it necessary to open file stream or give the file name only. - FIX: If the TCustomProp.Assign method calls when the ...
The aim of mod_wsgi is to implement a simple to use Apache module which can host any Python application which supports the Python WSGI interface. The module would be suitable for use in hosting high ...
An example of this would be to describe how the UART interfaces with the system, which pins, how they should be muxed, the device to enable, and which driver to use. The original BeagleBone didn't ...
committed, the command line prompt script failed to notice the current status, which has been improved. * Many GIT_TEST_* environment variables control various aspects of how our tests are run, ...
Wireless networks are under constant pressure to provide ever higher data rates to increasing numbers of users with greater reliability. Space-time processing technology, which uses multiple antennas ...
- Changed the mechanism to check for the required DirectX Direct3D as the previous method did not work on some system (some W2003 servers). - Enhanced the mechanism to report memory hardware errors ...
We propose an approach that repurposes the same HMM-based system used for OCR to the task of script/language ID, by replacing character labels with script class labels. We apply it in a multi-pass ...
一下为部分题目: 2. The String.Format(“Input = {0} and Output = {1}”, “1”,”2”) expression returns which of ...6. Which activity can be used to modify the value of an existing cell in a DataTable?
This software application is used to perform extended-period simulation of the hydraulic and water quality behavior within pressurized pipe networks, which consist of pipes, nodes (junctions), pumps,...
but to give a quick reference to all the tips and tricks that can be used if you are encountering a (difficult) problem, or simply facing a question which you cannot find the answer to. I consider ...
used in power quality on-line monitoring system to store,display,count and analyze the collected data of voltage and current from each terminal, and communicates with supervisory computer through GPRS...
to enforce the pose estimator to generate anthropometri- cally valid poses even with images in the wild. We also observe that a carefully designed information source for the discriminator is essential...
The component may be used to format disks which are not currently in-use, and to verify the file system on any drives, but only fix it on drives that are not in-use. It may be useful for preparing ...
Which of the following SQL statements can be used to add a row to a table? (a) CREATE (b) INSERT (c) APPEND (d) ADD Correct answer is (b) Your score on this question is: 10.00 ...
addition to solved example problems, which enable students to master the theory as well as providing them with the tools needed to solve more difficult problems. The basic theory, instrumentation ...
Even if you have used previous versions of the Drag and Drop Component Suite it would be a good idea to have a quick look at the demos. The library has been completely rewritten and a lot of new ...
The Data Interface, which is used to transfer data to and from the MAC, operates differently depending on the state of the PHY. The Control Interface is used by the MAC to control the operating state...
用法 id [-ap] [user] id 显示自己的。 id root 显示root的。 id -a root 显示用户所在组的所有组名(如root用户,是所有组的组员) df 查看文件系统,查看数据区 用法 df [-F FSType] [-abeghklntVvZ] [-o ...