How to Remove Kit Item Components from certain Transaction PDF

To hide the components of a Kit Item, we can create a transaction line level field ‘Not Component.

We should disable the “No Component” checkbox and provide a default value true for the field.

If we have historical transactions, we can also deploy functionality to mark the ‘Not Component’ checkbox in the Transaction line level. This functionality will prevent the ‘Not component’ value marked as false in some contexts like ‘Make a copy’.

So, users won’t be able to update the ‘Not Component’ value anymore and the value will always be true for all the lines in future transactions.

Then in the Transaction Advanced PDF template, we can add a condition to only show the item lines in which ‘Not Component’ is true.

Note: Kit item components are not shown on the Transaction line level, as the feature should be off.

Leave a comment

Your email address will not be published. Required fields are marked *