PRC: SSP: Error POR-2010313 when creating Purchase Requisitions Using Rest API
(Doc ID 3033869.1)
Last updated on AUGUST 08, 2024
Applies to:
Oracle Fusion Self Service Procurement Cloud Service - Version 11.13.24.04.0 and laterInformation in this document applies to any platform.
Symptoms
On : 11.13.24.04.0 version, Create Requisition
While creating Purchase Requisitions using Rest API getting the below error
While creating Purchase Requisitions using Rest API getting the below error LineNumber 1: OrderTypeLookupCode is required. Specify a value for the field. (POR-2010313)
ERROR
-----------------------
POR-2010313
Request Payload:
{
"RequisitioningBU": "Lispcani Vision1",
"Description": "Creating a Requisition from REST",
"PreparerId": 300000128214147,
"ExternallyManagedFlag": false,
"Justification": "Need this for business purposes",
"DFF": [
{
"__FLEX_Context": "SAB",
"__FLEX_Context_DisplayValue": "SAB",
"travelerEmail": "a real email address",
"travelerEmployeeId": "123456",
"travelerName": "my name",
"travelPurpose": "Travelling for Business meeting",
"travelAgentEmail": "a real email address",
"travelAgency": "Carpati"
}
],
"lines": [
{
"LineNumber": 1,
"LineTypeId": 6,
"ItemDescription": "Cancellation Fees",
"CategoryName": "Travel.Human Resources",
"Amount": 100,
"Supplier": "Carpati",
"CurrencyCode": "RON",
"DestinationOrganizationId": 300000108419530,
"DeliverToLocationId": 3000001029223740,
"DestinationTypeCode": "EXPENSE",
"RequesterId": 300000128214130,
"RequestedDeliveryDate": "2024-08-08",
}
]
}
Response
---------------------
LineNumber 1: MatchingBasis is required. Specify a value for the field. (POR-2010313)
LineNumber 1: PurchaseBasis is required. Specify a value for the field. (POR-2010313)
LineNumber 1: OrderTypeLookupCode is required. Specify a value for the field. (POR-2010313)
Attribute Amount in view object PurchaseRequisitionHeaderEO_PurchaseRequisitionLine_PurchaseRequisitionHeaderVOToPurchaseRequisitionLineVO_PurchaseRequisitionLineVO cannot be set.
Changes
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |