OrganizationFields
Returns data about all organization fields.
Select
The component will use the Pipedrive API to process WHERE clause conditions built with the following columns and operators. The rest of the filter is executed client side within the component.
- Id supports the '=' operator.
- OrgId supports the '=' operator.
For example, the following query is processed server side:
SELECT * FROM OrganizationRelationships WHERE id = 2
INSERT
Insert can be executed by specifying the Type, RelOwnerOrgId and RelLinkedOrgId columns. The columns that are not required can be inserted optionally.
For example:
INSERT INTO OrganizationRelationships (Type, RelOwnerOrgId, RelLinkedOrgId) VALUES ('parent', '8230170', '8230170')
UPDATE
Update can be executed by specifying the Id in the WHERE Clause. The columns that are not read-only can be Updated.
For example:
UPDATE OrganizationRelationships SET Type = 'related' WHERE id = 2
DELETE
Delete can be executed by specifying the Id in the WHERE Clause.
For example:
DELETE FROM OrganizationRelationships WHERE Id = 2
Columns
Name | Type | ReadOnly | Description |
Id [KEY] | Integer | True |
ID of the field. |
ActiveFlag | Boolean | True |
ActiveFlag. |
AddTime | Datetime | True |
AddTime. |
AddVisibleFlag | Boolean | False |
Whether the field is available in 'add new' modal or not. The default value is true. |
BulkEditAllowed | Boolean | True |
BulkEditAllowed. |
DetailsVisibleFlag | Boolean | True |
DetailsVisibleFlag. |
EditFlag | Boolean | True |
EditFlag. |
FieldType | String | False |
Type of the field. The allowed values are address, date, daterange, double, enum, monetary, org, people, phone, set, text, time, timerange, user, varchar, varchar_auto, visible_to. |
FilteringAllowed | Boolean | True |
FilteringAllowed. |
ImportantFlag | Boolean | True |
ImportantFlag. |
IndexVisibleFlag | Boolean | True |
IndexVisibleFlag. |
Key | String | True |
Key. |
LastUpdatedByUserId | String | True |
LastUpdatedByUserId. |
MandatoryFlag | Boolean | True |
MandatoryFlag. |
Name | String | False |
Name of the field. |
Options | String | False |
Options. |
OrderNr | Integer | True |
OrderNr. |
SearchableFlag | Boolean | True |
SearchableFlag. |
SortableFlag | Boolean | True |
SortableFlag. |
UpdateTime | Datetime | True |
UpdateTime. |