Cost Code Label Characters Omitted After String Pattern ' -'
(Doc ID 2943255.1)
Last updated on APRIL 20, 2023
Applies to:
Primavera Unifier - Version 20.12.15.0 to 20.12.16.0 [Release 20.12]Primavera Unifier Cloud Service - Version 20.12.15.0 to 20.12.16.0 [Release 20.12]
Information in this document applies to any platform.
Symptoms
On Unifier : Version 20.12.15
When the WBS/CBS Code/Item in the Cost Sheet uses more than one Cost Code Segment, and the label in the segment contains a hyphen with spaces on either side, e.g., " - ":
Expected Result
The label from the data set containing the spaces next to the hyphen should be entirely appended to the WBS/CBS Code/Item in the Cost Sheet without incident.
Actual Result
In the Cost Sheet, where Cost Code Segments are being appended to the WBS/CBS Code/Item, the Cost Code Segment label entries are being cut off (for lack of a better phrase) at the hyphen with spaces on either side when appended to the WBS/CBS Code/Item. This is regardless of the Cost Code Separator defaulting to a Value of "-", or other.
Example:
The Cost Code Data Segment Set includes rows where the labels are defined such as:
- Oracle - Support
- Oracle - Consulting
- Oracle - Training
- Oracle - Communities
Prior to updating to version 20.12.15, the labels were being completely appended to the WBS/CBS Code/Item in the Cost Sheet, such as:
- Oracle - Support
- Oracle - Consulting
- Oracle - Training
- Oracle - Communities
After updating to version 20.12.15, when the user selects the same entries the labels are being cut off at the hyphen when appended to the WBS/CBS Code/Item in the Cost Sheet, such as:
- Oracle
- Oracle
- Oracle
- Oracle
If there are no spaces next to the hyphen in the label, e.g., "-", then the lab.es are appended to the WBS/CBS Code/Item as expected, such as:
- Oracle-Support
- Oracle-Consulting
- Oracle-Training
- Oracle-Communities
If another character is used in the data set's label, e.g., a tilda, or " ~ ", then the labels are appended to the WBS/CBS Code/Item as expected, such as:
- Oracle ~ Support
- Oracle ~ Consulting
- Oracle ~ Training
- Oracle ~ Communities
Steps to Reproduce
- Define the Cost Sheet so that the WBS/CBS Code/Item uses more than one Cost Code Segment.
- Ensure that the labels for the data set contain a hyphen with spaces on either side, or " - ".
- At runtime build the WBS/CBS Item using the data set and find that the data from the segment containing the hyphen with the spaces in the label cuts off at the hyphen.
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 |
Cause |
Solution |
References |