README.md in netsuite-0.0.50 vs README.md in netsuite-0.1.0
- old
+ new
@@ -85,9 +85,22 @@
# this will only work on OS X, open a browser to the record that was just created
`open https://system.sandbox.netsuite.com/app/crm/calendar/task.nl?id=#{invoice.internal_id}`
task.update :message => 'New Message'
+
+# basic search
+search = NetSuite::Records::Customer.search({
+ basic: [
+ {
+ field: 'companyName',
+ operator: 'contains',
+ value: company_name
+ }
+ ]
+})
+
+`open https://system.netsuite.com/app/common/entity/custjob.nl?id=#{search.results.first.internal_id}`
```