Skip to content

Contracts

Below are the schemas and relationships for the Contracts.


ColumnDescriptionType
IdInternal identifierString
TenantIdCustomer identifierString
UpdatedAtDate of the last record updateDatetime
ContractIdPrimary key for the Contracts schemaString
TitleContract titleString
ClientCodeCustomer codeString
SupplierIdIdentifier of the supplier for the pre-orderString
SupplierIdentitySupplier identityString
SupplierNameSupplier nameString
SupplierTradingNameSupplier's trading nameString
CreatedDateContract creation dateDatetime
StartDateContract start dateDatetime
EndDateContract end dateDatetime
CurrencyCodeContract currency codeString
TotalTotal contract valueDouble
PaymentConditionCodePayment condition codeString
PaymentConditionDescriptionPayment condition descriptionString
DeliveryConditionDelivery conditionString
DeliveryDeadlineDelivery deadline in daysint
StatusCodeContract status codeint
StatusDescriptionContract status descriptionString
ResponsibleBuyerIdResponsible buyer IDString
ResponsibleBuyerNameResponsible buyer nameString
ControlBalanceIn the contract, the user can select the balance control they want. For example: total amount, quantity, none, etc.Double
StatusContract situation. Possible values: 103, 1, 2, etc.int

Contracts Schema Joins

The Contracts schema is related to the following schemas:

SchemaRelationship ColumnDescription
ContractItemsContractIdLinks the rows of Contracts with the rows of ContractItems
ProductsIdLinks the rows of Contracts with the rows of Products
ContractAttributeValuesContractIdLinks the rows of Contracts with the rows of ContractAttributeValues
ContractApprovalsContractIdLinks the rows of Contracts with the rows of ContractApprovals
OrdersContractIdLinks the rows of Contracts with the rows of Orders
RequestItemsContractIdLinks the rows of Contracts with the rows of RequestItems

ContractItems

ColumnDescriptionType
IdInternal identifierString
TenantIdCustomer identifierString
UpdatedAtDate of the last record updateDatetime
ContractIdPrimary key for the Contracts schemaString
ContractItemIdContract item numberString
ProductIdProduct item IDString
ProductCodeProduct item codeString
ProductClientCodeProduct item client codeString
ProductDescriptionProduct item descriptionString
PriceItem price in the contractDouble
ProductMaterialTypeIndicates if the product is a material or serviceString
ProductGenericIndicates if the product is genericBoolean
RfqIdRFQ identifierString
RfqItemRFQ itemInteger
CreatedDateDate when the contract was createdDatetime
EndDateContract end dateDatetime

ContractItems Schema Joins

The ContractItems schema is related to the following schemas:

SchemaRelationship ColumnDescription
ContractsContractIdLinks the rows of ContractItems with the rows of Contracts
ContractAttributeValuesContractIdLinks the rows of ContractItems with the rows of ContractAttributeValues
ContractApprovalsContractIdLinks the rows of ContractItems with the rows of ContractApprovals
OrdersContractIdLinks the rows of ContractItems with the rows of Orders
RequestItemsContractIdLinks the rows of ContractItems with the rows of RequestItems

ContractAttributeValues

ColumnDescriptionType
IdInternal identifierString
TenantIdCustomer identifierString
UpdatedAtDate of the last record updateDatetime
ContractIdPrimary key for the Contracts schemaString
NameAttribute nameString
DescriptionAttribute descriptionString
ValueAttribute contentString

ContractAttributeValues Schema Joins

The ContractAttributeValues schema is related to the following schemas:

SchemaRelationship ColumnDescription
ContractsContractIdLinks the rows of ContractAttributeValues with the rows of Contracts
ContractItemsContractIdLinks the rows of ContractAttributeValues with the rows of ContractItems
ContractApprovalsContractIdLinks the rows of ContractAttributeValues with the rows of ContractApprovals
OrdersContractIdLinks the rows of ContractAttributeValues with the rows of Orders
RequestItemsContractIdLinks the rows of ContractAttributeValues with the rows of RequestItems

ContractApprovals

ColumnDescriptionType
IdInternal identifierString
TenantIdCustomer identifierString
UpdatedAtDate of the last record updateDatetime
ContractIdPrimary key for the Contracts schemaString
StatusCodeContract status codeInteger
StatusContract status. Possible values: Submitted, In approval.String
ApproverIdID of the contract approverString
ApproverNameName of the contract approverString
ApproverRoleIdRole ID of the person responsible for the contractString
ApproverRoleNameRole name of the person responsible for the contractString
CreatedDateDate when the contract was createdDatetime
ClosedDateClosure dateDatetime

ContractApprovals Schema Joins

The ContractApprovals schema is related to the following schemas:

SchemaRelationship ColumnDescription
ContractsContractIdLinks the rows of ContractApprovals with the rows of Contracts
ContractItemsContractIdLinks the rows of ContractApprovals with the rows of ContractItems
ContractAttributeValuesContractIdLinks the rows of ContractApprovals with the rows of ContractAttributeValues
OrdersContractIdLinks the rows of ContractApprovals with the rows of Orders
RequestItemsContractIdLinks the rows of ContractApprovals with the rows of RequestItems

ContractBorgs

ColumnDescriptionType
IdInternal identifierString
TenantIdCustomer identifierString
UpdatedAtDate of the last record updateDatetime
ContractIdPrimary key for the Contracts schemaString
BorgIdBusiness unit identifierString
CodeBusiness unit codeString
NameBusiness unit nameString
VentIdVirtual entity identifier (VEnt) of the business unitString
VentNameVirtual entity name (VEnt) of the business unitString
VentTypeVirtual entity type (VEnt) of the business unitString

ContractBorgs Schema Joins

The ContractBorgs schema is related to the following schemas:

SchemaRelationship ColumnDescription
ContractsContractIdLinks the rows of ContractBorgs with the rows of Contracts
ContractItemsContractIdLinks the rows of ContractBorgs with the rows of ContractItems
ContractAttributeValuesContractIdLinks the rows of ContractBorgs with the rows of ContractAttributeValues
OrdersContractIdLinks the rows of ContractBorgs with the rows of Orders
RequestItemsContractIdLinks the rows of ContractBorgs with the rows of RequestItems
ContractApprovalsContractIdLinks the rows of ContractBorgs