PurchaseOrderDetail Table
The PurchaseOrderDetail
table contains a list of all the individual purchase order lines in the system.
TenantID
has been set in the SQL Server
connection context information. That setting filters an underlying table to produce this
view of data for the single, selected tenant.
Database Column |
Details |
---|---|
PurchaseOrderDetailID
|
Type: integer. Key. Generated ID A unique identifier for the purchase order line. |
PurchaseOrderID
|
Type: integer. Key The parent purchase order to which this line belongs. Foreign key to the |
PurchaseOrderDetail ParentID
|
Type: integer. Nullable When a purchase order line is nested as a child of another, this link
identifies the parent. Foreign key to another purchase order line in this |
ItemDescription
|
Type: text (max 250 characters) A description of the item ordered in this PO line. |
SequenceNumber
|
Type: integer. Key The sequence number of the PO line in the overall purchase order. |
PartNo
|
Type: text (max 100 characters). Nullable Deprecated, use LicensePartNo. |
Quantity
|
Type: integer. Nullable The quantity of items purchased in this PO line. |
QuantityPerUnit
|
Type: integer. Nullable Where the purchase order refers to software licenses, this is the quantity of license included in per unit of this purchase order. |
EffectiveQuantity
|
Type: integer. Nullable The license entitlemets brought in by this purchase. If the total for this column would exceed the maximum allowable for int, then the total will be reduced to this number. |
LicenseQuantity
|
Type: integer. Nullable Where the purchase order refers to software licenses, this is the
number of license entitlements conferred by the item ordered in this line. This
is distinct from the purchase quantity on the line item. For example, it would
be possible to order “Qty 50 of XYZ license 10-pack”, which would mean
a |
LicensePartNo
|
Type: text (max 100 characters). Key. Nullable The part number or SKU of the item ordered in this PO line. |
UnitPrice
|
Type: currency. Nullable The unit price of items ordered on this PO line. |
UnitPriceRateID
|
Type: integer. Nullable The currency rate to be applied to the above unit price. Foreign key to the
|
SalesTax
|
Type: currency. Nullable The amount of sales tax paid on this PO line item. May be left null if sales tax is only entered on the purchase order header. |
SalesTaxRateID
|
Type: integer. Nullable The currency rate to be applied to the above sales tax. Foreign key to the
|
TotalPrice
|
Type: currency. Nullable The total price of items in this PO line. |
TotalPriceRateID
|
Type: integer. Nullable The currency rate to be applied to the above total price. Foreign key to the
|
AutoCalculateTotal
|
Type: boolean Set this field to |
ShippingAndHandling
|
Type: currency. Nullable The amount of money spent on shipping and handling. |
ShippingAndHandlingRateID
|
Type: integer. Nullable The currency rate to be applied to the above shipping and handling costs. Foreign key to the
|
InheritPOContractID
|
Type: boolean. Key A bit which, if set to 1 (the default), means that the following contract ID is inherited from the parent purchase order. |
ContractID
|
Type: integer. Key. Nullable A link to a contract related to this PO line. Foreign key to the |
InheritPOShippingDetails
|
Type: boolean Set this field to |
ShippingDate
|
Type: datetime. Nullable The date the product was shipped. |
ShippingMethodID
|
Type: integer. Nullable The delivery method used to deliver the item ordered in this PO line. Foreign key to the |
ShippingLocationID
|
Type: text (max 128 characters). Key. Nullable The location to which the item is shipped. Foreign key to the |
MaintenanceOrService Agreement
|
Type: boolean Set this field to |
EffectiveDate
|
Type: datetime. Nullable The effective date for the Purchase Order Line. |
ExpiryDate
|
Type: datetime. Nullable The expiry date for the Purchase Order Line. |
InheritPOEnterpriseGroups
|
Type: boolean Set this field to |
LocationID
|
Type: text (max 128 characters). Key. Nullable Any enterprise location associated with this PO line. Foreign key
to the |
BusinessUnitID
|
Type: text (max 128 characters). Key. Nullable Any corporate unit within the enterprise associated with this PO line. Foreign key
to the |
CostCenterID
|
Type: text (max 128 characters). Key. Nullable Any enterprise cost center associated with this PO line. Foreign key
to the |
CategoryID
|
Type: text (max 128 characters). Key. Nullable Any category used within the enterprise associated with this PO line. Foreign key
to the |
InheritPOProcessDetails
|
Type: boolean Set this field to |
RequestNo
|
Type: text (max 60 characters). Nullable The request number for the PO line. |
RequestDate
|
Type: datetime. Nullable The date the related product was requested. |
RequestedByID
|
Type: integer. Key. Nullable The person who requested the purchase order line. Foreign key to the |
AuthorizedByID
|
Type: integer. Key. Nullable The person who authorized the purchase order line. Foreign key to the |
ProcessedByID
|
Type: integer. Key. Nullable The person who processed the purchase order line. Foreign key to the |
Comments
|
Type: text. Nullable Comments recorded about the purchase order line. |
InheritPOInvoiceDetails
|
Type: boolean Set this field to |
InvoiceNo
|
Type: text (max 50 characters). Nullable The invoice number relating to this PO line. |
InvoiceDate
|
Type: datetime. Nullable The invoice date for the purchase order line. |
OrderedProduct
|
Type: text (max 256 characters). Nullable A description of the item ordered in this PO line. |
CreationUser
|
Type: text (max 128 characters). Nullable The operator who created the record. |
CreationDate
|
Type: datetime The date the record was created. |
UpdatedUser
|
Type: text (max 128 characters). Nullable The operator who last updated the record. |
UpdatedDate
|
Type: datetime. Nullable The date the record was last updated. |
ExternalID
|
Type: text (max 32 characters). Nullable A text field where an operator may record the ID of the PO line in any external system it was imported from. |
PurchaseOrderDetailTypeID
|
Type: integer. Key The type of the PO line. Foreign key to the |
MSSelectPoolID
|
Type: integer. Nullable Identifies the Microsoft Select pool. Foreign key to the |
MSSelectPoints
|
Type: decimal. Nullable The number of points consumed by this purchase. |
AutoAcceptRecommendation
|
Type: boolean Set this field to |
SoftwareSkuID
|
Type: integer. Key. Nullable The SKU that was recognized. This value is optional. Foreign key to the |
PurchaseOrderDetail StatusID
|
Type: integer The current state of the purchase order details. Foreign key to the
|
PublisherID
|
Type: integer. Nullable The publisher of this line item. This value is optional. Foreign key to the |
UUID
|
Type: unique identifier The UUID of the contract for external reference. |
PurchaseOrderImport MethodID
|
Type: integer. Nullable Describes the Import method of the Purchase Order. |