My Oracle Support Banner

Updating the Demand Class And the Calculate Price Flag of an Order Line Results in Error: Cannot get valid name for - calculate_price_flag (Doc ID 2918385.1)

Last updated on JANUARY 06, 2023

Applies to:

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

Symptoms

When attempting to update the demand class AND the calculate price flag for a sales order line,
the following error occurs.

ERROR
Getting the below error when we are trying to update the demand class for sales order line.
  note: Cannot get valid name for - calculate_price_flag


NOTES
This happens when the calculate price flag is changed, yet it is actually set to same value as was present beforehand
and the demand class is updated to a new value.

STEPS
The issue can be reproduced at will with the following steps:
1. Responsibility: Order Management Super User (or equivalent)
2. Navigate to: Orders, Returns > Sales Orders
3. Query the order
4. Click on the line items tab
    shows calculate price flag (under pricing tab) = Calculate Price
    demand class (under shipping tab) = AAA
5. Click on the pricing tab
    update calculate price flag = Calculate Price (select it from the list of values).
    --This is the same value that was present on the order line
6. Click on the shipping tab
    update demand class = BBB
    --This is a new value
7. Save and above error message is shown.



Changes

 

Cause

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
Symptoms
Changes
Cause
Solution
References


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