PO Line Items

PO Line Items

Retrieve and manage purchase order line items.

FieldData TypePOSTPATCH
POIDStringXX
POReleaseIDInt32XX
LineNoInt32XX
DescriptionStringXX
AccountCodeStringXX
DueDateDateTimeOffsetXX
ManufacturerIDStringXX
MFRPartIDStringXX
ModelNoStringXX
OEMBooleanXX
PartServiceIDStringXX
PartTypeStringXX
PRIDString
PRLineNoInt32
QtyPerUOPDecimal(9,3)XX
QuantityDecimal(9,3)XX
QuantityReceivedDecimal(9,3)
QuoteIDStringXX
ReceiveToStringXX
ReceiveToIDStringXX
RequestedByStringXX
RequestedDateDateTimeOffset
SingleSourceBooleanXX
SpecificationsStringXX
StockLocationStringXX
TaxableBooleanXX
TaxCodeStringXX
TaxRateDecimal(7,5)XX
TotalCostDecimal(18,3)
TypeStringXX
UnitCostDecimal(18,5)XX
UnitOfMeasureStringXX
UnitOfPurchaseStringXX
UnitOfWeightStringXX
UNSPSCCodeStringXX
VendorPartIDStringXX
WeightDecimal(9,3)XX
CreatedByString
DateCreatedDateTimeOffset
EditedByString
DateEditedDateTimeOffset

Key: POID, POReleaseID, LineNo

Endpoints

GET

URL: https://{site}.mvpplant.com/ODataApi/v1/POLineItems

Description: Retrieve purchase order line items.

POST

URL: https://{site}.mvpplant.com/ODataApi/v1/POLineItems

Description: Create a purchase order line item.

Body: Send the property values marked in the POST column.

PATCH

URL: https://{site}.mvpplant.com/ODataApi/v1/POLineItems(POID='poID',POReleaseID=releaseID,LineNo=lineNo)

Description: Update an existing purchase order line item.

Body: Send only the property values you want to update from the PATCH column.

Notes

  • Type allowed values: Part, Service, Credit
  • ReceiveTo allowed values: CostCenter, Equipment, Location, RepairableSpare, Stock, System, WorkGroup, WorkOrder
  • StockLocation is required if ReceiveTo = Stock