# PurchaseOrders: Exact Online Purchase Orders - Catalog: `ExactOnlineREST` - Schema: `PurchaseOrder` - Primary Keys: `PurchaseOrderID` - Label: Purchase Orders The data in this table is partitioned per value of the `Division` column. Can retrieve data and change data using insert, update and delete. ## Table Columns The columns of the table `PurchaseOrders` are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update. | Name | Data Type | Label | Required | Documentation | |---|:---:|---|:---:|---| | `AmountDC` | `double` | Amount Division Currency | ☐ | Total amount in the default currency of the company. | | `AmountDiscount` | `double` | Amount Discount | ☐ | | | `AmountDiscountExclVat` | `double` | Amount Discount excluding VAT | ☐ | | | `AmountFC` | `double` | Amount Foreign Currency | ☐ | Total amount in the currency of the transaction. | | `AmountFCExclVat` | `double` | Amount Foreign Currency excluding VAT | ☐ | | | `ApprovalStatus` | `int16` | Approval Status | ☑ | | | `ApprovalStatusDescription` | `varchar2` | | ☐ | | | `Approved` | `datetime` | Approved | ☐ | | | `Approver` | `guid` | Approver | ☐ | | | `ApproverFullName` | `varchar2` | Approver Full Name | ☐ | | | `Created` | `datetime` | Created | ☐ | Creation date. | | `CreatedUtc` | `datetime` | Created (UTC) | ☐ | Creation date in UTC. | | `Creator` | `guid` | Creator | ☐ | User ID of creator. | | `CreatorFullName` | `varchar2`(240) | Creator Full Name | ☐ | Name of creator. | | `Currency` | `varchar2`(30) | Currency | ☐ | Currency code. | | `DeliveryAccount` | `guid` | Delivery Account | ☐ | Reference to account for delivery. | | `DeliveryAccountCode` | `varchar2`(18) | Delivery Account Code | ☐ | Delivery account code. | | `DeliveryAccountName` | `varchar2`(50) | Delivery Account Name | ☐ | Name of account. | | `DeliveryAddress` | `guid` | Delivery Address | ☐ | Reference to shipping address. | | `DeliveryContact` | `guid` | Delivery Contact Person | ☐ | Reference to contact for delivery. | | `DeliveryContactPersonFullName` | `varchar2`(240) | Delivery Contact Person Full Name | ☐ | Name of the contact person of the customer who will receive delivered goods. | | `Description` | `varchar2` | Description | ☐ | Description of the purchase order. | | `Discount` | `double` | Discount | ☐ | | | `Division` | `int32` | Division | ☐ | Division code. | | `DivisionCompanyCoCNumber` | `varchar2`(60) | Division Chamber of Commerce Number | ☐ | Chamber of commerce number of the Exact Online division. | | `DivisionCompanyIBANNumber` | `varchar2`(50) | Division IBAN Number | ☐ | IBAN number of the Exact Online division. | | `DivisionCompanyName` | `varchar2`(50) | Division Company Name | ☑ | Company name of the Exact Online division. | | `DivisionCompanyRSINNumber` | `varchar2`(9) | Division RSIN Number | ☐ | RSIN number of the Exact Online division. | | `DivisionCompanyVATNumber` | `varchar2`(35) | Division VAT Number | ☐ | VAT number of the Exact Online division. | | `DivisionCompanyWageTaxNumber` | `varchar2`(60) | Division Wage Tax Number | ☐ | Wage tax number of the Exact Online division. | | `DivisionLabel` | `varchar2`(128) | Division Label | ☑ | Label of the Exact Online division. | | `DivisionName` | `varchar2`(50) | Administration Name | ☑ | Name of the Exact Online division. | | `DivisionOwnerCompanyName` | `varchar2`(50) | Subscription Holder Name | ☑ | Name of the customer account in division 1 owning the Exact Online subscription to which this division belongs. | | `DivisionOwnerCompanyNumber` | `varchar2`(18) | Subscription Holder Number | ☑ | Number of the customer account in division 1 owning the Exact Online subscription to which this division belongs. | | `DivisionShortName` | `int64` | Division Short Name | ☑ | Short name of the Exact Online division. | | `Document` | `guid` | Document | ☐ | Document that is manually linked to the purchase order. | | `DocumentSubject` | `varchar2`(256) | Document Subject | ☐ | Subject of the document. | | `DropShipment` | `char` | Drop Shipment | ☐ | Shows if it is a drop shipment purchase order. | | `ExchangeRate` | `double` | Exchange Rate | ☐ | Allows you to set the currency for the invoice. You can only do this if you have checked the Variable: Currency and Variable: Exchange rate fields in the sales journal settings. Once a line has been created in the invoice, the currency can no longer be changed. | | `IncotermAddress` | `varchar2` | Incoterm Address | ☐ | | | `IncotermCode` | `varchar2` | Incoterm Code | ☐ | | | `IncotermVersion` | `int16` | Incoterm Version | ☐ | | | `InvoiceStatus` | `int32` | Invoice Status | ☐ | Invoice status of purchase order: 10-Open, 20-Partial, 30-Complete, 40-Canceled. | | `Modified` | `datetime` | Modified | ☐ | Last modified date. | | `ModifiedUtc` | `datetime` | Modified (UTC) | ☐ | Last modified date in UTC. | | `Modifier` | `guid` | Modifier | ☐ | User ID of modifier. | | `ModifierFullName` | `varchar2`(240) | Modified Full Name | ☐ | Name of modifier. | | `OrderDate` | `datetime` | Order Date | ☐ | Order date. | | `OrderNumber` | `int32` | Order Number | ☐ | Human readable id of the purchase order. | | `OrderStatus` | `int32` | Order Status | ☐ | Purchase order status: 10-Open, 20-Partial, 30-Complete, 40-Canceled. | | `PaymentCondition` | `varchar2`(2) | Payment Condition | ☐ | The payment condition code used for due date and discount calculation. | | `PaymentConditionDescription` | `varchar2`(60) | Payment Condition Description | ☐ | Description of payment condition. | | `PurchaseAgent` | `guid` | Purchase Agent | ☐ | Purchase agent. | | `PurchaseAgentFullName` | `varchar2`(240) | Purchase Agent Full Name | ☐ | Name of purchase agent. | | `PurchaseOrderID` | `guid` | Purchase Order ID | ☑ | Primary key. | | `PurchaseOrderLineCount` | `int32` | | ☑ | | | `ReceiptDate` | `datetime` | Receipt Date | ☐ | This field shows the date the goods are expected to be received. | | `ReceiptStatus` | `int32` | Receipt Status | ☐ | Receipt status of purchase order: 10-Open, 20-Partial, 30-Complete, 40-Canceled. | | `Remarks` | `varchar2` | Remarks | ☐ | Include any relevant remarks regarding the purchase order. | | `SalesOrder` | `guid` | Sales Order | ☐ | Reference to sales order when purchase order generated via back to back sales order. | | `SalesOrderNumber` | `int32` | Sales Order Number | ☐ | Number of the sales order. | | `SelectionCode` | `guid` | Selection Code | ☐ | ID of selection code. | | `SelectionCodeCode` | `varchar2` | Selection Code | ☐ | Code of selection code. | | `SelectionCodeDescription` | `varchar2` | | ☐ | Description of selection code. | | `ShippingMethod` | `guid` | Shipping Method | ☐ | ShippingMethod. | | `ShippingMethodCode` | `varchar2` | Shipping Method Code | ☐ | | | `ShippingMethodDescription` | `varchar2` | Shipping Method Description | ☐ | Description of ShippingMethod. | | `Source` | `int16` | Source | ☐ | This shows how the purchase order was created: 1-Manual entry, 2-Import, 3-Other, 4-Purchase order, 5-Sales order, 6-Supplier's items, 7-Subcontract, 8-Purchase order advice, 9-Shop order, 10-MRP calculation. | | `Supplier` | `guid` | Supplier | ☐ | Reference to supplier account. | | `SupplierCode` | `varchar2`(18) | Supplier Code | ☐ | Code of supplier. | | `SupplierContact` | `guid` | Supplier Contact Person | ☐ | Contact of supplier. | | `SupplierContactPersonFullName` | `varchar2`(240) | Supplier Contact Person Full Name | ☐ | Contact person full name of supplier. | | `SupplierName` | `varchar2`(50) | Supplier Name | ☐ | Name of supplier. | | `VATAmount` | `double` | VAT Amount | ☐ | Total VAT amount in the currency of the transaction. | | `Warehouse` | `guid` | Warehouse | ☐ | Warehouse. | | `WarehouseCode` | `varchar2` | Warehouse Code | ☐ | Code of Warehouse. | | `WarehouseDescription` | `varchar2` | Warehouse Description | ☐ | Description of Warehouse. | | `YourRef` | `varchar2`(30) | Your Reference | ☐ | Shows the reference number associated with the purchase order. Enter a description and reference to make the purchase order easier to identify. |