社内資材転送の購買依頼の作成
作成者またはリクエスト者は、組織内の倉庫にある在庫に保管されている品目をリクエストする必要がある場合があります。 たとえば、ユーザーは設計部門にいて、部品を社内在庫から定期的にオーダーします。 このユーザーには、プロトタイプに必要な部品を保護するために必要な場合に、現在の組織外の倉庫から資材を調達する権限があります。
ユーザーは、purchaseRequisitionsリソースを使用して、品目を在庫し、品目を搬送先組織に供給するように構成された倉庫からの社内資材転送をリクエストする購買依頼を作成できます。
このシナリオについて簡単に説明します:
- 費用配賦先に対して社内資材転送をリクエストします。
このシナリオの一般的なプロセス・フローを次に示します:
- 組織の在庫マネージャがOracle Product Information Managementで品目を構成し、社内資材転送および転送オーダーに対して品目を使用可能にします。
- 在庫マネージャは、ソース在庫組織と搬送先在庫組織の間に存在する関係を定義します。 これらの関係により、ユーザーは組織間異動を作成できます。
- 原価管理管理者は、品目原価を適切に計算するように原価計算アプリケーションを構成します。 出荷および受入在庫組織が単一のビジネス・ユニットに属している場合、ソース組織の品目の原価は振替価格として適用されます。
- 転送オーダーがビジネス・ユニットにまたがる場合、サプライ・チェーン・マネージャが、出荷組織と受入組織の間の財務ルートの転送価格設定ルールを構成します(オプション)。
- 依頼者は、品目を倉庫から経費事業所に転送する購買依頼を作成します。 依頼者は、品目を供給する倉庫と、オプションで保管ロケーションのロケーションを指定することによってこれを実行します。 購買依頼が承認されると、転送リクエストを履行するために転送オーダーが自動的に作成されます。
倉庫から経費事業所への品目の転送のリクエスト
ニューヨークのウェアハウスV1の横にある例を考えてみます。 プロトタイプを作成し、シアトルの倉庫M1に在庫があり、使用可能な品目が必要です。 プロトタイプを完了するには、倉庫M1から倉庫V1へのこの品目の転送をリクエストし、事務所の事業所に搬送する購買依頼を作成します。 ソース組織M1の品目の原価は、このトランザクションの振替価格として適用されます。
プロトタイプの品目をオーダーする購買依頼を作成する手順は、次のとおりです:
- 品目を識別し、品目を転送するオーダーを発行します。
- 品目を提供できるソース組織を識別します。 オプションで、品目が在庫にあるソース保管場所を識別します。
- このURLでPOST操作を実行し、リクエスト本文の詳細を指定します。
- オプションで、カスタム処理retrieveTransferPriceAndTaxを起動して、社内資材転送明細に対して価格および税金を計算します。 このカスタム処理は、振替価格が計算されていない明細に対して発行時にも呼び出されます。
内部資材転送リクエストの作成
URLの例
このリソースURL形式を使用します。
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"
リクエストの例
{ "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 } ] } ] }
レスポンスの例
品目の供給ソースに関連するレスポンス・ペイロードのタグに注意してください。 SourceTypeのInventoryは、レコードが内部資材転送であることを示します。 品目を提供する組織は、M1 Seattle Manufacturingです。
JSON形式のレスポンス本文の例を次に示します。
{ "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" } ] }
振替価格の計算
URLの例
このリソースURL形式を使用します。
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"
リクエストの例
{ "name":"retrieveTransferPriceAndTax", "parameters":[] }
レスポンスの例
{ "result": { "STATUS": [ { "CODE": "SUCCESS" } ] } }
1つの購買依頼明細の取得
URLの例
このリソースURL形式を使用します。
GET
curl -u username:password "https://servername/fscmRestApi/resources/version/purchaseRequisitions/purchaseRequisitionsUniqID/child/lines/linesUniqID"
レスポンスの例
振替価格を計算した後、購買依頼を取得して、ソース組織M1から振替の原価をレビューできます。 計算されたUSD 175の振替価格を参照してください。
{ "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" } ] }