Академический Документы
Профессиональный Документы
Культура Документы
HeaderVO)
Case1:-
https://docs.oracle.com/en/cloud/saas/supply-chain-management/19b/faupr/use-
cases.html#FAUPR3004194
Retrieved describe of “documentPrices” REST before adding OrderTypeCode_Custom, Below is the reference
Rest Service: /fscmRestApi/priceExecution/documentPrices/getSalesPricingStrategy
https://docs.oracle.com/en/cloud/saas/supply-chain-management/19a/fasrp/op-fscmrestapi-
priceexecution-documentprices-getsalespricingstrategy-post.html
First I have described below to know what all the attributes we can access under “getSalesPricingStrategy”
https://fuscdrmsmc290-fa-ext.us.oracle.com/fscmRestApi/priceExecution/documentPrices/describe
Method: GET
describe_of_Document_Prices_before_adding_OrderTypeCode_Custom.json-
describe_of_Docume
nt_Prices_before_adding_OrderTypeCode_Custom.json
describe of
Document Prices After adding OrderTypeCode_Custom.json
Output
Same we could able to get from REST service, For Case1.
Case2:-
https://docs.oracle.com/en/cloud/saas/supply-chain-management/19a/faupr/use-
cases.html#FAUPR2426091
Retrieved describe of “documentPrices” REST before adding SalesChannel_Custom, Below is the reference
Rest Service: /fscmRestApi/priceExecution/documentPrices/getSalesPricingStrategy
https://docs.oracle.com/en/cloud/saas/supply-chain-management/19a/fasrp/op-fscmrestapi-
priceexecution-documentprices-getsalespricingstrategy-post.html
First I have described below to know what all the attributes we can access under “getSalesPricingStrategy”
https://fuscdrmsmc290-fa-ext.us.oracle.com/fscmRestApi/priceExecution/documentPrices/describe
Method: GET
describe of
Document Prices After adding OrderTypeCode_Custom.json
Attribute Value
Attribute Value
Attribute Value
Name SalesChannel
Code SalesChannel
API Name saleschannel
1. On the Edit Extensible Flexfield page, in the Category area, click the row that contains the
following value.
Attribute Value
2. On the Associated Contexts tab, click Actions, and then click Select and Add.
Attribute Value
3. In the Select and Add dialog, search for the following value.
4. In the search results, click the row, click Apply, and then click OK.
5. In the Associated Contexts tab, notice that the Associated Contexts tab now displays a row
for Pricing Header Information, which means you successfully assigned the Pricing Header
Information context to the Additional Header Information category.
6. Click Save.
Specify where to display the extensible flexfield:
Attribute Value
3. This step assign the contexts to the page in the Order Management work area that will
display the extensible flexfield.
4. On the Edit Extensible Flexfield page, in the Category Details area, click the row that
contains Pricing Header Information in the Display Name column.
5. In the Pricing Header Information - Associated Contexts Details area, click Actions, and
then click Select and Add.
6. In the Select and Add dialog, search for Pricing Header Information, wait for the search to
finish, click the result row, click Apply, and then click OK.
7. Click Save and Close.
8. On the Manage Extensible Flexfields page, click Deploy Flexfield, and then use the
Processing dialog that displays to monitor the deployment.
Deploy makes the extensible flexfield available in the Order Management work area.
Attribute Value
Entity PricingHdrEff_Custom
Descriptio Entity for the flexfield on the sales order header. This modification supports the business flow that uses a
n sales channel.
6. In the Details area, add the following attributes, and then click Save.
Specify the service:
Attribute Value
Service PriceSalesTransaction
2. In the Details area, on the Entities tab, click Actions, click Add Row, set the following values,
and then click Save.
Attribute Value
Entity PricingHdrEff_Custom
Read Contains a check mark.
Write Does not contain a check mark.
Also add PricingHdrEff_Custom entity same into GetSalesPricingStrategy Service, So that we can
call in REST GetSalesPricingStrategy service.
Source OrderHeader
2. In the OrderHeader Details area, click Actions, click Add Row, set the following values, and
then click Save.
Attribute Value
Entity PricingHdrEff_Custom
Type View Object
View PricingHeaderInformation
Object
Make sure the value you enter for View Object matches the value from the Code attribute on
the Create Context page you used when you created the extensible flexfield earlier in this
topic.
Query Unique Identifier
Type
Query HeaderId
Attribute
Make sure the value you enter for Query Attribute matches the name you used earlier in this
topic when you defined the entity for the extensible flexfield.
Navigate to oracle\apps\scm\doo\processOrder\flex\headerContextsB\view
HeaderId_Custom HeaderId
Make sure the value you enter matches the name you used earlier in this topic when
you defined the entity for the extensible flexfield.
SalesChannel_Custo Saleschannel
m
Make sure the value you enter matches the value of the API Name attribute on the
Create Segment page that you used when you defined the extensible flexfield
earlier in this topic.
View Object value of “SalesChannel_Custom”You can get it from archieve file which you have
downloaded above
In this section, you modify the matrix class so it uses the SalesChannel_Custom attribute of the
PricingHdrEff_Custom entity when it determines whether the condition is true. For details about how
a matrix class works, see Managing Matrix Classes: Explained.
Modify the matrix class:
Attribute Value
Attribute Value
In this section, you modify a predefined pricing algorithm so the pricing algorithm constrains the set
of records that it processes to the PricingHdrEff_Custom entity. For details about pricing algorithms,
see Managing Pricing Algorithms: Explained.
Attribute Value
Name PricingHdrEff_Custom
Variable Path PriceRequest.PricingHdrEff_Custom
Cardinality Zero or one
Primary Does not contain a check mark.
Data Set Join [HeaderId_Custom:{Header.HeaderId}]
Add same in Step12, Get Header Strategy Assignment Matrix to retrieve from
getsalepricingstrategy REST service.
Now Navigate to
Manage Pricing Strategy AssignmentsNow create New Create Assignment Matrix with Channel
(i.e. Order Headr EFF ,PricingHdrEff_Custom) as below.
describe_of_Docume
nt_Prices_aftter_adding_ PricingHdrEff_Custom.json
Input JSON:-
"Header": [{
"CustomerId":1006
}],
"PricingServiceParameter":[{
"PricingContext":"SALES"
}],
"PricingHdrEff_Custom":[
"SalesChannel_Custom":"ORA_DIRECT"
}
Output JSON:-
"Header": [
"AllowCurrencyOverrideFlag": true,
"AppliedCurrencyCode": "USD",
"CustomerId": 1006,
"DefaultCurrencyCode": "USD",
"HeaderId": 0,
"PricingSegmentCode": "CORPORATE_SEGMENT",
"PricingStrategyId": 300100071623888
],
"PricingHdrEff_Custom": [
"HeaderId_Custom": 0,
"SalesChannel_Custom": "ORA_DIRECT"
],
"PricingServiceParameter": [
"PricingContext": "SALES"