PurchaseOrder
Represents the Purchase Order entity that captures a formal request from a Buyer to a Supplier to supply goods or services. It is identified by a unique PurchaseOrderNumber and tracks the order’s lifecycle via a StatusCode. It defines commercial terms like the TotalAmount, BillingAccount, and the governing PriceBook. This object is available in API version 65.0 and later.
This guide only lists certain information for each object. For more information, including descriptions of the fields, see PurchaseOrder in the Manufacturing Cloud Developer Guide.
| Field Name | Field Label | Type | Digits | Length | Precision | Scale |
|---|---|---|---|---|---|---|
AdditionalInfo | Additional Information | textarea | 1000 | |||
BillToContactId | Contact ID | reference | 18 | |||
BillingAccountId | Account ID | reference | 18 | |||
BuyerAccountId | Account ID | reference | 18 | |||
BuyerContactId | Contact ID | reference | 18 | |||
CreatedById | Created By ID | reference | 18 | |||
CreatedDate | Created Date | datetime | ||||
ExternalPurchaseOrderNumber | External Purchase Order Number | string | 80 | |||
Id | Purchase Order ID | id | 18 | |||
IsDeleted | Is Deleted | boolean | ||||
LastModifiedById | Last Modified By ID | reference | 18 | |||
LastModifiedDate | Last Modified Date | datetime | ||||
LastReferencedDate | Last Referenced Date | datetime | ||||
LastViewedDate | Last Viewed Date | datetime | ||||
Name | Purchase Order Number | string | 255 | |||
OwnerId | Owner ID | reference | 18 | |||
PriceBookId | Price Book ID | reference | 18 | |||
PurchaseOrderDate | Purchase Order Date | datetime | ||||
PurchaseOrderSequenceNumber | Purchase Order Sequence Number | string | 255 | |||
PurchaseOrderType | Purchase Order Type | picklist | 255 | |||
RequestedDeliveryDate | Requested Delivery Date | datetime | ||||
ShipToAccountId | Account ID | reference | 18 | |||
ShipToContactId | Contact ID | reference | 18 | |||
ShippingAddress | Shipping Address | address | ||||
ShippingCity | Shipping City | string | 40 | |||
ShippingCountry | Shipping Country | string | 80 | |||
ShippingGeocodeAccuracy | Shipping Geocode Accuracy | picklist | 40 | |||
ShippingLatitude | Shipping Latitude | double | 18 | 15 | ||
ShippingLocationId | Location ID | reference | 18 | |||
ShippingLongitude | Shipping Longitude | double | 18 | 15 | ||
ShippingPostalCode | Shipping Postal Code | string | 20 | |||
ShippingState | Shipping State | string | 80 | |||
ShippingStreet | Shipping Street | textarea | 255 | |||
StatusCode | Status Code | picklist | 255 | |||
SupplierAccountId | Account ID | reference | 18 | |||
SupplierContactId | Contact ID | reference | 18 | |||
SystemModstamp | System Modstamp | datetime | ||||
TotalAmount | Total Amount | currency | 18 | 2 | ||
UsageType | Usage Type | picklist | 255 |
History for tracked fields of PurchaseOrder.
This guide only lists certain information for each object. For more information, including descriptions of the fields, see StandardObjectNameHistory in the Object Reference for the Salesforce Platform.
| Field Name | Field Label | Type | Digits | Length | Precision | Scale |
|---|---|---|---|---|---|---|
CreatedById | Created By ID | reference | 18 | |||
CreatedDate | Created Date | datetime | ||||
DataType | Datatype | picklist | 40 | |||
Field | Changed Field | picklist | 255 | |||
Id | Purchase Order History ID | id | 18 | |||
IsDeleted | Deleted | boolean | ||||
NewValue | New Value | anyType | 255 | |||
OldValue | Old Value | anyType | 255 | |||
PurchaseOrderId | Purchase Order ID | reference | 18 |
Sharing for PurchaseOrder.
This guide only lists certain information for each object. For more information, including descriptions of the fields, see StandardObjectNameShare in the Object Reference for the Salesforce Platform.
| Field Name | Field Label | Type | Digits | Length | Precision | Scale |
|---|---|---|---|---|---|---|
AccessLevel | Custom Object Access | picklist | 40 | |||
Id | Custom Object Share ID | id | 18 | |||
IsDeleted | Deleted | boolean | ||||
LastModifiedById | Last Modified By ID | reference | 18 | |||
LastModifiedDate | Last Modified Date | datetime | ||||
ParentId | Parent ID | reference | 18 | |||
RowCause | Row Cause | picklist | 40 | |||
UserOrGroupId | User/Group ID | reference | 18 |