My Oracle Support Banner

Autocreate Requisition to PO is Failing with error ORA-01407: cannot update ("PO"."PO_HEADERS_DRAFT_ALL"."SEGMENT1") to NULL (Doc ID 2890972.1)

Last updated on SEPTEMBER 15, 2022

Applies to:

Oracle Purchasing - Version 12.2.7 and later
Information in this document applies to any platform.


On : 12.2.7 version, Purchase Order

When attempting to autocreate a PO from requisition.
the following error occurs.

ORA-01407: cannot update ("PO"."PO_HEADERS_DRAFT_ALL"."SEGMENT1") to NULL in Package po.plsql.PO_PDOI_POSTPROC_PVT. Procedure
assign_document_number.25;SQLERRM = ORA-01407: cannot update ("PO"."PO_HEADERS_DRAFT_ALL"."SEGMENT1") to NULL

The issue can be reproduced at will with the following steps:
1. Login to Purchasing Responsibility
2. Go to Auto Create 
2. Autocreate Requisition to PO with style 1 having UDA template with doc number usage.


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.