Back To VCP
Back To VCP
Note 137293.1
Associate the Demantra Published CTO Forecast to the ASCP Plan as a Demand Schedule
Nav > Advanced Supply Chain Planner > Supply Chain Plan > Names
a.
Define Plan
Planned Items
Schedule By
Assignment Set
TST:EE-ASSIGN-SET-1
Aggregation tab
Buckets:
Days:
Weeks:
Periods:
Organizations tab
The LOV pulls records from the corresponding MSD_DP_SCN_ENTRIES_DENORM table structure.
The Demand Schedule has been set to the Forecast that was Published from Demantra
Constraints tab
Optimizations tab
SELECT *
FROM msc_plans
For Order
Org Item Release Firm Order Type Sugg Due Date Qty/Rate Number Action New Date New Qty Order Priority Implement Date Imp Qty/Rate Implement As Source Org
EE-ATO-
TST:M1 Option-1 On Hand 11/21/2010 16:39 -10 None
EE-ATO-
TST:M1 Model-1 Planned order 11/23/2010 0:00 6 19962814 None 1 TST:M1
EE-ATO-
TST:M1 Model-1 Planned order 11/29/2010 0:00 1 19962815 None 3 TST:M1
EE-ATO-
TST:M1 Model-1 Planned order 12/6/2010 0:00 2 19962816 None 4 TST:M1
EE-ATO-
TST:M1 Model-1 Planned order 12/13/2010 0:00 2 19962817 None 5 TST:M1
EE-ATO-
TST:M1 Model-1 Planned order 12/20/2010 0:00 2 19962818 None 6 TST:M1
EE-ATO-
TST:M1 Model-1 Planned order 12/30/2010 0:00 1 19962819 None 7 TST:M1
EE-ATO-
TST:M1 Model-1 Planned order 1/7/2011 0:00 1 19962820 None 8 TST:M1
EE-ATO-
TST:M1 Model-1 Planned order 2/4/2011 0:00 3 19962821 None 12 TST:M1
EE-ATO-
TST:M1 Model-1 Planned order 3/11/2011 0:00 15 19962822 None 13 TST:M1
EE-ATO-
TST:M1 Model-1 Planned order 4/8/2011 0:00 9 19962823 None 18 TST:M1
EE-ATO-
TST:M1 Model-1 Planned order 5/6/2011 0:00 10 19962824 None 22 TST:M1
EE-ATO-
TST:M1 Model-1 Planned order 6/10/2011 0:00 10 19962825 None 26 TST:M1
EE-ATO-
TST:M1 Model-1 Planned order 7/8/2011 0:00 5 19962826 None 31 TST:M1
TST:M1 EE-ATO-OC-1 Planned order 12/13/2010 0:00 75 19962832 None 5 TST:M1
TST:M1 EE-ATO-OC-1 Planned order 7/8/2011 0:00 1 19962833 None 31 TST:M1
EE-ATO-
TST:M1 Option-2 Planned order 11/23/2010 0:00 100 19962898 Release 1
EE-ATO-
TST:M1 Option-2 Planned order 11/29/2010 0:00 50 19962899 Release 3
EE-ATO-
TST:M1 Option-2 Planned order 12/6/2010 0:00 50 19962900 Release 4
EE-ATO-
TST:M1 Option-1 Planned order 11/23/2010 0:00 210 19962901 Release 1
EE-ATO-
TST:M1 Option-1 Planned order 11/29/2010 0:00 100 19962902 Release 3
EE-ATO-
TST:M1 Option-1 Planned order 12/6/2010 0:00 100 19962903 Release 4
TST:M1 EE-ATO-OC-1 Production forecast 7/8/2011 23:59 -0.59118 19962826 None 31 TST:M1
EE-ATO- CTO Local
TST:M1 Model-1 Forecast 11/19/2010 23:59 -4.00759 Fcst-Org,Week None 1
EE-ATO- CTO Local
TST:M1 Model-1 Forecast 11/22/2010 23:59 -1.00143 Fcst-Org,Week None 2
EE-ATO- CTO Local
TST:M1 Model-1 Forecast 11/29/2010 23:59 -1.68202 Fcst-Org,Week None 3
EE-ATO- CTO Local
TST:M1 Model-1 Forecast 12/6/2010 23:59 -1.95249 Fcst-Org,Week None 4
EE-ATO- CTO Local
TST:M1 Model-1 Forecast 12/13/2010 23:59 -1.94927 Fcst-Org,Week None 5
EE-ATO- CTO Local
TST:M1 Model-1 Forecast 12/20/2010 23:59 -1.9452 Fcst-Org,Week None 6
EE-ATO- CTO Local
TST:M1 Model-1 Forecast 12/30/2010 23:59 -1.44548 Fcst-Org,Week None 7
EE-ATO- CTO Local
TST:M1 Model-1 Forecast 1/7/2011 23:59 -0.20276 Fcst-Org,Week None 8
EE-ATO- CTO Local
TST:M1 Model-1 Forecast 1/14/2011 23:59 -0.19647 Fcst-Org,Week None 9
EE-ATO- CTO Local
TST:M1 Model-1 Forecast 1/21/2011 23:59 -0.18957 Fcst-Org,Week None 10
EE-ATO- CTO Local
TST:M1 Model-1 Forecast 1/28/2011 23:59 -0.18215 Fcst-Org,Week None 11
EE-ATO- CTO Local
TST:M1 Model-1 Forecast 2/4/2011 23:59 -2.93371 Fcst-Org,Week None 12
EE-ATO- CTO Local
TST:M1 Model-1 Forecast 3/11/2011 23:59 -3.38539 Fcst-Org,Week None 13
EE-ATO- CTO Local
TST:M1 Model-1 Forecast 3/11/2011 23:59 -3.37688 Fcst-Org,Week None 14
EE-ATO- CTO Local
TST:M1 Model-1 Forecast 3/11/2011 23:59 -3.36819 Fcst-Org,Week None 15
EE-ATO- CTO Local
TST:M1 Model-1 Forecast 3/11/2011 23:59 -2.19928 Fcst-Org,Week None 16
EE-ATO- CTO Local
TST:M1 Model-1 Forecast 3/11/2011 23:59 -1.99709 Fcst-Org,Week None 17
EE-ATO- CTO Local
TST:M1 Model-1 Forecast 4/8/2011 23:59 -1.9883 Fcst-Org,Week None 18
EE-ATO- CTO Local
TST:M1 Model-1 Forecast 4/8/2011 23:59 -1.97961 Fcst-Org,Week None 19
EE-ATO- CTO Local
TST:M1 Model-1 Forecast 4/8/2011 23:59 -2.32304 Fcst-Org,Week None 20
EE-ATO- CTO Local
TST:M1 Model-1 Forecast 4/8/2011 23:59 -2.784 Fcst-Org,Week None 21
EE-ATO- CTO Local
TST:M1 Model-1 Forecast 5/6/2011 23:59 -2.77599 Fcst-Org,Week None 22
EE-ATO- CTO Local
TST:M1 Model-1 Forecast 5/6/2011 23:59 -2.76831 Fcst-Org,Week None 23
EE-ATO- CTO Local
TST:M1 Model-1 Forecast 5/6/2011 23:59 -2.67355 Fcst-Org,Week None 24
EE-ATO- CTO Local
TST:M1 Model-1 Forecast 5/6/2011 23:59 -2.14207 Fcst-Org,Week None 25
EE-ATO- CTO Local
TST:M1 Model-1 Forecast 6/10/2011 23:59 -2.13552 Fcst-Org,Week None 26
EE-ATO- CTO Local
TST:M1 Model-1 Forecast 6/10/2011 23:59 -2.12938 Fcst-Org,Week None 27
EE-ATO- CTO Local
TST:M1 Model-1 Forecast 6/10/2011 23:59 -2.12365 Fcst-Org,Week None 28
EE-ATO- CTO Local
TST:M1 Model-1 Forecast 6/10/2011 23:59 -1.78813 Fcst-Org,Week None 29
EE-ATO- CTO Local
TST:M1 Model-1 Forecast 6/10/2011 23:59 -1.65116 Fcst-Org,Week None 30
EE-ATO- CTO Local
TST:M1 Model-1 Forecast 7/8/2011 23:59 -1.64668 Fcst-Org,Week None 31
EE-ATO- CTO Local
TST:M1 Model-1 Forecast 7/8/2011 23:59 -1.6426 Fcst-Org,Week None 32
EE-ATO- CTO Local
TST:M1 Model-1 Forecast 7/8/2011 23:59 -1.20912 Fcst-Org,Week None 33
EE-ATO- CTO Local
TST:M1 Model-1 Forecast 7/8/2011 23:59 -0.63274 Fcst-Org,Week None 34
CTO Local
TST:M1 EE-ATO-OC-1 Forecast 12/13/2010 23:59 -75 Fcst-Org,Week None 5
EE-ATO- CTO Local
TST:M1 Option-1 Forecast 11/19/2010 23:59 -100 Fcst-Org,Week None 1
EE-ATO- CTO Local
TST:M1 Option-1 Forecast 11/22/2010 23:59 -100 Fcst-Org,Week None 2
EE-ATO- CTO Local
TST:M1 Option-1 Forecast 11/29/2010 23:59 -100 Fcst-Org,Week None 3
EE-ATO- CTO Local
TST:M1 Option-1 Forecast 12/6/2010 23:59 -100 Fcst-Org,Week None 4
EE-ATO- CTO Local
TST:M1 Option-2 Forecast 11/19/2010 23:59 -50 Fcst-Org,Week None 1
EE-ATO- CTO Local
TST:M1 Option-2 Forecast 11/22/2010 23:59 -50 Fcst-Org,Week None 2
EE-ATO- CTO Local
TST:M1 Option-2 Forecast 11/29/2010 23:59 -50 Fcst-Org,Week None 3
EE-ATO- CTO Local
TST:M1 Option-2 Forecast 12/6/2010 23:59 -50 Fcst-Org,Week None 4
Pegging Diagnostics Scripts
and inventory_item_id in
from msc_system_items
);
and inventory_item_id in
(
from msc_system_items
);
and inventory_item_id in
from msc_system_items
);
SELECT calendar_code,
period_start_date,
period_sequence_num,
period_name,
next_date,
prior_date
FROM msc_period_start_dates
AND '31-OCT-2007'
ORDER BY period_start_date;
Period Start Dates for calendar related to organization for plan
SELECT
cal.period_start_date,
cal.calendar_code,
mtp.partner_name
msc_trading_partners mtp,
msc_plans mp
AND mtp.partner_type = 3
ORDER BY cal.period_start_date;
SELECT
cal.week_start_date,
cal.calendar_code,
mtp.partner_name
msc_trading_partners mtp,
msc_plans mp
ORDER BY cal.week_start_date;
From msc_plan_buckets
SELECT plan_type,
organization_id,sr_instance_id,
compile_designator,
curr_start_date,
curr_cutoff_date
FROM msc_plans
SELECT
mpb.bucket_index,
mpb.bkt_start_date,
mpb.bkt_end_date,
mpb.bucket_type
msc_plans mp
order by 1;
SELECT
plan_id,
organization_id,
bucket_index,
bkt_start_date,
bkt_end_date,
days_in_bkt,
bucket_type
FROM msc_plan_buckets
AND '31-OCT-2007';
See the Planned Order is pegged to the -10 Negative On-Hand that was transacted earlier in the
Test Case
As well as to the Manual Forecast Entries made in the Generated Forecast output in Demantra
Worksheets
and RELEASE_STATUS = 1;
+---------------------------------------------------------------------------+
+---------------------------------------------------------------------------+
+---------------------------------------------------------------------------+
+---------------------------------------------------------------------------+
+---------------------------------------------------------------------------+
-------------------------------------------------
-------------------------------------------------
End of Report
+---------------------------------------------------------------------------+
+-----------------------------
| Starting concurrent program execution...
+-----------------------------
+---------------------------------------------------------------------------+
+---------------------------------------------------------------------------+
Requisition 14100 Line # 1 Release amount must be greater than agreement minimum release
amount
+---------------------------------------------------------------------------+
+---------------------------------------------------------------------------+
+---------------------------------------------------------------------------+
56
+---------------------------------------------------------------------------+
Create Releases Output file
Create Releases
Requisition 14100 Line # 1 Release amount must be greater than agreement minimum release amount
Another way is to create another blanket with lower min. release and change
the automatic document sourcing to pick up the new blanket ( you need to know
the setup from PO side to do this)
Note: At this point in the Test Case, I need to state, that I didnt actually create the EE-SUPPLIER-1 nor did
I setup the Sourcing Rule and Asssignment Set.
The item released. It was randomly released against existing defaulting setups possibly available
at the time the record was released from the workbench.
So, If the Supplier was previously Defined, and the Sourcing Rule / Assignment setup and
associated to the Plan, that supplier would have been sourced to that item, and the failure also
may not have occurred.
Thus, Setup the Supplier, Sourcing Rules, and Asssignment Sets before getting to the Plan run or
Releasing of Planned Orders to Purchasing.
Resolution:
Re-run Plan,
Supplier/Customer/Org = Yes
o See the Planned Orders now are associated to the Supplier EE-Supplier-1 / EE-SUP1SITE1
o When I release this time from ASCP Workbench to Create Requisitions, I expect the
import will properly produce a valid approved purchase requisition.
-------------------------------------------------
-------------------------------------------------
End of Report
Open the Nav > Purchasing > Autocreate
o Now there are 2 records for quantity = 210. We require one of those.
o I will Autocreate a PO from the 2nd of those 2 since I would rather use the
Supplier I sourced and Released so I can document receiving against that same
supplier / site as well.
Select Automatic.
Then Create
And Approve the Newly Created PO
For the Purchase Order autocreated from the correct purchase requisition with supplier EE-
Supplier-1
Requisition Import
Requisition Cancel
Shipments button
Receiving Controls
Save
Requires PO Reapproval
Purchasing > Setup > Organization > Receiving Options
Save
Inventory > Setup > Organization
Changed the Receipt Quantity from 210 to 60 to have 10 replace the negative onhand
and remaining 50 went to stock. May consider canceling the remaining 150 on the PO
Save
I query and find the receipt available to transact has decreased to 150 as expected
SQL SCRIPT
SELECT
substr(Transaction_id,1,10) txn_id,
Request_Id,
substr(Transaction_Type,1,10) txn_type,
Transaction_Date,
substr(Quantity,1,5) Qty,
substr(Interface_Source_Code,1,5) if_code,
substr(Destination_Type_Code,1,10) dest_code,
substr(Parent_Transaction_Id,1,10) parent_id,
substr(Inspection_Status_Code,1,10) Inspect_code,
substr(QA_Collection_Id,1,8) QA_id
FROM rcv_transactions
WHERE po_header_id = (
SELECT po_header_id FROM po_headers_all
WHERE segment1 = '6026')
ORDER BY creation_date DESC;