Create Requisitions for Internal Material Transfers

A preparer or requester may need to request an item that's stocked in inventory at a warehouse that's within their organization or not. For example, the user is in an engineering department that orders parts from internal inventory on a regular basis. This user has the authority to source the material from warehouses outside the current organization when necessary to secure parts needed for prototypes.

The user can use the purchaseRequisitions resource to create requisitions to request internal material transfers from a warehouse that stocks the item and is configured to supply the item to the destination organization.

Let's discuss this scenario briefly:

  • Request an internal material transfer for an expense destination.

Here's a typical process flow for this scenario:

  1. The inventory manager of your organization configures items in Oracle Product Information Management and enables them for internal material transfers and transfer orders.
  2. The inventory manager defines the relationships that exist between source and destination inventory organizations. These relationships enable users to create interorganization transfers.
  3. A cost management administrator configures the Costing application to have the item costs properly calculated. If the shipping and receiving inventory organizations belong to a single business unit, then the cost of the item in the source organization applies as the transfer price.
  4. Optionally, a supply chain manager configures the transfer pricing rules for a financial route between the shipping organization and the receiving organization, if the transfer order crosses business units.
  5. The requester creates requisitions to transfer items from a warehouse to an expense location. The requester does that by providing the warehouse and optionally the subinventory location that should supply the item. After the requisition is approved, the transfer order is automatically created to fulfill the transfer request.

Request an Item to Be Transferred from a Warehouse to an Expense Location

Consider an example where you are located next to warehouse V1 in New York. You are building a prototype and need an item that's stocked and available in warehouse M1 in Seattle. To complete your prototype, you will create a requisition to request a transfer of this item from warehouse M1 to warehouse V1 and to be delivered to your office location. The cost of the item in the source organization M1 will be applied as the transfer price for this transaction.

To create a requisition to order the item for the prototype:

  1. Identify the item and place an order to transfer the item.
  2. Identify the source organization that can supply the item. Optionally, identify the source subinventory that has the item in stock.
  3. Perform a POST operation on this URL, providing the details in the request body.
  4. Optionally, invoke the custom action retrieveTransferPriceAndTax to have price and taxes calculated for the internal material transfer lines. This custom action is also called during Submit for the lines that don't have any transfer price calculated.

Create an Internal Material Transfer Request

Example URL

Use this resource URL format.

POST

curl -u username:password -X POST -H "Content-Type:application/vnd.oracle.adf.action+json" -d 'request payload' 
"https://servername/fscmRestApi/resources/version/purchaseRequisitions"

Example Request

Here's an example of the request body in JSON format:
{
    "RequisitioningBUId": 204,
    "RequisitioningBU": "Vision Operations",
    "PreparerId": 100010026864247,
    "ExternallyManagedFlag": false,
    "Description": "POST IMT requisition",
    "ApprovedById": null,
    "InterfaceSourceCode": "ORCLSSP",
    "lines": [
        {
            "LineNumber": 1,
            "LineTypeId": 1,
            "Item": "POR IMT Item1",
            "Quantity": 2,
            "UOMCode": "Ea",
            "DestinationOrganizationCode": "V1",
            "DeliverToLocationCode": "V1- New York City",
            "RequesterId": 100010026863783,
            "Supplier": null,
            "SupplierSite": null,
            "RequestedDeliveryDate": "2022-07-30",
            "DestinationTypeCode": "EXPENSE",
            "SourceOrganizationCode": "M1",
            "SourceTypeCode": "INTERNAL",
            "SourceSubinventory": null,
            "distributions": [
                {
                    "DistributionNumber": 1,
                    "Quantity": 2
                }
            ]
        }
    ]
}

Example Response

Note the tags in the response payload that are related to the source of supply for the item. The SourceType, Inventory, indicates that the record is an internal material transfer. The organization that will supply the item is M1 Seattle Manufacturing.

Here's an example of the reponse body in JSON format.

