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:
-
Switch to Salesforce Classic.
Lightning Experience does not provide an easy option to delete outdated managed fields.
-
Click Setup.
-
Navigate to Build > Create > Objects > Object.
Following the example, open Invoice Line Item.
-
In the Custom Fields & Relationships section, find the outdated field.
Following the example, find
Factorized Unit Price
. -
Click Del in the row of the outdated field.
-
Confirm the deletion, and click Delete.
This removes the outdated field from your JustOn Billing & Invoice Management instance.