LineItemGroups
Create, update, delete, and query the SuiteCRM line items groups
Table Specific Information
Select
You can query the Line Item Groups table using any criteria in the WHERE clause. The driver will use the SuiteCRM API to filter the results.
SELECT * FROM [Line Item Groups] WHERE Discount > 0
Insert
Create a Line Item Groups entry by specifying any writable column.
INSERT INTO [Line Item Groups] ([Group Name],Currency,Number) VALUES ('New Group','USD',1)
Update
You can update any Line Item Groups entry column that is writable, by specifying the Id.
UPDATE [Line Item Groups] SET Tax = 450 WHERE Id = 'Test123'
Delete
Delete a Line Item Group by specifying the Id.
DELETE FROM [Line Item Groups] WHERE Id = '10003'
Columns
Name | Type | ReadOnly | Description |
ID [KEY] | String | False |
The unique identifier of the line items group. |
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. |
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 line items group |
Discount | Double | False |
Group's discount value |
Discount(DefaultCurrency) | Double | True |
Group's discount value in the system's default currency |
GroupName | String | False |
Name assigned to the line items group |
GroupTotal | Double | True |
Group's total amount |
GroupTotal(DefaultCurrency) | Double | True |
Group's total amount 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. |
Number | Int | False |
Number assigned to the group |
LBL_PARENT_ID | String | False |
Parent record of this group |
LBL_FLEX_RELATE | String | True |
Group's parent name |
ParentType | String | False |
Parent't type of this group |
Subtotal | Double | False |
Group's subtotal amount |
Subtotal(DefaultCurrency) | Double | False |
Group's subtotal amount in the system's default currency |
SubtotalTax | Double | True |
Group's subtotal and amount |
SubtotalTaxAmount | Double | True |
Group's subtotaland tax amount in the system's default currency |
Tax | Double | False |
Group's tax amount |
Tax(DefaultCurrency) | Double | True |
Group's tax amount in the system's default currency |
Total | Double | True |
Group's total amount in the system's default currency |
Total(DefaultCurrency) | Double | 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 |
Rows@Next | String |
Identifier for the next page of results. Do not set this value manually. |