In Stock items - Description tab, is an option to have a default value for the style ? By default, the default value is ”Paragraph”, but I want to be ”Preformatted” for each new item.
Best answer by Gabriel Michaud
There’s no setting or option you can set directly, however you can use the Customization tools to achieve what you need. The description basically needs to default to the same HTML content that Acumatica inserts behind the scenes when you pick “Preformatted”:
I had to put a single space as default description for this to work. If you leave an empty string in the HTML it overwrites with default styling. It might be better to default the description to “<Replace Me>” or something similar. Here’s a video demo: https://recordit.co/UPpwOCwvPc
Note that this only applies to new items you create. If you want to update existing items to set them to “Preformatted”, you can use SQL:
UPDATE InventoryItem SET Body='<the default HTML code goes here>' WHERE Body IS NULL
The customization project I built to test this is attached to my reply. Feel free to use it on your site!