JDBC Driver for SuiteCRM

Build 23.0.8839

LineItems

Create, update, delete, and query line items in SuiteCRM

テーブル固有の情報

Select

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

SELECT * FROM [Line Items] WHERE [Cost Price] > 0 AND [Cost Price] < 500

Insert

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

INSERT INTO [Line Items] (Name, [Part Number], [Cost Price], [group_id]) VALUES ('Leather shoes', 2, 10, 'lineItemGroup2')

Update

Id を指定して、書き込み可能なLine Item エントリカラムを更新できます。

UPDATE [Line Items] SET Quantity = 100 WHERE Id = 'Test123' 

Delete

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

DELETE FROM [Line Items] WHERE Id = '10003'

Columns

Name Type ReadOnly Description
ID [KEY] String False

The unique identifier of the line item.

Assignedto String False

The user name of the user assigned to the record.

AssignedUserId String False

The Id of the user assigned to the record.

CostPrice Double False

The line item's cost price

CostPrice(DefaultCurrency) Double True

The line item's cost price in the system's default currency

CreatedById String True

The Id of the user who created the record.

CreatedByName String True

The name of the user who created the record.

Currency String False

Id of the currency used for currency values

DateCreated Datetime True

The 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

Description for the item

Discount Double False

The line item's product discount

Discount(DefaultCurrency) Double True

The line item's product discount in the system's default currency

DiscountAmount Double False

The line item's discount amount

DiscountAmount(DefaultCurrency) Double True

The line item's discount amount in the system's default currency

DiscountType String False

The type of discount for the item

Group String False

Group name the line item belongs to

group_id String False

Group Id the line item belongs to

ListPrice Double False

The line item's list price

ListPrice(DefaultCurrency) Double True

The line item's list price in the system's default currency

ModifiedById String True

The Id of the user who last modified the record.

ModifiedByName String True

The name of the user who last modified the record.

Name String False

Name assigned to the line item

Note String False

Description for the line item

Number Int False

Number assigned to the line item

ParentID String False

Id of the line item's parent

Relatedto String False

Parent name the line item is related to

ParentType String False

Id of the line item's parent

PartNumber String False

Part number assigned to the line items group

ProductID String False

Id assigned to the line item product

Quantity String False

Quantity of the line item

Tax String False

The line item's VAT

TaxAmount Double False

The line item's VAT amount

TaxAmount(DefaultCurrency) Double True

The line item's VAT amount in the system's default currency

TotalPrice Double False

The line item's total price

TotalPrice(DefaultCurrency) Double True

The line item's total price in the system's default currency

UnitPrice Double False

The line item's unit price

UnitPrice(DefaultCurrency) Double True

The line item's unit price in the system's default currency

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