Use Case for Finding Vendors that are Assigned an Expense Account
Use the GET command and query with the id of the expense account to get the list of vendors that are assigned an expense account.
GET {{REST_SERVICES}}/record/v1/vendor/?q=expenseaccount EQUAL "10"
Following is a sample response:
{
"links": [
{
"rel": "self",
"href": "https://<accountID>.suitetalk.api.netsuite.com/services/rest/record/v1/vendor/?q=expenseaccount+EQUAL+%2210%22"
}
],
"count": 3,
"hasMore": false,
"items": [
{
"links": [
{
"rel": "self",
"href": "https://<accountID>.suitetalk.api.netsuite.com/services/rest/record/v1/vendor/1723"
}
],
"id": "1723"
},
{
"links": [
{
"rel": "self",
"href": "https://<accountID>.suitetalk.api.netsuite.com/services/rest/record/v1/vendor/1722"
}
],
"id": "1722"
},
{
"links": [
{
"rel": "self",
"href": "https://<accountID>.suitetalk.api.netsuite.com/services/rest/record/v1/vendor/1823"
}
],
"id": "1823"
}
],
"offset": 0,
"totalResults": 3
}
Related Topics
- Vendor Use Cases
- Use Case for Creating a Vendor
- Use Case for Creating a Tax Agency Vendor
- Use Case for Providing Role Access to a Vendor
- Use Case for Inactivating a Vendor
- Use Case for Setting Credit Limit for a Vendor
- Use Case for Defining the Preferred Transaction Delivery Methods for a Vendor
- Use Case for Getting Details of Vendors that are Assigned a Category
- Use Case for Getting List of Vendors that have Credit Limits Above a Value