Questions tagged [product]
The product tag has no usage guidance.
151
questions
-4
votes
1
answer
24
views
I am unable to edit / delete archive product
I can see it with the direct url ( orgurl/recordId ), but I can't do anything with it: I can't edit or delete this record when I opened this record in salesforce classic display "This record has ...
0
votes
0
answers
16
views
how to disable products with same product family with the help of product rule in salesforce cpq
i have 5 products (p1, p2, p3, p4, p5) with same product family (p f 1) for all 5 products. and a bundle that has all 5 products. so if i select any one product with product family (p f 1) then all ...
3
votes
1
answer
58
views
How to clean Product Item Transaction from Storage
We are currently having almost 6 GB space occupied by Product Item Transaction object. We want to Delete All Product Item Transaction records except for current and last Year. The object is not ...
0
votes
1
answer
37
views
How to store information on Product stocks with variable number of warehouses
In my recent Salesforce project, we came across tough problem storing product stocks coming from integration with ERP API.
Initially there were only 10 warehouses and thus there was 10 fields on ...
0
votes
3
answers
41
views
Map or String: what do I have to use?
I need to create a method that receives three strings: color, brand and model.
Would it be better to put a map that would receive for example ("color", "blue") or directly receive &...
1
vote
0
answers
91
views
Get 10+ level category hierarchy relationship
Needs to get the category hierarchy from top to bottom
Which mean we have c1 code from c1 needs to get c1-->c2-->c3-->c4--> etc,.
I have an 'category' object it stores all the category ...
0
votes
1
answer
65
views
I want to copy Order Products to Contract Line Items using Apex
I have a requirement of creating Service Contracts when Order is Approved and add Order Products inside to Contract Line Items in Service Contract. Following is the code I am using to accomplish what ...
0
votes
1
answer
30
views
CPQ behavior for Products
I just joined a company that has been having some issues with CPQ for quite some time now.
Most of the issues are related on how CPQ was set up, and that they can't report on the products they have ...
0
votes
0
answers
13
views
Manually add Product/Variants in CC Dashboard
I'm a Ruby on Rails developer working on integrating Salesforce Commerce Cloud with Rails app. I've registered a Developer account/org on xxx.lightning.force.com and created a Connected App. I wonder ...
0
votes
1
answer
236
views
Salesforce Products and Tiered Product Pricing Structure
I am converting our organization to use the Salesforce Products and Price Books features. I've been searching for articles and guidance on best practices and have a basic knowledge of how all of that ...
0
votes
0
answers
21
views
Is it possible to hide/disable the subcategory in storefront for a certain user when it log ins?
I have created a store in storefront. As of now i have a category which is called product, and 3 subcategories. A, B, C. What i would like to do is if "A" user log in, he can only see the ...
0
votes
1
answer
78
views
sfdx export products and related custom object
I have a custom object, myObject__c and on the Product2 object we have a field (Product2.myObject_lookup__c) that is a lookup to the myObject__c object. I need to export the relationship between ...
-1
votes
1
answer
34
views
Adding MultiplePricebooks to an Opportunity [closed]
We have three different set of Prices for an Product . Lets say (Type A, Type B, Type C) and each type has three set of prices (List Price,Sales Price and Landing Price). We have a requirement to add ...
0
votes
1
answer
247
views
How to remove parameters from my URLS [closed]
I have parameters at the end of my product URL and I do not know at to remove them.
Here is the type of parameters I have :
?categoryID=10100#start=0
I thought it would be in URL rules but I couldn't ...
1
vote
1
answer
78
views
Is there a built-in way to filter product search results based on customer group?
Additional context: most responses I've seen to similarly asked questions either here, or on unofficial salesforce slack channel seem to imply that "custom code" is the solution. After some ...
0
votes
1
answer
307
views
Custom Text field is not editable in Edit layout
I have added a custom field to the edit layout of the Order Product object, which appears after I click on Add Products button on the Order record page, in the Order products-related list. But I am ...
1
vote
1
answer
265
views
How to change attribute from a product?(SFCC)
I'm totally fresher on Salesforce B2c commerce and the instructor of the classes passed one task that i am struggling to solve.
Task:
All the products sold by weight needed to change to unit.
For ...
0
votes
1
answer
585
views
Insert PriceBookEntry using Product2 External Id field
I am developing an external application which will insert & update products and their pricebook entries into Salesforce system.
In order to avoid maintaining the Salesforce ProductId in my ...
0
votes
0
answers
35
views
Mysterious SOSL results for Product2: adding term increases number of results
I am running SOSL queries on the Product2 table and I am getting results that I don't understand. Our Product2 table contains about 17,000 items, most of them tyres. A typical product name is "...
1
vote
1
answer
1k
views
Product Media Tab not allowing to add Media
I am new to B2B Commerce Lightning and I am trying to add Media to Products, but Media Product Tab only shows this message three times:
"There was a problem getting the media group record. Your ...
0
votes
1
answer
26
views
Best way to show a field that queries data from other object based on field selections?
Use case is: I have products that have different prices from different suppliers. Maintaining several pricebooks is too complicated and we would need multiple pricebooks for Opty and orders. So we ...
2
votes
0
answers
36
views
How can Product2.StockKeepingUnit already exist in a test? [duplicate]
I'm trying to create some Apex tests.
Of course I am NOT using SeeAllData=true.
When I try to insert some instances of Product2, even though I've inserted none before, I get:
System.DmlException: ...
0
votes
1
answer
112
views
What is "Optional For" under product related list in salesforce cpq?
Below is the image of "Optional for" related list , and what is the diff between options and optional for
0
votes
1
answer
78
views
SOSL Query on Product does not search the standard Family field
I am executing the following query:
FIND {LANDWAGEN} IN ALL Fields RETURNING Product2(ProductCode ORDER BY ProductCode)
I know there are products with this value in the Family field, but 0 rows are ...
0
votes
1
answer
360
views
How to display Product fields and it's pricebookentries in a single datatable?
I need to dynamically put products and the products' pricebookentries in a single row in a datatable. If I add a pricebook, a new column and it's prices should also be displayed.
I could do this for ...
0
votes
1
answer
2k
views
Single SOQL query to list ALL Products with ALL Quote Line Items and ALL Order Products?
While both Quote Line Item and Order Product have a lookup fields to Product, no relationship name is shown in Workbench.
Further digging indicates a somewhat hidden PriceBookEntry object exists in ...
1
vote
0
answers
316
views
Override Standard 'New' button on Product Object for Lightning Experiance is Not Available
So I want to override New Action in lightning for product object.
So I go to Set up -> Object Manager -> Product -> Button, Links And Actions
I click on Edit for New and I see below screen,
...
0
votes
1
answer
1k
views
How to query products from pricebook
I have a pricebook set up with several products in it. I would like to query these products and display them on my React app.
I am a little confused on how to go about this as I am a newbie to ...
0
votes
1
answer
232
views
How can I condense multiple lookups from one Object, to one related list?
Use Case:
I have a custom object that I've created, that can look up to the Salesforce standard object Product, up to 12 times. Because of the field structure of doing that, it has created 12 ...
0
votes
1
answer
79
views
SOQL select archived product2 records
There are some records in one of the custom objects that relate (lookup) to archived product2 records.
I am unable to select archived Prodcut2 records even though I can access them via UI... I am ...
0
votes
1
answer
209
views
The clone button wont clone opportunity with products in salesforce classic
Hi As per the below document from salesforce
https://help.salesforce.com/articleView?id=000325215&type=1&mode=1
We have opportunity with products, when we try to clone the clone button did ...
0
votes
1
answer
33
views
Product Catalog "Import Twice Daily" option
I need to populate the product catalog in Marketing Cloud using the FTP integration. I intend to use the "Scheduled Import Time" option, but I fail to understand the relationship between the "Import ...
1
vote
1
answer
4k
views
What does "Use" mean in Organization-Wide Defaults of Pricebook object?
I was looking for OWD Settings for Product2 object and found that OWD for Product2 is managed by Pricebook object.
On checking the defaults in Pricebook object, it is set at Use unlike others which ...
0
votes
1
answer
55
views
Adding second product to an opportunity if a specific product is first added
I have 65 products all under the same family spread across 4 sub families.
Product 01-20 = SubFamily1 / Chair
Product 21-40 = SubFamily2 / Desk
Product 41-60 = SubFamily3 / Conference table
Product ...
0
votes
1
answer
31
views
UI for Adding Products to an Opportunity
I need a UI for adding products to an opportunity, which can be used during specific high volume times. I can't seem to find anything appropriate on App Exchange. Attempting to create a flow won't ...
2
votes
0
answers
251
views
Apex test class enable product scheduling
Test Class Error:
System.DmlException: Upsert failed. First exception on row 0; first
error: FIELD_INTEGRITY_EXCEPTION, field integrity exception: unknown
(scheduling not enabled on product): [...
0
votes
1
answer
252
views
CPQ - Bundle Configuration using Sections Option Layout Not Acting as Expected
We have built a Bundled Product in salesforce. We are using the sections option layout. The first criteria within the bundle (DnA or Suite) should allow the user the ability to select one of the ...
0
votes
1
answer
252
views
How to query archived product
I noticed that archived products don't get returned in soql. Is there a way to accomplish this?
Example query:
SELECT Id, IsArchived FROM Product2 WHERE Id = '01t50000001CQp6' AND IsArchived = true
...
1
vote
0
answers
33
views
Creating product with bundle from api
I'm trying to create a product and bundle with another existing product referring this document. It creates the Bundle1 but doesn't assign to it the specified Product1 as bundle. Any help would be ...
1
vote
1
answer
87
views
Associate Multiple Products to Activity
We have a unique use case where the our partners would like to associate an Activity to multiple products. I cannot create a junction object because it looks like I cannot have another master (...
1
vote
0
answers
194
views
CPQ: Automating the Selection of Product Options based on fields in custom objects. Product Rule or Apex?
My use case is I have a screen flow that asks questions that are needed to populate the quote correctly ie: Are there curbs involved, and if so, what concrete PSI is needed: 3500, 4000, 4500; Are ...
0
votes
1
answer
407
views
SFCC API to remove a product from the product set
Are there any SFCC API to remove a product from the product set?
It is a very easy thing to do from BM: just go to the Product Sets tab, select a product set from which to remove, go to Products tab, ...
2
votes
1
answer
308
views
Create a product from code in SFCC
Is it possible to create a product in code in Commerce Cloud?
0
votes
1
answer
149
views
Linking ContentDocuments to Products
I am looking to associate ContentDocuments to Product2 records based on values in the ContentVersion record. For example I am uploading a new File record in Salesforce that is a document about ...
0
votes
1
answer
297
views
OpportunityLineItem formula field is not getting correct values in Test class
I have a formula field in OpportunityLineItem -'Is Available'(IsAvailable__c) which takes values from product object's checkbox field -'Is Available'
FORMULA : PricebookEntry.Product2.IsAvailable__c
...
1
vote
1
answer
513
views
Net total of a quote line item is changing upon calculation
I have a product set to $5000. The product option is set to $5000. When the product is added to the bundle and it is saved, it jumps to $9000. The standard price of the product is set to 5000, it is ...
1
vote
1
answer
965
views
Is it possible to update Order Product on Draft Order?
We are trying to utilize the Order object, but we're finding that if we create an Order Product, we are unable to change the product (i.e. essentially the Pricebook entry), even if we're in a Draft ...
0
votes
1
answer
100
views
Duplicate Product Code report
I am trying to create a scheduled report that will come out daily when a duplicate product code has been entered. What formula can I use for this?
0
votes
1
answer
28
views
How to store only product type/range on Opportunity when specific product choice unknown?
Because it's not possible to change a product once added to an opportunity, what's the standard way to store product family, qty, specifications, etc. while customer decides on the specific product?
...
6
votes
2
answers
8k
views
How to customise columns in Add Products popup
Question
How do I customise the columns that appear in the Add Products popup which appears if you click the Add Products button on the Products related list on the Opportunities record page?
What I'...