工单缺失期间
工单缺失期间
工单缺失期间
收藏已添加 隐藏
Applies to:
Oracle Cost Management - Version: 10.7 to 10.7.16.1 - Release: 10.7 to 10.7
Oracle Cost Management - Version: 10.7 to 12.1.3 [Release: 10.7 to 12.1]
Oracle Work in Process - Version: 11.5.10.2 and later [Release: 11.5 and later]
Oracle Enterprise Asset Management - Version: 11.5.10.2 and later [Release: 11.5 and later]
Information in this document applies to any platform.
Symptoms
You cannot close the period due to error transactions in the MTL_MATERIAL_TRANSACTIONS (MMT) table. In the worker log, you may get a
generic message that reads:
CST_INVALID_WIP
Cause
Records not found in WIP_PERIOD_BALANCES
Solution
UPDATE MTL_MATERIAL_TRANSACTIONS
SET costed_flag='N',
error_code = NULL,
error_explanation = NULL,
transaction_group_id=NULL
WHERE organization_id= and
transaction_source_id= and
costed_flag IS NOT NULL;
Commit;
II. When this does not work, it is usually due to one or more of the following
three conditions (see BUG 573272bug:573272 for more information on this topic)
* Item costs are not defined for Frozen cost type in CST_ITEM_COSTS.
* WIP_PERIOD_BALANCES is missing rows for the acct_period_id.
* If a repetitive schedule, MTL_MATERIAL_TXN_ALLOCATIONS is missing rows
for the corresponding transaction_id from MTL_MATERIAL_TRANSACTIONS.
1. If you are running inltcp.opp 50.90 or lower, please apply Patch 559432
for version 50.91 (or INV patchset C or higher).
NOTE: THIS DOES NOT APPLY TO CLOSED DISCRETE JOBS WDJ.STATUS_TYPE = 12)
====================================================================
| Run the sql script cm276916.sql to create missing balances in |
| the wip_period_balances table. Run this script as APPS user: |
https://support.oracle.com/epmos/faces/ui/km/DocumentDisplay.jspx?_afrLoop=195680051368235… 1/5
| the wip_period_balances table. Run this script as APPS user: |
| For example, from UNIX shell, type: |
| sqlplus @$BOM_TOP/sql/cm276916.sql |
====================================================================
WHENEVER SQLERROR EXIT FAILURE;
------------------------------------------------------------------
| FILENAME |
| cm325424.sql |
| |
| DESCRIPTION |
| Bug fix 325424 |
| 1. Insert missing rows in wip_period_balances |
| |
| NOTES |
| Invoking Syntax: |
| sqlplus / @cm325424.sql |
| HISTORY |
| 28 NOV 95 Rina Banerjee Creation |
+================================================================+
COMMIT;
EXIT;
a. Run the following select statement to see if you have missing rows:
select repetitive_schedule_id,
(daily_production_rate * processing_work_days) schedqty
quantity_completed, status_type status
from wip_repetitive_schedules wrs
where wip_entity_id=
and not exists
(select 'x'
from mtl_material_txn_allocations mmta
where mmta.repetitive_schedule_id=wrs.repetitive_schedule_id
and mmta.organization_id=wrs.organization_id)
https://support.oracle.com/epmos/faces/ui/km/DocumentDisplay.jspx?_afrLoop=195680051368235… 3/5
update wip_repetitive_schedules
set date_closed=NULL, status_type=4
where repetitive_schedule_id=
and organization_id =
update wip_repetitive_schedules
set date_closed=NULL,
status_type=5
where repetitive_schedule_id=
and organization_id =
/
commit;
References
BUG:276916 - MISSING RECORDS IN WIP_PERIOD_BALANCES (SPORADIC)
BUG:325557 - NEED SCRIPT TO FIX DATA FOR BUG 325424 - WIP_PERIOD_BALANCES
BUG:559432 - COST MANAGER IS ALWAYS FAILING ANNOT PICKING UP COSTED MTL WITH COSTED FLAG='E
BUG:563253 - MATERIAL COST ERRORED OUT DUE TO MISSING
BUG:776068 - COMPLETED REPETITIVE SCHEDULES ARE NOT RELIEVING COSTS AT PERIOD CLOSE
BUG:876983 - REP SCHED COMPLETIONS ARE NOT RELIEVING COSTS AT PERIOD CLOSE
12164996.600
https://support.oracle.com/epmos/faces/ui/km/DocumentDisplay.jspx?_afrLoop=195680051368235… 4/5
相关内容
产品
Oracle E-Business Suite > Manufacturing > Discrete Manufacturing > Oracle Cost Management > CST
Oracle E-Business Suite > Manufacturing > Discrete Manufacturing > Oracle Cost Management > Costing Transaction Errors > Standard Costing
Transaction Errors
Oracle E-Business Suite > Manufacturing > Discrete Manufacturing > Oracle Work in Process > Transactions > Material Transactions
Oracle E-Business Suite > Asset Lifecycle Management > Asset Lifecycle Management > Oracle Enterprise Asset Management > TXNS > Work Order
Completions
关键字
CM276916.SQL; DATAFIX; DISCRETE JOB; MATERIAL TRANSACTIONS; MTL_MATERIAL_TRANSACTIONS; SCRIPT; WIP_PERIOD_BALANCES; WIP_REPETITIVE_SCHEDULES
错误
CST_INVALID_WIP
返回页首
Copyright (c) 2013, Oracle. All rights reserved. Legal Notices and Terms of Use Privacy Statement
https://support.oracle.com/epmos/faces/ui/km/DocumentDisplay.jspx?_afrLoop=195680051368235… 5/5