JDBC Driver for SuiteCRM

Build 23.0.8839

Notes

Create, update, delete, and query notes in SuiteCRM

テーブル固有の情報

Select

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

SELECT * FROM Notes WHERE Subject LIKE '%test%' AND [Date Created] > '2017-10-09'

Insert

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

INSERT INTO Notes (Subject,[Parent ID]) VALUES ('Test Note', 'AccountId')

Update

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

UPDATE Notes SET Attachment = 'selected.docx' WHERE Id = 'Test123' 

Delete

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

DELETE FROM Notes WHERE Id = 10003

Columns

Name Type ReadOnly Description
ID [KEY] String False

Unique identifier of the record.

AccountID String True

The Id of the account associated with the note.

Assignedto String True

The user name of the user assigned to the record.

AssignedUserId String False

The Id of the user assigned to the record.

Attachment String False

File name associated with the note (attachment).

CaseID String True

The Id of the case associated with the note.

Contact String True

The name of the contact associated with the note.

ContactID String False

The Id of the contact the note is associated with.

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.

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.

DisplayinPortal? Bool False

Portal flag indicator, which determines if the note is created via portal.

EmailAddress String True

The email of the contact associated with the note.

EmbedinEmail? Bool False

Embed flag indicator, which determines if the note is embedded in an email.

LeadID String True

The Id of the lead associated with the note.

MimeType String False

Attachment MIME type.

ModifiedById String True

The user who last modified the record.

ModifiedByName String True

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

Note String False

Full text of the note.

OpportunityID String True

The Id of the opportunity associated with the note.

ParentID String False

The Id of the parent Sugar item.

ParentType String False

Sugar module the Note is associated with.

Phone String True

The phone number of the contact associated with the note.

RelatedTo String True

The name of the parent object associated with the note.

Subject String False

Title of the note.

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