You need to sign in to do that
Don't have an account?
Error On Update , Required field Missing
qrCont = binding.query("select Id,AccountId,BillingStreet,BillingCity,BillingState,"
+"ShippingPostalCode,sync__c from Contract where StatusCode='Activated' "
+"and sync__c!='Y'");
for (int i = 0; i <qrCont.records.Length; i++)//
{
Contract contract = (Contract)qrCont.records[i];
//set synch status to "Y"
contract.sync__c="Y";
}
SaveResult[] sr = binding.update(qrCont.records);
for(int i=0;i<sr.Length;i++)
{
if(!sr[i].success)
MessageBox.Show("ERROR Updating Contract"+sr[i].errors[0].message);
}
// here i am getting error as
Required Fields
Classrooms__c,Kit_Arrival_Date__c,Order_Submit_Date__c,Order_Delivery_Date__c Missing.
Please help.