action.skip

How to avoid errors due to an outdated field?

← Billing & Invoice Management FAQ ← Salesforce Environment FAQ

JustOn regularly delivers updates to bring new features, improvements and fixes to JustOn Billing & Invoice Management. Updates may also deprecate and remove fields from the package if they are no longer used by the provided business logic. However, removing fields from the update software package does not delete them in the existing installations.

Usually, outdated fields do no harm. But under certain circumstances, some batch operations like the invoice run may produce errors that relate to an outdated field, for example:

Division by zero on field FactorizedUnitPrice for Id null

The Invoice Line Item field Factorized Unit Price was removed with JustOn 2.43. There is no business logic using this field, so it is save to delete it.

To manually delete an outdated managed field:

  1. Switch to Salesforce Classic.

    Lightning Experience does not provide an easy option to delete outdated managed fields.

  2. Click Setup.

  3. Navigate to Build > Create > Objects > Object.

    Following the example, open Invoice Line Item.

  4. In the Custom Fields & Relationships section, find the outdated field.

    Following the example, find Factorized Unit Price.

    delete_outd_field

  5. Click Del in the row of the outdated field.

  6. Confirm the deletion, and click Delete.

    delete_outd_field_confirm

    This removes the outdated field from your JustOn Billing & Invoice Management instance.