Estimate
Estimate in the requestJSON and responseJSON are in the form of List of Estimate objects.
The Estimate object has the following parameters.
Field Name | Data Type | Description |
---|
salesforceID | ID | Read-Only field, provides the Salesforce Record ID upon successful creation or updation in Salesforce. |
classification | LookupRecord | Internal ID of the Class. |
createdDate | Long | Read-Only field, the Date will be returned as a Unix timestamp in seconds. |
currencyName | String | Read-Only field, returns the Currency Name. |
currencyRecord | LookupRecord | Internal ID of the Currency. |
customFieldList | CustomFields | Custom fields and their values. |
customForm | LookupRecord | Internal ID of the Custom Form. |
department | LookupRecord | Internal ID of the Department. |
discountItem | LookupRecord | Internal ID of the Discount Item. |
discountRate | String | Discount rate like “-12” or “15”. |
discountTotal | Double | Read-Only field, returns the Total Discount. |
dueDate | Long | Date is accepted and returned as a Unix timestamp in seconds. |
entity* | LookupRecord | Internal ID of the Entity (Customer). |
entityStatus | LookupRecord | Internal ID of the Prospect Status. |
expectedCloseDate | Long | Date is accepted and returned as a Unix timestamp in seconds. |
exchangeRate | Double | Supported only while creating, holds the value of the Exchange Rate. |
externalId | String | |
handlingCost | Double | Read-Only field, returns the Total Handling Cost. |
internalId | String | Unique ID that NetSuite holds. It is required during the update of a Record. |
itemList* | LineItems | Holds the Line Items. |
lastModifiedDate | Long | Read-Only field and the Date is returned as a Unix timestamp in seconds. |
memo | String | |
otherRefNum | String | |
probability | Double | Probability like “20” or “80”. |
salesRep | LookupRecord | Internal ID of the Sales Rep (Employee). |
shippingCost | Double | Read-Only field, returns the Total Handling Cost. |
status | String | Read-Only field, returns the Status of the Estimate. |
subTotal | Double | Read-Only field, returns the Sub-Total. |
subsidiary | LookupRecord | Internal ID of the Subsidiary. By default, NetSuite considers the Subsidiary of the Customer if not provided. |
taxTotal | Double | Read-Only field, returns the Total Tax Amount. |
title | String | |
total | Double | Read-Only field, returns the Total Amount. |
tranDate | Long | Date is accepted and returned as a Unix timestamp in seconds. |
tranId | String | Provide Estimate # (number) or auto generated by NetSuite |
LineItems
Field Name | Data Type | Description |
---|
item* | LineItemRecord[] | List of LineItem Records. |
replaceAll | Boolean | The default value for the replaceAll attribute is true.If true,NetSuite will replace all the Line Items with the new ones. |
LineItemRecord
Field Name | Data Type | Description |
---|
amount | Double | |
classification | LookupRecord | Internal ID of the Class. |
customFieldList | CustomFields | List of Custom Fields with their Values. |
department | LookupRecord | Internal ID of the Department. |
description | String | Item Description |
grossAmt | Double | |
item* | LookupRecord | Internal ID of the Item. |
line | Integer | Specifies the Line Number, which should be unique across the lines. |
location | LookupRecord | Internal ID of the Location. |
price | LookupRecord | Internal ID of the Price Level of Item. |
quantity | Double | |
rate | String | |
revRecEndDate | Long | Date is accepted and returned as a Unix timestamp in seconds. |
revRecSchedule | LookupRecord | Internal ID of the Rev. Rec. Schedule. |
revRecStartDate | Long | Date is accepted and returned as a Unix timestamp in seconds. |
tax1Amt | Double | |
taxCode | LookupRecord | Internal ID of the Tax Code. |
taxRate1 | Double | |
LookupRecord
Field Name | Data Type | Description |
---|
externalId | String | Read-Only, returns the external Id of the Record selected. |
internalId* | String | Internal Id of the Record or List. |
name | String | Read-Only, returns the name of the Record selected. |
type | String | Read-Only. |
CustomFields
Field Name | Data Type | Description |
---|
customField | CustomFieldInfo[] | List of CustomField Info |
CustomFieldInfo
Field Name | Data Type | Description |
---|
fieldType* | String | Specifies the Data Type of a Custom field.Possible values are: string, boolean, date, double, long, select. |
internalId | String | InternalId of the Custom Field. |
scriptId* | String | Script ID of the Custom Field. |
value | String | Required and returned for all the custom fields other than “select” (fieldType) |
valueLookup | LookupRecord | Required and returned for the fieldType “select” |
Table of contents