{
    "RequisitionHeaderId": 300100560540404,
    "Requisition": "10504713",
    "RequisitioningBUId": 204,
    "RequisitioningBU": "Vision Operations",
    "PreparerId": 100010026864247,
    "Preparer": "Carlene Rozell",
    "PreparerEmail": "sendmail-test-discard@oracle.com",
    "Description": "POST IMT requisition",
    "Justification": null,
    "DocumentStatus": "Incomplete",
    "DocumentStatusCode": "INCOMPLETE",
    "SubmissionDate": null,
    "ApprovedDate": null,
    "FunctionalCurrencyCode": null,
    "SoldToLegalEntityId": null,
    "SoldToLegalEntity": null,
    "FundsStatus": null,
    "FundsStatusCode": null,
    "InterfaceSourceCode": "ORCLSSP",
    "InterfaceSourceLineId": null,
    "EmergencyPONumber": null,
    "ModifyingApproverId": null,
    "ModifyingApprover": null,
    "ModifyingApproverEmail": null,
    "OverridingApproverId": null,
    "OverridingApprover": null,
    "OverridingApproverEmail": null,
    "FundsOverrideApproverId": null,
    "FundsOverrideApprover": null,
    "FundsOverrideApproverEmail": null,
    "ApprovedById": null,
    "ApprovedByEmail": null,
    "BudgetaryControlEnabledFlag": null,
    "EmergencyRequisitionFlag": null,
    "ExternallyManagedFlag": false,
    "InternalTransferFlag": false,
    "FundsChkFailWarnFlag": false,
    "CreationDate": "2022-07-27T22:05:33+00:00",
    "LastUpdateDate": "2022-07-27T22:05:33.839+00:00",
    "CreatedBy": "CVRQST17",
    "LastUpdatedBy": "CVRQST17",
    "ActiveRequisitionFlag": false,
    "SourceApplicationCode": null,
    "RejectedById": null,
    "RejectedByDisplayName": null,
    "RejectedReason": null,
    "HasPendingApprovalLinesFlag": null,
    "HasRejectedLinesFlag": null,
    "HasReturnedLinesFlag": null,
    "HasWithdrawnLinesFlag": null,
    "LifecycleStatusCode": null,
    "LifecycleStatus": null,
    "HasActionRequiredLinesFlag": null,
    "lines": [
        {
            "RequisitionHeaderId": 300100560540404,
            "RequisitionLineId": 300100560540405,
            "LineNumber": 1,
            "SmartFormId": null,
            "SmartFormName": null,
            "LineTypeId": 1,
            "LineTypeCode": "Goods",
            "RequisitionLineSource": "REST_INTEGRATION",
            "CategoryId": 1,
            "CategoryName": "Miscellaneous_1",
            "ItemDescription": "POR IMT Item1",
            "ItemId": 300100168683435,
            "Item": "POR IMT Item1",
            "ItemRevision": null,
            "Quantity": 2,
            "SecondaryQuantity": null,
            "UnitPrice": null,
            "CurrencyCode": "USD",
            "Currency": "US Dollar",
            "UOMCode": "Ea",
            "UOM": "Each",
            "SecondaryUOMCode": null,
            "SecondaryUOM": null,
            "ConversionRateType": null,
            "ConversionRateDate": null,
            "ConversionRate": null,
            "Price": null,
            "LineStatus": "INCOMPLETE",
            "LineStatusDisplayValue": null,
            "Amount": null,
            "CurrencyAmount": null,
            "UrgentFlag": null,
            "NegotiatedByPreparerFlag": null,
            "NegotiationRequiredFlag": null,
            "SourceAgreementTypeCode": null,
            "SourceAgreementType": null,
            "SourceAgreementHeaderId": null,
            "SourceAgreement": null,
            "SourceAgreementLineId": null,
            "SourceAgreementLineNumber": null,
            "UNNumberId": null,
            "UNNumber": null,
            "HazardClassId": null,
            "HazardClass": null,
            "HazardClassCode": null,
            "UNSPSCCode": null,
            "ManufacturerName": null,
            "ManufacturerPartNumber": null,
            "BPAPriceUserOverrideFlag": null,
            "NewSupplierFlag": null,
            "SupplierId": null,
            "Supplier": null,
            "SupplierSiteId": null,
            "SupplierSite": null,
            "SupplierContactId": null,
            "SupplierContact": null,
            "SupplierContactEmail": null,
            "SupplierContactPhone": null,
            "SupplierContactFax": null,
            "SuggestedSupplier": null,
            "SuggestedSupplierSite": null,
            "SuggestedSupplierContact": null,
            "SuggestedSupplierContactPhone": null,
            "SuggestedSupplierContactFax": null,
            "SuggestedSupplierContactEmail": null,
            "SupplierItemNumber": null,
            "RequesterId": 100010026863783,
            "Requester": "Furey,Clare",
            "RequesterEmail": null,
            "SuggestedBuyerId": null,
            "SuggestedBuyer": null,
            "SuggestedBuyerEmail": null,
            "ModifiedByBuyerId": null,
            "ModifiedByBuyer": null,
            "AssignedBuyerId": null,
            "AssignedBuyer": null,
            "AssignedBuyerDisplayName": null,
            "AssignedBuyerEmail": null,
            "RequestedDeliveryDate": "2022-07-30",
            "DestinationTypeCode": "EXPENSE",
            "DestinationType": "Expense",
            "DestinationOrganizationId": 204,
            "DestinationOrganizationCode": "V1",
            "DestinationOrganization": "Vision Operations",
            "DestinationSubinventory": null,
            "OneTimeLocationFlag": false,
            "DeliverToLocationId": 204,
            "DeliverToLocationCode": "V1- New York City",
            "DeliverToAddress": "90 Fifth Avenue, New York,NY 10022-3422, New York, United States",
            "FormattedDeliverToAddress": "90 Fifth Avenue<BR>New York,NY 10022-3422<BR>New York<BR>United States",
            "NoteToBuyer": null,
            "NoteToReceiver": null,
            "NoteToSupplier": null,
            "POAutomationFailedReasonCode": null,
            "POAutomationFailedReason": null,
            "POHeaderId": null,
            "POLineId": null,
            "PurchaseOrder": null,
            "POBuyerId": null,
            "BuyerOnPurchaseOrder": null,
            "SupplierOnPurchaseOrder": null,
            "ProcurementBUId": null,
            "ProcurementBU": null,
            "SourceTypeCode": "INTERNAL",
            "SourceType": "Inventory",
            "SourceOrganizationId": 207,
            "SourceOrganizationCode": "M1",
            "SourceOrganization": "Seattle Manufacturing",
            "SourceSubinventory": null,
            "TransferOrderHeaderId": null,
            "TransferOrder": null,
            "TransferOrderLineId": null,
            "NegotiationHeaderId": null,
            "Negotiation": null,
            "NegotiationLineNumber": null,
            "ResponseNumber": null,
            "ResponseLineNumber": null,
            "OnNegotiationFlag": null,
            "WorkOrderId": null,
            "WorkOrder": null,
            "WorkOrderOperationId": null,
            "WorkOrderOperationSequence": null,
            "WorkOrderProduct": null,
            "WorkOrderSubType": null,
            "BackToBackFlag": null,
            "ConfiguredItemFlag": false,
            "DeliverToCustomerId": null,
            "DeliverToCustomer": null,
            "DeliverToCustomerLocationId": null,
            "RequestedShipDate": null,
            "SalesOrderLineNumber": null,
            "SalesOrder": null,
            "SalesOrderScheduleNumber": null,
            "ShipToCustomerId": null,
            "ShipToCustomer": null,
            "ServiceLevelCode": null,
            "ServiceLevel": null,
            "ModeOfTransportCode": null,
            "ModeOfTransport": null,
            "CarrierId": null,
            "Carrier": null,
            "CreatedBy": "CVRQST17",
            "CreationDate": "2022-07-27T22:05:33.115+00:00",
            "LastUpdatedBy": "CVRQST17",
            "LastUpdateDate": "2022-07-27T22:05:33.893+00:00",
            "LastSubmittedDate": null,
            "LastApprovalDate": null,
            "OriginalSubmittedDate": null,
            "OriginalApprovalDate": null,
            "CancelDate": null,
            "CancelReason": null,
            "RequisitionLineGroup": "LINES_REQUIRING_ATTENTION",
            "LineImageURL": null,
            "SupplierItemAuxiliaryId": null,
            "DisableAutosourceFlag": false,
            "DeliverToOneTimeAddress": null,
            "LineTypeOrderTypeLookupCode": "QUANTITY",
            "ReturnedByBuyerId": null,
            "ReturnedByBuyerDisplayName": null,
            "ReturnReason": null,
            "LifecycleStatusCode": null,
            "LifecycleStatus": null,
            "ActionRequiredCode": null,
            "ActionRequired": null,
            "POCancelReason": null,
            "POHoldReason": null,
            "distributions": [
                {
                    "RequisitionDistributionId": 300100560540406,
                    "RequisitionLineId": 300100560540405,
                    "Quantity": 2,
                    "DistributionNumber": 1,
                    "ChargeAccountId": null,
                    "ChargeAccount": null,
                    "CurrencyAmount": null,
                    "CurrencyNonrecoverableExclusiveTax": null,
                    "CurrencyRecoverableExclusiveTax": null,
                    "ChartOfAccountId": 101,
                    "UserAccountOverrideFlag": false,
                    "BudgetDate": null,
                    "links": [
                        {
                            "rel": "self",
                            "href": "https://<varname>server</varname>/fscmRestApi/resources/<varname>version</varname>/purchaseRequisitions/300100560540404/child/lines/300100560540405/child/distributions/300100560540406",
                            "name": "distributions",
                            "kind": "item",
                            "properties": {
                                "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178"
                            }
                        },
                        {
                            "rel": "canonical",
                            "href": "https://<varname>server</varname>/fscmRestApi/resources/<varname>version</varname>/purchaseRequisitions/300100560540404/child/lines/300100560540405/child/distributions/300100560540406",
                            "name": "distributions",
                            "kind": "item"
                        },
                        {
                            "rel": "parent",
                            "href": "https://<varname>server</varname>/fscmRestApi/resources/<varname>version</varname>/purchaseRequisitions/300100560540404/child/lines/300100560540405",
                            "name": "lines",
                            "kind": "item"
                        },
                        {
                            "rel": "child",
                            "href": "https://<varname>server</varname>/fscmRestApi/resources/<varname>version</varname>/purchaseRequisitions/300100560540404/child/lines/300100560540405/child/distributions/300100560540406/child/DFF",
                            "name": "DFF",
                            "kind": "collection"
                        },
                        {
                            "rel": "child",
                            "href": "https://<varname>server</varname>/fscmRestApi/resources/<varname>version</varname>/purchaseRequisitions/300100560540404/child/lines/300100560540405/child/distributions/300100560540406/child/projectDFF",
                            "name": "projectDFF",
                            "kind": "collection"
                        }
                    ]
                }
            ],
            "links": [
                {
                    "rel": "self",
                    "href": "https://<varname>server</varname>/fscmRestApi/resources/<varname>version</varname>/purchaseRequisitions/300100560540404/child/lines/300100560540405",
                    "name": "lines",
                    "kind": "item",
                    "properties": {
                        "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178"
                    }
                },
                {
                    "rel": "canonical",
                    "href": "https://<varname>server</varname>/fscmRestApi/resources/<varname>version</varname>/purchaseRequisitions/300100560540404/child/lines/300100560540405",
                    "name": "lines",
                    "kind": "item"
                },
                {
                    "rel": "parent",
                    "href": "https://<varname>server</varname>/fscmRestApi/resources/<varname>version</varname>/purchaseRequisitions/300100560540404",
                    "name": "purchaseRequisitions",
                    "kind": "item"
                },
                {
                    "rel": "lov",
                    "href": "https://<varname>server</varname>/fscmRestApi/resources/<varname>version</varname>/purchaseRequisitions/300100560540404/child/lines/300100560540405/lov/SourceOrganizationPVO",
                    "name": "SourceOrganizationPVO",
                    "kind": "collection"
                },
                {
                    "rel": "lov",
                    "href": "https://<varname>server</varname>/fscmRestApi/resources/<varname>version</varname>/purchaseRequisitions/300100560540404/child/lines/300100560540405/lov/SupplierSiteLOVCompleteSupplierSitePVO",
                    "name": "SupplierSiteLOVCompleteSupplierSitePVO",
                    "kind": "collection"
                },
                {
                    "rel": "lov",
                    "href": "https://<varname>server</varname>/fscmRestApi/resources/<varname>version</varname>/purchaseRequisitions/300100560540404/child/lines/300100560540405/lov/PurchasingCategoryVO",
                    "name": "PurchasingCategoryVO",
                    "kind": "collection"
                },
                {
                    "rel": "lov",
                    "href": "https://<varname>server</varname>/fscmRestApi/resources/<varname>version</varname>/purchaseRequisitions/300100560540404/child/lines/300100560540405/lov/SourceAgreementsVO",
                    "name": "SourceAgreementsVO",
                    "kind": "collection"
                },
                {
                    "rel": "lov",
                    "href": "https://<varname>server</varname>/fscmRestApi/resources/<varname>version</varname>/purchaseRequisitions/300100560540404/child/lines/300100560540405/lov/LocationLovPVO",
                    "name": "LocationLovPVO",
                    "kind": "collection"
                },
                {
                    "rel": "lov",
                    "href": "https://<varname>server</varname>/fscmRestApi/resources/<varname>version</varname>/purchaseRequisitions/300100560540404/child/lines/300100560540405/lov/SmartFormVVO",
                    "name": "SmartFormVVO",
                    "kind": "collection"
                },
                {
                    "rel": "lov",
                    "href": "https://<varname>server</varname>/fscmRestApi/resources/<varname>version</varname>/purchaseRequisitions/300100560540404/child/lines/300100560540405/lov/ItemVVO",
                    "name": "ItemVVO",
                    "kind": "collection"
                },
                {
                    "rel": "lov",
                    "href": "https://<varname>server</varname>/fscmRestApi/resources/<varname>version</varname>/purchaseRequisitions/300100560540404/child/lines/300100560540405/lov/UnitOfMeasureConversionPVO",
                    "name": "UnitOfMeasureConversionPVO",
                    "kind": "collection"
                },
                {
                    "rel": "lov",
                    "href": "https://<varname>server</varname>/fscmRestApi/resources/<varname>version</varname>/purchaseRequisitions/300100560540404/child/lines/300100560540405/lov/SourceTypeLookupPVO",
                    "name": "SourceTypeLookupPVO",
                    "kind": "collection"
                },
                {
                    "rel": "lov",
                    "href": "https://<varname>server</varname>/fscmRestApi/resources/<varname>version</varname>/purchaseRequisitions/300100560540404/child/lines/300100560540405/lov/DestinationTypeVO",
                    "name": "DestinationTypeVO",
                    "kind": "collection"
                },
                {
                    "rel": "lov",
                    "href": "https://<varname>server</varname>/fscmRestApi/resources/<varname>version</varname>/purchaseRequisitions/300100560540404/child/lines/300100560540405/lov/SourceAgreementHeaderIdVO",
                    "name": "SourceAgreementHeaderIdVO",
                    "kind": "collection"
                },
                {
                    "rel": "lov",
                    "href": "https://<varname>server</varname>/fscmRestApi/resources/<varname>version</varname>/purchaseRequisitions/300100560540404/child/lines/300100560540405/lov/SourceAgreementLinesVO",
                    "name": "SourceAgreementLinesVO",
                    "kind": "collection"
                },
                {
                    "rel": "lov",
                    "href": "https://<varname>server</varname>/fscmRestApi/resources/<varname>version</varname>/purchaseRequisitions/300100560540404/child/lines/300100560540405/lov/PurchasingLineTypePVO",
                    "name": "PurchasingLineTypePVO",
                    "kind": "collection"
                },
                {
                    "rel": "lov",
                    "href": "https://<varname>server</varname>/fscmRestApi/resources/<varname>version</varname>/purchaseRequisitions/300100560540404/child/lines/300100560540405/lov/CurrencyPVO",
                    "name": "CurrencyPVO",
                    "kind": "collection"
                },
                {
                    "rel": "lov",
                    "href": "https://<varname>server</varname>/fscmRestApi/resources/<varname>version</varname>/purchaseRequisitions/300100560540404/child/lines/300100560540405/lov/PersonEmailVVO",
                    "name": "PersonEmailVVO",
                    "kind": "collection"
                },
                {
                    "rel": "lov",
                    "href": "https://<varname>server</varname>/fscmRestApi/resources/<varname>version</varname>/purchaseRequisitions/300100560540404/child/lines/300100560540405/lov/SupplierContactLOVCompleteSupplierContactPVO",
                    "name": "SupplierContactLOVCompleteSupplierContactPVO",
                    "kind": "collection"
                },
                {
                    "rel": "lov",
                    "href": "https://<varname>server</varname>/fscmRestApi/resources/<varname>version</varname>/purchaseRequisitions/300100560540404/child/lines/300100560540405/lov/SupplierLOVCompleteSupplierPVO",
                    "name": "SupplierLOVCompleteSupplierPVO",
                    "kind": "collection"
                },
                {
                    "rel": "lov",
                    "href": "https://<varname>server</varname>/fscmRestApi/resources/<varname>version</varname>/purchaseRequisitions/300100560540404/child/lines/300100560540405/lov/DailyConversionTypePVO",
                    "name": "DailyConversionTypePVO",
                    "kind": "collection"
                },
                {
                    "rel": "lov",
                    "href": "https://<varname>server</varname>/fscmRestApi/resources/<varname>version</varname>/purchaseRequisitions/300100560540404/child/lines/300100560540405/lov/OrgOrganizationDefinitionsPVO",
                    "name": "OrgOrganizationDefinitionsPVO",
                    "kind": "collection"
                },
                {
                    "rel": "child",
                    "href": "https://<varname>server</varname>/fscmRestApi/resources/<varname>version</varname>/purchaseRequisitions/300100560540404/child/lines/300100560540405/child/DFF",
                    "name": "DFF",
                    "kind": "collection"
                },
                {
                    "rel": "child",
                    "href": "https://<varname>server</varname>/fscmRestApi/resources/<varname>version</varname>/purchaseRequisitions/300100560540404/child/lines/300100560540405/child/attachments",
                    "name": "attachments",
                    "kind": "collection"
                },
                {
                    "rel": "child",
                    "href": "https://<varname>server</varname>/fscmRestApi/resources/<varname>version</varname>/purchaseRequisitions/300100560540404/child/lines/300100560540405/child/distributions",
                    "name": "distributions",
                    "kind": "collection"
                },
                {
                    "rel": "child",
                    "href": "https://<varname>server</varname>/fscmRestApi/resources/<varname>version</varname>/purchaseRequisitions/300100560540404/child/lines/300100560540405/child/informationTemplates",
                    "name": "informationTemplates",
                    "kind": "collection"
                },
                {
                    "rel": "action",
                    "href": "https://<varname>server</varname>/fscmRestApi/resources/<varname>version</varname>/purchaseRequisitions/300100560540404/child/lines/300100560540405/action/retrieveTransferPriceAndTax",
                    "name": "retrieveTransferPriceAndTax",
                    "kind": "other"
                },
                {
                    "rel": "action",
                    "href": "https://<varname>server</varname>/fscmRestApi/resources/<varname>version</varname>/purchaseRequisitions/300100560540404/child/lines/300100560540405/action/calculateTax",
                    "name": "calculateTax",
                    "kind": "other"
                },
                {
                    "rel": "action",
                    "href": "https://<varname>server</varname>/fscmRestApi/resources/<varname>version</varname>/purchaseRequisitions/300100560540404/child/lines/300100560540405/action/deriveChargeAccount",
                    "name": "deriveChargeAccount",
                    "kind": "other"
                },
                {
                    "rel": "action",
                    "href": "https://<varname>server</varname>/fscmRestApi/resources/<varname>version</varname>/purchaseRequisitions/300100560540404/child/lines/300100560540405/action/cancel",
                    "name": "cancel",
                    "kind": "other"
                }
            ]
        }
    ],
    "links": [
        {
            "rel": "self",
            "href": "https://<varname>server</varname>/fscmRestApi/resources/<varname>version</varname>/purchaseRequisitions/300100560540404",
            "name": "purchaseRequisitions",
            "kind": "item",
            "properties": {
                "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000178"
            }
        },
        {
            "rel": "canonical",
            "href": "https://<varname>server</varname>/fscmRestApi/resources/<varname>version</varname>/purchaseRequisitions/300100560540404",
            "name": "purchaseRequisitions",
            "kind": "item"
        },
        {
            "rel": "lov",
            "href": "https://<varname>server</varname>/fscmRestApi/resources/<varname>version</varname>/purchaseRequisitions/300100560540404/lov/PreparerEmailPersonLovPVO",
            "name": "PreparerEmailPersonLovPVO",
            "kind": "collection"
        },
        {
            "rel": "lov",
            "href": "https://<varname>server</varname>/fscmRestApi/resources/<varname>version</varname>/purchaseRequisitions/300100560540404/lov/ApprovedByEmailPersonLovPVO",
            "name": "ApprovedByEmailPersonLovPVO",
            "kind": "collection"
        },
        {
            "rel": "lov",
            "href": "https://<varname>server</varname>/fscmRestApi/resources/<varname>version</varname>/purchaseRequisitions/300100560540404/lov/ReqBUNameRequisitionBusinessUnitVVO",
            "name": "ReqBUNameRequisitionBusinessUnitVVO",
            "kind": "collection"
        },
        {
            "rel": "child",
            "href": "https://<varname>server</varname>/fscmRestApi/resources/<varname>version</varname>/purchaseRequisitions/300100560540404/child/DFF",
            "name": "DFF",
            "kind": "collection"
        },
        {
            "rel": "child",
            "href": "https://<varname>server</varname>/fscmRestApi/resources/<varname>version</varname>/purchaseRequisitions/300100560540404/child/attachments",
            "name": "attachments",
            "kind": "collection"
        },
        {
            "rel": "child",
            "href": "https://<varname>server</varname>/fscmRestApi/resources/<varname>version</varname>/purchaseRequisitions/300100560540404/child/lines",
            "name": "lines",
            "kind": "collection"
        },
        {
            "rel": "child",
            "href": "https://<varname>server</varname>/fscmRestApi/resources/<varname>version</varname>/purchaseRequisitions/300100560540404/child/summaryAttributes",
            "name": "summaryAttributes",
            "kind": "collection"
        },
        {
            "rel": "action",
            "href": "https://<varname>server</varname>/fscmRestApi/resources/<varname>version</varname>/purchaseRequisitions/300100560540404/action/submitRequisition",
            "name": "submitRequisition",
            "kind": "other"
        },
        {
            "rel": "action",
            "href": "https://<varname>server</varname>/fscmRestApi/resources/<varname>version</varname>/purchaseRequisitions/300100560540404/action/calculateTaxAndAccounting",
            "name": "calculateTaxAndAccounting",
            "kind": "other"
        },
        {
            "rel": "action",
            "href": "https://<varname>server</varname>/fscmRestApi/resources/<varname>version</varname>/purchaseRequisitions/300100560540404/action/createDefaultDistributions",
            "name": "createDefaultDistributions",
            "kind": "other"
        },
        {
            "rel": "action",
            "href": "https://<varname>server</varname>/fscmRestApi/resources/<varname>version</varname>/purchaseRequisitions/300100560540404/action/retrieveTransferPriceAndTax",
            "name": "retrieveTransferPriceAndTax",
            "kind": "other"
        },
        {
            "rel": "action",
            "href": "https://<varname>server</varname>/fscmRestApi/resources/<varname>version</varname>/purchaseRequisitions/300100560540404/action/retrieveCurrentApprovers",
            "name": "retrieveCurrentApprovers",
            "kind": "other"
        },
        {
            "rel": "action",
            "href": "https://<varname>server</varname>/fscmRestApi/resources/<varname>version</varname>/purchaseRequisitions/300100560540404/action/cancel",
            "name": "cancel",
            "kind": "other"
        },
        {
            "rel": "action",
            "href": "https://<varname>server</varname>/fscmRestApi/resources/<varname>version</varname>/purchaseRequisitions/300100560540404/action/updateAllLines",
            "name": "updateAllLines",
            "kind": "other"
        },
        {
            "rel": "action",
            "href": "https://<varname>server</varname>/fscmRestApi/resources/<varname>version</varname>/purchaseRequisitions/300100560540404/action/processPunchoutShoppingCart",
            "name": "processPunchoutShoppingCart",
            "kind": "other"
        }
    ]
}

