ODBC Driver for SuiteCRM

Build 23.0.8839

Opportunities

Create, update, delete, and query opportunities saved in SuiteCRM

テーブル固有の情報

Select

WHERE 句で任意の条件を使用して、Opportunities テーブルをクエリできます。本製品 はSuiteCRM API を使用して結果をフィルタリングします。

SELECT * FROM Opportunities WHERE [Opportunity Name] LIKE '%test%' AND [Date Created] > '2017-10-09'

Insert

書き込み可能なカラムを指定して、Opportunity を作成します。

INSERT INTO Opportunities ([Opportunity Name], Amount, [Account Id]) VALUES ('Good opportunity', 5000, 'AccountId58')

Update

Id を指定して、書き込み可能なOpportunity カラムを更新できます。

UPDATE Opportunities SET [Expected Close Date] = '2017-08-25' WHERE Id = 'Test123' 

Delete

Id を指定して、Opportunity を削除します。

DELETE FROM Opportunities WHERE Id = 10003

Columns

Name Type ReadOnly Description
ID [KEY] String False

The unique identifier of the opportunity.

AccountID String True

The Id of the associated account.

AccountName String True

The name of the associated account.

Address String True

Address from Google Maps of the opprtunity.

Amount Double False

Formatted amount of the opportunity.

Assignedto String True

The user name of the user assigned to the record.

AssignedUser String False

The Id of the user assigned to the record.

Campaign String True

The name of the campaign that generated the lead.

campaign_id String False

The Id of the campaign that generated the lead.

CreatedById String True

The Id of the user who created the record.

CreatedByName String True

The user name of the user who created the record.

Currency String False

The Id of the currency used for display purposes.

CurrencyName String True

The name of the currency used for display purposes.

CurrencySymbol String True

The symbol of the currency used for display purposes.

DateCreated Datetime True

Date the record was created.

DateModified Datetime True

The date the record was last modified.

Deleted Bool False

The record deletion indicator.

Description String False

Full text of the note.

ExpectedCloseDate Date False

The expected or actual date the oppportunity will close.

GeocodeStatus String True

Geocode from Google Maps of the opprtunity.

Latitude Double True

Latitude from Google Maps of the opprtunity.

LeadSource String False

Source of the opportunity.

Longitude Double True

Longitude from Google Maps of the opprtunity.

ModifiedById String True

User who last modified the record.

ModifiedByName String True

The user name of the user who last modified the record.

NextStep String False

The next step in the sales process.

OpportunityAmount Double False

Unconverted amount of the opportunity.

OpportunityName String False

Name of the opportunity.

Probability(%) Int False

The probability of closure.

SalesStage String False

Indication of progression towards closure.

Type String False

Type of opportunity (e.g., Existing or New).

Pseudo-Columns

SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。

Name Type Description
Rows@Next String

Identifier for the next page of results. Do not set this value manually.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 23.0.8839