function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
AuteyusAuteyus 

Field Integrity Exception

Hi,

 

  I'm trying to insert OpportuniyLineItems, and I keep getting this error: Field Integrity Exception.  I think it has to do with quotesync, but I don't know how.  We have it on for two custom fields on the lineitems.  I've tried inserting in apex and in the dataloader, both with the same error.  I've tried inserting with just the basics: pricebookid, opportunityid and quantity and still the same error.  I'm at a complete loss.  When I insert with the dataloader, the debug logs are clean.  When I insert with apex, the debug logs say "internal salesforce error".

 

Thanks for any help,

   Kevin