My Oracle Support Banner

Which Parameters Need to Be Passed to Process_Order API to Import a Model (Config Item)? (Doc ID 297224.1)

Last updated on AUGUST 01, 2020

Applies to:

Oracle Order Management - Version 11.5.9 and later
Information in this document applies to any platform.


Using the OE_ORDER_PUB.Process_Order API to programmatically copy an order line on an order, to a new order line under the same header, find that the API call fails with:

OE_CONFIG_WRONG_MODEL_LINK (ITEM=) User-Defined Exception in Package OE_Default_Line Procedure Model_Option_Defaulting

Traced this back to the OE_CONFIG_UTIL.Default_Child_Line function call, which defaults in values on the child record.  That call generates an error because the TOP_MODEL_LINE_ID
in the parent line record is NULL.


To view full details, 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 a vibrant support community of peers and Oracle experts.