「ネゴシエーション・レスポンスの作成」
ドラフト・サプライヤ・ネゴシエーション・レスポンス・リソースを使用して、ドラフト・ステータスのサプライヤ・レスポンスを作成できます。 レスポンスを取得し、明細のレスポンス価格、納期、要件への回答などのレスポンス値を更新できます。
サプライヤ・レスポンスを改訂またはコピーすることもできます。 レスポンスを改訂またはコピーすると、添付文書を含むすべてのソース・レスポンス詳細も新しいレスポンスにコピーされます。
Create Negotiation Response(ネゴシエーション応答の作成)ユーザー定義処理を使用して、暫定応答を作成できます。 次に、PATCH標準処理を使用して、レスポンス・ヘッダーと明細、要件のレスポンス値を更新します。 POST、PATCHおよびDELETEアクションを使用して、レスポンス添付を追加、更新または削除したり、価格階層または価格分岐を追加または削除することもできます。
-
レスポンスを作成、コピーまたは改訂します。
-
ドラフト・レスポンスを取得します。
-
明細レスポンス価格、納期、要件回答、サプライヤ・コメントなどのレスポンス値で更新します。
-
レスポンス添付をヘッダー、明細または要件に追加します。
-
外部原価ファクタへのレスポンスを更新します。
-
明細属性のレスポンスを更新します。
-
価格階層または価格分岐の追加
-
ドラフト・レスポンスを検証します。
-
下書きのレスポンスを送信します。
さらに、次の操作を実行できます:
-
サロゲート・レスポンスを作成します。
-
ネゴシエーション条件の受諾を記録します。
-
ネゴシエーション修正の確認を記録します。
代替明細は作成できません。
下書きレスポンスの作成
スティーブ・ジョンソンが、現在の会計年度にラップトップを調達するための見積依頼を公開したとします。 スティーブは、スーパー・コンピュータとテクノ・エンタープライズという2つのサプライヤにネゴシエーションへの参加を依頼しています。 スティーブは、参加しているサプライヤが受け入れたネゴシエーション条件を追加しました。 これで、Create Negotiation Response(ネゴシエーション応答の作成)ユーザー定義処理を使用して、スーパー・コンピュータに対してドラフト応答が作成されました。
リクエストの例
{
"parameters": {
"AuctionHeaderId"300100546799787",
"Negotiation": "40124",
"ProcurementBU":"Vision Scotland",
"ProcurementBUId":"15567",
"Supplier": "Super Computers",
"SupplierId":"12737",
"SupplierContact":"Harley, Kims",
"SupplierContactId":"299954",
"SupplierSite":"Edinburg",
"SupplierSiteId": "5058",
"TermsAcceptedFlag": true,
"ResponseCurrency":"USD"
}
レスポンスの例
{
"Response": "188755"
}
レスポンス・ヘッダーおよび明細の更新
Steveは、参照番号やバイヤーへの連絡事項などのネゴシエーションのレスポンス値を提供し、PATCH標準処理を使用して、すべての明細のレスポンス価格、レスポンス数量、約束搬送日およびバイヤーへの連絡事項を更新します。
サンプルURL
このリソースURL形式を使用します。
POST
curl -X PATCH -u "username:password" -H "Content-Type:application/vnd.oracle.adf.batch+json" -d 'request payload' "https://servername/fscmRestApi/resources/version"
リクエストの例
JSON形式のリクエスト本文の例を次に示します:
{
"parts": [
{
"id": "part0",
"path": "/draftSupplierNegotiationResponses/188755",
"operation": "update",
"payload": {
"ReferenceNumber": "778644",
"NoteToBuyer": "Final response"
}
},
{
"id": "part1",
"path": "/draftSupplierNegotiationResponses/188755/child/lines/1",
"operation": "update",
"payload": {
"ResponsePrice": 1250,
"ResponseQuantity": 50,
"PromisedDeliveryDate": "2023-05-31"
}
},
{
"id": "part2",
"path": "/draftSupplierNegotiationResponses/188755/child/lines/2",
"operation": "update",
"payload": {
"ResponsePrice": 1100,
"ResponseQuantity": 50,
"PromisedDeliveryDate": "2023-05-31"
}
}
]
}
レスポンスの例
JSON形式の応答本文の例を次に示します。
{
"parts": [
{
"id": "part0",
"path": "https://servername/fscmRestApi/resources/version/draftSupplierNegotiationResponses/188755",
"operation": "update",
"payload": {
"ResponseNumber": 188755,
"ResponseDisplayName": "Quote",
"ResponseIntent": "NONE",
"ResponseStatus": "Draft",
"PreviousResponseNumber": null,
"OriginalResponseNumber": 188755,
"AuctionHeaderId": 300100546799787,
"NegotiationTitle": "Super Computers Ordering",
"Negotiation": "40124",
"CloseDate": "2022-12-31T17:53:00+00:00",
"TimeRemaining": "58 Days 23 Hours",
"BuyerId": 100010026863791,
"Buyer": "Cody Dapolito",
"BuyerEmail": "sendmail-test-discard@oracle.com",
"CompanyId": 202,
"Company": "Vision Corporation Enterprise",
"SupplierId": 12737,
"Supplier": "Super Computers",
"SupplierSiteId": 5058,
"SupplierSite": "Edinburg",
"SupplierContactId": 299954,
"SupplierContact": "Harley, Kims",
"TwoStageEvaluationFlag": false,
"NegotiationCurrencyCode": "USD",
"NegotiationCurrency": "US Dollar",
"ResponseAmount": 117500.00,
"ResponseCurrencyCode": "USD",
"ResponseCurrency": "US Dollar",
"ResponseCurrencyPricePrecision": 2,
"ResponseValidUntilDate": null,
"ResponseTypeCode": "PRIMARY",
"ResponseType": "Primary",
"ReferenceNumber": "778644",
"NoteToBuyer": "Final response",
"EvaluationStage": null,
"PriceDecrement": null,
"ProxyBidFlag": false,
"ProxyDecrementType": null,
"ProxyDecrementAmount": null,
"PartialResponseFlag": null,
"SurrogateResponseEnteredById": null,
"SurrogateResponseReceivedOn": null,
"SurrogateResponseEntryDate": null,
"SurrogateResponseFlag": false,
"SurrogDraftLockPersonId": null,
"SurrogateDraftLockPerson": null,
"SurrogDraftUnlockPersonId": null,
"SurrogateDraftUnlockPerson": null,
"MethodOfResponseCode": null,
"MethodOfResponse": null,
"DraftLocked": "Y",
...
"@context": {
"key": "188755",
"headers": {
"ETag": ...
},
"links": [
{
"rel": "self",
"href": "https://servername/fscmRestApi/resources/version/draftSupplierNegotiationResponses/188755",
"name": "draftSupplierNegotiationResponses",
"kind": "item"
},
{
"rel": "canonical",
"href": "https://servername/fscmRestApi/resources/version/draftSupplierNegotiationResponses/188755",
"name": "draftSupplierNegotiationResponses",
"kind": "item"
},
{
"rel": "child",
"href": "https://servername/fscmRestApi/resources/version/draftSupplierNegotiationResponses/188755/child/attachments",
"name": "attachments",
"kind": "collection"
},
{
"rel": "child",
"href": "https://servername/fscmRestApi/resources/version/draftSupplierNegotiationResponses/188755/child/lines",
"name": "lines",
"kind": "collection"
},
{
"rel": "child",
"href": "https://servername/fscmRestApi/resources/version/draftSupplierNegotiationResponses/188755/child/sections",
"name": "sections",
"kind": "collection"
}
]
}
}
},
{
"id": "part1",
"path": "https://servername/fscmRestApi/resources/version/draftSupplierNegotiationResponses/188755/child/lines/1",
"operation": "update",
"payload": {
"ResponseNumber": 188755,
"AuctionHeaderId": 300100546799787,
"LineId": 1,
"Line": "1",
"LineTypeId": 1,
"LineType": "Goods",
"GroupTypeCode": "LINE",
"GroupType": "Line",
"ItemId": null,
"Item": null,
"ItemRevision": null,
"LineDescription": "Laptop X800",
"AlternateLineNumber": 1,
"AlternateLineDescription": null,
"SupplierId":"12737",
"Supplier": "Super Computers",
"SupplierSiteId": 5058,
"SupplierSite": "Edinburg",
"CategoryId": 1,
"CategoryName": "Miscellaneous_1",
"StartPrice": null,
"TargetPrice": null,
"ResponsePrice": 1250,
"BestResponsePrice": null,
"BestResponseScore": null,
"LineAttributeScore": null,
"ProxyDecrement": null,
"ProxyMinimum": null,
"TargetQuantity": 50,
"ResponseQuantity": 50,
"ResponseEstimatedQuantity": null,
"UOMCode": "Ea",
"UOM": "Each",
"LineCloseDate": "2022-12-31T17:53:00+00:00",
"LineTargetPrice": null,
"LinePrice": null,
"LineAmount": 62500.00,
"PricingBasisCode": null,
"PricingBasis": null,
"TargetMinimumReleaseAmount": null,
"ResponseMinimumReleaseAmount": null,
"EstimatedTotalAmount": null,
"ShipToLocationId": 204,
"ShipToLocation": "V1- New York City",
"RequestedDeliveryDate": null,
"RequestedShipDate": null,
"PromisedDeliveryDate": "2023-05-31",
"PromisedShipDate": null,
"NoteToBuyer": "Final response",
"NoteToSupplier": null,
"SuppliersCanModifyPriceBreaksFlag": null,
"PriceBreakTypeCode": null,
"PriceBreakType": null,
"CreatedBy": "PONSupplier06",
"CreationDate": "2022-11-02T17:54:38+00:00",
"LastUpdatedBy": "PONSupplier06",
"LastUpdateDate": "2022-11-02T18:14:55.250+00:00",
"@context": {
"key": "1",
"headers": {
"ETag": ...
},
"links": [
{
"rel": "self",
"href": "https://servername/fscmRestApi/resources/version/draftSupplierNegotiationResponses/188755/child/lines/1",
"name": "lines",
"kind": "item"
},
{
"rel": "canonical",
"href": "https://servername/fscmRestApi/resources/version/draftSupplierNegotiationResponses/188755/child/lines/1",
"name": "lines",
"kind": "item"
},
{
"rel": "parent",
"href": "https://servername/fscmRestApi/resources/version/draftSupplierNegotiationResponses/188755",
"name": "draftSupplierNegotiationResponses",
"kind": "item"
},
{
"rel": "child",
"href": "https://servername/fscmRestApi/resources/version/draftSupplierNegotiationResponses/188755/child/lines/1/child/attachments",
"name": "attachments",
"kind": "collection"
},
{
"rel": "child",
"href": "https://servername/fscmRestApi/resources/version/draftSupplierNegotiationResponses/188755/child/lines/1/child/costFactors",
"name": "costFactors",
"kind": "collection"
},
{
"rel": "child",
"href": "https://servername/fscmRestApi/resources/version/draftSupplierNegotiationResponses/188755/child/lines/1/child/lineAttributeGroups",
"name": "lineAttributeGroups",
"kind": "collection"
},
{
"rel": "child",
"href": "https://servername/fscmRestApi/resources/version/draftSupplierNegotiationResponses/188755/child/lines/1/child/priceBreaks",
"name": "priceBreaks",
"kind": "collection"
},
{
"rel": "child",
"href": "https://servername/fscmRestApi/resources/version/draftSupplierNegotiationResponses/188755/child/lines/1/child/priceTiers",
"name": "priceTiers",
"kind": "collection"
}
]
}
}
},
{
"id": "part2",
"path": "https://servername/fscmRestApi/resources/version/draftSupplierNegotiationResponses/188755/child/lines/2",
"operation": "update",
"payload": {
"ResponseNumber": 188755,
"AuctionHeaderId": 300100546799787,
"LineId": 2,
"Line": "2",
"LineTypeId": 1,
"LineType": "Goods",
"GroupTypeCode": "LINE",
"GroupType": "Line",
"ItemId": null,
"Item": null,
"ItemRevision": null,
"LineDescription": "Laptop X400",
"AlternateLineNumber": 1,
"AlternateLineDescription": null,
"SupplierId": 12737,
"Supplier": "Super Computers",
"SupplierSiteId": 5058,
"SupplierSite": "Edinburg",
"CategoryId": 1,
"CategoryName": "Miscellaneous_1",
"StartPrice": null,
"TargetPrice": null,
"ResponsePrice": 1100,
"BestResponsePrice": null,
"BestResponseScore": null,
"LineAttributeScore": null,
"ProxyDecrement": null,
"ProxyMinimum": null,
"TargetQuantity": 50,
"ResponseQuantity": 50,
"ResponseEstimatedQuantity": null,
"UOMCode": "Ea",
"UOM": "Each",
"LineCloseDate": "2022-12-31T17:53:00+00:00",
"LineTargetPrice": null,
"LinePrice": null,
"LineAmount": 55000.00,
"PricingBasisCode": null,
"PricingBasis": null,
"TargetMinimumReleaseAmount": null,
"ResponseMinimumReleaseAmount": null,
"EstimatedTotalAmount": null,
"ShipToLocationId": 204,
"ShipToLocation": "V1- New York City",
"RequestedDeliveryDate": null,
"RequestedShipDate": null,
"PromisedDeliveryDate": "2023-05-31",
"PromisedShipDate": null,
"NoteToBuyer": "Final response",
"NoteToSupplier": null,
"SuppliersCanModifyPriceBreaksFlag": null,
"PriceBreakTypeCode": null,
"PriceBreakType": null,
"CreatedBy": "PONSupplier06",
"CreationDate": "2022-11-02T17:54:38+00:00",
"LastUpdatedBy": "PONSupplier06",
"LastUpdateDate": "2022-11-02T18:14:55.262+00:00",
"@context": {
"key": "2",
"headers": {
"ETag": ...
},
"links": [
{
"rel": "self",
"href": "https://servername/fscmRestApi/resources/version/draftSupplierNegotiationResponses/188755/child/lines/2",
"name": "lines",
"kind": "item"
},
{
"rel": "canonical",
"href": "https://servername/fscmRestApi/resources/version/draftSupplierNegotiationResponses/188755/child/lines/2",
"name": "lines",
"kind": "item"
},
{
"rel": "parent",
"href": "https://servername/fscmRestApi/resources/version/draftSupplierNegotiationResponses/188755",
"name": "draftSupplierNegotiationResponses",
"kind": "item"
},
{
"rel": "child",
"href": "https://servername/fscmRestApi/resources/version/draftSupplierNegotiationResponses/188755/child/lines/2/child/attachments",
"name": "attachments",
"kind": "collection"
},
{
"rel": "child",
"href": "https://servername/fscmRestApi/resources/version/draftSupplierNegotiationResponses/188755/child/lines/2/child/costFactors",
"name": "costFactors",
"kind": "collection"
},
{
"rel": "child",
"href": "https://servername/fscmRestApi/resources/version/draftSupplierNegotiationResponses/188755/child/lines/2/child/lineAttributeGroups",
"name": "lineAttributeGroups",
"kind": "collection"
},
{
"rel": "child",
"href": "https://servername/fscmRestApi/resources/version/draftSupplierNegotiationResponses/188755/child/lines/2/child/priceBreaks",
"name": "priceBreaks",
"kind": "collection"
},
{
"rel": "child",
"href": "https://servername/fscmRestApi/resources/version/draftSupplierNegotiationResponses/188755/child/lines/2/child/priceTiers",
"name": "priceTiers",
"kind": "collection"
}
]
}
}
}
]
}
ドラフト・レスポンスの検証
スーパー・コンピュータは、ユーザー定義の検証処理を使用して、ドラフト・レスポンスで更新されたレスポンス値にエラーがあるかどうかを検証できるようになりました。
リクエストの例
{
"parameters": {
"Response": "188755",
"ResponseAction": "Validate"
}
}
レスポンスの例
{
"result": {
"Response": "188755",
"ResponseStatus": "Draft",
"Negotiation": "40124",
"NegotiationTitle": "Laptop Procurement FY23",
"ProcurementBU": "Vision Operations",
"Message": "Response was validated without errors"
}
}
下書きレスポンスの発行
レスポンスを正常に検証した後、スーパー・コンピュータは、Submit user-define(ユーザー定義の送信)処理を使用して、ネゴシエーションのドラフト・レスポンスを発行できます。 レスポンス・ステータスがドラフトからアクティブに変わります。
リクエストの例
{
"parameters": {
"Response": "188755",
"ResponseAction": "Submit"
}
}
レスポンスの例
{
"result": {
"Response": "188755",
"ResponseStatus": "Active",
"Negotiation": "40124",
"NegotiationTitle": "Laptop Procurement FY23",
"ProcurementBU": "Vision Operations",
"Message": "Response submitted successfully"
}
}
代理応答の作成
ネゴシエーション所有者は、サプライヤTechno Enterprisesからオフライン・レスポンスを受け取りました。 現在は、ユーザー定義処理ネゴシエーション・レスポンスの作成を使用して、サプライヤ会社およびサプライヤ担当Peter Mckinsenlyにかわって代理レスポンスを作成します。
リクエストの例
JSON形式のリクエスト本文の例を次に示します:
{ "AuctionHeaderId":"300100546799787",
"Negotiation": "40124",
"ProcurementBU":"Vision Scotland",
"ProcurementBUId":"15567",
"Buyer": "Kinley, Adam",
"BuyerId": "66152",
"Supplier": "Techno Enterprises",
"SupplierId":"12737",
"SupplierContact":"Mckinsenly, Peter",
"SupplierContactId":"292354",
"SupplierSite":"Edinburg",
"SupplierSiteId": "5058"
}
レスポンスの例
{
"Response": "188759"
}
レスポンスの改訂
ラップトップを調達するための見積依頼により、サプライヤはレスポンスを改訂でき、スーパー・コンピュータは送信されたレスポンスを改訂したいと考えています。 新しいドラフト・レスポンスは、すべてのレスポンス価格および添付が新しいドラフト・レスポンスにコピーされた状態で作成されます。
ResponseIntentをCopyとして使用して、レスポンスをコピーすることもできます。
リクエストの例
{ "AuctionHeaderId":"300100546799787",
"Negotiation": "40124",
"ProcurementBU":"Vision Scotland",
"ProcurementBUId":"15567",
"Supplier": "Super Computers",
"SupplierId":"12737",
"SupplierContact":"Harley, Kims",
"SupplierContactId":"299954",
"SupplierSite":"Edinburg",
"SupplierSiteId": "5058",
"ResponseIntent": "Revise",
"SourceResponse": "188755"
}
レスポンスの例
{
"Response": "188755"
}