OrganizationRelationships
Gets all of the relationships.
Select
The provider 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 provider.
- Id supports the '=' operator.
For example, the following query is processed server side:
SELECT * FROM OrganizationRelationships WHERE Id = 9
INSERT
Insert can be executed by specifying the Content and PersonId columns. The columns that are not required can be inserted optionally.
For example:
INSERT INTO OrganizationRelationships (type, RelOwnerOrgId, RelLinkedOrgId) VALUES ('parent', 2, 3)
UPDATE
Update can be executed by specifying the Id and Dealid in the WHERE Clause. The columns that are not read-only can be Updated.
For example:
UPDATE OrganizationRelationships SET type = 'parent' WHERE Id = 10
DELETE
Delete can be executed by specifying the Id, DealId in the WHERE Clause.
For example:
DELETE FROM OrganizationRelationships WHERE Id = 10
Columns
Name | Type | ReadOnly | Description |
Id [KEY] | Integer | True |
ID of the organization relationship. |
ActiveFlag | Boolean | True |
ActiveFlag. |
AddTime | Datetime | True |
AddTime. |
CalculatedRelatedOrgId | Integer | False |
CalculatedRelatedOrgId. |
CalculatedType | String | False |
CalculatedType. |
RelLinkedOrgIdActiveFlag | Boolean | False |
RelLinkedOrgIdActiveFlag. |
RelLinkedOrgIdAddress | String | False |
RelLinkedOrgIdAddress. |
RelLinkedOrgIdCcEmail | String | False |
RelLinkedOrgIdCcEmail. |
RelLinkedOrgIdname | String | False |
RelLinkedOrgIdname. |
RelLinkedOrgIdownerId | Integer | False |
RelLinkedOrgIdownerId. |
RelLinkedOrgIdPeopleCount | Integer | False |
RelLinkedOrgIdPeopleCount. |
RelLinkedOrgIdvalue | Integer | False |
RelLinkedOrgIdvalue. |
RelOwnerOrgIdActiveFlag | Boolean | False |
RelOwnerOrgIdActiveFlag. |
RelOwnerOrgIdAddress | String | False |
RelOwnerOrgIdAddress. |
RelOwnerOrgIdCcEmail | String | False |
RelOwnerOrgIdCcEmail. |
RelOwnerOrgIdName | String | False |
RelOwnerOrgIdName. |
RelOwnerOrgIdOwnerId | Integer | False |
RelOwnerOrgIdOwnerId. |
RelOwnerOrgIdPeopleCount | Integer | False |
RelOwnerOrgIdPeopleCount. |
OrgId | Integer | False |
RelOwnerOrgIdValue. |
RelatedOrganizationName | String | False |
RelatedOrganizationName. |
Type | String | False |
The type of organization relationship. The allowed values are parent, related. |
UpdateTime | Datetime | False |
UpdateTime. |
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 |
RelOwnerOrgId | Integer |
Real Organization Id. |
RelLinkedOrgId | Integer |
Real Organization Id. |