Skip to content

Orders

Below are the schemas and relationships of the Orders.


ColumnDescriptionType
IdInternal identifierString
TenantIdClient identifierString
UpdatedAtDate of the last record updateDatetime
OrderIdPrimary key for the Orders schemaString
ClientCodeClient's order codeString
SummaryOrder summaryString
SentDateDate when the order was sentDatetime
ReceivedDateDate when the order was receivedDatetime
ConfirmationDateDate when the order was confirmedDatetime
DeadLineOrder delivery deadlineString
TotalTotal value of the orderDouble
TotalWithTaxesTotal value of the order with taxesDouble
CategoryNameOrder category nameString
IcoTermsIncoterms. Incoterms is the abbreviation for International Commercial Terms.String
CustomerIdCustomer identifierString
CustomerTradingNameCustomer's trading nameString
SupplierIdSupplier identifierString
SupplierIdentitySupplier identityString
SupplierTradingNameSupplier's trading nameString
BuyerIdBuyer identifierString
BuyerNameBuyer's nameString
SupplierNameSupplier's nameString
ContractIdContract identifierString
InvisibleTrue if there is no active participation from the Supplier, otherwise False.Bool
CurrencyCodeCurrency codeString
ExpectedDateExpected dateDatetime
PaymentConditionCodePayment condition codeString
PaymentConditionDescriptionPayment condition descriptionString
RfqIdRfq (Quotation) identifierString
StatusOrder statuses can be: UNREAD, WAITING_FOR_RESPONSE, REFUSED/DECLINED, CANCELED, CONFIRMED, PARTIALLY_CONFIRMEDString
DeliveryStatusDelivery statusString
EditedAtDate of changes made to the order. For example: change in item number, delivery address, etc.Datetime
PreOrderIdPre-order identifierString

Orders Schema Joins

The Orders schema has relationships with the following schemas:

SchemaRelationship ColumnDescription
OrderItemsOrderIdLinks rows from Orders with rows from OrderItems
OrderItemRequestsOrderIdLinks rows from Orders with rows from OrderItemRequests
OrderItemDeliveriesOrderIdLinks rows from Orders with rows from OrderItemDeliveries
OrderItemDatesOrderIdLinks rows from Orders with rows from OrderItemDates
OrderItemBorgsOrderIdLinks rows from Orders with rows from OrderItemBorgs
OrderBorgsOrderIdLinks rows from Orders with rows from OrderBorgs
OrderAddressesOrderIdLinks rows from Orders with rows from OrderAddresses
RfqsRfqIdLinks rows from Orders with rows from RFQs
RfqTasksRfqIdLinks rows from Orders with rows from RfqTasks
RfqResponseItemsRfqIdLinks rows from Orders with rows from RfqResponseItem
RfqResponseItemHistoryRfqIdLinks rows from Orders with rows from RfqResponseItemHistory
RfqResponseItemCounterProposalsRfqIdLinks rows from Orders with rows from RfqResponseItemCounterProposals
RfqItemsRfqIdLinks rows from Orders with rows from RfqItems
RfqItemRequestsRfqIdLinks rows from Orders with rows from RfqItemRequests
RfqBorgsRfqIdLinks rows from Orders with rows from RfqBorgs
RfqAttendeesRfqIdLinks rows from Orders with rows from RfqAttendees

OrderBorgs

ColumnDescriptionType
IdInternal identifierString
TenantIdClient identifierString
UpdatedAtDate of the last record updateDatetime
OrderIdPrimary key for the Orders schemaString
BorgIdBusiness unit identifierString
CodeBusiness unit codeString
NameBusiness unit nameString
VentIdVirtual entity (VEnt) identifier of the business unitString
VentNameName of the virtual entity (VEnt) of the business unitString
VentTypeType of the virtual entity (VEnt) of the business unitString
SentDateDate when the order was sentDatetime

OrderBorgs Schema Joins

The OrderBorgs schema has relationships with the following schemas:

SchemaRelationship ColumnDescription
OrderItemsOrderIdLinks rows from OrderBorgs with rows from OrderItems
OrderItemRequestsOrderIdLinks rows from OrderBorgs with rows from OrderItemRequests
OrderItemDeliveriesOrderIdLinks rows from OrderBorgs with rows from OrderItemDeliveries
OrderItemBorgsOrderIdLinks rows from OrderBorgs with rows from OrderItemBorgs
OrdersOrderIdLinks rows from OrderBorgs with rows from Orders
OrderAddressesOrderIdLinks rows from OrderBorgs with rows from OrderAddresses

OrderItems

