What would you like to know more about?

Could Not Convert Variant of Type Null into Type Olestr

To resolve this error, edit billing codes with zero amounts.

When trying to generate invoices by billing code, this error displays: "Could not convert variant of type (Null) into type (Olestr)."

  • Products Affected: HeadMaster Billing

  • Versions Affected: 11.4.1.1

This occurs because some billing codes have zero amounts. You'll need to edit these billing codes.

  1. On the Home screen, click Define Lists.
  2. Under Billing, click Billing Codes.
  3. Sort the billing codes in amount order, then edit the billing codes that have zero amounts.
  4. On the Home screen, click Enter/Post Transactions.
  5. From Billing Codes, select Generate Invoices, and click Next.
  6. Click Select all to generate invoices by billing codes.