Working with document types

The default Order console uses the Order document type (0001). When you create a new document type, you must also create a new entity with views. For a resource of Resource Type Entity, you can specify the document type.

Literals within the I18N tag resolve in a specific order. First, the key is prefixed with the document type and is looked up in the resource bundle. If no match is found, the key is looked up as is, or without a prefix.

For example, if there is a I18N literal called Order_# and the current document type is Order (0001), the application first tries to resolve the resource key from the resource bundle for any entry for 0001_Order_#, and if not found, Order_#. This scheme enables you to reuse a specific JSP while still being able to change the literals that appear on the screen if they are specific to your document type.