Advertisement
Guest User

Untitled

a guest
Jan 24th, 2017
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. var newRecords = [];
  2. var c = new sforce.SObject("Service_Order__c");
  3. c.id ="{!Service_Order__c.Id}";
  4. c.Payment_1_Invoice__c = {!Service_Order__c.Invoice_Ref_1__c};
  5. c.Invoice_Date_1__c = {!Service_Order__c.Scheduled_Payment_Date_1__c};
  6. newRecords.push(c);
  7. result = sforce.connection.update(newRecords);
  8. window.location.reload();
  9.  
  10. faultstring:''0.009915716410510659' is not a valid value for the type xsd:date'
  11.  
  12. faultstring:''2/1/2017' is not a valid value for the type xsd:date'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement