Editing Purchasing.PurchaseOrderHeader (table)

Jump to: navigation, search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 346: Line 346:
 
| not null
 
| not null
 
|  
 
|  
| Primary key.<br />PK_PurchaseOrderHeader_PurchaseOrderID
+
| Primary key.PK_PurchaseOrderHeader_PurchaseOrderID
 
|- valign="top"
 
|- valign="top"
 
| RevisionNumber
 
| RevisionNumber
Line 352: Line 352:
 
| not null
 
| not null
 
| (0)
 
| (0)
| Incremental number to track changes to the purchase order over time.<br />
+
| Incremental number to track changes to the purchase order over time.
 
|- valign="top"
 
|- valign="top"
 
| Status
 
| Status
Line 358: Line 358:
 
| not null
 
| not null
 
| (1)
 
| (1)
| Order current status. 1 = Pending; 2 = Approved; 3 = Rejected; 4 = Complete<br />
+
| Order current status. 1 = Pending; 2 = Approved; 3 = Rejected; 4 = Complete
 
|- valign="top"
 
|- valign="top"
 
| EmployeeID
 
| EmployeeID
Line 364: Line 364:
 
| not null
 
| not null
 
|  
 
|  
| Employee who created the purchase order. Foreign key to Employee.EmployeeID.<br />IX_PurchaseOrderHeader_EmployeeID
+
| Employee who created the purchase order. Foreign key to Employee.EmployeeID.IX_PurchaseOrderHeader_EmployeeID
 
|- valign="top"
 
|- valign="top"
 
| VendorID
 
| VendorID
Line 370: Line 370:
 
| not null
 
| not null
 
|  
 
|  
| Vendor with whom the purchase order is placed. Foreign key to Vendor.VendorID.<br />IX_PurchaseOrderHeader_VendorID
+
| Vendor with whom the purchase order is placed. Foreign key to Vendor.VendorID.IX_PurchaseOrderHeader_VendorID
 
|- valign="top"
 
|- valign="top"
 
| ShipMethodID
 
| ShipMethodID
Line 376: Line 376:
 
| not null
 
| not null
 
|  
 
|  
| Shipping method. Foreign key to ShipMethod.ShipMethodID.<br />
+
| Shipping method. Foreign key to ShipMethod.ShipMethodID.
 
|- valign="top"
 
|- valign="top"
 
| OrderDate
 
| OrderDate
Line 382: Line 382:
 
| not null
 
| not null
 
| (GETDATE())
 
| (GETDATE())
| Purchase order creation date.<br />
+
| Purchase order creation date.
 
|- valign="top"
 
|- valign="top"
 
| ShipDate
 
| ShipDate
Line 388: Line 388:
 
| null
 
| null
 
|  
 
|  
| Estimated shipment date from the vendor.<br />
+
| Estimated shipment date from the vendor.
 
|- valign="top"
 
|- valign="top"
 
| SubTotal
 
| SubTotal
Line 394: Line 394:
 
| not null
 
| not null
 
| (0.00)
 
| (0.00)
| Purchase order subtotal. Computed as SUM(PurchaseOrderDetail.LineTotal)for the appropriate PurchaseOrderID.<br />
+
| Purchase order subtotal. Computed as SUM(PurchaseOrderDetail.LineTotal)for the appropriate PurchaseOrderID.
 
|- valign="top"
 
|- valign="top"
 
| TaxAmt
 
| TaxAmt
Line 400: Line 400:
 
| not null
 
| not null
 
| (0.00)
 
| (0.00)
| Tax amount.<br />
+
| Tax amount.
 
|- valign="top"
 
|- valign="top"
 
| Freight
 
| Freight
Line 406: Line 406:
 
| not null
 
| not null
 
| (0.00)
 
| (0.00)
| Shipping cost.<br />
+
| Shipping cost.
 
|- valign="top"
 
|- valign="top"
 
| TotalDue
 
| TotalDue
Line 412: Line 412:
 
|  
 
|  
 
|  
 
|  
| Total due to vendor. Computed as Subtotal + TaxAmt + Freight.<br />
+
| Total due to vendor. Computed as Subtotal + TaxAmt + Freight.
 
|- valign="top"
 
|- valign="top"
 
| ModifiedDate
 
| ModifiedDate
Line 418: Line 418:
 
| not null
 
| not null
 
| (GETDATE())
 
| (GETDATE())
| Date and time the record was last updated.<br />
+
| Date and time the record was last updated.
 
|}
 
|}
  

Please note that all contributions to dbscript Online Help may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Project:Copyrights for details). Do not submit copyrighted work without permission!

Cancel | Editing help (opens in new window)