I have created a simple lightning-record-edit-form on QuoteLineItem object. I have two fields which i'm displaying Quantity & ListPrice. In the record edit form, i'm able to edit the Quantity field, but not the ListPrice(which is a currency field), any pointers to resolve this is much appreciated. Code is as follows :-

<lightning-record-edit-form layout-type="Full" record-id={currentRecordId} object-api-name="QuoteLineItem" onsubmit={handleSubmit} onsuccess={handleSuccess}>
                            <lightning-input-field field-name="Quantity"></lightning-input-field>
                            <lightning-input-field field-name="ListPrice"></lightning-input-field>

                            <div style="text-align:center;">
                                <lightning-button class="slds-m-top_small"
                                                label="Update Record"></lightning-button>

I have tried with :- lightning-formatted-number format-style="currency" currency-code="USD" but this dint help.


1 Answer 1


I believe this is because List price is taken from the PBE directly and probably should not be edited. There is another field that represents the sale price that should be edited, I believe it is UnitPrice

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .