0

I have written a user event script to update posted transactions so I have to understand that the transaction (e.g. invoice) is posted. How can I search this on suitescript.

Luca Basso Ricci
  • 17,829
  • 2
  • 47
  • 69
Arif Karadag
  • 129
  • 1
  • 2
  • 8

1 Answers1

2

you are looking for posting filter (You can add the search columns that you want)

var transactions = nlapiSearchRecord('transaction', null, 
       [['posting', 'is', 'T'], 'and', ['mainline','is', 'T']);
prasun
  • 7,073
  • 9
  • 41
  • 59