Advanced PDF/HTML Template Gets An Error: “Expression record.supervisorapproval Does Not Evaluate to True/False” When Printing or Emailing Purchase Orders

Scenario:

Error: “Expression record.supervisorapproval Does Not Evaluate to True/False” is returned when Printing or Emailing Purchase Orders using Advanced PDF/HTML Template. The expression record.supervisorapproval is referring to the Standard Supervisor Approval checkbox. If the system couldn’t find a value for this checkbox, whether True or False, then an error will be thrown.

Solution:

  1. The Supervisor Approval checkbox is hidden in the Purchase Order Form used
    1. Navigate to Customization > Forms Transaction Forms
    2. Preferred Transaction Form: Click Edit
    3. Click Screen Fields tab
    4. Click Main subtab
    5. Supervisor Approval Show Checkbox: Enter Checkmark
    6. Click Save
  2. If the Supervisor Approval checkbox is already set to True then error is cause by Approval Routing Feature
    1. Navigate to Setup Accounting Accounting Preferences
    2. Click Approval Routing tab
    3. Purchase Order: Remove Checkmark
    4. Click Save

Leave a comment

Your email address will not be published. Required fields are marked *