How to prevent item description containing carriage return?
Summary
Need to prevent end user from creating new items (or updating existing items) with item description containing a carriage return (easily happens when using copy/paste from another application/source)Content
Trying to get the "prevent item description containing carriage return" requirement working using a 'Validation' item rule, where the Product Management implementation manual (https://docs.oracle.com/en/cloud/saas/supply-chain-management/19c/faipr/defining-product-rules.html#FAIPR1237667) mentioned string functions contains() and match() seem most likely candidates to somehow be able to do the job.
We've been using several item rules successfully, but even after several hours of playing around with string functions contains() and match() we seem to be struggling to get this requirement working. For example below rule setup seems to always raise an error (with or with carriage return present in the item description):
1