For most Standard Fields, the Field ID shown in the Field Help will work as Field Reference for Advanced PDF/HTML Templates.
Example:
But, not all Standard Fields have Field Help available such as Sublist Fields. An example is the 'Ship To' field in the Items Sublist when Item Line Shipping is enabled. See screenshot below:
These are the 2 ways to find out the reference to fields without Field Help:
1. SuiteScript Records Browser - List of information on Scriptable Records and Fields including Sublist Fields. Refer to the Internal ID column for the field references to be used in the Advanced Template. See screenshot below for looking up the 'Ship To' field reference in the example above:
2. WYSIWYG View Fields List - List of fields and that are available for the Advanced Template and its corresponding reference keywords. To access the list, switch to WYSIWYG View in the Advanced Template Editor then click the Fields icon (boxed '+' symbol). This is a more reliable way of looking up field references as it may include fields that are not available in the SuiteScript Records Browser.
Application:
Related SuiteAnswers Articles:
26500: Syntax for Advanced Template Fields
74610: The SuiteScript Records Browser
48808: Source Code Editing in the Template Editor
48807: WYSIWYG Editing in the Template Editor
Please let us know what you think about the solutions described above!
-Jack