ColumnDescriptionType
IdInternal identifierString
TenantIdClient identifierString
UpdatedAtDate of the last record updateDatetime
OrderIdPrimary key for the Orders schemaString
OrderItemIdItem identifier for the orderString
CodeItem codeString
DescriptionItem descriptionString
QuantityItem quantityDouble
PriceItem priceDouble
MeasureItem unit of measureString
TotalTotal value of the itemDouble
TotalWithTaxesTotal value of the item with taxesDouble
ProductIdProduct identifier for the itemString
ProductCodeProduct code for the itemString
ProductClientCodeClient code for the product itemString
ProductDescriptionProduct description for the itemString
ProductParentGroupParent group of the product itemInteger
ProductGroupDescriptionProduct group description for the itemString
CurrencyCodeCurrency code for the itemString
ExpectedDateExpected date for the itemDatetime
DeliveryDateDelivery date for the itemDatetime
ReceivedDateReceipt date for the itemDatetime
StatusItem status: CONFIRMED, CANCELED, CLOSEDString
ProductMaterialTypeMaterial type of the product. You can choose "Material" or "Service".String
ProductGenericIndicates if the product is generic.Boolean
SentDateDate when the order was sentDatetime

OrderItems Schema Joins

The OrderItems schema has relationships with the following schemas:

SchemaRelationship ColumnDescription
OrdersOrderIdLinks rows from OrderItems with rows from Orders
OrderAddressesOrderIdLinks rows from OrderItems with rows from OrderAddresses
OrderBorgsOrderIdLinks rows from OrderItems with rows from OrderBorgs
OrderItemRequestsOrderId, OrderItemIdLinks rows from OrderItems with rows from OrderItemRequests
OrderItemDeliveriesOrderId, OrderItemIdLinks rows from OrderItems with rows from OrderItemDeliveries
OrderItemDatesOrderId, OrderItemIdLinks rows from OrderItems with rows from OrderItemDates
OrderItemBorgsOrderId, OrderItemIdLinks rows from OrderItems with rows from OrderItemBorgs

OrderItemBorgs

ColumnDescriptionType
IdInternal identifierString
TenantIdClient identifierString
UpdatedAtDate of the last record updateDatetime
OrderIdPrimary key for the Orders schemaString
OrderItemIdPrimary key for the OrderItems schemaString
BorgIdBusiness unit identifierString
CodeBusiness unit codeString
NameBusiness unit nameString
VentIdVirtual entity (VEnt) identifier of the business unitString
VentNameName of the virtual entity (VEnt) of the business unitString
VentTypeType of the virtual entity (VEnt) of the business unitString
SentDateDate when the order was sentDatetime

OrderItemBorgs Schema Joins

The OrderItemBorgs schema has relationships with the following schemas:

SchemaRelationship ColumnDescription
OrdersOrderIdLinks rows from OrderItemBorgs with rows from Orders
OrderItemsOrderId, OrderItemIdLinks rows from OrderItemBorgs with rows from OrderItems
OrderItemRequestsOrderId, OrderItemIdLinks rows from OrderItemBorgs with rows from OrderItemRequests
OrderItemDeliveriesOrderId, OrderItemIdLinks rows from OrderItemBorgs with rows from OrderItemDeliveries
OrderItemDatesOrderId, OrderItemIdLinks rows from OrderItemBorgs with rows from OrderItemDates
OrderBorgsOrderIdLinks rows from OrderItemBorgs with rows from OrderBorgs

OrderItemDates

ColumnDescriptionType
IdInternal identifierString
TenantIdClient identifierString
UpdatedAtDate of the last record updateDatetime
OrderIdPrimary key for the Orders schemaString
OrderItemIdPrimary key for the OrderItems schemaString
ExpectedDateExpected date of delivery for the itemDatetime
ReceivedDateDate when the item was receivedDatetime
DeliveryDateDate when the item was deliveredDatetime

OrderItemDates Schema Joins

The OrderItemDates schema has relationships with the following schemas:

SchemaRelationship ColumnDescription
OrdersOrderIdLinks rows from OrderItemDates with rows from Orders
OrderItemsOrderId, OrderItemIdLinks rows from OrderItemDates with rows from OrderItems

OrderItemRequests

ColumnDescriptionType
IdInternal identifierString
TenantIdClient identifierString
UpdatedAtDate of the last record updateDatetime
OrderIdPrimary key for the Orders schemaString
OrderItemIdPrimary key for the OrderItems schemaString
RequestDateDate of the requestDatetime
ResponseDateDate of the responseDatetime
RequestStatusStatus of the requestString
RequestDescriptionDescription of the requestString

OrderItemRequests Schema Joins

The OrderItemRequests schema has relationships with the following schemas:

SchemaRelationship ColumnDescription
OrdersOrderIdLinks rows from OrderItemRequests with rows from Orders
OrderItemsOrderId, OrderItemIdLinks rows from OrderItemRequests with rows from OrderItems