Salesforce Field Integrity Exception on TotalPrice and UnitPrice
Exception: System.DmlException: Insert failed. First exception on row 0; first error: FIELD_INTEGRITY_EXCEPTION, field integrity exception: TotalPrice (total price must be specified): [TotalPrice] Sample Code to reproduce the issue: insert new ....