• Shivani Gadge
  • NEWBIE
  • 0 Points
  • Member since 2020
  • CMSS

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 3
    Replies
 appDocumentCategory.Received_Date__c=System.now();
 
above is my code i want date format as ('dd/MM/yyyy hh:mm:ss a') but when I'm doing I'm getting error for datatype because  appDocumentCategory.Received_Date__c is in datetime datatype.
 
Can anyone help me please?
 appDocumentCategory.Received_Date__c=System.now();
 
above is my code i want date format as ('dd/MM/yyyy hh:mm:ss a') but when I'm doing I'm getting error for datatype because  appDocumentCategory.Received_Date__c is in datetime datatype.
 
Can anyone help me please?
Howdy Salesforce developers
I'm getting this error often. I'm running my batches in queue.
Any one have any idea how can we prevent this error. This error occur when Single record try to update by 2 jobs at same time.

Update failed. First exception on row 0 with id a145000000C6g5HAAR; first error: UNABLE_TO_LOCK_ROW, unable to obtain exclusive access to this record or 1 records: a145000000C6g5HAAR: []

Hi,

 I am new in Salesforce...I want to design a pop up window. The window will appear after save button is hit which will show the values those an user has entered as input. After the pop up comes out then the user will click the ok in pop up and the page will be redirected to the object view page.

 

Now how can I implement it throgh java script or any other possible way.

Can u pls provide some sample coding for it.

 

Thanks in advance,

  • September 28, 2011
  • Like
  • 0