Payment Record – VOID button

User event Trigger for Void action of Transaction in NetSuite

VOID actions do not have a dedicated execution context, meaning they are not explicitly supported in user event scripts. When a transaction is voided, scripts designed to run on the EDIT action may still trigger, potentially causing unexpected behavior for VOID actions.

To prevent unintended execution, conditional checks should be included in scripts running in EDIT mode. These checks should filter out transactions where the memo field contains “Void” or “Voided” and verify the voided field before proceeding.

When we click on ‘VOID’ button, the memo field will be automatically set to VOID and voided checkbox will be set to true

Leave a comment

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