Last updated on AUGUST 07, 2017
Applies to:Oracle Order Management - Version 11.5.9 to 12.2 [Release 11.5 to 12.2]
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.
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