|
Date
|
GetServerTime()
Answers the server time, resulting in more accurate and reliable sync'ing of data than using
using local client time.
|
|
RecordRef
|
addFile(Map<String, Object> attributes, Object content, String fileName, String folderId, RecordIdType folderIdType)
Creates a new file record.
|
|
WriteResponseList
|
addList(RecordTypeEnum recordType, List<Map<String, Object>> records)
Used to add one or more records into the system
|
|
RecordRef
|
addRecord(RecordTypeEnum recordType, Map<String, Object> attributes)
Creates a new record.
|
|
AsyncStatusResult
|
asyncFindRecords(SearchRecordTypeEnum recordType, String expression)
Searches for all records that match the given filtering expression, asynchronously.
|
|
void
|
attachRecord(RecordTypeEnum sourceRecordType, String sourceId, RecordIdType sourceIdType, RecordTypeEnum destinationRecordType, String destinationId, RecordIdType destinationIdType, RecordTypeEnum contanctRecordType, String contanctId, RecordIdType contanctIdType)
Attaches a source record - that is, the attachment - to another destination one,
optionally specifying a contact for the
attachment.
|
|
AsyncStatusResult
|
checkAsyncStatus(String jobId)
Answers the status of an asynchronous Web services submission.
|
|
WriteResponseList
|
deleteList(List<Map<String, Object>> records)
Used to delete one or more records in the system.
|
|
void
|
deleteRecord(RecordTypeEnum recordType, String id, RecordIdType idType)
Deletes a record.
|
|
void
|
detachRecord(RecordTypeEnum sourceRecordType, String sourceId, RecordIdType sourceIdType, RecordTypeEnum destinationRecordType, String destinationId, RecordIdType destinationIdType)
Detaches a source record - that is, the attachment - from a destination record.
|
|
Record
|
findFirstRecord(SearchRecordTypeEnum recordType, String expression)
Answers the first records that match the given filtering expression.
|
|
Iterable<Record>
|
findRecords(SearchRecordTypeEnum recordType, String expression)
Answers all records that match the given filtering expression.
|
|
String
|
getAccount()
|
|
Record
|
getAsyncFindFirstResult(String jobId)
Answers the the first result of an asynchronous asyncFind.
|
|
Iterable<Record>
|
getAsyncFindResult(String jobId)
Answers the results of an asynchronous web services submission.
|
|
List<Object>
|
getBudgetExchangeRates(String periodId, RecordIdType periodIdType, String fromSubsidiaryId, RecordIdType fromSubsidiaryIdType, String toSubsidiaryId, RecordIdType toSubsidiaryIdType)
Answers the list of budget exchange rates
Example:
|
|
NetSuiteClient<List<Object>, RuntimeException, Void>
|
getClient()
|
|
List<Object>
|
getConsolidatedExchangeRates(String periodId, RecordIdType periodIdType, String fromSubsidiaryId, RecordIdType fromSubsidiaryIdType, String toSubsidiaryId, RecordIdType toSubsidiaryIdType)
Answers the list of consolidated exchange rates
Example:
|
|
List<Object>
|
getCustomizationIds(GetCustomizationTypeEnum type, boolean includeInactives)
Answers the ids of available customizations for a given record type.
|
|
List<Object>
|
getDeletedRecords(RecordTypeEnum type, String whenExpression, Date date1, Date date2, SearchDateFieldOperatorEnum operator)
Answers a list of deleted records of a given record type that match a given date expression.
|
|
String
|
getEmail()
|
|
String
|
getEndpoint()
|
|
List<Object>
|
getItemAvailabilities(RecordTypeEnum recordType, String id, RecordIdType idType, Date ifModifiedSince)
Answers the availability for a given record reference.
|
|
String
|
getPassword()
|
|
Object
|
getRecord(RecordTypeEnum recordType, String id, RecordIdType idType)
Answers a record given its id
Example:
|
|
List<Object>
|
getRecords(RecordTypeEnum type)
Answers all the record of a given type
Example:
|
|
String
|
getRoleId()
|
|
List<Object>
|
getSavedSearch(RecordTypeEnum type)
Retrieves a list of existing saved searches for the given record type.
|
|
void
|
init()
|
|
Record
|
initialize(InitializeTypeEnum type, RecordTypeEnum recordType, String id, RecordIdType idType)
Populates fields on transaction line items with values from a related record,
in a similar way empty text boxes are prepopulated within the Netsuite UI
Example:
|
|
Iterable<Record>
|
savedFindRecords(SearchRecordTypeEnum recordType, String searchId)
Answers all records of a given type for a saved search, given its search id.
|
|
void
|
setAccount(String account)
|
|
void
|
setClient(NetSuiteClient<?, ?, ?> client)
|
|
void
|
setEmail(String email)
|
|
void
|
setEndpoint(String endpoint)
|
|
void
|
setPassword(String password)
|
|
void
|
setRoleId(String roleId)
|
|
void
|
updateInviteeStatus(String eventId, RecordIdType eventIdType, CalendarEventAttendeeResponseEnum status)
Sets a new invitation status for a given event.
|
|
WriteResponseList
|
updateList(RecordTypeEnum recordType, List<Map<String, Object>> records)
Used to update one or more existing records in the system by providing new values for the fields to
be updated for each record.
|
|
void
|
updateRecord(RecordTypeEnum recordType, String id, RecordIdType idType, Map<String, Object> attributes)
Updates an existing record.
|