Currently, we are unable to add custom fields directly to discount or markup items as we do for other item types.
As an alternative, we can create a custom record to hold the necessary custom fields and link this record to the discount or markup items.
This connection can be achieved by adding a virtual field in discount or markup items using SuiteScript.