Allocations Are Not Purged By Ordprg Batch

(Doc ID 1947186.1)

Last updated on AUGUST 17, 2016

Applies to:

Oracle Retail Merchandising System - Version 13.0.7 and later
Information in this document applies to any platform.

Symptoms

Find that allocations created through scripts are not being purged by the ORDPRG batch.

The issue can be reproduced at will with the following steps:

1. Create a Purchase Order (PO) to a Warehouse (WH).
2. Upload an Allocation that is associated to the PO/WH/Item using XALLOC. Note: The ALLOC_HEADER.DOC_TYPE is null.
3. Close the PO.
4. Set the PO’s dates so that it should be purged by ordprg.pc.
5. Run ordprg.pc. Note: The Allocation does not get deleted.
6. Note that there are no DOC_TYPE or DOC fields in the message. Code in ORDPRG batch ONLY purges allocations tied to a PO if the ALLOC_HEADER.DOC_TYPE is either ‘PO’ or ‘ASN’.

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms