My Oracle Support Banner

Resource Capacity Is Not Getting Collected For Some Orgs (Doc ID 2905849.1)

Last updated on OCTOBER 28, 2022

Applies to:

Oracle Advanced Supply Chain Planning - Version 12.2.6.3 and later
Information in this document applies to any platform.

Symptoms

No resource availability is being collected.

NAV: ASCP (R) / Collections / Oracle Systems / Standard Collections - Launch the request set

Log file for the ODS Loader Worker shows errors

========================================================
Populating Org Resources for the Org: 263
========================================================
 Populating Org Resources for Null Simulation Set ......
--------------------------------------------------------
 Populating Available Resources.........................
--------------------------------------------------------
 Populating Org Resources for the Simulation Set :AP1-SIM
--------------------------------------------------------
 Populating Available Resources.........................
--------------------------------------------------------
There is no data for the day before 15-AUG-22
There is no data for the day before 15-AUG-22
There is no data for the day before 16-AUG-22
There is no data for the day before 17-AUG-22

.... -- CONTINUES UNTIL

There is no data for the day before 19-DEC-22
There is no data for the day before 20-DEC-22
There is no data for the day before 21-DEC-22
There is no data for the day before 22-DEC-22
Error::(90)::-1:ORA-00001: unique constraint (MSC.MSC_NET_RESOURCE_AVAIL_U2)
28-JUL 14:43:22 : RET_CODE: -1
28-JUL 14:43:22 : CALLING POPULATE_ALL_LINES
======================================================================
 Populating Resources of all lines for the Org: 263

SQL checks return no data for plan_id = -1

select * from msc_department_resources
where resource_code like '&resource_name'
and plan_id in (-1);

SELECT * FROM msc_net_resource_avail
where resource_id = &resource_id
and organization_id = &org_id
and plan_id in (-1)
and shift_date between sysdate - 10 and sysdate + 180
order by simulation_set, shift_date, from_time;

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.