Void Journal Entry using Script

Hello,

I am trying to void Journal entry using Script using the set “voided” field value true. But it is not working. Is there any other way to Void Journal entry using Script?

Thanks in Advance.

Best

Rookie Asked on August 26, 2021 in SuiteScript.
Add Comment
1 Answer(s)

You can try the “N/transaction” module to void transaction”.

 

var voidJournal = transaction.void({
    type: transaction.Type.JOURNAL_ENTRY,
    id: journalID
});
Beginner Answered on August 26, 2021.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.
  • This site made possible by our sponsors:   Tipalti   Celigo   Limebox   Become a Sponsor