SalesOrders
Create, update, delete, and query information regarding sales orders. Not available in free and standard ZohoCRM accounts.
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 SalesOrders (Subject, OrderedItems) VALUES ('Sales Order', '[ { "Product_Name": { "name": "Egg", "id": "3276571000000184076" }, "quantity": 1024, "Discount": 0, "total_after_discount": 1239.04, "net_total": 1239.04, "book": null, "Tax": 0, "list_price": 1.21, "unit_price": 1.21, "quantity_in_stock": -1024, "total": 1239.04, "id": "3276571000000184104", "product_description": null, "line_tax": [] } ]')
Required fields: Subject, OrderedItems
Any field which is not read-only (ReadOnly = false in the table below) can be inserted.
Delete
You must specify the Id in the WHERE clause when executing a delete against this table.
DELETE FROM SalesOrders WHERE Id = '3152079000000153079'
Update
You must specify the Id in the WHERE clause when executing an update against this table.
UPDATE SalesOrders SET Description = 'Changed from the API.' WHERE Id = '3152079000000493027'
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 | False | |
SalesOrderOwner_Id | String | False | |
SalesOrderOwner_Name | String | False | |
SONumber | String | True | |
Subject | String | False | |
DealName_Id | String | False | |
DealName_Name | String | False | |
CustomerNo. | String | False | |
PurchaseOrder | String | False | |
QuoteName_Id | String | False | |
QuoteName_Name | String | False | |
DueDate | Date | False | |
Pending | String | False | |
ContactName_Id | String | False | |
ContactName_Name | String | False | |
Carrier | String | False | |
ExciseDuty | Decimal | False | |
SalesCommission | Decimal | False | |
Status | String | False | |
AccountName_Id | String | False | |
AccountName_Name | String | False | |
CreatedBy_Id | String | False | |
CreatedBy_Name | String | False | |
Tag | String | False | |
ModifiedBy_Id | String | False | |
ModifiedBy_Name | String | False | |
CreatedTime | Datetime | False | |
ModifiedTime | Datetime | False | |
Locked | Bool | True | |
BillingStreet | String | False | |
ShippingStreet | String | False | |
BillingCity | String | False | |
ShippingCity | String | False | |
BillingState | String | False | |
ShippingState | String | False | |
BillingCode | String | False | |
ShippingCode | String | False | |
BillingCountry | String | False | |
ShippingCountry | String | False | |
TermsandConditions | String | False | |
Description | String | False | |
OrderedItems | String | False | |
SubTotal | String | True | |
Discount | Decimal | False | |
Tax | Decimal | False | |
Adjustment | Decimal | False | |
GrandTotal | String | True |
Pseudo-Columns
Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.
Name | Type | Description |
Word | String | |
DuplicateCheckFields | String | |
Converted | Bool | |
Approved | Bool | |
CustomViewId | String | |
Trigger | String |