Calculate the Transfer Price

Example URL

Use this resource URL format.

POST

curl -u username:password -X POST -H "Content-Type:application/vnd.oracle.adf.action+json" -d 'request payload' 
"https://servername/fscmRestApi/resources/version/purchaseRequisitions/purchaserequisitionsUniqId/action/retrieveTransferPriceAndTax"

Example Request

Here's an example of the request body in JSON format:
{
	"name":"retrieveTransferPriceAndTax",
    	"parameters":[]
}

Example Response

Here's an example of the response body in JSON format:
{
    "result": {
        "STATUS": [
            {
                "CODE": "SUCCESS"
            }
        ]
    }
}

Get One Requisition Line

Example URL

Use this resource URL format.

GET

curl -u username:password "https://servername/fscmRestApi/resources/version/purchaseRequisitions/purchaseRequisitionsUniqID/child/lines/linesUniqID"

Example Response

After calculating the transfer price, you can get the requisition to review the cost of the transfer from the source organization, M1. See the calculated transfer price of USD 175.

Here's an example of the response body in JSON format:
{
    "RequisitionHeaderId": 300100560540404,
    "RequisitionLineId": 300100560540405,
    "LineNumber": 1,
    "SmartFormId": null,
    "SmartFormName": null,
    "LineTypeId": 1,
    "LineTypeCode": "Goods",
    "RequisitionLineSource": "REST_INTEGRATION",
    "CategoryId": 1,
    "CategoryName": "Miscellaneous_1",
    "ItemDescription": "POR IMT Item1",
    "ItemId": 300100168683435,
    "Item": "POR IMT Item1",
    "ItemRevision": null,
    "Quantity": 2,
    "SecondaryQuantity": null,
    "UnitPrice": 175,
    "CurrencyCode": "USD",
    "Currency": "US Dollar",
    "UOMCode": "Ea",
    "UOM": "Each",
    "SecondaryUOMCode": null,
    "SecondaryUOM": null,
    "ConversionRateType": null,
    "ConversionRateDate": null,
    "ConversionRate": null,
    "Price": 175,
    "LineStatus": "INCOMPLETE",
    "LineStatusDisplayValue": "Incomplete",
    "Amount": null,
    "CurrencyAmount": null,
    "UrgentFlag": null,
    "NegotiatedByPreparerFlag": null,
    "NegotiationRequiredFlag": null,
    "SourceAgreementTypeCode": null,
    "SourceAgreementType": null,
    "SourceAgreementHeaderId": null,
    "SourceAgreement": null,
    "SourceAgreementLineId": null,
    "SourceAgreementLineNumber": null,
    "UNNumberId": null,
    "UNNumber": null,
    "HazardClassId": null,
    "HazardClass": null,
    "HazardClassCode": null,
    "UNSPSCCode": null,
    "ManufacturerName": null,
    "ManufacturerPartNumber": null,
    "BPAPriceUserOverrideFlag": null,
    "NewSupplierFlag": null,
    "SupplierId": null,
    "Supplier": null,
    "SupplierSiteId": null,
    "SupplierSite": null,
    "SupplierContactId": null,
    "SupplierContact": null,
    "SupplierContactEmail": null,
    "SupplierContactPhone": null,
    "SupplierContactFax": null,
    "SuggestedSupplier": null,
    "SuggestedSupplierSite": null,
    "SuggestedSupplierContact": null,
    "SuggestedSupplierContactPhone": null,
    "SuggestedSupplierContactFax": null,
    "SuggestedSupplierContactEmail": null,
    "SupplierItemNumber": null,
    "RequesterId": 100010026863783,
    "Requester": "Furey,Clare",
    "RequesterEmail": null,
    "SuggestedBuyerId": null,
    "SuggestedBuyer": null,
    "SuggestedBuyerEmail": null,
    "ModifiedByBuyerId": null,
    "ModifiedByBuyer": null,
    "AssignedBuyerId": null,
    "AssignedBuyer": null,
    "AssignedBuyerDisplayName": null,
    "AssignedBuyerEmail": null,
    "RequestedDeliveryDate": "2022-07-30",
    "DestinationTypeCode": "EXPENSE",
    "DestinationType": "Expense",
    "DestinationOrganizationId": 204,
    "DestinationOrganizationCode": "V1",
    "DestinationOrganization": "Vision Operations",
    "DestinationSubinventory": null,
    "OneTimeLocationFlag": false,
    "DeliverToLocationId": 204,
    "DeliverToLocationCode": "V1- New York City",
    "DeliverToAddress": "90 Fifth Avenue, New York,NY 10022-3422, New York, United States",
    "FormattedDeliverToAddress": "90 Fifth Avenue<BR>New York,NY 10022-3422<BR>New York<BR>United States",
    "NoteToBuyer": null,
    "NoteToReceiver": null,
    "NoteToSupplier": null,
    "POAutomationFailedReasonCode": null,
    "POAutomationFailedReason": null,
    "POHeaderId": null,
    "POLineId": null,
    "PurchaseOrder": null,
    "POBuyerId": null,
    "BuyerOnPurchaseOrder": null,
    "SupplierOnPurchaseOrder": null,
    "ProcurementBUId": null,
    "ProcurementBU": null,
    "SourceTypeCode": "INTERNAL",
    "SourceType": "Inventory",
    "SourceOrganizationId": 207,
    "SourceOrganizationCode": "M1",
    "SourceOrganization": "Seattle Manufacturing",
    "SourceSubinventory": null,
    "TransferOrderHeaderId": null,
    "TransferOrder": null,
    "TransferOrderLineId": null,
    "NegotiationHeaderId": null,
    "Negotiation": null,
    "NegotiationLineNumber": null,
    "ResponseNumber": null,
    "ResponseLineNumber": null,
    "OnNegotiationFlag": null,
    "WorkOrderId": null,
    "WorkOrder": null,
    "WorkOrderOperationId": null,
    "WorkOrderOperationSequence": null,
    "WorkOrderProduct": null,
    "WorkOrderSubType": null,
    "BackToBackFlag": null,
    "ConfiguredItemFlag": false,
    "DeliverToCustomerId": null,
    "DeliverToCustomer": null,
    "DeliverToCustomerLocationId": null,
    "RequestedShipDate": null,
    "SalesOrderLineNumber": null,
    "SalesOrder": null,
    "SalesOrderScheduleNumber": null,
    "ShipToCustomerId": null,
    "ShipToCustomer": null,
    "ServiceLevelCode": null,
    "ServiceLevel": null,
    "ModeOfTransportCode": null,
    "ModeOfTransport": null,
    "CarrierId": null,
    "Carrier": null,
    "CreatedBy": "CVRQST17",
    "CreationDate": "2022-07-27T22:05:33.115+00:00",
    "LastUpdatedBy": "CVRQST17",
    "LastUpdateDate": "2022-07-27T22:18:36.275+00:00",
    "LastSubmittedDate": null,
    "LastApprovalDate": null,
    "OriginalSubmittedDate": null,
    "OriginalApprovalDate": null,
    "CancelDate": null,
    "CancelReason": null,
    "RequisitionLineGroup": "LINES_REQUIRING_ATTENTION",
    "LineImageURL": null,
    "SupplierItemAuxiliaryId": null,
    "DisableAutosourceFlag": false,
    "DeliverToOneTimeAddress": null,
    "LineTypeOrderTypeLookupCode": "QUANTITY",
    "ReturnedByBuyerId": null,
    "ReturnedByBuyerDisplayName": null,
    "ReturnReason": null,
    "LifecycleStatusCode": null,
    "LifecycleStatus": null,
    "ActionRequiredCode": null,
    "ActionRequired": null,
    "POCancelReason": null,
    "POHoldReason": null,
    "links": [
        {
            "rel": "self",
            "href": "https://<varname>server</varname>/fscmRestApi/resources/<varname>version</varname>/purchaseRequisitions/300100560540404/child/lines/300100560540405",
            "name": "lines",
            "kind": "item",
            "properties": {
                "changeIndicator": "ACED0005737200136A6176612E7574696C2E41727261794C6973747881D21D99C7619D03000149000473697A65787000000001770400000001737200116A6176612E6C616E672E496E746567657212E2A0A4F781873802000149000576616C7565787200106A6176612E6C616E672E4E756D62657286AC951D0B94E08B02000078700000000378"
            }
        },
        {
            "rel": "canonical",
            "href": "https://<varname>server</varname>/fscmRestApi/resources/<varname>version</varname>/purchaseRequisitions/300100560540404/child/lines/300100560540405",
            "name": "lines",
            "kind": "item"
        },
        {
            "rel": "parent",
            "href": "https://<varname>server</varname>/fscmRestApi/resources/<varname>version</varname>/purchaseRequisitions/300100560540404",
            "name": "purchaseRequisitions",
            "kind": "item"
        },
        {
            "rel": "lov",
            "href": "https://<varname>server</varname>/fscmRestApi/resources/<varname>version</varname>/purchaseRequisitions/300100560540404/child/lines/300100560540405/lov/SourceOrganizationPVO",
            "name": "SourceOrganizationPVO",
            "kind": "collection"
        },
        {
            "rel": "lov",
            "href": "https://<varname>server</varname>/fscmRestApi/resources/<varname>version</varname>/purchaseRequisitions/300100560540404/child/lines/300100560540405/lov/SupplierSiteLOVCompleteSupplierSitePVO",
            "name": "SupplierSiteLOVCompleteSupplierSitePVO",
            "kind": "collection"
        },
        {
            "rel": "lov",
            "href": "https://<varname>server</varname>/fscmRestApi/resources/<varname>version</varname>/purchaseRequisitions/300100560540404/child/lines/300100560540405/lov/PurchasingCategoryVO",
            "name": "PurchasingCategoryVO",
            "kind": "collection"
        },
        {
            "rel": "lov",
            "href": "https://<varname>server</varname>/fscmRestApi/resources/<varname>version</varname>/purchaseRequisitions/300100560540404/child/lines/300100560540405/lov/SourceAgreementsVO",
            "name": "SourceAgreementsVO",
            "kind": "collection"
        },
        {
            "rel": "lov",
            "href": "https://<varname>server</varname>/fscmRestApi/resources/<varname>version</varname>/purchaseRequisitions/300100560540404/child/lines/300100560540405/lov/LocationLovPVO",
            "name": "LocationLovPVO",
            "kind": "collection"
        },
        {
            "rel": "lov",
            "href": "https://<varname>server</varname>/fscmRestApi/resources/<varname>version</varname>/purchaseRequisitions/300100560540404/child/lines/300100560540405/lov/SmartFormVVO",
            "name": "SmartFormVVO",
            "kind": "collection"
        },
        {
            "rel": "lov",
            "href": "https://<varname>server</varname>/fscmRestApi/resources/<varname>version</varname>/purchaseRequisitions/300100560540404/child/lines/300100560540405/lov/ItemVVO",
            "name": "ItemVVO",
            "kind": "collection"
        },
        {
            "rel": "lov",
            "href": "https://<varname>server</varname>/fscmRestApi/resources/<varname>version</varname>/purchaseRequisitions/300100560540404/child/lines/300100560540405/lov/UnitOfMeasureConversionPVO",
            "name": "UnitOfMeasureConversionPVO",
            "kind": "collection"
        },
        {
            "rel": "lov",
            "href": "https://<varname>server</varname>/fscmRestApi/resources/<varname>version</varname>/purchaseRequisitions/300100560540404/child/lines/300100560540405/lov/SourceTypeLookupPVO",
            "name": "SourceTypeLookupPVO",
            "kind": "collection"
        },
        {
            "rel": "lov",
            "href": "https://<varname>server</varname>/fscmRestApi/resources/<varname>version</varname>/purchaseRequisitions/300100560540404/child/lines/300100560540405/lov/DestinationTypeVO",
            "name": "DestinationTypeVO",
            "kind": "collection"
        },
        {
            "rel": "lov",
            "href": "https://<varname>server</varname>/fscmRestApi/resources/<varname>version</varname>/purchaseRequisitions/300100560540404/child/lines/300100560540405/lov/SourceAgreementHeaderIdVO",
            "name": "SourceAgreementHeaderIdVO",
            "kind": "collection"
        },
        {
            "rel": "lov",
            "href": "https://<varname>server</varname>/fscmRestApi/resources/<varname>version</varname>/purchaseRequisitions/300100560540404/child/lines/300100560540405/lov/SourceAgreementLinesVO",
            "name": "SourceAgreementLinesVO",
            "kind": "collection"
        },
        {
            "rel": "lov",
            "href": "https://<varname>server</varname>/fscmRestApi/resources/<varname>version</varname>/purchaseRequisitions/300100560540404/child/lines/300100560540405/lov/PurchasingLineTypePVO",
            "name": "PurchasingLineTypePVO",
            "kind": "collection"
        },
        {
            "rel": "lov",
            "href": "https://<varname>server</varname>/fscmRestApi/resources/<varname>version</varname>/purchaseRequisitions/300100560540404/child/lines/300100560540405/lov/CurrencyPVO",
            "name": "CurrencyPVO",
            "kind": "collection"
        },
        {
            "rel": "lov",
            "href": "https://<varname>server</varname>/fscmRestApi/resources/<varname>version</varname>/purchaseRequisitions/300100560540404/child/lines/300100560540405/lov/PersonEmailVVO",
            "name": "PersonEmailVVO",
            "kind": "collection"
        },
        {
            "rel": "lov",
            "href": "https://<varname>server</varname>/fscmRestApi/resources/<varname>version</varname>/purchaseRequisitions/300100560540404/child/lines/300100560540405/lov/SupplierContactLOVCompleteSupplierContactPVO",
            "name": "SupplierContactLOVCompleteSupplierContactPVO",
            "kind": "collection"
        },
        {
            "rel": "lov",
            "href": "https://<varname>server</varname>/fscmRestApi/resources/<varname>version</varname>/purchaseRequisitions/300100560540404/child/lines/300100560540405/lov/SupplierLOVCompleteSupplierPVO",
            "name": "SupplierLOVCompleteSupplierPVO",
            "kind": "collection"
        },
        {
            "rel": "lov",
            "href": "https://<varname>server</varname>/fscmRestApi/resources/<varname>version</varname>/purchaseRequisitions/300100560540404/child/lines/300100560540405/lov/DailyConversionTypePVO",
            "name": "DailyConversionTypePVO",
            "kind": "collection"
        },
        {
            "rel": "lov",
            "href": "https://<varname>server</varname>/fscmRestApi/resources/<varname>version</varname>/purchaseRequisitions/300100560540404/child/lines/300100560540405/lov/OrgOrganizationDefinitionsPVO",
            "name": "OrgOrganizationDefinitionsPVO",
            "kind": "collection"
        },
        {
            "rel": "child",
            "href": "https://<varname>server</varname>/fscmRestApi/resources/<varname>version</varname>/purchaseRequisitions/300100560540404/child/lines/300100560540405/child/DFF",
            "name": "DFF",
            "kind": "collection"
        },
        {
            "rel": "child",
            "href": "https://<varname>server</varname>/fscmRestApi/resources/<varname>version</varname>/purchaseRequisitions/300100560540404/child/lines/300100560540405/child/attachments",
            "name": "attachments",
            "kind": "collection"
        },
        {
            "rel": "child",
            "href": "https://<varname>server</varname>/fscmRestApi/resources/<varname>version</varname>/purchaseRequisitions/300100560540404/child/lines/300100560540405/child/distributions",
            "name": "distributions",
            "kind": "collection"
        },
        {
            "rel": "child",
            "href": "https://<varname>server</varname>/fscmRestApi/resources/<varname>version</varname>/purchaseRequisitions/300100560540404/child/lines/300100560540405/child/informationTemplates",
            "name": "informationTemplates",
            "kind": "collection"
        },
        {
            "rel": "action",
            "href": "https://<varname>server</varname>/fscmRestApi/resources/<varname>version</varname>/purchaseRequisitions/300100560540404/child/lines/300100560540405/action/retrieveTransferPriceAndTax",
            "name": "retrieveTransferPriceAndTax",
            "kind": "other"
        },
        {
            "rel": "action",
            "href": "https://<varname>server</varname>/fscmRestApi/resources/<varname>version</varname>/purchaseRequisitions/300100560540404/child/lines/300100560540405/action/calculateTax",
            "name": "calculateTax",
            "kind": "other"
        },
        {
            "rel": "action",
            "href": "https://<varname>server</varname>/fscmRestApi/resources/<varname>version</varname>/purchaseRequisitions/300100560540404/child/lines/300100560540405/action/deriveChargeAccount",
            "name": "deriveChargeAccount",
            "kind": "other"
        },
        {
            "rel": "action",
            "href": "https://<varname>server</varname>/fscmRestApi/resources/<varname>version</varname>/purchaseRequisitions/300100560540404/child/lines/300100560540405/action/cancel",
            "name": "cancel",
            "kind": "other"
        }
    ]
}