Return reason codes must be set up and configured before an agent can perform a return or exchange. Reason codes, which identify a reason for the return, are comprised of descriptions and corresponding ID numbers, are selected by the agent when performing the return. The reason code that has been selected is stored within the record of the customer’s exchange or refund.
The return reason item descriptor uses the following two properties:
Description – describes the return reason, such as ‘Damaged’ or ‘Wrong Color’ and should contain the resource key
Readable description – The
readableDescriptionproperty is configured to use any given resource bundle and uses a user-defined property type to make the data in the resource bundle accessible through the repository API. As such, thereadableDescriptionproperty does not appear in the ‘New Item’ dialog box in the ACC
Once reason codes have been captured by the system, the page code accesses the readableDescription property, which refers to the code identified in the ReasonDescriptionPropertyDescriptor property. This code accesses the description property and uses it as a key to look up the verbose description in the resource bundle, which is named in the resourceBundle attribute of the readableDescription property. The verbose string from the resource bundle will be the final text displayed.

