Find the preferred source and price the parts
post
/fscmRestApi/resources/11.13.18.05/partRequirementLines/{RequirementLineId}/action/calculateSourceAndPrice
Finds the source for the requirement line and prices it. In the case of depot repair logistics and parts exchange flow, it creates the shipment line as well.
Request
Path Parameters
-
RequirementLineId(required): integer(int64)
Value that uniquely identifies the requirement line.
Header Parameters
-
Metadata-Context:
If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
-
REST-Framework-Version:
The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
Supported Media Types
- application/vnd.oracle.adf.action+json
Root Schema : schema
Type:
Show Source
object
-
AccountPartyId: number
Value that uniquely identifies the party account.
-
BusinessUnitId: number
Value that uniquely identifies the business unit.
-
CustomerPartyId: number
Value that uniquely identifies the customer party.
-
InventoryItemId: number
Value that uniquely identifies the inventory item.
-
InventoryItemNumber: string
Number that identifies the inventory item.
-
NeedByDate: string
(date-time)
Date when the part is required.
-
ServiceActivityCode: string
Abbreviation that identifies the service activity of the part requirement.
-
ServiceActivityId: number
Value that uniquely identifies the service activity associated with the parts line.
-
ShipToAddressType: string
Type of address that the requirement will be shipped to. Values are Customer and Technician.
-
ShipToLocationId: number
Value that uniquely identifies the ship-to location.
-
SourceOrganizationCode: string
Abbreviation that identifies the source organization.
-
SourceOrganizationId: number
Value that uniquely identifies the source organization.
-
SourceSubinventoryCode: string
Abbreviation that identifies the source subinventory.
Response
Supported Media Types
- application/json
- application/vnd.oracle.adf.actionresult+json
Default Response
The following table describes the default response for this task.
Root Schema : schema
Type:
Show Source
object
-
result(required): string
Returns the status of the custom action.