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 NameField LabelTypeDigitsLengthPrecisionScale
AdditionalInfoAdditional Informationtextarea 1000  
BillToContactIdContact IDreference 18  
BillingAccountIdAccount IDreference 18  
BuyerAccountIdAccount IDreference 18  
BuyerContactIdContact IDreference 18  
CreatedByIdCreated By IDreference 18  
CreatedDateCreated Datedatetime    
ExternalPurchaseOrderNumberExternal Purchase Order Numberstring 80  
IdPurchase Order IDid 18  
IsDeletedIs Deletedboolean    
LastModifiedByIdLast Modified By IDreference 18  
LastModifiedDateLast Modified Datedatetime    
LastReferencedDateLast Referenced Datedatetime    
LastViewedDateLast Viewed Datedatetime    
NamePurchase Order Numberstring 255  
OwnerIdOwner IDreference 18  
PriceBookIdPrice Book IDreference 18  
PurchaseOrderDatePurchase Order Datedatetime    
PurchaseOrderSequenceNumberPurchase Order Sequence Numberstring 255  
PurchaseOrderTypePurchase Order Typepicklist 255  
RequestedDeliveryDateRequested Delivery Datedatetime    
ShipToAccountIdAccount IDreference 18  
ShipToContactIdContact IDreference 18  
ShippingAddressShipping Addressaddress    
ShippingCityShipping Citystring 40  
ShippingCountryShipping Countrystring 80  
ShippingGeocodeAccuracyShipping Geocode Accuracypicklist 40  
ShippingLatitudeShipping Latitudedouble  1815
ShippingLocationIdLocation IDreference 18  
ShippingLongitudeShipping Longitudedouble  1815
ShippingPostalCodeShipping Postal Codestring 20  
ShippingStateShipping Statestring 80  
ShippingStreetShipping Streettextarea 255  
StatusCodeStatus Codepicklist 255  
SupplierAccountIdAccount IDreference 18  
SupplierContactIdContact IDreference 18  
SystemModstampSystem Modstampdatetime    
TotalAmountTotal Amountcurrency  182
UsageTypeUsage Typepicklist 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 NameField LabelTypeDigitsLengthPrecisionScale
CreatedByIdCreated By IDreference 18  
CreatedDateCreated Datedatetime    
DataTypeDatatypepicklist 40  
FieldChanged Fieldpicklist 255  
IdPurchase Order History IDid 18  
IsDeletedDeletedboolean    
NewValueNew ValueanyType 255  
OldValueOld ValueanyType 255  
PurchaseOrderIdPurchase Order IDreference 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 NameField LabelTypeDigitsLengthPrecisionScale
AccessLevelCustom Object Accesspicklist 40  
IdCustom Object Share IDid 18  
IsDeletedDeletedboolean    
LastModifiedByIdLast Modified By IDreference 18  
LastModifiedDateLast Modified Datedatetime    
ParentIdParent IDreference 18  
RowCauseRow Causepicklist 40  
UserOrGroupIdUser/Group IDreference 18