You need to sign in to do that
Don't have an account?

when i was trying to clone the OpportunityLineItems and assigning to other opportunity, i am getting the below error.
Sales Price: field integrity exception: UnitPrice (only one of unit price or total price may be specified)
Insert failed. First exception on row 0; first error: FIELD_INTEGRITY_EXCEPTION, field integrity exception: UnitPrice (only one of unit price or total price may be specified): [UnitPrice]
Below are the possible reason.
1. We are assigning values to both Unit Price and to Total Price. (Calculate only one value)
2. Or both the values are Null.
Check this and let me know if it solves your problem. If it is not working kindly post the code snippet.
Thanks
Manoj S
All Answers
Below are the possible reason.
1. We are assigning values to both Unit Price and to Total Price. (Calculate only one value)
2. Or both the values are Null.
Check this and let me know if it solves your problem. If it is not working kindly post the code snippet.
Thanks
Manoj S