My Oracle Support Banner

In ASCP Cannot Delete Collected Sales Order Using Self Service Legacy Load (Doc ID 2047850.1)

Last updated on MARCH 16, 2020

Applies to:

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


On : version, Data Collections (with VCP Cum Patch - 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 Occurrences: 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

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:

  1. Advanced Supply Chain Planner Responsibility > Collections > Legacy Systems > "Collect Flat File Data - Self Service"

  2. Run Self Service Legacy Load with Delete Flag set to 1 in the SalesOrder.dat file

  3. Note that the Sales Order does not get deleted from MSC_SALES_ORDERS



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

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