Legge til kontekstkodeilordninger i linjeelementet i Discovery-prosedyre med JSON
Hvis du vil konfigurere en oppdagelsesprosedyre til å bruke avansert detaljlinjeprising med utledede prisprodukter, kopierer og limer du inn kartlinjeelementet for JSON-koden for utledet prising i en oppdagelsesprosedyre i Omsetningsprising.
Nødvendige utgaver
Tilgjengelig i Lightning Experience
Tilgjengelig i Enterprise, Unlimited og Developer Edition i Revenue Cloud der Transaksjonsbehandling er aktivert
Nødvendig brukertillatelse
For å konfigurere og bruke avansert detaljlinjeprising:
Salesforce-administrator
OG
Tillatelsessettet Prisutformingstidsbruker
Finn og velg Oppdagelsesprosedyrer fra Appstarter, og velg deretter en oppdagelsesprosedyre som skal oppdateres.
Legg til to nye elementer i oppdagelsesprosedyren for prisutledede produkter: Innstillinger for oppdagelse og Tilordningslinjeelement.
Legg til kontekstkodenilordningene i kartlinjeelementet med denne JSON-koden.
{"componentName":"Map Line Item","businessKnowledgeModelName":"BreakdownLineMapping","usageType":"PricingDiscovery","elementAttributes":null,"parameters":null,"inputVariablesMappingText":{"section-0-input1":"LineItem","section-1-input1":"EffectiveFrom","section-2-input1":"EffectiveTo","section-3-input1":"DerivedPricingAttribute","section-0-output":"SalesTrxnItemDetailSource","section-1-output":"ItemDetailEffectiveFrom__std","section-2-output":"ItemDetailEffectiveTo__std","section-3-output":"ItemDetailDerivedPricingAttribute__std","sectionCount":"4","sectionJsonString1":"{\"whereConditions\":[{\"field\":{\"dataType\":\"Text\",\"name\":\"section-0-input1\",\"value\":\"LineItem\",\"allowCompatibleDataTypes\":true},\"value\":{\"dataType\":\"Text\",\"name\":\"section-0-output\",\"value\":\"SalesTrxnItemDetailSource\",\"allowCompatibleDataTypes\":true}}]}","sectionJsonString2":"{\"whereConditions\":[{\"field\":{\"dataType\":\"DateTime\",\"name\":\"section-1-input1\",\"value\":\"EffectiveFrom\",\"allowCompatibleDataTypes\":true},\"value\":{\"dataType\":\"DateTime\",\"name\":\"section-1-output\",\"value\":\"ItemDetailEffectiveFrom__std\",\"allowCompatibleDataTypes\":true}}]}","sectionJsonString3":"{\"whereConditions\":[{\"field\":{\"dataType\":\"DateTime\",\"name\":\"section-2-input1\",\"value\":\"EffectiveTo\",\"allowCompatibleDataTypes\":true},\"value\":{\"dataType\":\"DateTime\",\"name\":\"section-2-output\",\"value\":\"ItemDetailEffectiveTo__std\",\"allowCompatibleDataTypes\":true}}]}","sectionJsonString4":"{\"whereConditions\":[{\"field\":{\"dataType\":\"Boolean\",\"name\":\"section-3-input1\",\"value\":\"DerivedPricingAttribute\",\"allowCompatibleDataTypes\":true},\"value\":{\"dataType\":\"Boolean\",\"name\":\"section-3-output\",\"value\":\"ItemDetailDerivedPricingAttribute__std\",\"allowCompatibleDataTypes\":true}}]}"},"outputVariablesMappingText":{}}
Lagre endringene.
Hjalp denne artikkelen med å løse problemet ditt?
La oss få vite det slik at vi kan forbedre!
Laster
Salesforce Help | Article
Cookie Consent Manager
General Information
Required Cookies
Functional Cookies
Advertising Cookies
General Information
We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required Cookies
Always Active
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional Cookies
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising Cookies
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.