The content in Custom Transaction Line Fields does not currently wrap, unless the field's type is Text Area. There is already an enhancement filed to request the ability to wrap the content of Custom Transaction Line Fields (enhancement #152793). The following alternate solution can be used in order to avoid truncation of the content in Transaction Line Fields, which cannot be set to type Text Area.
The alternate solution is to replace the Custom Transaction Line Field of a different type than Text Area with one of type Text Area sourced from the original field. The old field will still be used in all forms except for the printing form. The alternate solution contains two steps. The first one is to create the new Transaction Line Field and source it from the original field. The second one is to customize the form to print only the new field and to display only the old one in the UI.
The steps to accomplish this are the following:
- Create a custom column filed of type Text Area sourced from the original field.
- Please navigate to Setup > Customization > Transaction Line Fields > New.
- Enter a name and optionally an ID for the new field.
- Select the type Text Area.
- Uncheck Store Value.
- In the Applies To tab please check the same options as are checked for the original field.
- In the Validation & Defaulting tab please click on the Formula Builder icon next to the Default Value field. In the Formula popup, please select the original field in the Field dropdown and click on Set.
- Save the new transaction line field.
- Customize the form to display the new field only as a printing field and the original field only in the UI.
- Please open a record of the transaction and navigate to Customize > Customize Form.
- In the Sublists Fields tab under the Columns subtab please identify the newly created transaction line field and uncheck the Show checkbox next to it.
- Please navigate to the Printing Fields tab and under the Columns subtab perform the following actions:
- Check the Print/Email checkbox next to the newly created transaction line field.
- Uncheck the Print/Email checkbox next to the old field.
- Move the new created field to the desired position. (optional)
- Save the changes done to the transaction form.
No comments:
Post a Comment