Hi ALL,
I'm using Product Category, Product Line, and Budget Type to generate a unique Code for a list. The display string is generated as: Product Category & "_" & Budget Type & "_" & Product Line. The Code is currently generated using: LEFT(Display String, 60)
The issue is that Product Category and Product Line contains long text values. As a result, different combinations are truncated to the same 60-character code, causing duplicate codes and the import error: More than one value processed.
I also tried changing the order of concatenation to:
Product Line & "_" & Product Category & "_" & Budget Type
However, this didn't resolve the issue because the code is still being truncated.
When I increased the code length to: LEFT(Display String, 100)
The duplicate code issue was reduced, but additional list items were created that were not expected.
What is the recommended approach for generating a unique code from these three text fields when the combined string can exceed the desired code length? Any best practices for creating a stable, unique code without introducing duplicate or unnecessary list items?
Please advice!