Quotes
Maintains quote records sent to customers with pricing, validity dates, and status; not available in free or standard editions.
Table-Specific Information
Select
This table supports COQL for filtering, meaning that most filters comparing columns to values are submitted server-side.
Insert
INSERT INTO Quotes (Subject, AccountName_Id, QuotedItems) VALUES ('QuotedItems', '1021046000000427103', '[
{
"Product_Name": {
"id": "1021046000000414457"
},
"Quantity": 1024,
"Discount": 99,
"Tax": 13,
"List_Price": 176.21,
"Description": "test"
}
]');
Required fields for REST API: Subject, QuotedItems.
Required fields for BULK API: Subject, AccountName_Id, QuotedItems.
Any field which is not read-only (ReadOnly = false in the table below) can be inserted.
Please note that the REST API honors only the 'id' field of the 'Product_Name' aggregate in the QuotedItems column. The BULK API does not accept any other field in this aggregate.
Delete
You must specify the Id in the WHERE clause when executing a delete against this table.
DELETE FROM Quotes WHERE Id = '3152079000000153079'
Update
You must specify the Id in the WHERE clause when executing an update against this table.
UPDATE Quotes SET Description = 'Changed from the API.' WHERE Id = '3152079000000490009'
Required fields: Id.
Any field which is not read-only (ReadOnly = false in the table below) can be updated.
Columns
| Name | Type | ReadOnly | Description |
| Id [KEY] | String | True |
Unique identifier of the quote record. |
| Team | String | False |
Name of the team associated with the quote. |
| QuoteNumber | String | True |
Reference number assigned to the quote. |
| Subject | String | False |
Subject line or title of the quote. |
| DealName_Id | String | False |
Unique identifier of the related deal. |
| DealName_Name | String | True |
Name of the related deal. |
| QuoteStage | String | False |
Current stage or status of the quote. |
| ValidUntil | Date | False |
Date until which the quote remains valid. |
| ContactName_Id | String | False |
Unique identifier of the contact associated with the quote. |
| ContactName_Name | String | True |
Name of the contact associated with the quote. |
| Carrier | String | False |
Shipping carrier for the quoted items. |
| AccountName_Id | String | False |
Unique identifier of the associated account. |
| AccountName_Name | String | True |
Name of the associated account. |
| QuoteOwner_Id | String | False |
Unique identifier of the user who owns the quote. |
| QuoteOwner_FirstName | String | True |
First name of the quote owner. |
| QuoteOwner_LastName | String | True |
Last name of the quote owner. |
| QuoteOwner_Email | String | True |
Email address of the quote owner. |
| QuoteOwner_Name | String | True |
Full name of the quote owner. |
| CreatedBy_Id | String | False |
Unique identifier of the user who created the quote. |
| CreatedBy_FirstName | String | True |
First name of the user who created the quote. |
| CreatedBy_LastName | String | True |
Last name of the user who created the quote. |
| CreatedBy_Email | String | True |
Email address of the user who created the quote. |
| CreatedBy_Name | String | True |
Full name of the user who created the quote. |
| ModifiedBy_Id | String | False |
Unique identifier of the user who last modified the quote. |
| ModifiedBy_FirstName | String | True |
First name of the user who last modified the quote. |
| ModifiedBy_LastName | String | True |
Last name of the user who last modified the quote. |
| ModifiedBy_Email | String | True |
Email address of the user who last modified the quote. |
| ModifiedBy_Name | String | True |
Full name of the user who last modified the quote. |
| CreatedTime | Datetime | False |
Timestamp when the quote was created. |
| ModifiedTime | Datetime | False |
Timestamp when the quote was last modified. |
| Tag | String | False |
Tags or labels associated with the quote. |
| BillingStreet | String | False |
Street address for billing. |
| ShippingStreet | String | False |
Street address for shipping. |
| BillingCity | String | False |
City for billing address. |
| ShippingCity | String | False |
City for shipping address. |
| BillingState | String | False |
State or region for billing address. |
| ShippingState | String | False |
State or region for shipping address. |
| BillingCode | String | False |
Postal or zip code for billing address. |
| ShippingCode | String | False |
Postal or zip code for shipping address. |
| BillingCountry | String | False |
Country for billing address. |
| ShippingCountry | String | False |
Country for shipping address. |
| SubTotal | String | True |
Subtotal amount before discounts and taxes. |
| Discount | Decimal | False |
Discount amount applied to the quote. |
| Tax | Decimal | False |
Tax amount applied to the quote. |
| Adjustment | Decimal | False |
Adjustment amount added to or subtracted from the total. |
| GrandTotal | String | True |
Final total amount after all adjustments. |
| TermsandConditions | String | False |
Terms and conditions associated with the quote. |
| Description | String | False |
Description or notes related to the quote. |
| QuotedItems | String | False |
List of items included in the quote. |
| Locked | Bool | True |
Indicates whether the quote is locked from editing. |
| LastActivityTime | Datetime | False |
Timestamp of the most recent activity related to the quote. |
Pseudo-Columns
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
| Name | Type | Description |
| DuplicateCheckFields | String |
The fields used to check for duplicate records during an upsert operation. The REST API supports multiple fields, while the BULK API supports only one. |
| Trigger | String |
Used to trigger automation rules when inserting the record into the CRM account. |
| CustomViewId | Long |
Custom view identifier used to filter this record. Only works when the useCOQL parameter is set to false. |