Accounting Calendar template

Posted quanweiru

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Accounting Calendar template相关的知识,希望对你有一定的参考价值。

技术分享图片

SELECT INITCAP (TO_CHAR (TO_DATE (&year || ‘-‘ || LPAD (ROWNUM, 2, ‘0‘), ‘yyyy-mm‘), ‘MON‘, ‘NLS_DATE_LANGUAGE=AMERICAN‘)) prefix

, ‘Month‘ TYPE

, TO_CHAR (&year) year

, TO_CHAR (TO_DATE (&year || ‘-‘ || LPAD (ROWNUM, 2, ‘0‘), ‘yyyy-mm‘), ‘q‘) quarter

, TO_CHAR (ROWNUM) num

, UPPER (TO_CHAR (TO_DATE (&year || ‘-‘ || LPAD (ROWNUM, 2, ‘0‘), ‘yyyy-mm‘), ‘dd-mon-yyyy‘)) date_from

, UPPER (TO_CHAR (LAST_DAY (TO_DATE (&year || ‘-‘ || LPAD (ROWNUM, 2, ‘0‘), ‘yyyy-mm‘)), ‘dd-mon-yyyy‘)) date_to

, INITCAP (TO_CHAR (TO_DATE (&year || ‘-‘ || LPAD (ROWNUM, 2, ‘0‘), ‘yyyy-mm‘), ‘mon-yy‘)) name

FROM DUAL

CONNECT BY LEVEL <= 12

UNION ALL

SELECT ‘Adj‘ prefix

, ‘Month‘ TYPE

, TO_CHAR (&year) year

, ‘4‘ quarter

, ‘13‘ num

, UPPER (TO_CHAR (LAST_DAY (TO_DATE (&year || ‘-12‘, ‘yyyy-mm‘)), ‘dd-mon-yyyy‘)) date_from

, UPPER (TO_CHAR (LAST_DAY (TO_DATE (&year || ‘-12‘, ‘yyyy-mm‘)), ‘dd-mon-yyyy‘)) date_to

, ‘Adj-‘ || TO_CHAR (TO_DATE (&year, ‘yyyy‘), ‘yy‘) name

FROM DUAL;

以上是关于Accounting Calendar template的主要内容,如果未能解决你的问题,请参考以下文章

如何查看内核memory and swap accounting

承诺会计/预留款会计(commitment accounting/Encumbrance Accounting) in AX 2012

GMF_RCV_ACCOUNTING_TXNS

Y2K Accounting Bug

Y2K Accounting Bug

利用Accounting消息轻松实现单点登录