ShawnT's Profile
Rookie
5
Points
5
Points
Questions
0
Answers
3
-
// NFT const payment = new CustomerPayment(record.transform(...)) // optionally clear the 'apply' checkbox if auto-apply is happening _.foreach(payment.apply, line => line.apply = false) const applyLine = _.find( payment.apply, line => line.custbody_salesord_id == so_id) applyLine.apply = true applyLine.account = 959 ... etc. payment.save()
- 2074 views
- 1 answers
- 0 votes
-
Because you cannot
selectNewLineon theapplysublist. Typically, you find the existing line you need and set theapplyfield totrue.- 2868 views
- 3 answers
- 0 votes
-
Since SuiteQL supports ad-hoc joins, you may also be able to combine the multiple searches into fewer, faster searches via that technology.
In my experience so far, SuiteQL executes faster than traditional saved searches (in scripts).
- 1344 views
- 3 answers
- 0 votes