Skip to main content

I am writing soql query to get unitprice,standard price fields which are in pricebook entry object.

select Id,Pricebookentry.unitprice,UseStandardPrice,Pricebookentry.StandardPrice from PriceBookEntry

[SELECT
    Id, Unitprice, UseStandardPrice, StandardPrice
    FROM PriceBookEntry
]

But if i use without "Pricebookentry.StandardPrice" in soql query it is working fine. How to get Pricebookentry.StandardPrice values into query

I am writing soql query to get unitprice,standard price fields which are in pricebook entry object.

select Id,Pricebookentry.unitprice,UseStandardPrice,Pricebookentry.StandardPrice from PriceBookEntry

But if i use without "Pricebookentry.StandardPrice" in soql query it is working fine. How to get Pricebookentry.StandardPrice values into query

I am writing soql query to get unitprice,standard price fields which are in pricebook entry object.

[SELECT
    Id, Unitprice, UseStandardPrice, StandardPrice
    FROM PriceBookEntry
]

But if i use without "Pricebookentry.StandardPrice" in soql query it is working fine. How to get Pricebookentry.StandardPrice values into query

Source Link
swa
  • 83
  • 2
  • 9

Get Pricebookentry.StandardPrice value into soql query

I am writing soql query to get unitprice,standard price fields which are in pricebook entry object.

select Id,Pricebookentry.unitprice,UseStandardPrice,Pricebookentry.StandardPrice from PriceBookEntry

But if i use without "Pricebookentry.StandardPrice" in soql query it is working fine. How to get Pricebookentry.StandardPrice values into query