Questions tagged [product]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
19 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
0answers
7 views

Use of contract item in SalesCloud

I have a question about contract object in sales cloud. Currently I'm working with manufacturing company. They have their own sales process. We are trying to implement their process to the sales cloud....
0
votes
1answer
81 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
0answers
24 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
0answers
207 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
1answer
22 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 ...
1
vote
0answers
31 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
1answer
37 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
1answer
27 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
0answers
63 views

Update the Bundle Product Quantity on behalf of SUM of Product Options quantities

Can you please help me with this scenario? I need to update the Bundle Product field, on behalf of the product options fields. My bundle structure is Bundle Product A: (Quantity) Product Option B: ...
0
votes
1answer
80 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
1answer
318 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
0answers
85 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
1answer
93 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
0answers
12 views

How to show information from a custom object linked to the product2 object via a Lookup field via a lightning component in a community

I am new to coding for Salesforce Communities. I created a custom object called Seller (Seller__c). Within the object i have some fields like Name, Company_address__c. On the Product2 object I created ...
0
votes
1answer
35 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
1answer
32 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
1answer
49 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
1answer
22 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 ...
0
votes
1answer
895 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
1answer
22 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
1answer
20 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
0answers
100 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
1answer
112 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
1answer
90 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
0answers
25 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
1answer
24 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
0answers
114 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
1answer
220 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
1answer
185 views

Create a product from code in SFCC

Is it possible to create a product in code in Commerce Cloud?
0
votes
1answer
64 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
1answer
141 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
1answer
308 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
1answer
400 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
1answer
51 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
1answer
492 views

Salesforce CPQ: Sum up the options price in bundle product(main product)

I've been trying different models in salesforce cpq. Am trying to achieve the usecase I have in salesforce CPQ. I want to sum up all the options price and show in the main product while adding into ...
0
votes
1answer
23 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? ...
5
votes
1answer
4k 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'...
7
votes
2answers
178 views

Throwing System.QueryException on Batch Class for field “IsArchived” on Product2

We're using Schema.getGlobalDescribe().get(objectName).getDescribe().fields.getMap()to fetch all the fields in Product2 and build a dynamic query. When the string is used in database.query() method, ...
2
votes
1answer
195 views

Purge an archived Product

In my orgs, for some truly obscure reasons, a Product has been archived. I've bookmarked it, and I can now see it with the direct url ( MYORGSURL/objectId ), but I can't do anything with it: I can't "...
2
votes
1answer
530 views

Update of quantity is modifying Sales Price but not Total Price

Can anyone help me out in understanding the below functionality. When i am trying to change Quantity on OopportunityLineItem, SalesPrice is getting change but not the Total Price. For Ex - Sales ...
0
votes
1answer
195 views

Trying to do an SOQL Query for all product names and their Price books

I Have a Salesforce Org where there are almost 1000 products and 51 Price books, I want to know a query where I can get each product and the price books they belong to. Any help is much appreciated!
1
vote
1answer
59 views

Something updated over the weekend and now my visualforce page isn't working as expected

I have a web booking form that was working on Friday and today it isn't. It stopped displaying the fields from the Product object. There aren't any errors in the VF or the Console. Does this sound ...
5
votes
1answer
1k views

In which sequence should I be creating/inserting order/orderItem/pricebookEntry/product2?

I'm on the advanced apex super badge step 7, and before this I thought I had a good understanding of order/orderItem/pricebookEntry/product2/pricebook2 objects. However, upon creating my own ...
7
votes
1answer
519 views

SLEEPY Strikes again - Validation bugs

I've got a class which uses a wrapper class to handle OpportunityLineItem's which both have ids and don't have an id. Before calling an upsert on these records to update them, I extract the records ...
0
votes
1answer
287 views

Product PickList on Opportunity Object

My sales team sells a large variety of products from different manufacturers, business requirement is as follows. A user chooses the first picklist which is 1) Product Type : Values: Refrigrators ...
3
votes
1answer
1k views

Find all Product2 records that do NOT have a PricebookEntry in the Standard Price Book

We have come to find that we have a small amount of products that have Product2 records, but no PricebookEntry for them. I'm trying to query for just those products, but I am having trouble with the ...
1
vote
1answer
504 views

Make Price Book Entry object's Product Code field Read/Write

I'd like to automatically create Standard Price Book entries for new products using dataloader.io. I am successfully creating the new products, using the Product Code as the ID. But when I go to ...
1
vote
1answer
39 views

Removal of List elements from another Lists?

There are two lists (UserProduct And List Product), each of them holding Product code and Product Name. On selecting a particular user from picklist UserProduct Lists displays Products based on ...
-2
votes
1answer
143 views

iam inserting an Opportunity record, but I need it to have HasOpportunityLineItem = true (HasOpportunityLineItem read only field)

iam inserting an Opportunity record, but I need it to have HasOpportunityLineItem = true (HasOpportunityLineItem read only field) present HasOpportunityLineItem = false but i need to ...