My Oracle Support Banner

Personalization In Oracle Order Management Sales Order Lines - How To Apply Different Colors On A Single Object On A Particular Item Number Over 2 Orders (Doc ID 2901886.1)

Last updated on OCTOBER 13, 2022

Applies to:

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

Goal

1. Applied the following, It just highlights the number for a moment and then changes back to black, is there a way to make the color stay?

For applying different colors on a single Object, you need to create multiple personalizations.

Example: to get different colors for Quantity field
Personalization1:
Trigger Event: WHEN-NEW-ITEM-INSTANCE
Trigger Object: LINE.ORDERED_QUANTITY
Condition: :LINE.ORDERED_QUANTITY < 4

Actions Tab
Property1:
Target Object: LINE.ORDERED_QUANTITY
Property: FOREGROUND_COLOR
Value: r230g0b0 (red)

Personalization2:
Trigger Event: WHEN-NEW-ITEM-INSTANCE
Trigger Object: LINE.ORDERED_QUANTITY
Condition: :LINE.ORDERED_QUANTITY >= 4

Actions Tab
Property1:
Target Object: LINE.ORDERED_QUANTITY
Property: FOREGROUND_COLOR
Value: r0g255b0 (green)

2. Also, would this work if I want a particular item number like 1234 to change colors if it is over 2 ordered?

Solution

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
Goal
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.