In ASCP Cannot Delete Collected Sales Order Using Self Service Legacy Load
Last updated on JUNE 28, 2017
Applies to:Oracle Advanced Supply Chain Planning - Version 12.2.4 and later
Information in this document applies to any platform.
On : 22.214.171.124 version, Data Collections (with VCP Cum Patch 126.96.36.199 - 19549533 applied)
We are unable to delete collected Sales Order using Self Service Legacy Load
We have collected Customer information (TradingPartner and TradingPartnerSite). Thereafter we collected a Sales Order for this Customer.
In the standard OATemplate for SalesOrder, we had to populate the fields "Source Demand Source Header Id" and "Source Demand Source Line".
Otherwise, PPM will show an error:
"Table Name: MSC_ST_SALES_ORDERS, Number of Occurences: 1, Error: SOURCE_DEMAND_SOURCE_HEADER_IDOR SOURCE_DEMAND_SOURCE_LINE cannot be null. Please resubmit the record with a non-null value for SOURCE_DEMAND_SOURCE_HEADER_IDOR SOURCE_DEMAND_SOURCE_LINE."
In the next round of collection (Self Service Legacy Load) we loaded the same SalesOrder.dat file but with Deleted Flag=1. Our expectation is to get the SO deleted from ODS (MSC_SALES_ORDERS). However, this does not happen.
Also, there is no error shown in the process.
Please note that the deletion process (by sending Deleted Flag=1) works in VCP 188.8.131.52.
Expect the Sales Order to be deleted when Self Service Legacy Load is run with Deleted Flag = 1 in the SalesOrder.dat file.
The issue can be reproduced at will with the following steps:
- Advanced Supply Chain Planner Responsibility > Collections > Legacy Systems > "Collect Flat File Data - Self Service"
- Run Self Service Legacy Load with Delete Flag set to 1 in the SalesOrder.dat file
- Note that the Sales Order does not get deleted from MSC_SALES_ORDERS
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms