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:
- The Supervisor Approval checkbox is hidden in the Purchase Order Form used
- Navigate to Customization > Forms > Transaction Forms
- Preferred Transaction Form: Click Edit
- Click Screen Fields tab
- Click Main subtab
- Supervisor Approval Show Checkbox: Enter Checkmark
- Click Save
- If the Supervisor Approval checkbox is already set to True then error is cause by Approval Routing Feature
- Navigate to Setup > Accounting > Accounting Preferences
- Click Approval Routing tab
- Purchase Order: Remove Checkmark
- Click Save