中文字幕av专区_日韩电影在线播放_精品国产精品久久一区免费式_av在线免费观看网站

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

Overview of WIP_PERIOD_BALANCES

發布時間:2020-08-10 16:40:40 來源:ITPUB博客 閱讀:152 作者:chenshm329 欄目:大數據
Overview Of WIP_PERIOD_BALANCES And Some Useful Queries (文檔 ID 95395.1) Overview of WIP_PERIOD_BALANCES轉到底部 Overview of WIP_PERIOD_BALANCES

Overview of WIP_PERIOD_BALANCES
 Checked for relevance 16-APR-2010

PURPOSE
-------

To assist in defining problems with Work In Progress(WIP) Move Transactions.

 
SCOPE & APPLICATION
-------------------

This is usefull for all System Administrators and DBAs.


Overview of WIP_PERIOD_BALANCES and some useful queries.
-------------------------------------------------------

The creation and deletion of entries in the WIP_PERIOD_BALANCES is governed by
the following rules:

A record is deleted from WIP_PERIOD_BALANCES when

  1. The job status is changed to unreleased.

  2. The period is closed and the job close date is <= accounting
     period start date.

A record is inserted into WIP_PERIOD_BALANCES when

  1. The job status is changed to released.

  2. The period is opened and the job status is one of the following:

      - Released - charges allowed (3)

      - Complete - charges allowed (4)

      - Complete - no charges allowed (5) job only

      - Hold - no charges allowed (6)

      - canceled - no charge allowed (7) job only

      - Pending close (14) job only

      - Failed close (15) job only

When trying to resolve errors with Move Transactions the following scripts can
be applied:

1)  Run the following using the transaction ID from your errored Move
    Transaction:

SELECT ORGANIZATION_ID, WIP_ENTITY_ID, TRANSACTION_DATE, ACCT_PERIOD_ID
FROM WIP_MOVE_TXN_INTERFACE
WHERE TRANSACTION_ID = &transaction_id
old   3: WHERE TRANSACTION_ID = &transaction_id
new   3: WHERE TRANSACTION_ID = 

ORGANIZATION_ID WIP_ENTITY_ID TRANSACTI ACCT_PERIOD_ID
--------------- ------------- --------- --------------

2)  Using the results from above we can now look to see if there is a 
    corresponding balance for this transaction in the WIP_PERIOD_BALANCES:

SELECT 'Record exists in WIP_PERIOD_BALANCES'
FROM WIP_PERIOD_BALANCES WPB
WHERE WPB.ACCT_PERIOD_ID = &acct_period_id
AND WPB.WIP_ENTITY_ID = &wip_entity_id
AND WPB.ORGANIZATION_ID = &organization_id
Enter value for acct_period_id: 
old   3: WHERE WPB.ACCT_PERIOD_ID = &acct_period_id
new   3: WHERE WPB.ACCT_PERIOD_ID = 
Enter value for wip_entity_id: 
old   4: AND WPB.WIP_ENTITY_ID = &wip_entity_id
new   4: AND WPB.WIP_ENTITY_ID = 
Enter value for organization_id: 
old   5: AND WPB.ORGANIZATION_ID = &organization_id
new   5: AND WPB.ORGANIZATION_ID = 

If no rows are returned there is no entry for the job in the WIP_PERIOD_BALANCES
The entries in the table will need to be regenerated via a script.

RELATED DOCUMENTS
-----------------

Note:95389.1
向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

米脂县| 成武县| 乌兰浩特市| 正定县| 西盟| 玉田县| 迭部县| 平塘县| 孙吴县| 杂多县| 红安县| 通海县| 资溪县| 康定县| 油尖旺区| 石狮市| 潮州市| 崇仁县| 济阳县| 新密市| 泰顺县| 连云港市| 陆河县| 南漳县| 上饶市| 榆社县| 商南县| 古蔺县| 洛宁县| 宜兰市| 枣阳市| 虹口区| 佛教| 利津县| 刚察县| 始兴县| 牡丹江市| 永德县| 香河县| 安阳县| 石阡县|