Return reason codes must be set up and configured before an agent can perform a return or exchange. Reason codes identify a reason for the return and are comprised of descriptions and corresponding ID numbers. Agents select reason codes when performing a return. The selected reason code 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 contains the resource key
Readable description – The
readableDescription
property, which uses any given resource bundle and user-defined property type to make the data in the resource bundle accessible through the repository API. Note that thereadableDescription
property does not appear in the ‘New Item’ dialog box in the ACC
Once reason codes have been captured by the system, the system accesses the readableDescription
property, which refers to the reason 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.